Commit Graph

169 Commits

Author SHA1 Message Date
9p4
7331e2ffe3 Merge branch 'discovery-no-https' of https://github.com/9p4/jellyfin-plugin-sso into discovery-no-https 2022-09-09 10:17:04 -04:00
9p4
cef4fe5784 feat: allow for HTTPS to be disabled in OpenID discovery (#76) 2022-09-09 10:16:05 -04:00
9p4
0d2952423d feat: allow for HTTPS to be disabled in OpenID discovery (#76) 2022-09-09 10:13:07 -04:00
9p4
98ddb9e352 Merge pull request #74 from 9p4/custom-username-claim
feat: allow configuration of preferred username claim
2022-08-23 21:12:59 -04:00
9p4
46eb00bf43 Merge branch 'main' into custom-username-claim 2022-08-23 19:50:01 -04:00
9p4
5723cd718d ci: change commit linter 2022-08-23 19:48:41 -04:00
9p4
96b14f7a5a ci: run commit name lint on every push and pr 2022-08-23 19:42:56 -04:00
9p4
320551bc18 ci: update hash for commit lint action 2022-08-23 19:39:47 -04:00
Sambhav Saggi
9f8626bdf7 Merge branch 'custom-username-claim' of https://github.com/9p4/jellyfin-plugin-sso into custom-username-claim 2022-08-23 19:38:21 -04:00
Sambhav Saggi
d5925fc1de docs: add custom username claim api doc 2022-08-23 19:38:01 -04:00
9p4
facf45058f Merge branch 'main' into custom-username-claim 2022-08-23 19:32:16 -04:00
9p4
f3d0497801 ci: lint commits 2022-08-23 19:31:02 -04:00
Sambhav Saggi
672fce8189 fix: prevent null passwords when fallback is set to default provider 2022-08-23 19:22:02 -04:00
Sambhav Saggi
c2f50e1e4c style: run prettier 2022-08-23 18:57:57 -04:00
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
v3.4.0.2
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
v3.4.0.1
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
v3.4.0.0
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