Gauthier
73f700e2e5
fix: set the correct TTL for the cookie store ( #3946 )
...
The time-to-live (TTL) of cookies stored in the database was incorrect because the connect-typeorm
library takes a TTL in seconds and not milliseconds, making cookies valid for ~82 years instead of
30 days.
Co-authored-by: Ryan Cohen <ryan@sct.dev >
2025-03-04 09:09:48 +09:00
RemiRigal
c84ca43074
feat: update SameSite policy of session cookie to Lax ( #3650 )
...
* update session cookie samesite policy to lax
* set cookie samesite policy based on csrf protection setting
2023-10-18 15:05:22 +00:00
Pedro Nascimento
966639df43
perf(imageproxy): do not set cookies to image proxy so CDNs can cache images ( #3332 )
...
CDNs such as Cloudflare bypass their cache if cookies are set in the response.
clearCookies
middleware removes the header before imageproxy serves the image.
2023-02-12 20:05:29 +09:00
Ryan Cohen
cd3574851a
feat: add discover customization ( #3182 )
2023-01-03 16:04:28 +09:00
Ryan Cohen
500cd1f872
feat: custom image proxy ( #3056 )
2022-10-18 14:40:24 +09:00
Ryan Cohen
c6a133d4e5
refactor: absolute imports with path alias ( #2960 ) [skip ci]
2022-08-22 11:02:46 +09:00
Danshil Kokil Mungur
0fa84eae8d
build(deps): bump dependencies ( #2796 )
2022-08-17 20:43:35 +09:00
TheCatLady
f3e56da3b7
feat: show alert/prompt when settings changes require restart ( #2401 )
...
* fix: correct 'StatusChecker' typo
* feat: add restart required check to StatusChecker
* fix(perms): remove MANAGE_SETTINGS permission
* fix: allow alert to be dismissed
* fix(lang): add missing string in SettingsServices
* fix(frontend): fix modal icon border
* fix(frontend): un-dismiss alert if setting reverted not require server restart
* fix(backend): restart flag only needs to track main settings
* fix: rebase issue
* refactor: appease Prettier
* refactor: swap settings badge order
* fix: type import for MainSettings
* test: add cypress test for restart prompt
2022-08-16 16:58:11 +00:00
Ryan Cohen
f5864b49de
refactor: update a few dev deps and convert to using type imports where possible ( #2886 )
...
* build: bump deps and add some new eslint rules
* refactor: run eslint --fix on code to convert to type imports where possible
2022-08-03 12:57:51 +09: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
7f330aff2e
fix: secure session cookie ( #2308 )
2021-12-08 00:05:39 +00: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
Ryan Cohen
afda9c7dc2
feat(plex-scan): plex scanner improvements ( #2105 )
2021-09-20 09:39:56 +09:00
Dustin Hildebrandt
c3e575ac77
build(deps): drop deprecated body-parser ( #1745 )
2021-06-08 09:09:01 +09: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
29b97ef6d8
feat(notif): Add Pushbullet notification agent ( #950 )
2021-02-18 11:26:22 +09:00
TheCatLady
f1dd5e7e12
feat(ui): Move PROXY setting to UI ( #782 )
...
Users who have set PROXY=yes in their Docker containers will need to configure this setting in the UI and restart the container.
2021-01-30 10:46:51 +09:00
Jakob Ankarhem
9342a40bbc
fix(ip logging): add env var for proxy to fix ip logging on failed logins ( #756 )
2021-01-27 08:18:45 +09:00
TheCatLady
6e2589178b
feat(auth): Add optional CSRF protection ( #697 )
...
* fix(auth): Missing CSRF middleware
Resolves LGTM alert/error for query js/missing-token-validation
More info: https://lgtm.com/rules/1506064038914/
2021-01-25 11:27:57 +09:00
Jakob Ankarhem
2d31ea940a
feat(login): add request ip to the failed request log ( #714 )
2021-01-23 00:23:07 +09: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
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
ab9cef3624
fix: only run migrations in production
2020-12-21 14:38:32 +09:00
sct
0916b58594
fix(notifications): always update the media table when seasons become available
2020-12-21 01:40:23 +09:00
sct
5e5ba40505
fix: change default internal port to 5055 ( #389 )
2020-12-19 00:12:41 +09:00
Mārtiņš Možeiko
086183b563
feat: allow to listen server on specific host interface ( #381 )
...
fix #273
2020-12-18 11:11:20 +09:00
sct
2948f9360e
feat: add version to startup logs
2020-12-16 03:54:32 +00:00
sct
96f3861c90
chore(deps): update express-openapi-validator to v4.8.0
2020-12-08 10:28:38 +00:00
sct
79a352b7b3
build(deps): update dependencies and update relevant files
2020-12-08 04:14:18 +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
d8e542e5fe
feat: notification framework
2020-11-22 19:11:14 +09:00
sct
24a0423f3b
feat: initial user list (no edit/delete yet) and job schedules
2020-11-05 10:45:51 +00:00
sct
e40a815d07
build: fix production build
2020-10-11 00:51:32 +00:00
sct
1be8b18361
feat(api): plex Sync (Movies)
...
Also adds winston logging
2020-09-27 14:05:32 +00: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
sct
5d46f8d76d
Settings System ( #46 )
...
* feat(api): settings system
Also includes /auth/me endpoint for ticket ch76 and OpenAPI 3.0 compatibility for ch77
* refactor(api): remove unused imports
2020-09-03 19:17:15 +09:00
sct
5343f35e5b
feat(api): initial implementation of the auth system ( #30 )
...
Adds the auth system but does not add all required features. They will be handled in other tickets
2020-08-28 09:34:15 +09:00
sct
d902ef7277
feat(api-user): add basic User Entity and basic routing to fetch all users
2020-08-17 03:12:00 +00:00
sct
89a6017c7f
feat: bootstrap the basic app structure
2020-08-16 14:39:37 +00:00