1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-27 10:58:13 +02:00
immich/server/test/repositories
Jonathan Jogenfors 4cb0f37918
chore(server): Move library watcher to microservices (#7533)
* move watcher init to micro

* document watcher recovery

* chore: fix lint

* add try lock

* use global library watch lock

* fix: ensure lock stays on

* fix: mocks

* unit test for library watch lock

* move statement to correct test

* fix: correct return type of try lock

* fix: tests

* add library teardown

* add chokidar error handler

* make event strings an enum

* wait for event refactor

* refactor event type mocks

* expect correct error

* don't release lock in teardown

* chore: lint

* use enum

* fix mock

* fix lint

* fix watcher await

* remove await

* simplify typing

* remove async

* Revert "remove async"

This reverts commit 84ab5abac4.

* can now change watch settings at runtime

* fix lint

* only watch libraries if enabled

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-03-07 11:36:53 -06:00
..
access.repository.mock.ts chore(server): Check activity permissions in bulk (#5775) 2023-12-17 12:10:21 -06:00
activity.repository.mock.ts feat(web,server): activity (#4682) 2023-10-31 22:13:34 -05:00
album.repository.mock.ts fix(web): sorting options for albums (#5233) 2023-11-26 15:23:43 +00:00
api-key.repository.mock.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
asset-stack.repository.mock.ts refactor: move asset stacks to their own entity (#6353) 2024-01-27 18:52:14 +00:00
asset.repository.mock.ts perf(server): use queries to refresh library assets (#7685) 2024-03-06 21:23:10 -06:00
audit.repository.mock.ts feat(server): asset entity audit (#3824) 2023-08-24 15:28:50 -04:00
communication.repository.mock.ts feat(server): server-side events (#5669) 2023-12-13 12:23:51 -05:00
crypto.repository.mock.ts refactor(server): android motion photos (#3711) 2023-09-13 10:46:37 +07:00
database.repository.mock.ts chore(server): Move library watcher to microservices (#7533) 2024-03-07 11:36:53 -06:00
index.ts feat(server, web): smart search filtering and pagination (#6525) 2024-02-12 20:50:47 -05:00
job.repository.mock.ts feat(server): separate face clustering job (#5598) 2024-01-18 00:08:48 -05:00
library.repository.mock.ts feat(server,web): remove external path nonsense and make libraries admin-only (#7237) 2024-02-29 12:35:37 -06:00
machine-learning.repository.mock.ts feat(server,ml): remove image tagging (#5903) 2023-12-20 20:47:56 -05:00
media.repository.mock.ts feat(server): tone-mapping (#3512) 2023-08-07 15:35:25 -05:00
metadata.repository.mock.ts feat: Search filtering logic (#6968) 2024-02-13 19:54:58 +00:00
move.repository.mock.ts feat(server): harden move file (#4361) 2023-10-10 21:14:44 -05:00
partner.repository.mock.ts feat(web): show partners assets on the main timeline (#4933) 2023-11-11 21:06:19 +00:00
person.repository.mock.ts feat(web,server): search people (#5703) 2024-01-27 19:54:31 -05:00
search.repository.mock.ts fix(server): truncate embedding tables (#7449) 2024-02-27 09:24:23 -06:00
shared-link.repository.mock.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
storage.repository.mock.ts chore(server): Move library watcher to microservices (#7533) 2024-03-07 11:36:53 -06:00
system-config.repository.mock.ts feat: Maplibre (#4294) 2023-11-09 10:10:56 -06:00
system-info.repository.mock.ts refactor(server, web)!: store latest immich version available on the server (#3565) 2023-10-24 11:05:42 -04:00
system-metadata.repository.mock.ts feat(web): onboarding (#6066) 2024-01-04 05:28:32 +00:00
tag.repository.mock.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
user-token.repository.mock.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
user.repository.mock.ts feat(server, web): quotas (#4471) 2024-01-12 19:43:36 -05:00