Commit Graph

489 Commits

Author SHA1 Message Date
TheCatLady
079645c2c7 feat(notif): show success/failure toast for test notifications (#1442)
* feat(notif): show success/failure toast for test notifications

* fix(lang): remove 'successfully' from test notif success strings
2021-04-26 10:01:31 +00:00
TheCatLady
4faddf3810 fix(ui): show warning if user has both a default non-4K server and a non-default 4K server (#1478) 2021-04-26 17:13:05 +09:00
TheCatLady
48587719e9 fix: do not set locale when modifying other users (#1499) 2021-04-26 07:39:19 +09:00
sct
2ecd9d7b13 fix(ui): correct toasts being in the wrong position on smaller screens 2021-04-26 01:29:36 +09:00
TheCatLady
4e6fb00a4a feat(notif): add LunaSea agent (#1495)
* feat(notif): add LunaSea agent

* feat(notif): change LunaSea 'Authorization Header' input field to 'Profile Name'
2021-04-26 01:22:54 +09:00
sct
28830d4ef8 feat: PWA Support (#1488) 2021-04-25 20:44:12 +09:00
TheCatLady
1a311d211d fix(ui): change 'Disable Auto-Search' checkbox to 'Enable Automatic Search' (#1476)
* fix(ui): change 'Disable Auto-Search' checkbox to 'Enable Automatic Search'

* docs: update *arr setting documentation to reflect changes

* fix: apply form-input class
2021-04-21 09:21:25 +09:00
TheCatLady
a822b01922 fix(lang): add missing '4K' from singular case of approve/deny 4K request strings (#1481) 2021-04-20 23:03:05 +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
sct
eb5d152886 fix(ui): align icons in user dropdown
also changed icons on the jobs & cache page to be outlined (and switched to trash icon for flush
cache)
2021-04-18 19:39:24 +09:00
TheCatLady
4e98f56753 fix(notif): include year in notifications (#1439)
* fix(notif): include year in notifications

* fix(lang): fix shared overwritten strings

* fix: check if email agent is actually enabled when generating passwords
2021-04-18 10:11:56 +00:00
TheCatLady
1702acf61c refactor(ui): add icons to PlayButton dropdown (#1457) 2021-04-18 09:56:07 +00:00
TheCatLady
5d1b741f55 fix(ui): adjust user list buttons on mobile (#1452) 2021-04-18 17:41:02 +09:00
TheCatLady
db077700e4 fix(plex): add support for plex.direct URLs (#1437)
* fix(plex): add support for plex.direct URLs

* fix(ui): mark HTTPS Plex connections as secure
2021-04-17 10:07:37 +00: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
sct
03fd21bebc feat: change alpha warning to beta warning 2021-04-16 09:58:58 +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
ad67381397 fix(ui): close sidebar on mobile when clicking version status 2021-04-14 10:39:07 +09:00
TheCatLady
4eb92098ba fix: fix outofdate string & display version status badge in Settings > About (#1417) 2021-04-14 09:25:23 +09:00
TheCatLady
9233fc0785 fix(plex): do not use SSL for local servers (#1418) 2021-04-14 08:11:34 +09:00
sct
ecf13123d2 feat: add overseerr version and update availability status to sidebar
sort of experimental so may be kinda broken. :)
2021-04-13 19:30:55 +09:00
TheCatLady
190a5c0723 fix(lang): remove unused strings & correct manageModalNoRequests strings (#1413) 2021-04-13 14:19:07 +09:00
TheCatLady
46c4ee1625 feat(notif): allow users to enable/disable specific agents (#1172)
* refactor(ui): add tabs to user notification settings

* feat(notif): allow users to enable/disable specific agents

* fix(ui): only enforce required fields when agent is enabled

* fix(ui): hide unavailable notification agents

* feat(notif): mention admin users for admin Discord notifications

* fix(ui): modify styling of PGP key textareas to suit expected input

* fix(notif): mention all admins when there are multiple and fix rebase error

* fix: add missing form values, and fix Yup validation

* refactor: reduce repeated logic/code in email notif agent

* refactor: move 'Notification Types' label into NotificationTypeSelector component

* fix(email): correct inconsistencies in email template formatting

* refactor: use bitfields for storing user-enabled notif agent types

* feat: improve notification agent logging

* fix(ui): mark string fields as nullable so empty values are not type errors

* fix: add validation for PGP-related inputs

* fix: correctly fetch user in user settings & log mentioned IDs for Discord notifs

* fix(ui): fix mobile nav dropdown text & add hover effect to button-style tabs

* fix(notif): process admin email notifications asynchronously

* fix(logging): log name of notification type instead of its enum value

* fix: mark required fields and pass all user settings values to API

* fix(frontend): call mutate after changing email/Discord/Telegram global notif settings

* refactor: get global notif settings from relevant API endpoints instead of adding to public settings

* fix(notif): fall back to email notifications being enabled (default) if user settings do not exist

* fix(notif): do not set notifyUser for MEDIA_PENDING or MEDIA_AUTO_APPROVED

* fix: expose notif enabled settings in user notif endpoints & remove global enable notif setting

* fix(notif): remove unnecessary allowed_mentions object from Discord payload

* fix(notif): use form values for email test notification

* fix: make suggested changes and regenerate DB migration

* fix: loosen validation of PGP keys

* fix: fix user profile settings routes

* fix: remove route guard from profile pages
2021-04-13 03:31:31 +00:00
TheCatLady
bed850dce9 fix(ui): allow canceling from request list & hide edit button for own requests (#1401)
* fix(ui): allow canceling from request list & hide edit button for own requests

* fix(ui): hide 'Cancel Request' button on request list for admins
2021-04-13 12:02:10 +09:00
sct
b5ac2f5a2c fix(frontend): handle media items/requests no longer having a valid tmdb id
fixes #517
2021-04-12 18:48:41 +09:00
TheCatLady
e605687580 feat(webhook): include requestedBy user in payload (#1385)
* feat(webhook): include requestedBy user in payload

* fix: update jsonPayload in settings.ts
2021-04-09 10:32:29 +09:00
TheCatLady
d9e314bad2 fix(frontend): autofill with Plex server address (#1381) 2021-04-08 02:27:19 +00:00
TheCatLady
b4450a308c fix: various fixes for new tags feature (#1369)
* fix(backend): fix movie override tags check

* fix(lang): fix 'no tags' and 'anime tags' strings

* fix(logging): correct capitalization of Radarr/Sonarr

* fix(ui): consistently disable tag select / display loading placeholder
2021-04-06 07:56:21 +09:00
TheCatLady
7a5c4a30b5 fix(ui): link request card status badge to Plex media URL (#1361) 2021-04-05 17:08:32 +00:00
sct
a306ebc2d1 feat: radarr/sonarr tag support (#1366) 2021-04-05 21:16:55 +09:00
sct
911faeff56 revert(ui): remove local image cache option from settings page
this commit removes the local cache option for the settings page. The feature will still function
but must be manually enabled in the `settings.json` file. We will add it back in later after
resolving the current outstanding issues.
2021-04-01 15:16:16 +09:00
TheCatLady
1d88be9341 fix(frontend): include language parameter in TMDb links (#1344) 2021-04-01 05:41:38 +00:00
TheCatLady
c886ea6c05 fix(frontend): use HTTPS to fetch TMDb assets for network/studio sliders (#1343) 2021-04-01 08:31:53 +09:00
TheCatLady
d8bcb99b2f fix(ui): gracefully handle lengthy titles & long words in overviews (#1338) 2021-03-31 10:19:14 +00:00
TheCatLady
13e1595c6e fix(lang): remove unused strings (#1330) 2021-03-31 15:34:36 +09:00
TheCatLady
f4bed9a63b feat(ui): allow any value 1-100 for quota limit/days (#1337) 2021-03-31 12:13:13 +09:00
sct
a908c07670 feat(frontend): allow selecting multiple original languages 2021-03-30 19:50:12 +09:00
TheCatLady
5c135c9974 fix(ui): use correct colspan for 'No results.' message in Settings > Logs (#1325)
* fix(ui): use correct colspan for 'No results.' message in Settings > Logs

* fix(ui): also fix colspan of pagination row
2021-03-30 16:51:33 +09:00
TheCatLady
77911c03e9 feat(lang): add Catalan to language picker (#1309) 2021-03-30 00:14:59 +00:00
sct
5544e4b65e refactor(ui): relax colors on default and sucecss button styles 2021-03-29 16:56:13 +09:00
sct
a06a85e329 refactor(ui): change view details button on logs page to an icon 2021-03-29 15:49:49 +09: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
49782c0b73 fix(frontend): 'Recent Requests' slider should link to request list w/ same filter (#1235)
* fix(frontend): 'Recent Requests' slider should link to request list w/ same filter

* fix(frontend): use 'all' instead of 'unavailable' filter for recent requests slider

* refactor: use enum for request list filter
2021-03-29 02:02:03 +00:00
TheCatLady
f990585914 fix(frontend): use correct path to user profile in request modal quota dropdown (#1307)
* fix(frontend): use correct path to user profile in request modal quota dropdown

* fix(ui): add link transition duration
2021-03-28 16:59:12 +09:00
TheCatLady
c8f67cf866 fix(frontend): call mutate after changing public settings (#1302) 2021-03-27 05:12:08 +00:00