Commit Graph

298 Commits

Author SHA1 Message Date
TheCatLady
f256a444c5 feat: add server default locale setting (#1536)
* feat: add server default locale setting

* fix: do not modify defaultLocale property of IntlProvider
2021-05-03 13:11:28 +00:00
TheCatLady
189313e94a fix: correctly fall back to English name in LanguageSelector (#1537)
* fix: correctly fall back to English name in LanguageSelector

* refactor: clean up language sort & name logic

* refactor: also clean up region sort & name logic

* refactor: use arrow functions
2021-04-30 18:02:59 +00:00
TheCatLady
b7b55e275c fix(backend): properly set request media status (#1541) 2021-05-01 00:43:42 +09:00
TheCatLady
85899ab49a fix(radarr): only process Radarr movies which are either monitored or downloaded (#1511)
* fix(radarr): only process Radarr movies which are either monitored or downloaded

* refactor: move monitored check to processRadarrMovie
2021-04-28 09:53:52 +09:00
TheCatLady
3baa55c690 fix(email): parse sender hostname from application URL (#1518) 2021-04-27 23:23:51 +00:00
TheCatLady
91b9e0f679 feat(perms): add separate REQUEST_MOVIE and REQUEST_TV permissions (#1474)
* feat(perms): add separate REQUEST_MOVIE and REQUEST_TV permissions

* fix(perms): do not require regular request perms for 4K requests
2021-04-27 18:28:07 +09:00
TheCatLady
db49b2024d feat: add option to only allow Plex sign-in from existing users (#1496)
* feat: add option to only allow Plex login from existing users

* fix: remove newPlexLogin from public settings
2021-04-26 21:06:54 +09:00
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
sct
ef3f9778aa fix(api): do not try to transform empty values passed to user notificationTypes
fixes #1501
2021-04-26 08:22:50 +09:00
TheCatLady
48587719e9 fix: do not set locale when modifying other users (#1499) 2021-04-26 07:39:19 +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
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
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
3ae7d0098b fix(radarr): search in addition to monitoring existing movies (#1449) 2021-04-18 10:05:02 +00:00
TheCatLady
4449241a8f fix(api): add check for 4K request perms to request creation endpoint (#1450) 2021-04-17 15:07:38 +00: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
sct
190cbd6559 fix(api): correctly check if update is available for release versions 2021-04-16 23:11:15 +09:00
TheCatLady
fc14037ec1 fix(backend): do not log error when user has no server access (#1419) 2021-04-13 23:29:21 +00: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
sct
2ac6fe7f6d fix(api): allow server owner to delete other admin accounts 2021-04-13 13:09:06 +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
Jono Cairns
d3c6bc1619 fix(quotas): Time value of a quota was being ignored 2021-04-10 10:10:43 +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
33542c9b2d fix(plex): use server 'address' returned by Plex API (#1379) 2021-04-08 00:07:50 +00:00
TheCatLady
e43106a434 fix: fall back to English genre names (#1352)
* fix: fall back to English genre names

* fix: use startsWith() instead of equality check
2021-04-07 00:22:16 +09: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
sct
a306ebc2d1 feat: radarr/sonarr tag support (#1366) 2021-04-05 21:16:55 +09:00
hirenshah
b0b04ca1c7 fix(log): fix typo in base scanner logging (#1329) [skip ci]
"Changes" instead of "Changed"
2021-04-01 05:35:30 +00:00
TheCatLady
fe8d34607b fix(backend): fix getShowByTvdbId() error message (#1314) [skip ci]
* fix(backend): fix getShowByTvdbId() error message

* fix(backend): use suggested error message
2021-03-31 20:11:47 +09:00
sct
d3a25b935a fix(notifications): correctly send notifications for users that do not have any user settings yet
fixes #1324
2021-03-30 21:02:33 +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
sct
6c75c88228 feat(requests): add request quotas (#1277)
* feat(quotas): rebased

* feat: add getQuota() method to User entity

* feat(ui): add default quota setting options

* feat: user quota settings

* feat: quota display in request modals

* fix: only show user quotas on own profile or with manage users permission

* feat: add request progress circles to profile page

* feat: add migration

* fix: add missing restricted field to api schema

* fix: dont show auto approve message for movie request when restricted

* fix(lang): change enable checkbox langauge to "enable override"

Co-authored-by: Jakob Ankarhem <jakob.ankarhem@outlook.com>
Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
2021-03-24 19:26:13 +09:00
TheCatLady
1d7a938ef8 fix: fetch localized person details from TMDb (#1243)
* fix: fetch localized person details from TMDb

* feat: include DOB, hometown, and alternate names on person detail pages

* fix: remove unnecessary ternary operator

* fix(ui): don't display AKA when empty
2021-03-22 17:17:24 +09:00
sct
f7146e4189 fix(plex): always send Overseerr for the device name to the plex.tv api
fixes #1244
2021-03-22 09:20:24 +09:00
Danshil Kokil Mungur
4a00617fe4 fix(ui): fix regex matching when parsing label from logs (#1231) 2021-03-20 07:47:11 +09:00
Danshil Kokil Mungur
2d737f2760 fix(ui): better regex matching when parsing logs (#1225) 2021-03-20 00:30:19 +09:00
sct
e2b8745fdc feat(logs): add copy to clipboard button to logs page
includes various other improvements to the logs page
2021-03-19 12:59:23 +00:00
TheCatLady
4ee78ab2fe feat(notif): include requested season numbers in notifications (#1211) 2021-03-19 02:07:22 +00:00
sct
0ca3d43749 feat: add option to cache images locally (#1213) 2021-03-18 21:37:25 +09:00
Danshil Kokil Mungur
54429bbc1d feat(settings): logs viewer (#997) 2021-03-17 10:28:58 +00:00
TheCatLady
36c00fde27 feat(ui): add option to only allow complete series requests (#1164) 2021-03-16 16:36:54 +09:00
sct
1c4515a1ae feat: genre sliders (experiment) (#1182) 2021-03-16 01:06: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
Jakob Ankarhem
9e5adeb610 feat(email): add pgp support (#1138) 2021-03-14 22:39:43 +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
0bd0912613 fix(notif): set URL for Discord embeds rather than adding a field for the link (#1167) 2021-03-14 04:52:54 +00:00
sct
8634081c86 fix: correctly send auto-approval notifictions for series
also adjusted see more card slightly
2021-03-12 07:29:32 +00:00