Commit Graph

58 Commits

Author SHA1 Message Date
TheCatLady
3ec4a9c76e fix(frontend): more issues-related fixes (#2234)
* fix(frontend): more issues-related fixes

* fix: permission VIEW_ISSUES is also sufficient for viewing issues in slideover

* fix(frontend): only display issue notif types user is eligible to receive

* fix: don't display issues block in slideover if no open issues

* fix: move year out of link in issue details header

* fix: use 'view' global string for issue block button

* fix: issue/request/user list sort options
2021-10-31 15:45:15 +00:00
TheCatLady
8b960acf73 refactor(ui): add/tweak icons (#1819)
* refactor(ui): add prev/next button icons

* refactor(ui): use mail icon instead of at symbol icon for email

* refactor(ui): use ↻ symbol instead of ⤾ for reload button

* refactor(ui): add missing icons to password reset pages

* refactor(ui): add icons for save & test buttons

Co-authored-by: sct <ryan@sct.dev>
2021-07-13 09:44:15 +00:00
TheCatLady
db781bfc35 refactor(ui): css refinements for a more unified look (#1816) 2021-06-20 13:32:05 +09:00
TheCatLady
091d66a192 fix: check that application URL and email agent are configured for password reset/generation (#1724)
* fix: check that application URL and email agent are configured for password reset/generation

* refactor: reverse flex direction instead of conditionally changing justify
2021-06-10 12:56:33 +09:00
TheCatLady
310cdb36df fix(plex): do not fail to import Plex users when Plex Home has managed users (#1699)
* fix(plex): do not fail to import Plex users when Plex Home has managed users

* fix: default display name to email when user has no username

also, do not set username or plexUsername when it is the same as the user's email address

* fix(ui): user display name placeholder should reflect fallback logic if username is not set

* fix(ui): hide email addresses of other users if logged-in user does not have Manage Users permission

* fix: always set Plex username even if same as user's email

* fix: remove unnecessary permission check

* fix: transform email addresses to lowercase
2021-05-31 08:38:52 +09:00
TheCatLady
44c3edb985 feat: add display name to create local user modal (#1631) 2021-05-13 15:06:02 +00:00
sct
aa86809dc9 style: bump prettier and format app 2021-05-13 23:48:08 +09:00
TheCatLady
694d0ffcf6 fix(ui): hide Plex alert after setup and add local login warning to local user modal (#1600) 2021-05-08 04:10:47 +00:00
TheCatLady
26580eaa21 fix(ui): improve form usability (#1563)
* fix(ui): improve form usability

* refactor: remove unnecessary <> and </> tags

* fix(ui): set url inputmode for *arr URL base fields
2021-05-04 17:42:27 +09:00
Jakob Ankarhem
4fd452dd18 feat(inputs): add support for toggling security on input fields (#1404) 2021-05-03 21:59:52 +09:00
TheCatLady
3e5e9c0ad1 refactor(css): add styles targeting SVG button/modal icons (#1464)
* refactor(css): add global classes for common icon types

* refactor(css): target child SVGs instead of creating new icon classes

* fix: fix ButtonWithDropdown style class spacing
2021-04-26 10:09:58 +00:00
TheCatLady
89455ad9b7 fix: set editRequest attribute as necessary, allow users to edit their own pending requests, and show 'View Request' button on series pages (#1446)
* fix: set editRequest attribute for RequestModal

* fix: remove now-unneeded conditional

* fix(ui): only show 'View Request' for user's own requests if they don't have MANAGE_REQUESTS perm

* fix(ui): show edit button on request list for own requests & 'View Request' button on series pages

* fix(ui): do not show 'Request More' if user already has a pending request

* fix: address PR comments

* fix(lang): edit usercreatedfaileexisting string & generate translation key

* fix: users should always be able to view/edit their own requests even if their perms have changed

also fixed capitalization of 'Signing In...' string
2021-04-19 12:12:05 +09:00
sct
f13f1c9451 fix: better error message when creating a user with an existing email
fixes #1441
2021-04-18 19:53:55 +09:00
TheCatLady
5d1b741f55 fix(ui): adjust user list buttons on mobile (#1452) 2021-04-18 17:41:02 +09:00
TheCatLady
8fc71bea08 refactor(icons): install and use @heroicons/react (#1438) 2021-04-17 18:07:23 +09:00
TheCatLady
4b5e355df9 fix(ui): correctly set autocomplete attribute for password fields (#1430) 2021-04-16 12:45:50 +09:00
TheCatLady
e8bbd4497a fix(ui): dim password field when password generation option is selected (#1427)
* fix(ui): dim password field when password generation option is selected

* fix: use ternary operator instead of &&
2021-04-15 20:46:19 +09:00
TheCatLady
5117987fea fix(ui): hide alert when email notifs are already configured (#1335)
* fix(ui): hide alert when email notifs are already configured

* fix(ui): disable instead of hide checkbox

* fix: determine if email notifications are enabled via user settings endpoint
2021-04-14 12:32:06 +09:00
TheCatLady
2cd952d1ca refactor(ui): improved alerts for services settings & removed alert titles (#1280)
* refactor(ui): improved alerts for services settings & removed alert titles

* fix(ui): set styling of alert links to be consistent w/ others

* fix(ui): clarify appropriate 4K setting when user has not configured a default non-4K server

* fix: remove unused var/eslint-disable & correct string
2021-04-14 02:20:25 +00:00
sct
67fbb401ac fix(ui): correctly paginate request list 2021-03-29 15:45:10 +09:00
TheCatLady
a9461f760d feat(ui): Add user requests page (#936)
* feat(ui): add user requests page

* fix: return error if user attempts to fetch another user's requests without adequate perms

* fix(ui): make user name on request page link back to user profile

* feat(ui): link user request count to their filtered request list view

* fix(frontend): only display user requests on profiles if current user has adequate perms

* fix: use 'all' filter for user-filtered request list

* fix(frontend): pass userId to router.push()

* fix: do not pass userId in query for non-user-filtered requests page

* fix(frontend): also allow REQUEST_VIEW perm through route guard

* fix(frontend): only link request count to user request list if current user has required perms
2021-03-29 13:16:03 +09:00
TheCatLady
e393b53b29 refactor(lang): use global strings where appropriate and remove unused strings (#1265) 2021-03-24 21:45:07 +09:00
Danshil Kokil Mungur
f5f8269cd2 feat(ui): store sort order and page size of userlist in localstorage (#1262) 2021-03-23 09:54:06 +09:00
TheCatLady
cb5ca7acf3 fix(lang): correct strings for library sync button & user import toast (#1252)
* fix(lang): 'scan plex libraries' should actually be 'sync'

* fix(lang): also fix user import string in case of no imported users

* fix(lang): remove unused 'User Rating' strings
2021-03-21 23:07:17 +00:00
TheCatLady
8ebc829250 fix(lang): correct mismatched language strings (#1246) 2021-03-21 19:04:16 +09:00
TheCatLady
4a5a9cce48 refactor(ui): add page query param to logs page & user list, and fix log timestamps (#1218)
* refactor(ui): add page query param to logs & fix timestamp

* refactor(ui): add page query param to user list as well
2021-03-19 01:53:31 +00:00
TheCatLady
ea1863ac3a fix(lang): UI string edits, round 2 (#1202) 2021-03-18 11:28:44 +09:00
TheCatLady
2f2e00237d feat: add tagline, episode runtime, genres list to media details & clean/refactor CSS into globals (#1160) 2021-03-15 09:16:39 +09:00
TheCatLady
001dcd328c fix: do not allow editing of user settings under certain conditions (#1168)
* fix: do not allow editing of user settings under certain conditions

* feat(lang): generate translation keys for new strings

* refactor: modify owner check for clarity

* fix(ui): hide buttons where appropriate and add missing translation string
2021-03-14 14:46:12 +09:00
TheCatLady
1be97fe7fb refactor(css): add new global classes & card border hover styling (#1156) 2021-03-12 11:25:46 +09:00
TheCatLady
1b55d2dfbc feat(ui): display "Owner" role instead of "Admin" for user ID 1 (#1050)
* feat(ui): display "Owner" role instead of "Admin" for user ID 1

Also add role to user settings page, and fix the missing "Account Type" string and use the same
verbiage on the user list page

* feat(lang): generate translation keys

* fix: utilize hasPermission returned by useUser instead of importing from server/lib/permissions
2021-03-02 19:06:52 +09:00
TheCatLady
621db89328 feat(ui): Add 'Page Size' setting for request/user list pages (#957) 2021-02-19 01:37:08 +00:00
TheCatLady
77b2d9ea22 fix(frontend): Do not allow user w/ ID 1 to disable 'Admin' permission (#965) 2021-02-19 10:20:32 +09:00
sct
bbb683e637 feat: user profile/settings pages (#958) 2021-02-18 11:38:24 +09:00
sct
fb9c878db4 fix(ui): change font size in request list/user list dropdowns to prevent zoom on mobile 2021-02-14 11:48:28 +00:00
TheCatLady
ef5d019c18 feat(ui): Add sort options to user list (#913) 2021-02-14 09:49:14 +09:00
TheCatLady
7456bea2ae fix(ui): Use minimum char validation message (#850) 2021-02-05 11:38:21 +09:00
TheCatLady
3f9bfeb01a fix(ui): Add additional URL & email input validation (#843) 2021-02-05 10:12:51 +09:00
sct
b658ddf5cf fix(ui): dont show bulk edit options on user list if there is only one user 2021-02-04 12:50:53 +00:00
TheCatLady
35c6bfc021 feat(ui): Add custom title functionality (#825) 2021-02-03 19:44:10 +09:00
TheCatLady
f54df214af fix(lang): Edit English language strings (#820) 2021-02-03 16:46:46 +09:00
TheCatLady
e34fbf72fd fix(ui): uniform-size checkboxes, vertically-aligned form labels, and fixes for other UI imperfections/inconsistencies (#737) 2021-02-02 16:20:05 +09:00
TheCatLady
f05d4a0d0b fix(ui): Capitalization, punctuation, and grammar inconsistences & errors (#731) 2021-01-27 08:34:52 +09:00
Jakob Ankarhem
20ca3f2f5f feat(users): add editable usernames (#715) 2021-01-27 08:09:42 +09:00
David
4b0241c3b3 feat: ability to edit user settings in bulk (#597) 2021-01-25 09:29:43 +09:00
Jakob Ankarhem
b04d00ef50 fix(user edit): fix user edit not being able to be saved (#651)
Co-authored-by: sct <sctsnipe@gmail.com>
2021-01-15 12:05:58 +09:00
Jakob Ankarhem
492e19df40 feat(login): add local users functionality (#591) 2021-01-14 21:03:12 +09:00
Brandon Cohen
12db7a065a fix(frontend): full season request modal fits on a smaller mobile UI (#535)
* fix(frontend): full season request modal fits on a smaller mobile UI

* fix(frontend): added responsive variant and removed unnecessary padding

* fix(frontend): added in responsive design

* fix(frontend): applied the same spacing from the discovery page to the requests/users pages

* fix(frontend): revered change to keep tables edge to edge on mobile
2020-12-31 13:57:31 +09:00
johnpyp
7e8f361af7 feat: import users from plex (#428)
* feat: import users from plex

fix #281

* fix(frontend): re-enable delete user confirmation button after finished
2020-12-21 23:41:19 +09:00
sct
727fa06c18 feat(frontend): added user deletion to the user list
also includes small updates to the api to prevent administrators from being deleted, as well as
migrations to cascade deletions to requests the users made

fixes #348
2020-12-17 16:03:27 +00:00