1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00
immich/e2e
Jonathan Jogenfors 363c558db7
fix(server): don't crash when refreshing large libraries (#7934)
* add job to check for offline files

* fix lint

* only check for offline when using checkForOffline

* improve tests

* remove old test

* wip

* remove trie

* refactor batches

* also check offline status

* fix spelling

* don't do offline scan

* rename scan to check

* fix job statuses

* fix lint

* cleanup

* add test

* open-api

* fix test

* fix spinner

* reset text

* don't double batch

* fix comments from mert

* remove tries

* fix tests

* fix e2e

* fix test

* fix test

* add tests

* fix lint

* fix e2e

* interweave scans

* fix errors

* fix messages

* fix test

* add mock

* fix sql

* fix e2e

* use library batch size

* save -> update

* add file extensions

* update specs

* test for import paths

* check import paths when testing offline

* fix lint

* normalize import path

* remove console logs

* decrease batch size to 1000

* add test for import path

* add test for already-online assets

* fix merge

* fix lint

* add library job back

* add offline job to correct queue

* library spec compiles now

* move one test to new e2e

* fix comments

* fix comments

* fix lint

* refactor path validation

* fix loop bug

* remove logging

* expect responses

* fix asset mock

* take the straightforward approach

* use generator correctly

* fix vitest on file edit

* bump vitest to 1.6.0

* test for offline check

* add e2e tests for offlining assets depending on import path

* cleanup e2e test after finish

* cleanup library service

* paginate the walk generator

* fix tests

* fix typo

* refactoring handleOfflineCheck

* better testing of handleOfflineCheck

* fix lint

* handle large library deletions

* dont check if library is deleted

* fix mock

* add a 100k page size to library

* fix loading animation

* better log messages

* Better logging for offline asset removal

* fix sql and tests

* fix number format

* Remove submodule

* fix format

* chore: cleanup

* chore: fix tests

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-28 13:05:48 -04:00
..
src fix(server): don't crash when refreshing large libraries (#7934) 2024-08-28 13:05:48 -04:00
test-assets@4e9731d3fc chore: update submodule (#11789) 2024-08-14 22:06:11 +00:00
.gitignore web: e2e (#7063) 2024-02-13 13:08:49 -05:00
.nvmrc chore(deps): update dependency node to v20.17.0 (#12040) 2024-08-25 22:50:51 -04:00
.prettierignore chore: linting (#7532) 2024-02-29 11:26:55 -05:00
.prettierrc chore: linting (#7532) 2024-02-29 11:26:55 -05:00
docker-compose.yml feat(server): do not automatically download android motion videos (#11774) 2024-08-15 20:06:16 +00:00
eslint.config.mjs chore(deps): update dependency eslint to v9 (#11601) 2024-08-05 16:13:16 -04:00
package-lock.json fix(deps): update typescript-projects (#11927) 2024-08-28 12:00:10 -04:00
package.json chore(deps): update node (#12063) 2024-08-28 08:52:49 -04:00
playwright.config.ts refactor: server auth e2e (#7203) 2024-02-19 12:03:51 -05:00
tsconfig.json chore: linting (#7532) 2024-02-29 11:26:55 -05:00
vitest.config.ts fix(deps): vitest@2 (#11491) 2024-07-31 11:26:35 -04:00