izzy
|
36baeb603f
|
refactor: move static methods into util
|
2025-11-10 11:48:19 +00:00 |
|
Paul Makles
|
db22797ae6
|
refactor: remove unnecessary await
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
|
2025-11-10 11:45:35 +00:00 |
|
izzy
|
30481fb3b9
|
chore: lint
|
2025-11-07 18:01:36 +00:00 |
|
izzy
|
f434503c5b
|
refactor: annotate references to other services in worker service
|
2025-11-07 17:16:00 +00:00 |
|
izzy
|
1693e62788
|
chore: lint/format
|
2025-11-07 16:55:28 +00:00 |
|
izzy
|
15bffff2ea
|
fix: keep trying to stop immich until it succeeds (CLI issue)
|
2025-11-07 16:28:17 +00:00 |
|
izzy
|
0801935ca9
|
feat: perform 302 redirect at server level during maintenance
|
2025-11-07 16:00:56 +00:00 |
|
izzy
|
961f022602
|
chore: format files
|
2025-11-07 16:00:15 +00:00 |
|
izzy
|
ee0b27bebd
|
chore: clean up lint issues
|
2025-11-07 15:46:22 +00:00 |
|
izzy
|
0a4febaaf8
|
test(e2e): write web spec for maintenance
|
2025-11-07 15:37:01 +00:00 |
|
izzy
|
998675f48c
|
feat: add SSR to maintenance API
|
2025-11-07 15:36:51 +00:00 |
|
izzy
|
598b1f87a1
|
chore: add helper to set maint. auth cookie
|
2025-11-07 15:36:34 +00:00 |
|
izzy
|
40fd1e24fb
|
chore: add response builder
|
2025-11-07 14:53:02 +00:00 |
|
izzy
|
111463d084
|
test: api e2e maintenance spec
|
2025-11-07 14:52:46 +00:00 |
|
izzy
|
572e1e424d
|
fix: always report no maintenance when usual API is available
|
2025-11-07 14:52:26 +00:00 |
|
izzy
|
3c4a60e0c5
|
fix: catch errors when closing app
|
2025-11-07 14:52:07 +00:00 |
|
izzy
|
f57c8b2b69
|
test: write cli service tests
|
2025-11-07 12:24:02 +00:00 |
|
izzy
|
9d869a88b6
|
test: write service mocks for maintenance mode
|
2025-11-07 11:59:27 +00:00 |
|
izzy
|
089a66669f
|
chore: fix formatting
|
2025-11-07 10:45:19 +00:00 |
|
izzy
|
f2536f9a96
|
refactor: remove repository mock
|
2025-11-07 10:35:38 +00:00 |
|
izzy
|
eb2fc6fc75
|
chore: fix server/web lints
|
2025-11-07 10:17:20 +00:00 |
|
izzy
|
c3794be917
|
refactor: remove business logic from repositories
|
2025-11-07 10:12:38 +00:00 |
|
izzy
|
8676a042eb
|
refactor: encode at point of usage
|
2025-11-06 17:58:13 +00:00 |
|
izzy
|
5c6e04cc8f
|
refactor: lint, open-api, remove old dto
|
2025-11-06 17:54:29 +00:00 |
|
izzy
|
a597b0edb1
|
refactor: always validate login (i.e. check cookie)
|
2025-11-06 17:50:48 +00:00 |
|
izzy
|
35ac0b3269
|
refactor: move redirect check into utils
refactor: update translation strings to be more sensible
|
2025-11-06 17:34:14 +00:00 |
|
izzy
|
9ed219c67a
|
refactor: more concise redirect logic on web
|
2025-11-06 15:35:43 +00:00 |
|
izzy
|
c8f3eef45d
|
refactor: use service instead of repository
chore: read token from cookie if possible
chore: rename client event to AppRestartV1
|
2025-11-06 15:35:17 +00:00 |
|
izzy
|
f2b941b066
|
refactor: use request#auth key
|
2025-11-06 15:32:18 +00:00 |
|
izzy
|
0638700720
|
refactor: close database connection after startup check
|
2025-11-06 15:31:42 +00:00 |
|
izzy
|
657dae061d
|
chore: remove @types/jsonwebtoken
|
2025-11-06 13:06:09 +00:00 |
|
izzy
|
8df1b5a263
|
test: add base service dependency to maintenance
|
2025-11-06 12:30:31 +00:00 |
|
izzy
|
14a51c7fbe
|
test: add mock for maintenance repository
|
2025-11-06 12:21:29 +00:00 |
|
izzy
|
1695315596
|
chore: lint fixes for web
|
2025-11-06 11:29:40 +00:00 |
|
izzy
|
2b659986c2
|
chore: lint fixes for server
|
2025-11-06 11:27:14 +00:00 |
|
izzy
|
bc297f14c9
|
refactor: use continue instead of next
|
2025-11-06 11:22:33 +00:00 |
|
izzy
|
37fd5fb218
|
refactor: use navigation goto
|
2025-11-06 11:22:29 +00:00 |
|
izzy
|
d0590f5618
|
refactor: introduce AppRestartEvent w/o secret passing
|
2025-11-06 11:17:50 +00:00 |
|
izzy
|
ab9951e59e
|
chore: swap jsonwebtoken for jose
|
2025-11-05 18:12:02 +00:00 |
|
izzy
|
31d443ac0e
|
refactor: ensure the user is also redirected by the server
|
2025-11-05 17:54:43 +00:00 |
|
izzy
|
8ca86d1ad8
|
refactor: provide closeFn in both maintenance repos.
|
2025-11-05 17:20:50 +00:00 |
|
izzy
|
419e3c16b7
|
feat: redirect users back to the last page they were on when exiting maintenance
|
2025-11-05 17:04:12 +00:00 |
|
izzy
|
1ed2cdae1a
|
feat: add a link to maintenance mode documentation
|
2025-11-05 17:03:51 +00:00 |
|
izzy
|
57997c001e
|
refactor: always validate the maintenance auth on the server
|
2025-11-05 16:07:41 +00:00 |
|
izzy
|
e799486799
|
docs: initial draft for maintenance mode page
|
2025-11-05 16:07:23 +00:00 |
|
izzy
|
94d32bb54d
|
refactor: use secret instead of token in jwt terminology
chore: log maintenance mode login URL on boot
chore: don't make CLI actions reload if already in target state
|
2025-11-05 15:36:18 +00:00 |
|
izzy
|
421bf855d3
|
feat: log into maintenance mode from CLI command
|
2025-11-05 14:39:34 +00:00 |
|
izzy
|
460a626089
|
refactor: switch from nest jwt to just jsonwebtokens
|
2025-11-05 14:10:30 +00:00 |
|
izzy
|
014669f4a4
|
feat: jwt auth for maintenance
|
2025-11-05 13:44:43 +00:00 |
|
izzy
|
5f4a72735c
|
refactor: unify maintenance code into repository
feat: add a step to generate maintenance mode token
|
2025-11-05 12:56:12 +00:00 |
|