izzy
|
36baeb603f
|
refactor: move static methods into util
|
2025-11-10 11:48:19 +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
|
998675f48c
|
feat: add SSR to maintenance API
|
2025-11-07 15:36:51 +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
|
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
|
2b659986c2
|
chore: lint fixes for server
|
2025-11-06 11:27:14 +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
|
8ca86d1ad8
|
refactor: provide closeFn in both maintenance repos.
|
2025-11-05 17:20:50 +00:00 |
|
izzy
|
57997c001e
|
refactor: always validate the maintenance auth on the server
|
2025-11-05 16:07:41 +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 |
|
izzy
|
37db497b12
|
feat: maintenance authentication guard
|
2025-11-05 12:27:10 +00:00 |
|
izzy
|
aee2227f45
|
fix: propagate changes from the CLI to servers
|
2025-11-05 12:27:00 +00:00 |
|
izzy
|
d219cb951d
|
refactor: merge common code between api/maintenance
|
2025-11-05 11:41:29 +00:00 |
|
izzy
|
60cd22bfc5
|
feat: add Maintenance permission
|
2025-11-05 11:28:34 +00:00 |
|
izzy
|
171e4d75e0
|
refactor: only spin up kysely on boot (rather than a Nest app)
|
2025-11-05 11:14:08 +00:00 |
|
izzy
|
7db6f856b3
|
refactor: remove redundant route for maintenance
|
2025-11-05 11:05:20 +00:00 |
|
izzy
|
6a916c4c66
|
refactor: add a constant enum for ExitCode
|
2025-11-05 11:04:23 +00:00 |
|
izzy
|
3e850d96d8
|
feat: reimplement maintenance mode exit with new module
|
2025-11-05 11:00:07 +00:00 |
|
izzy
|
809904ea3a
|
refactor: rename repository to include worker
chore: configure websocket adapter
|
2025-11-05 10:53:47 +00:00 |
|
izzy
|
7f30f49ab5
|
chore: set maintenance module app name
|
2025-11-05 10:48:08 +00:00 |
|
izzy
|
bc9c38d829
|
refactor: move broadcast code into notification service
|
2025-11-05 10:46:15 +00:00 |
|
izzy
|
f80782f543
|
feat: initial draft of maintenance module, repo., worker controller, worker service
|
2025-11-04 18:29:32 +00:00 |
|
izzy
|
c130b04af5
|
fix: should set default value not override in service
|
2025-11-03 13:49:59 +00:00 |
|
izzy
|
efd13542f3
|
refactor: use try{} block for maintenance mode check
|
2025-11-03 11:17:11 +00:00 |
|