1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/server
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
..
bin fix(server): healthcheck (#10811) 2024-07-03 11:27:03 -05:00
resources feat: use immich hosted map tiles (#11332) 2024-07-26 15:41:09 +01:00
src fix(server): don't crash when refreshing large libraries (#7934) 2024-08-28 13:05:48 -04:00
test fix(server): don't crash when refreshing large libraries (#7934) 2024-08-28 13:05:48 -04:00
.gitignore feat(web): re-add open graph tags for public share links (#5635) 2023-12-11 13:37:47 -06:00
.nvmrc chore(deps): update dependency node to v20.17.0 (#12040) 2024-08-25 22:50:51 -04:00
.prettierignore refactor: open api (#6334) 2024-01-12 07:36:27 -05:00
.prettierrc fix(server): lint import order (#3974) 2023-09-04 21:45:59 +02:00
Dockerfile chore(deps): update node (#12063) 2024-08-28 08:52:49 -04:00
eslint.config.mjs chore(deps): update dependency eslint to v9 (#11601) 2024-08-05 16:13:16 -04:00
nest-cli.json chore(server): enable swagger to take class validator rules into account (#9022) 2024-04-22 18:13:44 -04:00
package-lock.json fix(server): don't crash when refreshing large libraries (#7934) 2024-08-28 13:05:48 -04:00
package.json fix(server): don't crash when refreshing large libraries (#7934) 2024-08-28 13:05:48 -04:00
README.md docs: add some details for getting started as a developer (#8468) 2024-04-02 11:56:33 -05:00
start.sh chore: change default thumbnail concurrency and auto-detect container core count (#9981) 2024-06-05 11:45:53 +01:00
tsconfig.build.json fix: exclude e2e format (#3250) 2023-07-13 21:41:16 -05:00
tsconfig.json refactor(server): use .toSorted (#10904) 2024-07-06 10:32:38 -04:00
vitest.config.mjs fix(server): coverage reports (#11925) 2024-08-20 07:50:09 -04:00

Immich server project

This project uses the NestJS web framework. Please refer to the NestJS docs for information on getting started as a contributor to this project.