77 Commits
Author SHA1 Message Date
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 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 7ede38d0ab Implement canonical linking 2022-08-14 13:13:06 +10:00
f98509633b Improve UX on config page (#27)
* scope listArgumentsByType to oidc form, select on class

scope listArgumentsByType to correct form

Select arguments by class instead of type

* String arrays now given as newline separated lists

* Implement UI for checklisting folders, and role mapping

start making enabled folders checklist-able

Implement save/load folder lists

change enabledfolders to checklist

refactor: rename saveFolderList -> serializeEnabledFolders, fillFolderList -> populateEnabledFolders

refactor listArgumentsByType

start implementing load provider role mapping

implement role mapping

Move remove button markup, change hierachy

remove logging statements

resolve folder population promise before trying to check folders

* Improve markup, add stylesheet, update help strings

Add stylesheet

update markup + styling of specialized forms

improve markup, assign checkboxes as emby-checkbox es

imrpove markup, remove old comments

run stylesheet through prettier

Update help strings

* Markup changes: Adjust role mapping whitespace

* scope listArgumentsByType to oidc form, select on class

scope listArgumentsByType to correct form

Select arguments by class instead of type

* String arrays now given as newline separated lists

* Implement UI for checklisting folders, and role mapping

start making enabled folders checklist-able

Implement save/load folder lists

change enabledfolders to checklist

refactor: rename saveFolderList -> serializeEnabledFolders, fillFolderList -> populateEnabledFolders

refactor listArgumentsByType

start implementing load provider role mapping

implement role mapping

Move remove button markup, change hierachy

remove logging statements

resolve folder population promise before trying to check folders

* Improve markup, add stylesheet, update help strings

Add stylesheet

update markup + styling of specialized forms

improve markup, assign checkboxes as emby-checkbox es

imrpove markup, remove old comments

run stylesheet through prettier

Update help strings

* Markup changes: Adjust role mapping whitespace

* Proper stylesheet import with nonstandard base URL

* Style

* Ensure rolemappings are using arrays instead of dicts

* Add confirmation for deletion

* Linting

* Update admin page status in README

Co-authored-by: 9p4 <17993169+9p4@users.noreply.github.com>
2022-05-22 12:09:57 -04:00
Matthew StrasiottoandGitHub 54ef348009 Allow requesting additional scopes in OIDC flows (#24)
* Allow requesting additional scopes in OIDC flows

* Supply OidScopes as an array

* Document `OidScopes` in readme
2022-04-29 16:04:45 -04:00
Matthew StrasiottoandGitHub 3a8e89db82 Add UI Page for OIDC Configuration (#18)
* Add UI Page for Configuration

For now, this only implements OID configuration.

Add configuration

More frontend additions

implement more frontend for save / load config

Fully implement save + load

implement delete provider

* Cleanup UI page markup, spelling, help text, add more useful titles

* Tidy up help strings

https://github.com/9p4/jellyfin-plugin-sso/pull/18#discussion_r857147540

https://github.com/9p4/jellyfin-plugin-sso/pull/18#discussion_r857147695

https://github.com/9p4/jellyfin-plugin-sso/pull/18#discussion_r857147715

https://github.com/9p4/jellyfin-plugin-sso/pull/18#discussion_r857147806

https://github.com/9p4/jellyfin-plugin-sso/pull/18#discussion_r857147832
2022-04-27 19:53:19 -04:00
Sambhav Saggi 5d28f1ba31 Make CI happy 2022-04-07 16:09:09 -04:00
PfuenzleandGitHub 2d14342ad7 Merge branch 'main' into patch-2 2022-04-07 10:20:11 +02:00
username e8276eae87 Removed errors and warnings 2022-04-07 10:17:41 +02:00
username b8cddb3467 Added comment, removed whitespace etc. 2022-04-07 09:33:55 +02:00
Sambhav Saggi 7f66f44743 Use hashmaps instead of lists for performance 2022-03-13 15:01:26 -04:00
Sambhav Saggi 653341f3dd Merge branch 'main' of https://github.com/9p4/jellyfin-plugin-sso into patch-2 2022-02-21 14:41:01 -05:00
Sambhav Saggi 7d1b3fa97d Add XML docs + no more warnings 2022-02-21 14:36:29 -05:00
PfuenzleandGitHub 06ed040381 Added DefaultProvider to PluginConfiguration 2022-02-20 18:05:05 +01:00
Sambhav Saggi d5315a5263 Clarify config values, add iframe for localstorage-less login 2022-02-16 19:16:53 -05:00
Sambhav Saggi e13c403f95 3.0.0.0 release 2022-02-15 21:01:04 -05:00
Sambhav Saggi 052e78b44d Add more RBAC 2022-02-15 20:20:15 -05:00
Sambhav Saggi b188e4ddc3 Add roles + claim support. Update admin page. 2022-01-23 13:31:47 -05:00
Sambhav Saggi 4ade45e037 Begin admin page, update repo path 2022-01-23 01:26:27 -05:00
Cody Robibero d05af0cfa9 Remove all warnings
Signed-off-by: Cody Robibero <cody@robibe.ro>
2022-01-17 08:12:31 -07:00
Sambhav Saggi 12ab48a6da Add OpenID support 2022-01-16 16:42:39 -05:00
Sambhav Saggi 983cc8320f SAML integration complete. TODO: redirect to login 2022-01-13 20:20:16 -05:00
Sambhav Saggi f5a398f020 Fix admin page, implement proper api endpoints, repair SAML 2022-01-11 23:24:01 -05:00
Sambhav Saggi 9911791047 Basic API, config pages, etc 2022-01-11 21:16:29 -05:00
Sambhav Saggi 89f2f140a7 Finally builds 2022-01-11 18:15:33 -05:00
Sambhav Saggi 2238736eb4 Update ignores, restructure, basic structure 2022-01-10 18:30:54 -05:00