Commit Graph

432 Commits

Author SHA1 Message Date
TheCatLady
1dc900d5ce feat(tautulli): validate upon saving settings (#2511) 2022-02-10 02:56:00 +00:00
TheCatLady
a76b608ab7 fix(email): enclose PGP encryption logic in try/catch (#2519) 2022-02-10 02:48:53 +00:00
TheCatLady
61681857b1 fix(sonarr): only scan seasons that exist in TMDb (#2523) 2022-02-10 02:42:20 +00:00
Danshil Kokil Mungur
5d4b06bbcc fix(radarr): correctly check for existing movies (#2490) 2022-02-03 10:14:04 +09:00
TheCatLady
8cba486249 fix: address unhandled promise rejections & bump node to v16.13 (#2398)
* fix: unhandled promise rejections

* build(deps): bump node from 14.18 to 16.13

* fix: unhandled promise rejection in new Plex users endpoint

* fix: build error

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-27 20:00:30 +09:00
Danshil Kokil Mungur
d7779408d1 fix(logs): handle log message nested extra properties (#2459) 2022-01-25 11:00:53 +09:00
Danshil Kokil Mungur
f9200b7977 feat(notif): add Pushbullet channel tag (#2198)
* feat(notif): add pushbullet channel tag to server notif settings

* feat(notif): suggested changes

* docs(notif): add pushbullet channel tag
2022-01-20 11:38:24 +00: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
0842c233d0 feat: Tautulli integration (#2230)
* feat: media/user watch history data via Tautulli

* fix(frontend): only display slideover cog button if there is media to manage

* fix(lang): tweak permission denied messages

* refactor: reorder Media section in slideover

* refactor: use new Tautulli stats API

* fix(frontend): do not attempt to fetch data when user lacks req perms

* fix: remove unneccessary get_user requests

* feat(frontend): display user avatars

* feat: add external URL setting

* feat: add play counts for past week/month

* fix(lang): tweak strings

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-20 10:36:59 +00:00
TheCatLady
86dff12cde fix(plex): user import (#2442) 2022-01-20 06:48:35 +00:00
Danshil Kokil Mungur
ce31bef8a1 feat(logs): use separate json file to parse logs for log viewer (#2399)
Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-20 05:17:03 +00:00
TheCatLady
114366fa4b build(deps): bump dependencies (#2427)
* build(deps): bump dependencies

* build(deps): bump next to 12.0.8

* build(deps): bump swr to 1.1.2

* build(deps): bump more dependencies

* build(deps): bump husky to 7.0.4

* fix: remove user list button outlines

* build(deps): bump dependencies again

* build(deps): bump dependencies once more
2022-01-20 10:04:34 +09:00
TheCatLady
2535edcc7f feat(api): add additional request counts (#2426) 2022-01-16 17:13:35 +09:00
Danshil Kokil Mungur
d4438c82e3 fix(notif): show event in pop up notification for slack (#2413)
* fix(notif): show event in pop up notification for slack

fix #2408

* fix(notifs): suggested changes

* fix(notif): add fallback text to slack embed builder

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-15 00:33:27 +00:00
TheCatLady
10651baa67 fix(notif): duplicate notification check logic (#2424) 2022-01-15 00:20:29 +00:00
TheCatLady
9cb97db13c feat(plex): selective user import (#2188)
* feat(api): allow importing of only selected Plex users

* feat(frontend): modal for importing Plex users

* feat: add alert if 'Enable New Plex Sign-In' setting is enabled

* refactor: fetch all existing Plex users in a single DB query

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-14 19:32:53 +09:00
Danshil Kokil Mungur
b31cdbf074 feat(search): search by id (#2082)
* feat(search): search by id

This adds the ability to search by ID (starting with TMDb ID).

Since there doesn't seem to be way of searching across movies, tv and persons,
I have to search through all 3 and use the first one in the order: movie -> tv -> person

Searching by ID is triggered using a 'prefix' just like in the *arrs.

* fix: missed some refactoring

* feat(search): use locale language

* feat(search): search using imdb id

* feat(search): search using tvdb id

* fix: alias type import

* fix: missed some refactoring

* fix(search): account for id being a string

* feat(search): account for movies/tvs/persons with the same id

* feat(search): remove non-null assertion

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-14 07:52:10 +00:00
Sean Chambers
e0b6abe479 feat(notif): add Gotify agent (#2196)
* feat(notifications): adds gotify notifications

adds new settings screen for gotify notifications including url, token and types settings

fix #2183

* feat(notif): add Gotify agent
addresses PR comments, runs i18n:extract

fix #2183

* reword validationTokenRequired

change wording to indicate presence, not validity

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* feat(notifications): gotify notifications fix

applies changes from #2077 in which Yup validation was failing for types

fix #2183

* feat(notifications): adds gotify notifications

adds new settings screen for gotify notifications including url, token and types settings

fix #2183

* feat(notif): add Gotify agent
addresses PR comments, runs i18n:extract

fix #2183

* reword validationTokenRequired

change wording to indicate presence, not validity

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* feat(notifications): gotify notifications fix

applies changes from #2077 in which Yup validation was failing for types

fix #2183

* feat(notifications): incorporate issue feature into gotify notifications

* feat(notifications): adds gotify notifications

adds new settings screen for gotify notifications including url, token and types settings

fix #2183

* feat(notif): add Gotify agent
addresses PR comments, runs i18n:extract

fix #2183

* reword validationTokenRequired

change wording to indicate presence, not validity

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* feat: add missing ts field

include notifyAdmin in test notification endpoint

* feat: apply formatting/line break items

add addition line break before conditional, change ordering of notifyAdmin/notifyUser in test
endpoint

* feat: remove duplicated endpoints

during rebase, notification endpoints were duplicated upon rebasing. remove duplicate routes

* feat: correct linting quirks

* feat: formatting improvements

* feat(gotify): refactor axios post to leverage 'getNotificationPayload'

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
2022-01-14 01:04:25 +00:00
TheCatLady
5f7538ae2b feat(discord): add 'Enable Mentions' setting (#1779) 2022-01-11 01:39:12 +00:00
TheCatLady
1b3797cf6e fix: sort collection parts by release date (#2368)
* fix: order collection parts by release date

* feat(frontend): add posters & release years to collection request modal

* fix(frontend): wrap movie titles in collection request modal
2021-12-31 06:06:12 +00:00
Danshil Kokil Mungur
5af06bd872 fix(logs): lazily parse log message label (#2359) 2021-12-26 07:52:57 +00:00
TheCatLady
30b20df37a feat: add production countries to movie/TV detail pages (#2170)
* feat: add production countries to movie/TV detail pages

* feat: add country flags to production countries
2021-12-25 01:18:06 +00:00
Danshil Kokil Mungur
488874fc17 fix(servarr): handle servaarr server being unavailable when scanning downloads (#2358) 2021-12-25 01:02:03 +00:00
TheCatLady
fcb0dcf5be fix(notif): only send MEDIA_AVAILABLE notifications for non-declined requests (#2343) 2021-12-12 11:25:26 +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
dc7f959cb4 fix(notif): correct issue notif action URLs (#2333) 2021-12-09 13:49:50 +00:00
Danshil Kokil Mungur
93b5ea20ca fix(servarr): handle baseurl error when testing connection (#2294)
* fix(servarr): handle base url error when testing servarr connection

* fix(servarr): suggested changes
2021-12-08 04:38:17 +04:00
Danshil Kokil Mungur
f284e4ab97 fix(logs): handle unexpected log messages (#2303)
* fix(logs): handle unexpected log messages

* fix(logs): update regexp for json to appease the lgtm gods
2021-12-08 00:20:47 +00:00
TheCatLady
7f330aff2e fix: secure session cookie (#2308) 2021-12-08 00:05:39 +00:00
TheCatLady
88a8c1aa59 feat(notif): 4K media notifications (#2324) 2021-12-08 08:56:41 +09:00
TheCatLady
ed53810fb3 fix: handle Plex library settings migration failure gracefully (#2254)
* fix: handle Plex library settings migration failure gracefully

* fix: handle failure in syncLibraries() instead
2021-12-05 02:42:15 +09:00
TheCatLady
c9ffac33f7 feat(notif): issue notifications (#2242)
* feat(notif): issue notifications

* refactor: dedupe test notification strings

* fix: webhook key parsing

* fix(notif): skip send for admin who requested on behalf of another user

* fix(notif): send comment notifs to admins when other admins reply

* fix(notif): also send resolved notifs to admins, and reopened notifs to issue creator

* fix: don't send duplicate notifications

* fix(lang): tweak notification description strings

* fix(notif): tweak Slack notification styling

* fix(notif): tweak Pushbullet & Telegram notification styling

* docs: reformat webhooks page

* fix(notif): add missing issue_type & issue_status variables to LunaSea notif payloads

* fix: explicitly attach media & issue objects where applicable

* fix(notif): correctly notify both notifyUser and managers where applicable

* fix: update default webhook payload for new installs

* fix(notif): add missing comment_message to LunaSea notif payload

* refactor(sw): simplify notificationclick event listener logic

* fix(notif): add missing event description for MEDIA_AVAILABLE notifications
2021-12-04 21:24:26 +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
TheCatLady
bba09d69c1 fix(issues): only allow edit of own comments & do not allow non-admin delete of issues with comments (#2248) 2021-10-31 08:54:01 +09:00
TheCatLady
8d2968572a fix(email): use decrypted private key (#2232) 2021-10-26 18:49:27 +09:00
TheCatLady
aeb7a48d72 feat(notif): add Pushbullet and Pushover agents to user notification settings (#1740)
* feat(notif): add Pushbullet and Pushover agents to user notification settings

* docs(notif): add "hint" about user notifications to Pushbullet and Pushover pages

* fix: regenerate DB migration
2021-10-25 19:46:05 +09:00
TheCatLady
ab20c21184 fix(lang): string edits (#2229)
* fix(lang): string edits

* fix: correct notif type ordering

* fix(lang): a few more edits

* fix(frontend): align & wrap media attributes properly

* fix(lang): use consistent cache names
2021-10-25 01:08:03 +09:00
Ryan Cohen
e402c42aaa feat: issues (#2180) 2021-10-24 12:44:20 +00:00
TheCatLady
b3b421a674 fix(email): do not attempt to display logo if app URL not configured (#2125)
* fix(email): do not attempt to display logo if app URL not configured

* fix(email): prevent Gmail from turning usernames with periods into hyperlinks

* fix(email): fix(email): use displayName instead of username/plexUserName and improve Gmail link fix
2021-10-18 14:08:50 +00:00
Danshil Kokil Mungur
739f667b54 feat(servarr): auto fill base url when testing service if missing (#1995)
* feat(servarr): auto fill base url when testing service if missing

This will fill the base URL of the *arr service only if it's missing and the base URL hasn't been
provided beforehand

* fix(servarr): replace redundant check

* fix(servarr): suggested changes
2021-10-16 15:27:03 +00:00
TheCatLady
3486d0bf55 feat: dynamically fetch login screen backdrop images (#2206)
* feat: dynamically fetch login screen backdrop images

* fix: remove media check from backdrops endpoint

* fix: remove mapping and work with TMDb data directly
2021-10-16 09:54:15 +09:00
Danshil Kokil Mungur
82614ca441 feat(jobs): allow modifying job schedules (#1440)
* feat(jobs): backend implementation

* feat(jobs): initial frontend implementation

* feat(jobs): store job settings as Record

* feat(jobs): use heroicons/react instead of inline svgs

* feat(jobs): use presets instead of cron expressions

* feat(jobs): ran `yarn i18n:extract`

* feat(jobs): suggested changes

- use job ids in settings
- add intervalDuration to jobs to allow choosing only minutes or hours for the job schedule
- move job schedule defaults to settings.json
- better TS types for jobs in settings cache component
- make suggested changes to wording
- plural form for label when job schedule can be defined in minutes
- add fixed job interval duration
- add predefined interval choices for minutes and hours
- add new schema for job to overseerr api

* feat(jobs): required change for CI to not fail

* feat(jobs): suggested changes

* fix(jobs): revert offending type refactor
2021-10-15 21:23:39 +09:00
TheCatLady
0edb1f452b fix(api): return queried user's requests instead of own requests (#2174) 2021-10-08 23:59:21 +09:00
TheCatLady
a20f395c94 fix(api): use query builder for user requests endpoint (#2119) 2021-10-08 13:14:20 +00:00
sct
41aa72535f build(deps): bump dependencies 2021-09-20 20:14:12 +09:00
Ryan Cohen
afda9c7dc2 feat(plex-scan): plex scanner improvements (#2105) 2021-09-20 09:39:56 +09:00
sct
4c6009bc2c fix(rt-api): correctly format movie urls 2021-09-20 08:05:13 +09:00
sct
a11bb49663 fix(rt-api): use rotten-tomatoes 2.0 search api for movies 2021-09-19 19:42:51 +09:00
TheCatLady
98ece67655 feat: list streaming providers on movie/TV detail pages (#1778)
* feat: list streaming providers on movie/TV detail pages

* fix(ui): add margin to media fact value
2021-09-19 09:11:46 +00:00
tangentThought
376149d6eb feat(notif): Restyle HTML email notifications Part 2 (#1917)
* Restyle HTML email notifications

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Font and actionUrl

Incorporated font and action Url change suggestions.

* Timestamp Padding

Added padding-right to timestamp field

* Hover and Word Wrap Changes

* Hover and Title Wrap

Added hover effects on title and wrapped it instead of truncating.

* Fixed indentation for mediaExtra

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Font Size Scaling Changes

* Removed superflous class name and CSS

* Hover and Title Wrap

Added hover effects on title and wrapped it instead of truncating.

* Fixed indentation for mediaExtra

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Update server/templates/email/media-request/html.pug

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Font Size Scaling Changes

* Removed superflous class name and CSS

* Align all email templates

* Reformat all other email notificaitons

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
2021-08-09 08:55:37 +00:00