Commit Graph

1857 Commits

Author SHA1 Message Date
izzy 82351f4fb9 chore: add descriptions to routes 2025-12-18 17:33:11 +00:00
izzy ff7453e46a test: service tests for deleting reports 2025-12-18 17:27:33 +00:00
izzy 2962c54ee2 refactor: queue separate jobs for deleting integrity reports 2025-12-18 17:08:45 +00:00
izzy 748ba6780d chore: update sql 2025-12-18 14:57:26 +00:00
izzy ff07b4ff16 test: service tests for checksum 2025-12-18 14:55:48 +00:00
izzy 92d23ce955 fix: use plain read stream instead of real 2025-12-18 14:40:59 +00:00
izzy c045fa27af test: service tests for missing files 2025-12-18 14:36:51 +00:00
izzy b73066268f test: service tests for orphaned files 2025-12-18 14:24:34 +00:00
izzy 098563ef4e refactor: use storage repository stat instead of real stat 2025-12-18 14:14:24 +00:00
izzy 5028c56ad8 feat: paginate integrity report results 2025-12-18 14:08:06 +00:00
izzy 31ac88f158 test: cont. integrity service tests 2025-12-18 12:56:14 +00:00
izzy 05acf74626 test: add new queue name 2025-12-17 15:41:23 +00:00
Daniel Dietzler c15998e805 fix: asset update race condition (#24384)
* fix: asset update race condition

* fix: asset update race condition

* single statement

* update sql

* missed one

* fix `none` handling

* fix: tests

* chore: simplify update all assets

* fix: updating lockable properties

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2025-12-17 09:23:13 -06:00
izzy 0e75f38e4a merge: remote-tracking branch 'immich/main' into feat/integrity-checks-izzy 2025-12-17 15:09:39 +00:00
izzy 08e532170f refactor: split maintenance dto for integrity checks 2025-12-17 15:04:45 +00:00
izzy 21c26dd65f refactor: split integrity out of maintenance controller/service 2025-12-17 14:55:38 +00:00
izzy 8fdec465c5 refactor: use separate queue for integrity checks 2025-12-17 14:37:43 +00:00
Mees Frensel 77926383db fix(server): only extract image's duration if format supports animation (#24587) 2025-12-15 12:36:46 -05:00
hubert-taieb e637387082 fix(server): prevent metadata extraction failures on large video files (#24094)
* prevent  metadata extraction failures on large video files

Increases ExifTool timeout from 20s to 120s to prevent GPS metadata
extraction failures on large video files (>2GB, 10+ minutes).

Issue: Large videos timeout during metadata extraction, causing GPS
coordinates to be lost even though ExifTool can extract them given
enough time.

Testing: 2.6GB, 10:52min video that previously timed out now
successfully extracts GPS metadata.

* redundant comment

Increased task timeout for processing large videos.

* chore: lint

---------

Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-12-11 15:18:19 +00:00
Daniel Dietzler 75a7c9c06c feat: sql tools array as default value (#24389) 2025-12-04 12:54:20 -05:00
Mert cffb68d1c4 fix(server): do not delete offline assets (#24355)
* do not delete isOffline assets

* update sql

* add medium test

* add normal delete test

* formatting
2025-12-03 14:19:26 -06:00
izzy 6e7854b5bb chore: sync SQL 2025-12-03 16:46:08 +00:00
izzy 5d5d421201 fix: path -> reportId as reportId 2025-12-03 15:24:30 +00:00
renovate[bot] 4f93eda8d8 fix(deps): update typescript-projects (#24329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2025-12-02 23:28:12 +01:00
Alex f5df5fa98d chore: change workflow column name (#24349)
chore-change-workflow-column-name
2025-12-02 14:40:17 -06:00
Jonathan Jogenfors 1bcf28c062 chore(server): sidecars in asset_files (#21199)
* fix: sidecar check job

* feat: move sidecars to asset_files

* feat: combine with handleSidecarCheck

* fix(server): improved method signatures for stack and sidecar copying

* fix(server): improved method signatures for stack and sidecar copying

* chore: clean up

---------

Co-authored-by: Jason Rasmussen <jason@rasm.me>
2025-12-02 13:31:43 -05:00
Jason Rasmussen 116012f6f8 feat: less asset-metadata validation (#24342) 2025-12-02 10:56:31 -05:00
izzy 7a215c16ab fix: flip deletedAt filter 2025-12-02 14:23:56 +00:00
izzy ae653f9bf5 chore: lint 2025-12-02 14:07:14 +00:00
izzy 73a17bb58e chore: generate SQL 2025-12-02 13:54:55 +00:00
izzy e1a1662225 chore: more compliant csv 2025-12-02 13:33:13 +00:00
izzy 6e752bed77 fix: don't process trashed/deleted assets for integrity 2025-12-02 13:19:37 +00:00
izzy 64cc64dd56 refactor: move all new queries into integrity repository 2025-12-02 13:15:48 +00:00
izzy 6cfd1994c4 feat: ability to delete all reports (and corresponding objects) 2025-12-02 11:59:23 +00:00
Sergey Katsubo 79bed80226 feat(server): log all thumbnail generation attempts at verbose level (#24324)
Log thumbnail generation at verbose level
2025-12-01 20:26:13 -06:00
Mert 7c19b0591f fix(server): cjk migration (#24320)
* join string

* use pagination instead
2025-12-01 15:41:19 -06:00
Mert 95c29a8aea fix(server): use bigrams for cjk (#24285)
* use bigrams for cjk

* update sql

* linting

* actually migrate ocr

* fix backwards test

* use array

* tweaks
2025-12-01 17:24:37 +00:00
izzy 806a2880ca feat: assetId, fileAssetId columns on integrity reports 2025-12-01 15:49:03 +00:00
izzy 042af30bef chore: use checksum configuration 2025-12-01 14:27:04 +00:00
izzy 06fcd54b9f feat: download csv report, download file, delete file 2025-12-01 14:20:38 +00:00
izzy db690bcf63 chore: generate SQL 2025-12-01 11:56:01 +00:00
izzy 1daf1b471f chore: lint 2025-12-01 11:51:49 +00:00
izzy 01f96de3e5 test: serialise the buffer over events 2025-12-01 11:20:34 +00:00
Alex 46afd6a101 fix: only generate memory based on users assets (#24151) 2025-11-30 13:01:12 -06:00
izzy c4ac8d9f63 stash: incomplete checksum outdated test 2025-11-28 18:01:24 +00:00
izzy 4d7f7b80da feat: refresh missing & checksum 2025-11-28 17:44:37 +00:00
izzy 2779fce7d0 feat: manually trigger integrity jobs
feat: update summary after job runs
2025-11-28 15:27:12 +00:00
izzy 13e9cf0ed9 stash: moving computers because pnpm is cooked 2025-11-28 12:50:30 +00:00
izzy ca358f4dae feat: sub-pages for integrity reports 2025-11-28 11:40:53 +00:00
Tijs 3e3ca4c104 feat(server): exclude syncthing folders from external libraries (#24240)
* Add SyncThing folders to External library exclusion

SyncThing is a popular library for syncing files (like pictures) between systems. It can really mess up your library if an external library, which is also used by SyncThing, is added and these folders are not excluded.

* Plural

* fix formatting

---------

Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
2025-11-28 11:40:33 +00:00