Commit graph

1748 commits

Author SHA1 Message Date
izzy
ef1eaee863
merge: remote-tracking branch 'origin/main' into feat/maintenance-mode 2025-11-12 11:54:19 +00:00
Jason Rasmussen
edde0f93ae
feat: endpoint descriptions (#23813) 2025-11-11 17:01:14 -05:00
David Wolff
0b3633db4f
fix(server): properly handle HEAD requests to SSR paths (#23788) 2025-11-11 07:47:11 -05:00
Jonathan Gilbert
d92df63f84
feat: random memories sort order (#20025) 2025-11-10 09:38:50 -05:00
izzy
4e029c2c5d
test: expect string jwt 2025-11-10 12:24:48 +00:00
izzy
b979bbb06d
chore: update tests due to refactors 2025-11-10 12:13:42 +00:00
izzy
a07e03c6ee
refactor: remove assertion 2025-11-10 11:48:22 +00:00
izzy
70f579bbc9
refactor: remove assertion which isn't necessary anymore 2025-11-10 11:48:21 +00:00
izzy
a7900ddd2c
refactor: assert secret exists in maintenance worker 2025-11-10 11:48:20 +00:00
izzy
36baeb603f
refactor: move static methods into util 2025-11-10 11:48:19 +00:00
Mees Frensel
9cc88ed2a6
feat: make memories slideshow duration configurable (#22783) 2025-11-08 17:46:43 -05: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
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
8df1b5a263
test: add base service dependency to maintenance 2025-11-06 12:30:31 +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