Commit Graph

105 Commits

Author SHA1 Message Date
TheCatLady
e85d1ce94e fix(locale): properly restore display language upon page refresh (#1646)
* fix(locale): properly restore display language upon page refresh

* refactor: dedupe logic
2021-05-17 01:13:52 +00:00
TheCatLady
22415642e8 feat(lang): add Greek display language (#1605)
* feat(lang): add Greek & Polish display languages

Also:
* rename zh-TW display language to 繁體中文‬
* fix plurality of AvailableLocale type name
* consistently use 'en' as fallback/default language

* revert(lang): remove Polish display language due to lack of translation activity
2021-05-16 14:56:49 +09:00
sct
aa86809dc9 style: bump prettier and format app 2021-05-13 23:48:08 +09:00
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
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
8fc71bea08 refactor(icons): install and use @heroicons/react (#1438) 2021-04-17 18:07:23 +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
Alex Cortelyou
82ca2f5934 fix(frontend): add crossorigin attribute to webmanifest link (#1376) 2021-04-07 23:31:31 +00:00
TheCatLady
77911c03e9 feat(lang): add Catalan to language picker (#1309) 2021-03-30 00:14:59 +00: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
232def972b feat(frontend): add apple splash for pwa 2021-03-22 12:15:13 +09:00
sct
958cdf98fd feat(ui): experimental status bar style change for ios pwa app
this might break things. just an experiment. :)
2021-03-22 01:22:24 +09:00
TheCatLady
80165038fd fix(frontend): redirect from /setup if already initialized (#1238) 2021-03-21 10:20:33 +09:00
sct
0ca3d43749 feat: add option to cache images locally (#1213) 2021-03-18 21:37:25 +09:00
TheCatLady
dfd4ff9229 fix(lang): fix overwritten/shared string (#1212) 2021-03-18 03:49:11 +00:00
TheCatLady
ea1863ac3a fix(lang): UI string edits, round 2 (#1202) 2021-03-18 11:28:44 +09:00
TheCatLady
36c00fde27 feat(ui): add option to only allow complete series requests (#1164) 2021-03-16 16:36:54 +09:00
TheCatLady
6f1a31de47 feat(ui): add movie/series genre list pages (#1194) 2021-03-16 03:37:35 +00:00
Jakob Ankarhem
3d6b343413 feat(frontend): add loading bar indicator (#1170) 2021-03-14 13:46:04 +00:00
TheCatLady
b36aff912a refactor(ui): move user-related settings out of "General Settings" (#1143) 2021-03-11 14:55:11 +00:00
TheCatLady
75011610e5 feat: add language-filtered Discover pages (#1111) 2021-03-10 10:23:37 +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
9ce88abcc8 fix: added missing language default for ssr context defaults 2021-02-27 12:46:30 +00:00
TheCatLady
6ecd202607 fix(frontend): use region settings instead of hardcoded 'US' value for movie/TV ratings (#1006) 2021-02-23 18:06:23 +09: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
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
e5966bd3fb feat(users): add reset password flow (#772) 2021-02-05 23:23:57 +09:00
TheCatLady
35c6bfc021 feat(ui): Add custom title functionality (#825) 2021-02-03 19:44:10 +09:00
TheCatLady
9d0d5b86aa feat(ui): Add local login setting (#817) 2021-02-03 10:16:44 +09:00
sct
cfacb151b5 feat(lang): add support for Hungarian language 2021-01-31 13:20:32 +00:00
sct
996bd9f14e feat(cache): add cache table and flush cache option to settings
also increases tmdb cache times to about 6 hours (12 hours for detail requests)
2021-01-31 13:11:12 +00:00
TheCatLady
3c5ae360fd fix(lang): translate language names & change zh-Hant language code to zh-TW (#793) 2021-01-31 18:51:33 +09:00
TheCatLady
f05d4a0d0b fix(ui): Capitalization, punctuation, and grammar inconsistences & errors (#731) 2021-01-27 08:34:52 +09:00
sct
e044146aa5 feat(lang): add support for Portuguese (Portugal) language 2021-01-22 14:02:02 +00:00
sct
6c1742e94c feat(frontend): add option to hide all available items from discovery (#699) 2021-01-20 18:56:45 +09:00
sct
686c4f71bf feat(lang): add support for Chinese (Traditional) language 2021-01-19 02:17:14 +00:00
sct
a7cc7c5975 feat(notifications): Webhook Notifications (#632) 2021-01-12 18:28:42 +09:00
sct
6b2df24a2e feat: 4K Requests (#559) 2021-01-11 23:42:33 +09:00
Jakob Ankarhem
ee5d0181fc feat(notifications): add pushover integration (#574)
* feat(notifications): add pushover integration

* refactor(pushover): group i18n translations
2021-01-05 13:19:25 +09:00
sct
8c0903393c fix(holiday): remove special holiday slider 2021-01-02 08:51:37 +00:00
sct
fae4818957 fix(frontend): set locale cookie expiration to be much longer 2020-12-27 14:47:39 +00:00
sct
75a426437a feat: status checker to prompt users to reload their frontend when app version changes 2020-12-27 10:05:54 +00:00
Jakob Ankarhem
c8d4d674f4 feat(frontend): add telegram integration (#491)
* feat(frontend): add telegram notification agent

* feat(telegram): add i18n keys for telegram

* style(telegram): change message formatting in notification

* feat(telegram): add short tutorial for telegram setup

* feat(telegram): add i18n keys for telegram tutorial

* style(telegram): correct grammar in infobox

Co-authored-by: sct <ryan@sct.dev>

* fix(telegram): redo i18n extraction

Co-authored-by: Jakob Ankarhem <jakob.ankarhem@jetshop.se>
Co-authored-by: sct <ryan@sct.dev>
2020-12-27 00:02:00 +09:00
sct
1163e81adc feat(notifications): add slack notification agent
re #365
2020-12-25 19:02:04 +09:00
sct
a333a09582 feat: add collections (#484)
closes #418
2020-12-24 16:31:56 +09:00
sct
604ba2a92f feat(frontend): add full crew page for movies/shows 2020-12-22 00:37:26 +09:00
sct
c9fe6cb0b7 feat(lang): add support for swedish language 2020-12-20 01:43:54 +09:00