1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 03:46:47 +01:00
immich/server/test/fixtures
Jonathan Jogenfors 068e703e88
feat(server): Automatic watching of library folders (#6192)
* feat: initial watch support

* allow offline files

* chore: ignore query errors when resetting e2e db

* revert db query

* add savepoint

* guard the user query

* chore: openapi and db migration

* wip

* support multiple libraries

* fix tests

* wip

* can now cleanup chokidar watchers

* fix unit tests

* add library watch queue

* add missing init from merge

* wip

* can now filter file extensions

* remove watch api from non job client

* Fix e2e test

* watch library with updated import path and exclusion pattern

* add library watch frontend ui

* case sensitive watching extensions

* can auto watch libraries

* move watcher e2e tests to separate file

* don't watch libraries from a queue

* use event emitters

* shorten e2e test timeout

* refactor chokidar code to filesystem provider

* expose chokidar parameters to config file

* fix storage mock

* set default config for library watching

* add fs provider mocks

* cleanup

* add more unit tests for watcher

* chore: fix format + sql

* add more tests

* move unwatch feature back to library service

* add file event unit tests

* chore: formatting

* add documentation

* fix e2e tests

* chore: fix e2e tests

* fix library updating

* test cleanup

* fix typo

* cleanup

* fixing as per pr comments

* reduce library watch config file

* update storage config and mocks

* move negative event tests to unit tests

* fix library watcher e2e

* make watch configuration global

* remove the feature flag

* refactor watcher teardown

* fix microservices init

* centralize asset scan job queue

* improve docs

* add more tests

* chore: open api

* initialize app service

* fix docs

* fix library watch feature flag

* Update docs/docs/features/libraries.md

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>

* fix: import right app service

* don't be truthy

* fix test speling

* stricter library update tests

* move fs watcher mock to external file

* subscribe to config changes

* docker does not need polling

* make library watch() private

* feat: add configuration ui

---------

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-01-31 08:15:54 +00:00
..
activity.stub.ts refactor(server): auth dto (#5593) 2023-12-09 23:34:12 -05:00
album.stub.ts refactor(server): auth dto (#5593) 2023-12-09 23:34:12 -05:00
api-key.stub.ts test(cli): e2e testing (#5101) 2023-12-18 20:29:26 -06:00
asset.stub.ts refactor: move asset stacks to their own entity (#6353) 2024-01-27 18:52:14 +00:00
audit.stub.ts refactor(server): auth dto (#5593) 2023-12-09 23:34:12 -05:00
auth.stub.ts feat(web): re-add open graph tags for public share links (#5635) 2023-12-11 13:37:47 -06:00
device.stub.ts test(server): auth e2e (#3492) 2023-08-01 10:49:50 -05:00
error.stub.ts feat(server,web,mobile): Add optional password option for share links. (#4655) 2023-10-28 20:35:38 -05:00
face.stub.ts feat(server): separate face clustering job (#5598) 2024-01-18 00:08:48 -05:00
file.stub.ts fix(server): extraction of Samsung Motionphoto videos (#6337) 2024-01-22 13:04:45 -05:00
index.ts feat(server,web): libraries (#3124) 2023-09-20 13:16:33 +02:00
library.stub.ts feat(server): Automatic watching of library folders (#6192) 2024-01-31 08:15:54 +00:00
media.stub.ts feat(server, web): Added TranscodePolicy "Bitrate higher than max bitrate or not in accepted format" (#6479) 2024-01-30 20:25:07 -05:00
partner.stub.ts feat(web): show partners assets on the main timeline (#4933) 2023-11-11 21:06:19 +00:00
person.stub.ts feat: smart merge (#6508) 2024-01-19 17:52:26 +00:00
search.stub.ts fix(server): fix metadata search not working (#5800) 2023-12-17 20:16:08 -06:00
shared-link.stub.ts refactor: move asset stacks to their own entity (#6353) 2024-01-27 18:52:14 +00:00
system-config.stub.ts feat(server): Automatic watching of library folders (#6192) 2024-01-31 08:15:54 +00:00
tag.stub.ts refactor(server): test fixtures (#3491) 2023-07-31 20:28:07 -05:00
user-token.stub.ts refactor(server): test fixtures (#3491) 2023-07-31 20:28:07 -05:00
user.stub.ts feat(server, web): quotas (#4471) 2024-01-12 19:43:36 -05:00
uuid.stub.ts refactor(server): auth delete device (#4720) 2023-10-30 11:48:38 -04:00