Commit Graph

43 Commits

Author SHA1 Message Date
sct
28830d4ef8 feat: PWA Support (#1488) 2021-04-25 20:44:12 +09:00
TheCatLady
4e98f56753 fix(notif): include year in notifications (#1439)
* fix(notif): include year in notifications

* fix(lang): fix shared overwritten strings

* fix: check if email agent is actually enabled when generating passwords
2021-04-18 10:11:56 +00: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
e605687580 feat(webhook): include requestedBy user in payload (#1385)
* feat(webhook): include requestedBy user in payload

* fix: update jsonPayload in settings.ts
2021-04-09 10:32:29 +09:00
sct
d3a25b935a fix(notifications): correctly send notifications for users that do not have any user settings yet
fixes #1324
2021-03-30 21:02:33 +09:00
TheCatLady
4ee78ab2fe feat(notif): include requested season numbers in notifications (#1211) 2021-03-19 02:07:22 +00:00
Jakob Ankarhem
9e5adeb610 feat(email): add pgp support (#1138) 2021-03-14 22:39:43 +09:00
TheCatLady
0bd0912613 fix(notif): set URL for Discord embeds rather than adding a field for the link (#1167) 2021-03-14 04:52:54 +00:00
TheCatLady
f7d2723fab feat(notif): add "Media Automatically Approved" notification type (#1137) 2021-03-12 02:42:06 +00:00
TheCatLady
3384eb1c47 feat(notif): add settings for Discord bot username & avatar URL (#1113) 2021-03-09 12:42:32 +00:00
TheCatLady
48387e5b2f feat(notif): include poster image in Telegram notifications (#1112) 2021-03-08 19:22:03 +00:00
Jakob Ankarhem
f6d00d8d15 feat(telegram): add support for individual chat notifications (#1027) 2021-03-05 09:18:56 +09:00
TheCatLady
5560abf459 fix(notif): escape application title in Telegram notifications (#1012) 2021-02-25 13:14:32 +09:00
TheCatLady
bbea522499 fix(notif): Remove extra newlines from Telegram notifications (#973) 2021-02-21 00:40:50 +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
TheCatLady
2768155bba feat(notif): Notification improvements (#914) 2021-02-12 22:27:11 +09:00
TheCatLady
38c76b55e0 fix(notif/ui): Use custom application title in notifications & sign-in page (#849) 2021-02-05 11:15:57 +09:00
TheCatLady
35c6bfc021 feat(ui): Add custom title functionality (#825) 2021-02-03 19:44:10 +09:00
Jakob Ankarhem
20ca3f2f5f feat(users): add editable usernames (#715) 2021-01-27 08:09:42 +09:00
sct
21db3676d1 feat(notifications): add option to send notifications for auto-approved requests
closes #267
2021-01-23 09:54:43 +00:00
sct
eb6fc8a190 fix(notifications): send media declined email
fixes #679
2021-01-18 22:11:28 +00:00
sct
2f97f61a6e feat(notifications): add notification for declined requests
closes #663
2021-01-18 06:34:20 +00:00
Jakob Ankarhem
492e19df40 feat(login): add local users functionality (#591) 2021-01-14 21:03:12 +09:00
sct
a7cc7c5975 feat(notifications): Webhook Notifications (#632) 2021-01-12 18:28:42 +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
8af6a1f566 feat(notifications): control notifcation types per agent
closes #513
2020-12-28 02:21:45 +00:00
Jakob Ankarhem
0185bb1a70 feat(email): add sendername to email notification (#506)
* feat(email): add sendername to email notification

* feat(email): add sendername to api + move field in form

Co-authored-by: Jakob Ankarhem <jakob.ankarhem@jetshop.se>
2020-12-27 00:54:23 +09: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
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
6898357b13 feat(email): option to allow self signed certificates 2020-12-23 12:18:40 +09:00
sct
0980fa54f9 fix(email): correctly log errors when emails fail to send 2020-12-23 01:34:29 +09:00
sct
659fa505f0 feat(notifications): include direct links to media in notifications
closes #437
2020-12-23 00:25:44 +09:00
sct
22006e9dbd fix(api): prevent checking first admin account for plex server access 2020-12-21 20:51:54 +09:00
sct
44a305426f feat(notifications): added ability to send test notifications
closes #309
2020-12-20 21:41:25 +09:00
sct
d5eb4d8d43 fix(email): do not pass auth object to transport if no auth data present
re #312
2020-12-17 04:06:45 +00:00
Kieron Boswell
961d110720 fix: spelling mistake on the word 'requested' fixed (#319) 2020-12-16 09:28:09 +09:00
sct
79a352b7b3 build(deps): update dependencies and update relevant files 2020-12-08 04:14:18 +00:00
sct
0d73d88f35 feat: other email notifications for approved/available
also adds UI to configure email notifications to frontend
2020-11-24 14:36:31 +00:00
sct
0962392e39 feat(api): email notification agent
no ui yet built to configure it and currently only handles MEDIA_PENDING notification types
2020-11-24 10:36:37 +00:00
sct
a6c5e65bbf feat: notifications for media_available and media_approved 2020-11-23 10:34:53 +00:00
sct
d8e542e5fe feat: notification framework 2020-11-22 19:11:14 +09:00