Commit Graph

54 Commits

Author SHA1 Message Date
Ryan Cohen
301f2bf7ab feat: plex watchlist sync integration (#2885) 2022-08-21 16:33:49 +09:00
TheCatLady
c143c0b8d2 fix: better ordering of RequestButton options & properly handle failed requests (#2944)
* fix: better ordering of RequestButton options & properly handle failed requests

* fix: appease prettier
2022-08-18 08:30:40 +00:00
Danshil Kokil Mungur
0fa84eae8d build(deps): bump dependencies (#2796) 2022-08-17 20:43:35 +09:00
Ryan Cohen
f5864b49de refactor: update a few dev deps and convert to using type imports where possible (#2886)
* build: bump deps and add some new eslint rules

* refactor: run eslint --fix on code to convert to type imports where possible
2022-08-03 12:57:51 +09:00
Danshil Kokil Mungur
eb9ca2e86f fix(requests): check for existing media of same type when requesting (#2445)
Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-20 10:42:43 +00:00
TheCatLady
2535edcc7f feat(api): add additional request counts (#2426) 2022-01-16 17:13:35 +09:00
TheCatLady
91bfff71b7 fix(requests): do not fail request edits if acting user lacks Manage Users permission (#2338)
* fix(api): fix requestedBy logic in request edits

* fix(frontend): do not display empty advanced request options box

* fix(frontend): set max height on modal backdrop
2021-12-10 19:14:14 +09:00
TheCatLady
c79dc9f70f fix: add missing route guards to issues pages (#2235)
* fix: users should always be able to view their own issues

* fix: apply route guards to issues pages instead

* fix(api): only allow users w/ issue perms to edit comments / delete issues
2021-10-31 15:56:59 +00:00
Ryan Cohen
e402c42aaa feat: issues (#2180) 2021-10-24 12:44:20 +00:00
TheCatLady
8a55f85d3e fix(quota): block multi-season requests that would exceed a user's quota (#1874)
* fix(quota): block multi-season requests that would exceed a user's quota

* fix(docs): add missing request user option to API docs

Co-authored-by: sct <ryan@sct.dev>
2021-07-13 09:58:54 +00:00
sct
de0759c26a fix(requests): do not prevent duplicate requests if other requests are declined 2021-06-10 18:28:33 +09:00
sct
126d8665ee fix(requests): prevent duplicate movie requests 2021-06-10 18:19:26 +09:00
sct
0918b25413 revert(requests): go back to old modifiedBy request values for now 2021-06-05 09:17:41 +09:00
TheCatLady
a3f04b3f35 fix(requests): appropriately set modifiedBy user for new requests (#1684)
* fix(requests): do not set modifiedBy user for auto-approved requests

* fix(requests): set modifiedBy user for requests on behalf of other users
2021-06-04 17:48:04 +00:00
TheCatLady
788f3dc435 fix(requests): remove requestedBy user param from existing movie request check (#1569) 2021-05-08 16:33:37 +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
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
TheCatLady
4449241a8f fix(api): add check for 4K request perms to request creation endpoint (#1450) 2021-04-17 15:07:38 +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
sct
3c1a72b038 fix(api): check correct permissions for auto approve when requests are created 2021-03-09 15:04:24 +00:00
sct
537850f414 fix(notifications): correctly send tv auto approval notifications
fixes #1041
2021-02-27 10:00:58 +00:00
TheCatLady
621db89328 feat(ui): Add 'Page Size' setting for request/user list pages (#957) 2021-02-19 01:37:08 +00: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
TheCatLady
ff0b5ed441 fix(api): Use POST instead of GET for API endpoints that mutate state (#877) 2021-02-09 10:27:48 +09:00
Jakob Ankarhem
53f6f59798 feat(requests): add language profile support (#860) 2021-02-08 00:33:18 +09:00
sct
033ba9d41b feat: new permission to allow users to see other users requests
closes #840
2021-02-04 12:40:00 +00:00
sct
59150f955f feat: request as another user 2021-02-04 01:38:32 +09:00
Jakob Ankarhem
2da0da826a fix(requests): handle when tvdbid is null (#657)
Co-authored-by: sct <sctsnipe@gmail.com>
2021-01-22 10:49:17 +09:00
sct
421f4c17f0 fix(api): prevent duplicate movie requests
fixes #705
2021-01-21 09:37:47 +00:00
sct
e1032ff5df fix(requests): allow declined season requests to be re-requested
fixes #690
2021-01-20 05:23:42 +00:00
TheCatLady
192cfd8a8e feat(api): /request/count endpoint (#682) 2021-01-19 09:33:30 +09:00
sct
bdb33722e6 feat(requests): Request Overrides & Request Editing (#653) 2021-01-17 22:52:50 +09:00
sct
6b2df24a2e feat: 4K Requests (#559) 2021-01-11 23:42:33 +09:00
sct
5c847026aa fix(api): return 202 when same seasons are requested again 2021-01-02 07:48:43 +00:00
sct
721ed9a930 fix: correctly deal with tmdb id duplicates between movies/series
fixes #526
2020-12-29 10:26:37 +00:00
sct
4809257816 feat: add separate auto approve permissions for Movies/Series
closes #268
2020-12-25 09:58:29 +09:00
johnpyp
02969d5426 feat: simple failed request handling (#474)
When a movie or series is added with radarr or sonarr, if it fails, this changes the media state to
unknown and sends a notification to admins. Client side this will look like a failed state along
with a retry button that will delete the request and re-queue it.
2020-12-25 09:53:32 +09:00
sct
96f3861c90 chore(deps): update express-openapi-validator to v4.8.0 2020-12-08 10:28:38 +00:00
sct
e2b99b68e3 chore(deps): update typeorm to 0.2.29 2020-12-08 09:48:52 +00:00
sct
0601b44687 feat: throw 404 when movie/tv show doesnt exist
also adds site webmanifest for mobile icons and title changes for tv/movie pages
2020-11-24 02:19:04 +00:00
sct
236c4e5e61 feat: manage series slideover added (and approve/decline/delete hooked up) 2020-11-18 11:48:29 +00:00
sct
cb9ae25d94 feat: add filtering for requests api 2020-11-17 15:03:17 +00:00
sct
06dc606bcf feat(frontend): recently added on discover
also improves modal requests by not waiting for result from radarr/sonarr
2020-11-11 15:21:22 +00:00
sct
14b9cb610c feat(frontend): slideover initial work 2020-10-28 07:11:48 +00:00
sct
4975841b5d feat(frontend): buttonWithDropdown component added (no hookups yet) 2020-10-24 07:03:28 +00:00
sct
5f8114f730 feat: tv request modal status hookup 2020-10-13 10:21:46 +00:00