Commit graph

8560 commits

Author SHA1 Message Date
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
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
1350f5cbd5
refactor(web): move redirect logic into +layout file where modal is setup 2025-11-05 11:19:48 +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
63c219f3e0
chore: connect websocket on client if in maintenance 2025-11-05 10:47:52 +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
27b7890e83
fix: minor error in page 2025-11-03 13:50:30 +00:00
izzy
c130b04af5
fix: should set default value not override in service 2025-11-03 13:49:59 +00:00
izzy
6968741784
chore: remove negated condition from hook 2025-11-03 11:41:27 +00:00
izzy
bf99f8c20b
chore: add i18n entries for maintenance screens 2025-11-03 11:40:32 +00:00
izzy
50fdb2ab44
chore: include maintenanceMode key in e2e test 2025-11-03 11:28:54 +00:00
izzy
f8d510168e
fix: logic error in server redirect 2025-11-03 11:19:56 +00:00
izzy
efd13542f3
refactor: use try{} block for maintenance mode check 2025-11-03 11:17:11 +00:00
izzy
b97929a7c7
chore: generate dart openapi 2025-11-03 11:13:22 +00:00
izzy
78520c462f
chore: clean up linter issues 2025-11-03 11:09:07 +00:00
izzy
58c4a41eed
refactor: move maintenance resolution code to static method in service 2025-11-03 10:56:38 +00:00
izzy
018af805e6
fix: add maintenanceMode field to system config test 2025-11-03 10:44:18 +00:00
izzy
4ac0800435
fix: skip config check if database is not initialised 2025-11-03 10:43:59 +00:00
izzy
428cbcea3a
refactor: deduplicate code between api/maintenance workers 2025-11-03 10:38:12 +00:00
izzy
3de75cc768
chore: increase timeout for ungraceful restart 2025-11-03 10:30:39 +00:00
izzy
c8b63f8664
refactor: bubble up maintenance information instead of hijacking in fetch function
feat: show modal when server is restarting
2025-11-03 10:26:53 +00:00
izzy
5f81c4ebb5
feat: broadcast websocket event on server restart
refactor: listen to WS instead of polling
2025-11-03 10:26:05 +00:00
izzy
7b28284ddf
refactor: wait on WebSocket connection to refresh 2025-10-31 17:42:01 +00:00
izzy
2afbff36a3
refactor: use system metadata for maintenance status 2025-10-31 17:28:57 +00:00
izzy
625230f3e5
feat: redirect into/from maintenance page 2025-10-31 15:56:00 +00:00
izzy
997c6fb3aa
chore: add a failsafe on restart to prevent other exit codes from preventing restart 2025-10-31 15:53:38 +00:00
izzy
caac2453b6
fix: don't wait for nest application to close to finish request response 2025-10-31 15:53:02 +00:00
izzy
47e673ef55
chore: add additional routes to maintenance controller 2025-10-31 15:50:26 +00:00
izzy
38d2e940e5
chore: fallback IMMICH_SERVER_URL environment variable in process 2025-10-31 15:50:06 +00:00
izzy
bb5d4ce9da
feat: cli command to toggle maintenance mode 2025-10-31 15:12:00 +00:00
izzy
42ac9cf922
feat: boot a stripped down maintenance api if enabled 2025-10-31 14:47:49 +00:00
izzy
78f949afaa
feat: implement graceful restart
feat: restart when maintenance config is toggled
2025-10-31 13:21:18 +00:00
izzy
2a06960b29
feat: add a maintenance.enabled config flag 2025-10-31 12:46:06 +00:00
Mert
4abaad548a
fix(ml): ocr failing with rootless docker (#23402)
don't download font
2025-10-31 02:41:49 -04:00