305 Commits

Author SHA1 Message Date
Sambhav Saggi
a90e0359e4 feat: add config page for preferred username config 2022-08-23 18:26:58 -04:00
Sambhav Saggi
332f62d76e feat: allow configuration of preferred username claim (#47) 2022-08-23 18:18:42 -04:00
9p4
47db5cb504 Merge pull request #71 from fredriklindberg/improve-get-request-base
fix: don't include port in redirect URL for 80 and 443
2022-08-23 18:12:19 -04:00
Matthew Strasiotto
fe1fdad0b0 Merge pull request #72 from fredriklindberg/make-user-creation-more-robust 2022-08-20 21:07:53 +10:00
Fredrik Lindberg
d06f680407 fix: make user creation more robust
Reverse logic of CreateCanonicalLinkAndUserIfNotExist() to first check if the user exists,
then create the canonical link. This allows seamless re-creation of users through SSO after
they have been deleted from Jellyfin but not properly de-linked.
2022-08-18 17:55:41 +02:00
Fredrik Lindberg
976a816d8c fix: don't include port in redirect URL for 80 and 443
Skip port number in redirect URLs during the following conditions
 - The request scheme is http and request port is 80
 - The request scheme is https and request port is 443

This creates redirect urls as https://server/path instead of https://server:443/path
2022-08-18 17:48:37 +02:00
Matthew Strasiotto
f7ce40fe5e Merge pull request #69 from matthewstrasiotto/main
ci: 📌 change from shogo82148/actions-upload-release-asset to softprops/action-gh-release
2022-08-18 19:09:45 +10:00
Matthew Strasiotto
8666818dfa ci: 📌 change from shogo82148/actions-upload-release-asset to softprops/action-gh-release 2022-08-18 19:09:12 +10:00
Matthew Strasiotto
c5e6bf96f9 Merge pull request #68 from matthewstrasiotto/main
ci: 👷 keep our own build workflow and reference that in publish.yml
2022-08-18 18:42:39 +10:00
Matthew Strasiotto
fd59b83a0e ci: 👷 keep our own build workflow and reference that in publish.yml
Squash of
- ci: 👷 keep our own build workflow and reference that in publish.yml
- ci: 📌 pin actions/checkout,setup-dotnet odstr13/jellyfin-plugin-repo-manager to approved version

This will still fail because actions/upload-artifact isnt approved.

Getting kind of tilted trying to contribute to ci when the upstream CI settings fight me at every turn
2022-08-18 18:41:16 +10:00
Matthew Strasiotto
ab36aea359 Merge pull request #65 from matthewstrasiotto/release-3.4.0
build: 🔖 bump version to 3.4 in build.yaml
2022-08-18 17:44:24 +10:00
Matthew Strasiotto
fb268ed290 build: 🔖 bump version to 3.4 in build.yaml 2022-08-18 17:43:53 +10:00
9p4
f00bf70597 Merge pull request #34 from matthewstrasiotto/self_service
Implement Canonical Linking + Self Service
2022-08-15 18:45:51 -04:00
Matthew Strasiotto
f0d16c33b8 docs: explain CI releases for contributors 2022-08-14 14:31:09 +10:00
Matthew Strasiotto
5c0e4ecefe docs: add contributing section, restructure installing section, document vscode bootstrap 2022-08-14 14:31:09 +10:00
Matthew Strasiotto
ac1affa7b4 build: ignore .vscode entirely in gitignore 2022-08-14 14:06:18 +10:00
Matthew Strasitoto
510624f142 fix(SSOViews): Resolve server url when served under custom base URL 2022-08-14 13:13:07 +10:00
Matthew Strasitoto
840da75feb remove cdn for material icons, embed svg in stylesheet 2022-08-14 13:13:07 +10:00
Matthew Strasitoto
56b36e0fd4 document self service in readme 2022-08-14 13:13:07 +10:00
Matthew Strasitoto
a4ea12b7f4 document self service in admin config page 2022-08-14 13:13:07 +10:00
Matthew Strasitoto
843873d8d5 fix: improve 403 failure message 2022-08-14 13:13:07 +10:00
Matthew Strasitoto
fc888de045 Finish implementing linking view page 2022-08-14 13:13:07 +10:00
Matthew Strasiotto
d72e47e7a7 Use a local apiClient module 2022-08-14 13:13:07 +10:00
Matthew Strasiotto
a7fb4d4ef0 Code cleanup 2022-08-14 13:13:07 +10:00
Matthew Strasiotto
ebfcadc862 Reduce duplication in adding new views 2022-08-14 13:13:06 +10:00
Matthew Strasiotto
d8d7d616bd Add nav to leave linking page 2022-08-14 13:13:06 +10:00
Matthew Strasiotto
bd60d7e32c Remove scss directives from restyled css 2022-08-14 13:13:06 +10:00
Matthew Strasiotto
7e5738c65f Add css to replace missing css in custom view 2022-08-14 13:13:06 +10:00
Matthew Strasiotto
f810ea7259 add module for api client
Add js apiclient init module
2022-08-14 13:13:06 +10:00
Matthew Strasiotto
cc05b12a23 Add controller for serving views 2022-08-14 13:13:06 +10:00
Matthew Strasiotto
e7d70b8326 lazy provider linking frontend
Use ApiClient.getUrl to get base urls for links

Per
https://github.com/9p4/jellyfin-plugin-sso/pull/34#discussion_r885060442
2022-08-14 13:13:06 +10:00
Matthew Strasiotto
c5e1644d17 implement api for listing and deleting links 2022-08-14 13:13:06 +10:00
Matthew Strasiotto
7ede38d0ab Implement canonical linking 2022-08-14 13:13:06 +10:00
Matthew Strasitoto
fad5a62e07 docs: 📝 document new plugin install mechanism
Resolves #51
2022-07-17 17:23:49 +10:00
Matthew Strasiotto
511e5e4f12 Merge pull request #54 from matthewstrasiotto/ci-fix-nightly-checksums
ci: only run checksum agaisnt zip files
2022-07-01 14:04:32 +10:00
Matthew Strasitoto
ad6328c1c5 ci: only run checksum agaisnt zip files 2022-07-01 13:43:18 +10:00
Matthew Strasiotto
7bc7e44768 Merge pull request #53 from matthewstrasiotto/ci-add-nightly-checksum
ci: add checksum to nightly builds
2022-07-01 13:29:28 +10:00
Matthew Strasitoto
d94199cb8f ci: add checksum to nightly builds 2022-07-01 13:29:08 +10:00
Matthew Strasiotto
a0bfa6a3ee Merge pull request #52 from matthewstrasiotto/ci-ignore-prereleases
ci: ignore prereleases when publishing manifest
2022-07-01 12:03:45 +10:00
Matthew Strasitoto
19bae4de9d ci: ignore prereleases when publishing manifest 2022-07-01 12:01:22 +10:00
Matthew Strasiotto
7e232d7cf9 Merge pull request #50 from matthewstrasiotto/ci-pin-jprm-to-sha
ci: pin kevinjil/jprm-action to specific sha
2022-07-01 11:19:55 +10:00
Matthew Strasiotto
eaf7e87747 ci: pin kevinjil/jprm-action to specific sha 2022-07-01 11:19:41 +10:00
Matthew Strasiotto
8df2bd94e8 Merge pull request #48 from matthewstrasiotto/ci-pin-jprm-action
instead of the master branch - for security
2022-06-30 14:26:54 +10:00
Matthew Strasiotto
815d6cbe7e pin version of oddstr13/jellyfin-plugin-repository-manager to a commit instead of branch 2022-06-30 14:19:12 +10:00
Matthew Strasiotto
6a0fcfe711 Merge pull request #46 from matthewstrasiotto/update-ci
Revert "Revert "Add github action for publishing releases""
2022-06-20 09:14:44 +10:00
Matthew Strasiotto
f9331665e7 pin version for jellyfin-meta-plugin action 2022-06-18 23:19:34 +10:00
Matthew Strasiotto
299f3f7220 change plugin action repo to kevinjil's tagged version 2022-06-18 23:13:18 +10:00
Matthew Strasiotto
4eec8bb789 Revert "Revert "Add github action for publishing releases""
This reverts commit e3efd97964.
2022-06-18 22:48:44 +10:00
Matthew Strasiotto
55d795b9d8 Document Provider Specific Configuration, Small Readme Update (#31)
* Document provider configuration

* Link to provider documentation in readme, remove warning about gui

* Add Keycloak + cleanup

* Linting

* Fix authelia -> authentik

* lint

* Rename Authentik -> authentik

Co-authored-by: Sambhav Saggi <17993169+9p4@users.noreply.github.com>
2022-06-18 22:33:32 +10:00
9p4
5a8d1da6de Merge pull request #40 from 9p4/revert-39-update-ci
Revert "Add github action for publishing releases"
2022-06-07 11:32:09 -04:00