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
1 year ago
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.
2 years ago
Ryan Cohen
cd3574851a
feat: add discover customization ( #3182 )
2 years ago
Ryan Cohen
500cd1f872
feat: custom image proxy ( #3056 )
2 years ago
Ryan Cohen
c6a133d4e5
refactor: absolute imports with path alias ( #2960 ) [skip ci]
2 years ago
Danshil Kokil Mungur
0fa84eae8d
build(deps): bump dependencies ( #2796 )
2 years ago
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
2 years ago
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
2 years ago
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>
3 years ago
TheCatLady
7f330aff2e
fix: secure session cookie ( #2308 )
3 years ago
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
3 years ago
Ryan Cohen
afda9c7dc2
feat(plex-scan): plex scanner improvements ( #2105 )
3 years ago
Dustin Hildebrandt
c3e575ac77
build(deps): drop deprecated body-parser ( #1745 )
4 years ago
TheCatLady
4e6fb00a4a
feat(notif): add LunaSea agent ( #1495 )
...
* feat(notif): add LunaSea agent
* feat(notif): change LunaSea 'Authorization Header' input field to 'Profile Name'
4 years ago
sct
28830d4ef8
feat: PWA Support ( #1488 )
4 years ago
TheCatLady
29b97ef6d8
feat(notif): Add Pushbullet notification agent ( #950 )
4 years ago
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.
4 years ago
Jakob Ankarhem
9342a40bbc
fix(ip logging): add env var for proxy to fix ip logging on failed logins ( #756 )
4 years ago
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/
4 years ago
Jakob Ankarhem
2d31ea940a
feat(login): add request ip to the failed request log ( #714 )
4 years ago
sct
a7cc7c5975
feat(notifications): Webhook Notifications ( #632 )
4 years ago
sct
6b2df24a2e
feat: 4K Requests ( #559 )
4 years ago
Jakob Ankarhem
ee5d0181fc
feat(notifications): add pushover integration ( #574 )
...
* feat(notifications): add pushover integration
* refactor(pushover): group i18n translations
4 years ago
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>
4 years ago
sct
1163e81adc
feat(notifications): add slack notification agent
...
re #365
4 years ago
sct
ab9cef3624
fix: only run migrations in production
4 years ago
sct
0916b58594
fix(notifications): always update the media table when seasons become available
4 years ago
sct
5e5ba40505
fix: change default internal port to 5055 ( #389 )
4 years ago
Mārtiņš Možeiko
086183b563
feat: allow to listen server on specific host interface ( #381 )
...
fix #273
4 years ago
sct
2948f9360e
feat: add version to startup logs
4 years ago
sct
96f3861c90
chore(deps): update express-openapi-validator to v4.8.0
4 years ago
sct
79a352b7b3
build(deps): update dependencies and update relevant files
4 years ago
sct
0962392e39
feat(api): email notification agent
...
no ui yet built to configure it and currently only handles MEDIA_PENDING notification types
4 years ago
sct
d8e542e5fe
feat: notification framework
4 years ago
sct
24a0423f3b
feat: initial user list (no edit/delete yet) and job schedules
4 years ago
sct
e40a815d07
build: fix production build
4 years ago
sct
1be8b18361
feat(api): plex Sync (Movies)
...
Also adds winston logging
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
sct
d902ef7277
feat(api-user): add basic User Entity and basic routing to fetch all users
4 years ago
sct
89a6017c7f
feat: bootstrap the basic app structure
4 years ago