Commit Graph

535 Commits

Author SHA1 Message Date
TheCatLady
e60598905b feat: allow users to select notification types (#1512)
* feat: allow users to select notification types

* fix(ui): display personal notification types before management types

* fix: update allRequestsAutoApproved check to account for new REQUEST_MOVIE & REQUEST_TV perms

* fix(ui): do not display Discord notif type selector if user not eligible for any types

* refactor(ui): remove unnecessary 'enabled' checkboxes from user notif settings

* fix(ui): correct checkbox behavior

* fix: add missing return type on hasNotificationType

* refactor: remove unused isValid prop in NotificationsWebPush

* fix(ui): use SensitiveInput for users' public PGP keys

* fix(ui): add missing tip/hint for email encryption setting

* refactor(svg): use the new Discord logo

* revert(api): undo breaking change removing discordEnabled from UserSettingsNotificationsResponse

* fix(lang): update notification type descriptions for clarity

* fix(telegram): do not send users notifications of their own auto-approved requests
2021-06-04 19:31:05 +09:00
TheCatLady
59b2ec11fa fix(ui): improve QuotaSelector display of unlimited and singular values (#1704) 2021-05-31 00:29:43 +00:00
TheCatLady
310cdb36df fix(plex): do not fail to import Plex users when Plex Home has managed users (#1699)
* fix(plex): do not fail to import Plex users when Plex Home has managed users

* fix: default display name to email when user has no username

also, do not set username or plexUsername when it is the same as the user's email address

* fix(ui): user display name placeholder should reflect fallback logic if username is not set

* fix(ui): hide email addresses of other users if logged-in user does not have Manage Users permission

* fix: always set Plex username even if same as user's email

* fix: remove unnecessary permission check

* fix: transform email addresses to lowercase
2021-05-31 08:38:52 +09:00
sct
6603dffe95 build(deps): bump dependencies
Includes some type fixes for Typescript 4.3.x
2021-05-30 09:25:11 +09:00
sct
97d016d889 refactor(ui): touch up menu/back button coloring to look better on background images 2021-05-20 18:59:26 +09:00
TheCatLady
e6d5f0abfe fix(ui): correct horizontal overflow behavior of settings tabs (#1667) 2021-05-19 02:17:31 +00:00
Danshil Kokil Mungur
e1f5febe7b fix(tv): don't show duplicate air date (#1666)
Only show the First Air Date if it is the same as the Next Air Date
2021-05-19 00:57:12 +00:00
sct
14756f4b20 fix(lang): only set locale once at page load and move subsequent updates back into Layout
fixes #1662
2021-05-18 09:23:29 +09:00
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
bb8d14b5ff fix(sensitiveinput): do not capture enter key input (#1650) 2021-05-17 00:10:50 +00:00
TheCatLady
2ef57e9b1a fix(ui): add clarification to user settings (#1644) 2021-05-17 00:02:55 +00:00
TheCatLady
808ccf1c69 fix(quotas): do not count already-requested seasons when editing TV request (#1649) 2021-05-17 08:14:46 +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
44c3edb985 feat: add display name to create local user modal (#1631) 2021-05-13 15:06:02 +00:00
TheCatLady
6b37242a3f fix(ui): remove delete button from request cards (#1635) 2021-05-13 15:00:43 +00:00
sct
aa86809dc9 style: bump prettier and format app 2021-05-13 23:48:08 +09:00
TheCatLady
d7b9b1a525 feat(ui): request list item & request card improvements (#1532)
* feat(ui): add additional request card buttons

* feat(ui): add year to request list items & request cards

* fix(ui): do not show edit button conditionally, and don't hide modifiedBy user

* revert: do not unhide season list for reg users on mobile
2021-05-13 11:51:20 +00:00
TheCatLady
6968caa35a fix(ui): apply pointer cursor style for clickable status badges (#1632) 2021-05-13 20:44:08 +09:00
Jabster28
d0703aa377 fix: switch PGP regex to span multiple lines (#1598)
* fix: switch PGP regex to span multiple lines

* also change the regex in this file
2021-05-11 10:58:27 +09:00
TheCatLady
694d0ffcf6 fix(ui): hide Plex alert after setup and add local login warning to local user modal (#1600) 2021-05-08 04:10:47 +00:00
TheCatLady
0c4fb6446b feat(webpush): add warning to web push settings re: HTTPS requirement (#1599) 2021-05-08 13:01:02 +09:00
TheCatLady
6b26188d88 fix(ui): hide advanced request options when there is only one choice (#1591)
* refactor: remove unnecessary elements/indentation

* fix(ui): hide advanced request options when there is only one choice
2021-05-07 02:33:11 +00:00
TheCatLady
9749d723fc fix(plex): sync libraries after saving settings (#1592) 2021-05-07 09:03:45 +09:00
sct
c4775e05fe refactor(ui): updated modal design with backdrops 2021-05-06 21:24:36 +09:00
TheCatLady
f48312e833 fix(locale): set locale based on user settings upon login (#1584) 2021-05-06 20:15:14 +09:00
TheCatLady
a640a91390 feat(plex): add support for custom Plex Web App URLs (#1581)
* feat(plex): add support for custom Plex Web App URLs

* refactor: clean up Yup validation in *arr modals & email settings

* fix(lang): change Web App URL tip

* fix: remove web app URL validation and add 'Advanced' badge
2021-05-06 17:40:22 +09:00
TheCatLady
549103f6f6 fix(locale): default user locale should be the server setting (#1574)
* fix(locale): default user locale should be the server setting

* fix(db): fix user settings migration

* fix(db): set default locale to empty string

* revert: revert change to usersettings.ts
2021-05-05 13:33:43 +09:00
TheCatLady
e2acf8887c fix(ui): default to text input type for SensitiveInputs (#1568) 2021-05-05 00:24:28 +09:00
TheCatLady
69ab7cc660 feat(email): replace 'Enable SSL' setting with more descriptive/clear 'Encryption Method' setting (#1549)
* feat(email): replace 'Enable SSL' setting with more descriptive/clear 'Encryption Method' setting

* fix: clarify settings & add true 'none' option
2021-05-04 10:31:33 +00:00
TheCatLady
e912a00880 fix(ui): correct RegionSelector z-index (#1567) 2021-05-04 18:45:33 +09:00
TheCatLady
26580eaa21 fix(ui): improve form usability (#1563)
* fix(ui): improve form usability

* refactor: remove unnecessary <> and </> tags

* fix(ui): set url inputmode for *arr URL base fields
2021-05-04 17:42:27 +09:00
TheCatLady
b05b177776 fix(webpush): only prompt user to allow notifications if enabled in user settings (#1552) 2021-05-04 03:40:32 +00:00
TheCatLady
6c34bb2908 refactor(svg): inline *arr logos and optimize SVG assets (#1562) 2021-05-04 02:26:40 +00:00
TheCatLady
1123fce089 fix(ui): apply rounded-l-only to SensitiveInput textareas and increase visible text input area (#1561) 2021-05-04 09:37:51 +09:00
TheCatLady
e4d0029f7b fix(ui): add user profile links to RequestBlock and change 'ETA' string in DownloadBlock (#1551) 2021-05-03 13:21:45 +00: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
Jakob Ankarhem
4fd452dd18 feat(inputs): add support for toggling security on input fields (#1404) 2021-05-03 21:59:52 +09:00
TheCatLady
189313e94a fix: correctly fall back to English name in LanguageSelector (#1537)
* fix: correctly fall back to English name in LanguageSelector

* refactor: clean up language sort & name logic

* refactor: also clean up region sort & name logic

* refactor: use arrow functions
2021-04-30 18:02:59 +00:00
TheCatLady
5e588be812 fix(ui): add missing margins on button SVGs on Plex Settings page (#1546) 2021-04-30 17:38:47 +09:00
TheCatLady
26ddc03b2c fix(css): fix cog icon size on media detail pages (#1520) 2021-04-28 12:21:22 +09:00
TheCatLady
802e40a5df fix(ui): explicitly specify width/height of Listbox dropdown icon (#1514) 2021-04-28 08:15:30 +09:00
TheCatLady
f78b9c1ca9 fix(css): don't target button globally (#1510)
* fix(css): don't target button globally

* fix(css): revert toast change
2021-04-27 15:23:36 +00:00
sct
2a912180b8 build: lets try tailwind jit again 2021-04-27 18:38:51 +09: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
db49b2024d feat: add option to only allow Plex sign-in from existing users (#1496)
* feat: add option to only allow Plex login from existing users

* fix: remove newPlexLogin from public settings
2021-04-26 21:06:54 +09:00
TheCatLady
3e5e9c0ad1 refactor(css): add styles targeting SVG button/modal icons (#1464)
* refactor(css): add global classes for common icon types

* refactor(css): target child SVGs instead of creating new icon classes

* fix: fix ButtonWithDropdown style class spacing
2021-04-26 10:09:58 +00:00
TheCatLady
079645c2c7 feat(notif): show success/failure toast for test notifications (#1442)
* feat(notif): show success/failure toast for test notifications

* fix(lang): remove 'successfully' from test notif success strings
2021-04-26 10:01:31 +00:00
TheCatLady
4faddf3810 fix(ui): show warning if user has both a default non-4K server and a non-default 4K server (#1478) 2021-04-26 17:13:05 +09:00
TheCatLady
48587719e9 fix: do not set locale when modifying other users (#1499) 2021-04-26 07:39:19 +09:00
sct
2ecd9d7b13 fix(ui): correct toasts being in the wrong position on smaller screens 2021-04-26 01:29:36 +09:00