12 Commits

Author SHA1 Message Date
Matthew Strasiotto
d72e47e7a7 Use a local apiClient module 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
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
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 Strasiotto
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
7d1b3fa97d Add XML docs + no more warnings 2022-02-21 14:36:29 -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
f4b318189e Add more boilerplate 2022-01-10 19:00:00 -05:00
Sambhav Saggi
2238736eb4 Update ignores, restructure, basic structure 2022-01-10 18:30:54 -05:00