Commit graph

10871 commits

Author SHA1 Message Date
shenlong-tanwen
2df5b80e36 refactor: use currentUser for auth user table
# Conflicts:
#	mobile/lib/domain/services/sync_linked_album.service.dart
#	mobile/lib/infrastructure/repositories/store.repository.dart
#	mobile/lib/infrastructure/repositories/user.repository.dart
#	mobile/lib/providers/infrastructure/user.provider.dart
#	mobile/test/domain/services/sync_linked_album_service_test.dart
#	mobile/test/providers/infrastructure/memory_provider_test.dart
2026-08-28 09:08:20 +05:30
shenlong-tanwen
02c05840db rebase
# Conflicts:
#	mobile/lib/infrastructure/repositories/db.repository.dart
#	mobile/lib/infrastructure/repositories/db.repository.steps.dart
#	mobile/lib/utils/migration.dart
#	mobile/test/unit/presentation/presentation_context.dart
2026-08-28 09:08:20 +05:30
shenlong-tanwen
b52a5f9570 changes from main 2026-08-28 09:08:17 +05:30
shenlong-tanwen
6bb68ab030 make the repository an accessor 2026-08-28 09:08:17 +05:30
shenlong-tanwen
dd8fc833ba refactor: migrate app metadata
# Conflicts:
#	mobile/lib/domain/services/asset.service.dart
#	mobile/lib/domain/services/background_worker.service.dart
#	mobile/lib/domain/services/local_sync.service.dart
#	mobile/lib/domain/services/sync_stream.service.dart
#	mobile/lib/providers/infrastructure/asset.provider.dart
#	mobile/lib/providers/infrastructure/sync.provider.dart
#	mobile/lib/utils/hooks/app_settings_update_hook.dart
#	mobile/lib/widgets/settings/advanced_settings.dart
#	mobile/lib/widgets/settings/asset_list_settings/asset_list_group_settings.dart
#	mobile/lib/widgets/settings/asset_list_settings/asset_list_layout_settings.dart
#	mobile/lib/widgets/settings/asset_list_settings/asset_list_settings.dart
#	mobile/lib/widgets/settings/asset_viewer_settings/image_viewer_quality_setting.dart
#	mobile/lib/widgets/settings/beta_sync_settings/sync_status_and_actions.dart
#	mobile/test/drift/main/migration_test.dart
#	mobile/test/unit/mocks.dart
2026-08-28 09:08:17 +05:30
shenlong-tanwen
3204e61b34 refactor: migrate advance config from store 2026-08-28 09:08:17 +05:30
shenlong-tanwen
73d4d81e41 migrate session config from store 2026-08-28 09:08:17 +05:30
shenlong-tanwen
603468275c refactor: use currentUser for auth user table
# Conflicts:
#	mobile/lib/domain/services/sync_linked_album.service.dart
#	mobile/lib/infrastructure/repositories/store.repository.dart
#	mobile/lib/infrastructure/repositories/user.repository.dart
#	mobile/lib/providers/infrastructure/user.provider.dart
#	mobile/test/domain/services/sync_linked_album_service_test.dart
#	mobile/test/providers/infrastructure/memory_provider_test.dart
2026-08-28 09:08:17 +05:30
shenlong-tanwen
e6e28bd1eb rebase
# Conflicts:
#	mobile/lib/infrastructure/repositories/db.repository.dart
#	mobile/lib/infrastructure/repositories/db.repository.steps.dart
#	mobile/test/unit/presentation/presentation_context.dart
2026-08-28 09:08:17 +05:30
shenlong-tanwen
6a8b5ccf40 adapt changes from main 2026-08-28 09:08:14 +05:30
shenlong-tanwen
5e0c63859e pull enableHapticFeedback config to a local getter 2026-08-28 09:08:14 +05:30
shenlong-tanwen
2d1e34dd60 advance config to freezed 2026-08-28 09:08:13 +05:30
shenlong-tanwen
d5bd123142 refactor: migrate advance config from store 2026-08-28 09:08:13 +05:30
shenlong-tanwen
bd1eee42c4 migrate session config from store 2026-08-28 09:08:13 +05:30
shenlong-tanwen
146d7cdeb0 refactor: use currentUser for auth user table
# Conflicts:
#	mobile/lib/domain/services/sync_linked_album.service.dart
#	mobile/lib/infrastructure/repositories/store.repository.dart
#	mobile/lib/infrastructure/repositories/user.repository.dart
#	mobile/lib/providers/infrastructure/user.provider.dart
#	mobile/test/domain/services/sync_linked_album_service_test.dart
#	mobile/test/providers/infrastructure/memory_provider_test.dart
2026-08-28 09:08:13 +05:30
shenlong-tanwen
8adaf017f8 rebase
# Conflicts:
#	mobile/lib/infrastructure/repositories/db.repository.dart
#	mobile/lib/infrastructure/repositories/db.repository.steps.dart
#	mobile/test/unit/presentation/presentation_context.dart
2026-08-28 09:08:13 +05:30
shenlong-tanwen
5b89fdf14d fix tests and adapt changes from main 2026-08-28 09:07:46 +05:30
shenlong-tanwen
c024150f1f fix createProfileImage redundancy 2026-08-28 09:07:46 +05:30
shenlong-tanwen
3ab9608506 refactor watch queries 2026-08-28 09:07:46 +05:30
shenlong-tanwen
963b7952a7 refactor the user provider to be a notifier 2026-08-28 09:07:46 +05:30
shenlong-tanwen
5469de65c4 remove session init duplication 2026-08-28 09:07:46 +05:30
shenlong-tanwen
98b68cb002 refactor: use currentUser for auth user table
# Conflicts:
#	mobile/lib/domain/services/sync_linked_album.service.dart
#	mobile/lib/infrastructure/repositories/store.repository.dart
#	mobile/lib/infrastructure/repositories/user.repository.dart
#	mobile/lib/providers/infrastructure/user.provider.dart
#	mobile/test/domain/services/sync_linked_album_service_test.dart
#	mobile/test/providers/infrastructure/memory_provider_test.dart

