Commit Graph

35 Commits

Author SHA1 Message Date
TheCatLady
8d8db6cf5d feat(lang): add Czech and Danish display languages (#2176) 2021-10-08 15:47:30 +00:00
TheCatLady
590ea7e404 feat(lang): add Simplified Chinese display language (#2032) 2021-09-04 14:12:41 +09:00
TheCatLady
091d66a192 fix: check that application URL and email agent are configured for password reset/generation (#1724)
* fix: check that application URL and email agent are configured for password reset/generation

* refactor: reverse flex direction instead of conditionally changing justify
2021-06-10 12:56:33 +09: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
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
sct
28830d4ef8 feat: PWA Support (#1488) 2021-04-25 20:44:12 +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
77911c03e9 feat(lang): add Catalan to language picker (#1309) 2021-03-30 00:14:59 +00:00
sct
0ca3d43749 feat: add option to cache images locally (#1213) 2021-03-18 21:37:25 +09:00
TheCatLady
36c00fde27 feat(ui): add option to only allow complete series requests (#1164) 2021-03-16 16:36:54 +09:00
sct
084917f02d fix: add missing default value for settings context 2021-02-27 12:41:52 +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
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
TheCatLady
3c5ae360fd fix(lang): translate language names & change zh-Hant language code to zh-TW (#793) 2021-01-31 18:51:33 +09:00
Jakob Ankarhem
20ca3f2f5f feat(users): add editable usernames (#715) 2021-01-27 08:09:42 +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
6b2df24a2e feat: 4K Requests (#559) 2021-01-11 23:42:33 +09:00
sct
c9fe6cb0b7 feat(lang): add support for swedish language 2020-12-20 01:43:54 +09:00
sct
108dfc4afd feat(lang): add support for Italian, Portuguese (Brazil) and Serbian 2020-12-19 21:51:05 +09:00
sct
e8776fd336 refactor(frontend): titlecard behavior changed to allow clicking anywhere to go through to title
mobile behavior remains mostly the same, except after the first click, a second click anywhere else
will go through to the title.
2020-12-15 15:49:59 +00:00
sct
6cd20491d2 feat(lang): add support for Spanish language 2020-12-15 11:46:43 +00:00
sct
df94db050b feat(lang): add support for dutch language 2020-12-09 07:18:22 +00:00
sct
8d8e750982 feat(lang): add support for russian languge 2020-12-09 04:51:48 +00:00
sct
d38b28d206 feat(lang): add nb-NO and de language support to app 2020-12-08 14:11:05 +00:00
sct
8e6daf7bd2 fix: fix a few misc unused imports and useless assignments/conditionals 2020-12-08 04:36:43 +00:00
sct
cd6d8a8216 feat(frontend): add french language file
also expanded translation coverage (still lots to do!)
2020-11-27 05:11:45 +00:00
sct
9131254f33 feat(frontend/api): i18n support 2020-09-17 16:17:41 +00:00
sct
cb9098f457 feat: logout route/sign out button (#54) 2020-09-06 23:11:42 +09:00
sct
e6349c13a0 feat: user avatars from plex (#53) 2020-09-06 19:30:16 +09:00
sct
190a8831c7 User Context (#51)
* feat(frontend): user Context / useUser hook

Adds a UserContext to wrap the app and load/cache the user when the website renders. Also adds the
useUser hook to pull in user data anywhere its needed on the site. This commit also adds redirection
to the login page for users who are not signed in

* fix(frontend): use process.env.PORT for user request on server side (defaults to 3000)

* docs(frontend): added documentation/notes for how the user context/login works
2020-09-05 13:16:26 +09:00