27 Commits

Author SHA1 Message Date
Thomas
da7a81b752
chore(server): split album update notifications into multiple jobs (#17879)
We would like to move away from the concept of finding and removing pending
jobs. The only place this is used is for album update notifications, and this
is done so that users who initially uploaded assets to an album will also
receive a notification if someone else then adds assets to the same album. This
can also be achieved with a job for each recipient. Multiple jobs also has the
advantage that it will scale better for albums with many users, it's possible
to send notifications concurrently, retries are possible without sending
duplicate notifications, and it's clear what recipient a job failed for.
2025-04-30 17:45:35 -04:00
Jason Rasmussen
1d610ad9cb
refactor: database connection parsing (#17852) 2025-04-24 12:58:29 -04:00
Jason Rasmussen
9d85272c2b
refactor: repositories (#16036) 2025-02-11 14:08:13 -05:00
Jason Rasmussen
735f8d661e
refactor: test mocks (#16008) 2025-02-11 00:47:42 +01:00
Mert
ba01b40e7c
fix(server): sslmode not working (#15587)
* parse db url before passing it to the driver

* don't be lazy

* simplify

* simplify

* add tests

* update sql sync script

* update mock

* remove unused import

* remove unused imports
2025-01-24 13:01:55 -06:00
Jason Rasmussen
9a27a99cab
refactor: config repository (#15495)
* refactor: access repository

* refactor: config repository
2025-01-21 13:13:09 -05:00
Mert
2e12c46980
refactor(server): use kysely (#12857) 2025-01-09 11:15:41 -05:00
Jason Rasmussen
5edbb93a4d
refactor(server): get worker (#13927) 2024-11-05 13:07:51 +00:00
Jason Rasmussen
19eb3ed8b9
refactor(server): cls (#13814) 2024-10-29 20:41:47 +00:00
Zack Pollard
68a4cc25dc
refactor: better postgres connection param typing (#13800) 2024-10-29 15:11:34 +00:00
Jason Rasmussen
fb995816a1
refactor(server): database config (#13730) 2024-10-24 17:12:25 -04:00
Daniel Dietzler
151ba9f1d9
refactor(server): telemetry env variables (#13705)
refactor(server)!: telemetry env variables

Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com>
2024-10-24 21:07:32 +00:00
Jason Rasmussen
12628b80bc
refactor(server): telemetry env (#13564) 2024-10-17 18:04:25 -04:00
Jason Rasmussen
c8f672f494
refactor(server): telemetry ports env (#13560) 2024-10-17 21:00:22 +00:00
Jason Rasmussen
3f663106e8
refactor(server): redis config (#13538)
* refactor(server): redis config

* refactor: cache parsed env data

* chore: add database and redis tests
2024-10-17 10:50:54 -04:00
Jason Rasmussen
8ac40a933a
refactor(server): external domain fallback (#13506) 2024-10-16 18:13:12 -04:00
Jason Rasmussen
465f4639da
feat: align compose ports (#13185) 2024-10-09 16:01:52 -04:00
Jason Rasmussen
6bbaba7866
refactor(server): resource paths (#13194) 2024-10-04 21:09:02 +00:00
Jason Rasmussen
3ac00b0ffa
refactor(server): db env (#13167) 2024-10-03 17:48:40 -04:00
Jason Rasmussen
e2bf6808ca
refactor(server): no color env (#13166) 2024-10-03 16:58:15 -04:00
Jason Rasmussen
0eb77147ef
refactor(server): build support env (#13163) 2024-10-03 16:33:43 -04:00
Jason Rasmussen
3ddb5b8733
refactor(server): license key env (#13162) 2024-10-03 19:45:37 +00:00
Jason Rasmussen
db1623f43f
refactor(server): worker env (#13160) 2024-10-03 15:28:36 -04:00
Jason Rasmussen
892a35acb5
refactor(server): port env (#13158) 2024-10-03 17:29:40 +00:00
Jason Rasmussen
6c7d51da34
refactor: more process.env references (#13106) 2024-10-02 08:37:26 -04:00
Jason Rasmussen
305fc77ebe
feat(server): better mount checks (#13092) 2024-10-01 13:04:37 -04:00
Jason Rasmussen
36ee72cd87
refactor(server): access env via repository (#12987) 2024-09-27 10:28:56 -04:00