# Conflicts:
#	mobile/lib/domain/models/store.model.dart
#	mobile/lib/pages/common/splash_screen.page.dart
2026-08-28 09:07:46 +05:30
shenlong-tanwen
789480ff16 migrate session config from store 2026-08-28 09:07:46 +05:30
shenlong-tanwen
acfc66a837 rebase
# Conflicts:
#	mobile/lib/infrastructure/repositories/db.repository.dart
#	mobile/lib/infrastructure/repositories/db.repository.steps.dart
#	mobile/test/unit/presentation/presentation_context.dart
2026-08-28 09:07:46 +05:30
shenlong-tanwen
ccf378419e pull riverpod out of string interpolation 2026-08-28 09:04:54 +05:30
shenlong-tanwen
8d3a0f8c42 fix tests 2026-08-22 10:20:22 +05:30
shenlong-tanwen
9ec912e010 inline migration helper 2026-08-22 10:20:22 +05:30
shenlong-tanwen
d902a2867d remove null values test group 2026-08-22 10:20:22 +05:30
shenlong-tanwen
f999c6e626 add authSession(Provider) 2026-08-22 10:20:22 +05:30
shenlong-tanwen
7a5ef79254 rebase changes 2026-08-22 10:20:22 +05:30
shenlong-tanwen
64d40027b5 rebase over main 2026-08-22 10:20:22 +05:30
shenlong-tanwen
57a1abd4cc rebase
# Conflicts:
#	mobile/lib/infrastructure/repositories/db.repository.steps.dart
2026-08-22 10:20:22 +05:30
shenlong-tanwen
a01513125f migrate session config from store 2026-08-22 10:20:16 +05:30
Santo Shakil
2237b28813
fix(mobile): permanently delete local copies when moving to the locked folder (#29730)
Some checks failed
Docker / Build and Push ML-5 (push) Has been cancelled
Docker / Build and Push Server (push) Has been cancelled
Docker / Mirror to Docker Hub (push) Has been cancelled
Docker / Mirror to Docker Hub-1 (push) Has been cancelled
Docker / Mirror to Docker Hub-2 (push) Has been cancelled
Docker / Mirror to Docker Hub-3 (push) Has been cancelled
Docker / Mirror to Docker Hub-4 (push) Has been cancelled
Docker / Mirror to Docker Hub-5 (push) Has been cancelled
Docker / Mirror to Docker Hub-6 (push) Has been cancelled
Docker / Docker Build & Push Server Success (push) Has been cancelled
Docker / Docker Build & Push ML Success (push) Has been cancelled
Docs build / Docs Build (push) Has been cancelled
Static Code Analysis / Run Dart Code Analysis (push) Has been cancelled
Test / Scripts unit tests (push) Has been cancelled
Test / Test & Lint Server (push) Has been cancelled
Test / Unit Test CLI (push) Has been cancelled
Test / Unit Test CLI (Windows) (push) Has been cancelled
Test / Lint Web (push) Has been cancelled
Test / Test Web (push) Has been cancelled
Test / Test i18n (push) Has been cancelled
Test / End-to-End Lint (push) Has been cancelled
Test / Medium Tests (Server) (push) Has been cancelled
Test / End-to-End Tests (Server & CLI) (push) Has been cancelled
Test / End-to-End Tests (Server & CLI)-1 (push) Has been cancelled
Test / End-to-End Tests (Web) (push) Has been cancelled
Test / End-to-End Tests (Web)-1 (push) Has been cancelled
Test / End-to-End Tests Success (push) Has been cancelled
Test / Unit Test Mobile (push) Has been cancelled
Test / Unit Test ML (push) Has been cancelled
Test / .github Files Formatting (push) Has been cancelled
* permanently delete local copies when moving to the locked folder

* simplify the delete path and move the stubs into the mock defaults

* drop the kept count from the partial message and log the mismatch instead
2026-08-22 07:42:11 +05:30
Adam Gastineau
11cdfa9c5e
chore(mobile): remove commited db.repository.steps.dart (#30910) 2026-08-22 07:37:47 +05:30
Alex
7412079f88
chore: search filter animation improvement and reactive search cue example (#30866)
* chore: better animation for search form and search cue

* better search cue example

* chore: revert mise.lock changes
2026-08-21 15:11:23 -05:00
shenlong
a36fb67736
chore: align icon and font size of bottom bar actions (#30890)
* chore: align icon and font size of bottom bar actions

* align base action font weight to immich ui weights

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2026-08-21 14:06:42 -05:00
Jordan Brock
79c4c00f70
feat(web): tag renaming v2 (#27909)
* implement updated rename tag feature

* Fix tag update handler

* Ensure toast displays updated tag name

* Ensure toast displays updated tag name

* Handle updates to tag closure table, prevent slash in API filename, test case updates

* delete child tags on parent delete

* Update frontend for better handling of nested tags

* pr checklist fixes

* fix unit test for tag controller

* Hide path for top-level tags

* regenerate SQL files

* name updates optional for tag update operations

* e2e tests for new tag api changes

* changes from code review, additional test coverage

* test fixes, web component refactor

* test assets

* test asset updates

* open-api rebuild

* update unit tests

* fix tag dto tests

* Update web/src/lib/modals/TagEditModal.svelte

Fix missing color bug

Co-authored-by: Ray <3608878+Pecacheu@users.noreply.github.com>

* fix tag e2e test

* remove closure table bug fixes

* remove nullish from tag name update schema

* regenerate openapi and sql

* fix test and e2e test

* simplify tag repository update process

* minor fix and sql regenerate

* fix tests, regen open-api, update dto

* Remove unused function

* Remove accidental test asset ref

* re-add test assets

* pin submodule to main branch commit

* Update test cases based on feedback

* Server fixes based on feedback

* regenerate sql

---------

Co-authored-by: Ray <3608878+Pecacheu@users.noreply.github.com>
2026-08-21 14:55:11 -04:00
Adam Gastineau
37e033a09d
chore(mobile): migrate remaining simple classes to Freezed (#30907) 2026-08-21 22:37:03 +05:30
Jason Rasmussen
2f48a8aab4
refactor: memory e2e (#30906) 2026-08-21 12:15:17 -04:00
Jason Rasmussen
caea849fee
feat: asset file apis (#25900)
* feat: asset file endpoints

* Update server/src/controllers/asset-file.controller.ts

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

* Update server/src/controllers/asset-file.controller.ts

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

---------

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2026-08-21 13:55:25 +00:00
Daniel Dietzler
8ae98f2a04
fix: quote database owner in restore (#30905) 2026-08-21 15:11:20 +02:00
renovate[bot]
47c0dea07f
chore(deps): update grafana/grafana docker tag to v12.4.8-ubuntu (#30835) 2026-08-21 14:50:10 +02:00
Holegots
57ce9b2221
fix(server): correct asset dimensions from exif metadata (#29244)
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2026-08-21 13:32:17 +02:00
Santo Shakil
a490cea1c4
fix(mobile): dedupe stale remote_asset rows on sync (#28445)
* fix(mobile): dedupe stale remote_asset rows on sync

queue a pre-delete on the matching partial-index tuple before each
upsert in updateAssetsV1/V2 so the second insert does not crash on
SqliteException(2067) when the server re-issues a new id for the
same (ownerId, checksum). closes #22522 #27186.

* run the dedupe deletes before the inserts and keep only the last duplicate per payload

* switch the asset upsert to insert or replace

* trim the dedupe tests to the essentials
2026-08-21 11:13:48 +00:00
Jason Rasmussen
4c26a7ca76
refactor: activity e2e (#30896) 2026-08-21 12:57:50 +02:00
Patryk Gęborys
8ce6b18563
fix(server): library exclusion patterns can soft-delete assets outside their directory (#30850)
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2026-08-21 12:28:12 +02:00
Diogo Correia
c9776fb990
fix(web): download archives via html POST forms (#30021)
* fix: download archives via html POST forms

* refactor: fix css of download panel, add translations and toasts

* style: run lint, formatter, check

* chore: generate open-api specs

* refactor(web): simplify download manager, use SvelteMap

* refactor(server): parse fields from x-www-form-urlencoded request

* refactor: move content-disposition to ImmichReadStream

* Pass asset ids as a comma-separated string

This fixes a bug where the 1000 parameter limit is being hit when
downloading 1000+ assets.

* Add download controller test

* Fix lint warnings
2026-08-20 20:58:41 -04:00
Jason Rasmussen
c7531a36f9
refactor: partner e2e (#30895) 2026-08-20 17:32:51 -04:00
Sacha Brouté
c7f6197e75
feat: add oauth account management url (#30873) 2026-08-20 21:31:34 +00:00