Commit Graph

213 Commits

Author SHA1 Message Date
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
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
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
TheCatLady
33542c9b2d fix(plex): use server 'address' returned by Plex API (#1379) 2021-04-08 00:07:50 +00:00
sct
a306ebc2d1 feat: radarr/sonarr tag support (#1366) 2021-04-05 21:16:55 +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
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
Danshil Kokil Mungur
54429bbc1d feat(settings): logs viewer (#997) 2021-03-17 10:28:58 +00: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
f7d2723fab feat(notif): add "Media Automatically Approved" notification type (#1137) 2021-03-12 02:42:06 +00:00
sct
a51d2a24d5 feat(scan): add support for new plex tv agent (#1144) 2021-03-11 12:19:11 +09:00
TheCatLady
75011610e5 feat: add language-filtered Discover pages (#1111) 2021-03-10 10:23:37 +09:00
TheCatLady
109aca8229 fix: remove language/region filtering on studio/network results (#1129) 2021-03-09 23:46:38 +00:00
sct
3c1a72b038 fix(api): check correct permissions for auto approve when requests are created 2021-03-09 15:04:24 +00:00
Jakob Ankarhem
f6d00d8d15 feat(telegram): add support for individual chat notifications (#1027) 2021-03-05 09:18:56 +09:00
sct
63c122e5e0 refactor: move genre/studio/network calls into their own endpoints
this commit also adds a `useDiscover` hook to help with creating discover pages with less repeating
code
2021-03-04 10:18:46 +00:00
TheCatLady
f28112f057 feat: add genre/studio/network view to Discover results (#1067)
* feat: add genres view to movie/series Discover results

* feat: add studio/network view to movie/series Discover results

* fix: remove with_release_type filter, since it is removing valid/desired results
2021-03-04 04:22:35 +00:00
sct
ddfc5e6aa8 fix: add correct permission checks to modifying user password/permissions 2021-03-02 08:18:31 +00:00
sct
69294a7c4c fix: allow users to override language/region settings
fixes #1013
2021-02-27 12:37:18 +00:00
sct
537850f414 fix(notifications): correctly send tv auto approval notifications
fixes #1041
2021-02-27 10:00:58 +00:00
TheCatLady
09b5019e95 refactor(api): rename Plex auth endpoint (#949) 2021-02-23 21:26:21 +09:00
sct
da5ca02f81 fix(services): update all radarr/sonarr endpoints to use v3 2021-02-23 07:27:56 +00:00
Daniel Carter
b557c06b0a feat(regions): add region/original language setting for filtering Discover (#732) (#942) 2021-02-22 16:39:25 +09:00
sct
17983837fc fix(api): sort users requests by most recent 2021-02-19 02:10:46 +00: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
TheCatLady
bdb3cb2025 fix(plex): Check Plex server access on user import (#955) 2021-02-18 15:14:37 +00:00
sct
8a27c70625 fix(api): add isAuthenticated middleware to base user route 2021-02-18 10:12:53 +00:00
sct
bbb683e637 feat: user profile/settings pages (#958) 2021-02-18 11:38:24 +09:00
TheCatLady
29b97ef6d8 feat(notif): Add Pushbullet notification agent (#950) 2021-02-18 11:26:22 +09:00
Jakob Ankarhem
5e37a96bc0 fix(auth): handle sign-in attempts from emails with no password (#933)
* fix(auth): dont reject promise when missing password

* fix(auth): use static fallback error message
2021-02-15 17:34:40 +09:00
sct
e118501bf1 fix(requests): correctly filter requests out for users without view requests permission 2021-02-15 01:57:20 +00:00
TheCatLady
53b7425f67 feat(ui): Add separate permissions for 4K auto approval (#908)
* Clarify & fix permission descriptions

* Automatically check & disable auto-approve permission options when 'Manage Requests' permission is selected
2021-02-14 21:40:18 +09:00
TheCatLady
9757e3ae0c feat(ui): Add 'Available' filter to request list and remove unused MediaRequestStatus.AVAILABLE enum value (#905) 2021-02-14 19:21:49 +09:00