shenlong
f416342eff
fix: clear local file cache before upload ( #20448 )
...
* clear local file cache before upload
* clear cache during hashing
* fix test
* add button to clear cache manually
* add button to clear cache manually
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-30 14:32:38 -05:00
shenlong
641a3baadd
fix(mobile): add partial index based on library ID to remote assets ( #20214 )
...
* feat: add libraryId to SyncAssetV1
* add partial index
# Conflicts:
# mobile/drift_schemas/main/drift_schema_v5.json
# mobile/lib/infrastructure/repositories/db.repository.dart
# mobile/lib/infrastructure/repositories/db.repository.steps.dart
# mobile/test/drift/main/generated/schema_v5.dart
* chore: make build
* rebase
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-30 23:59:00 +05:30
Brandon Wees
097e132fba
fix: user profile images not working in beta timeline ( #20203 )
...
* fix user icons in album view
* revert updateUsersV1 change
* fix: UserDto merge issues
* fix: update user entity
* revert what I thought were merge issues
turns out drift cant figure out when it needs to gen a file...
* fix removed line
* handle defaults for older servers
* feat: checkpoint migrations
* fix: use parenthesis instead of brackets
* Update 1753800911775-ProfileImageCheckpointRemoval.ts
* fix: sync stream updateUsersV1
2025-07-30 11:09:28 -05:00
shenlong
e52b9d15b5
chore: bump dart sdk to 3.8 ( #20355 )
...
* chore: bump dart sdk to 3.8
* chore: make build
* make pigeon
* chore: format files
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-28 14:04:03 -05:00
Alex
03a13828e1
chore: refactor upload service ( #20130 )
...
* chore: refactor upload service
* fix: cancel upload queue on logout (#20131 )
* fix: cancel upload on logout
* fix: test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
---------
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-25 10:09:32 -05:00
shenlong
ad65e9011a
chore: bump line length to 120 ( #20191 )
2025-07-25 02:37:22 +00:00
shenlong
08122d6871
fix: show only local assets from albums selected for backup ( #20050 )
...
* show only local assets from albums selected for backup
# Conflicts:
# mobile/lib/infrastructure/repositories/db.repository.drift.dart
* ignore backup selection
* fix: backup album ownerId
* fix: backup album ownerId
* only show local only assets that are selected for backup
* add index on visibility and backup selection
* fix: video not playing in search view
* remove safe area from bottom bar
* refactor stack count with a CTE and local asset with a SELECT
* fix lint
* remove redundant COALESCE
* remove stack count from main timeline query
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-23 09:13:15 -05:00
Jason Rasmussen
92384c28de
feat: sync auth user ( #20067 )
2025-07-23 09:59:33 -04:00
Daimolean
ac44f6d1e0
feat(mobile): asset face sync ( #20022 )
...
* feat(mobile): asset face sync
* fix: lint
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-22 17:17:52 +00:00
shenlong
1dc62fce5f
fix: remove foreign constraint on stack.primaryAssetId ( #20052 )
...
* fix: remove foreign constraint in stack.primaryAssetId
* fix migration
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-21 15:20:41 -05:00
Daimolean
7bae49ebd5
feat(mobile): people sync ( #19777 )
...
* feat(mobile): drift people sync
* merge main
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-18 14:21:39 +00:00
shenlong
f32cd74232
feat: show stacks in asset viewer ( #19935 )
...
* feat: show stacks in asset viewer
* fix: global key issue and flash on stack asset change
* feat(mobile): stack and unstack action (#19941 )
* feat(mobile): stack and unstack action
* add custom model
* use stackId from ActionSource
* Update mobile/lib/providers/infrastructure/action.provider.dart
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
---------
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
* fix: lint
* fix: bad merge
* fix: test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Daimolean <92239625+wuzihao051119@users.noreply.github.com>
Co-authored-by: wuzihao051119 <wuzihao051119@outlook.com>
2025-07-18 04:31:04 +00:00
shenlong
531515daf9
feat: add toggle to switch between Isar and Sqlite ( #19953 )
2025-07-17 11:12:29 -05:00
Alex
34620e1e9a
feat: album edit ( #19936 )
2025-07-15 20:37:44 -05:00
Daimolean
0acbf1199a
feat(mobile): drift user metadata sync ( #19894 )
...
* feat(mobile): drift user metadata sync
* change text to jsonb
* update primary key
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-15 09:17:35 -05:00
shenlong
1d19d308e2
chore: update flutter to 3.32.6 ( #19878 )
...
* chore: update flutter to 3.32.6
* fix lint
* fix asset viewer scroll physics
* test: change init order for map test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-11 10:34:49 -05:00
Alex
2b07d7ac63
feat: remove from album action button ( #19884 )
...
* feat: remove from album action
* feat: remove from album action
2025-07-11 10:06:53 -05:00
shenlong
dfe6d27bbd
feat: sqlite video player ( #19792 )
...
* feat: video player
* use remote asset id in local query
* fix: error from pre-caching beyond total assets
* fix: flipped local videos
* incorrect aspect ratio on iOS
* ignore other storage id during equals check
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-07-09 09:34:25 -05:00
Daimolean
cc471806fe
feat(mobile): stack sync ( #19735 )
...
* feat(mobile): stack sync
* fix: lint
* Update mobile/lib/infrastructure/repositories/sync_api.repository.dart
Co-authored-by: Alex <alex.tran1502@gmail.com>
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-07-06 22:01:09 -05:00
Alex
445f9174ea
feat: memories sync ( #19644 )
...
* feat: memories sync
* Update mobile/lib/infrastructure/repositories/sync_stream.repository.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update mobile/lib/infrastructure/repositories/sync_stream.repository.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* show sync information
* tests and pr feedback
* pr feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-02 19:18:37 +00:00
shenlong
ea3a14ed25
feat(mobile): add album asset sync ( #19522 )
...
* feat(mobile): add album asset sync
* add SyncAlbumToAssetDeleteV1 to openapi-spec
* update delete queries to use where in statements
* clear remote album when clear remote data
* fix: bad merge
* fix: bad merge
* fix: _SyncAckV1 return type
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: wuzihao051119 <wuzihao051119@outlook.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-06-26 08:50:39 -05:00
shenlong
5b0575b956
refactor: DCM - const border radius, constructor & switch expressions ( #19515 )
...
* enable border radius, switch exp, const constructor
* regenerate provider
* more formatting
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-25 13:06:24 +05:30
Alex
1923f1a887
refactor(mobile): interfaces refactor ( #19415 )
...
* refactor(mobile): interfaces refactor
* generate files
2025-06-23 11:27:44 -05:00
Alex
81eb98d4e5
refactor(mobile): album.interface.dart ( #19354 )
2025-06-21 23:32:06 +00:00
Alex
2b03802e9c
refactor(mobile): asset_api.interface.dart ( #19353 )
2025-06-21 23:06:38 +00:00
Alex
484311e9bb
refactor(mobile): asset-media.interface.dart ( #19352 )
...
* refactor(mobile): asset-media.interface.dart
* refactor(mobile): asset-media.interface.dart
* refactor: asset media repo
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-21 22:47:16 +00:00
Alex
366539bc4c
refactor(mobile): asset.interface.dart ( #19351 )
...
* refactor(mobile): asset.interface.dart
* refactor(mobile): asset.interface.dart
2025-06-21 22:41:02 +00:00
Alex
69b1331026
refactor(mobile): auth_api.interface.dart ( #19350 )
2025-06-21 22:20:58 +00:00
Alex
af30d97668
refactor(mobile): auth.interface.dart ( #19349 )
2025-06-21 22:09:12 +00:00
Alex
9b047d30e4
refactor(mobile): backup_album.interface.dart ( #19348 )
2025-06-21 21:58:02 +00:00
Alex
6a5597b36b
refactor(mobile): etag.interface.dart ( #19344 )
...
* refactor(mobile): etag.interface.dart
* merge main
2025-06-21 21:46:38 +00:00
Alex
c10b795e99
refactor(mobile): file_media.interface.dart ( #19343 )
...
* refactor(mobile): file_media.interface.dart
* merge main
2025-06-21 19:24:59 +00:00
Alex
b606d4fe73
refactor(mobile): local_file_manager.interface.dart ( #19340 )
2025-06-21 18:35:30 +00:00
Alex
c707f9cef4
refactor(mobile): partner.interface.dart ( #19338 )
2025-06-20 18:37:59 +00:00
Alex
0426699f13
refactor(mobile): partner_api.interface.dart ( #19337 )
...
* refactor(mobile): partner_api.interface.dart
* merge main
2025-06-20 17:04:15 +00:00
Alex
e61d7f2616
refactor(mobile): album_media.interface.dart ( #19355 )
...
* refactor(mobile): album_media.interface.dart
* refactor: album_media repo
* make dcm happy
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-20 14:23:43 +00:00
Alex
ff4d70e351
refactor(mobile): album_api.interface.dart ( #19356 )
2025-06-20 09:08:23 -05:00
Alex
bce4f93c90
refactor(mobile): (1) user.interface.dart ( #19322 )
...
* refactor(mobile): user.interface.dart
* generate files
* refactor(mobile): (2) user_api.interface.dart (#19323 )
* refactor(mobile): (2) user_api.interface.dart
* generate files
* refactor(mobile): (3) sync_stream.interface.dart (#19325 )
2025-06-19 23:25:18 +00:00
Andreas Tollkötter
f54cfa7a5a
feat: improve mobile screen reader accessibility ( #17876 )
...
* WIP: adding screen reader support to mobile
* implemented getAltText
* implemented alt text solution that stores the alt text in the DB, which isn't really great
* moved alt text computation to immich_thumbnail.dart
* added unit tests
* revert unintended changes
* Added text to remaining buttons in Photo page
* fixed import
* Fixed issue of easy_localization not parsing select blocks
* Transferred the new screen reader help to web frontend
* remove unused property
* npm run format:fix
* code review
* revert unwanted change
* dart fmt
* revert web changes
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-13 10:39:59 -04:00
shenlong
2d05a5482f
refactor: logger service and remove dynamic ( #17733 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-08 22:01:31 -05:00
shenlong
84024f6cdc
refactor(mobile): simplify local sync and hash service ( #18970 )
...
* Hash service review changes
* local album repo test
* simplify local album repo method names
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-08 21:56:44 -05:00
shenlong
ce6631f7e0
feat(mobile): hash assets in isolate ( #18924 )
2025-06-06 11:23:05 +05:30
shenlong
091a101f39
fix(mobile): group settings not respected without restart ( #18823 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-06-01 20:53:45 -05:00
shenlong
b037158028
fix(mobile): auto trash using MANAGE_MEDIA ( #17828 )
...
fix: auto trash using MANAGE_MEDIA
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-04-24 19:09:50 -05:00
Alex
c167e46ec7
chore: revert #16732 ( #17819 )
...
* chore: revert #16732
* lint
2025-04-23 16:40:59 -05:00
Alex
0e6ac87645
feat(mobile): assets + exif stream sync placeholder ( #17677 )
...
* feat(mobile): assets + exif stream sync placeholder
* feat(mobile): assets + exif stream sync placeholder
* refactor
* fix: test
* fix:test
* refactor(mobile): sync stream service (#17687 )
* refactor: sync stream to use callbacks
* pr feedback
* pr feedback
* pr feedback
* fix: test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
---------
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-04-18 19:01:16 +00:00
shenlong
81ed54aa61
feat: user sync stream ( #16862 )
...
* refactor: user entity
* chore: rebase fixes
* refactor: remove int user Id
* refactor: migrate store userId from int to string
* refactor: rename uid to id
* feat: drift
* pr feedback
* refactor: move common overrides to mixin
* refactor: remove int user Id
* refactor: migrate store userId from int to string
* refactor: rename uid to id
* feat: user & partner sync stream
* pr changes
* refactor: sync service and add tests
* chore: remove generated change
* chore: move sync model
* rebase: convert string ids to byte uuids
* rebase
* add processing logs
* batch db calls
* rewrite isolate manager
* rewrite with worker_manager
* misc fixes
* add sync order test
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-04-17 10:25:27 -05:00
shenlong
78f8e23834
fix(mobile): exif not updated on sync ( #17633 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-04-15 14:30:58 -05:00
Alex
b2c903c000
feat(mobile): use Weblate for i18n (2) ( #17620 )
...
* feat(mobile): use Weblate for i18n (2)
* remove old translation files
* dedup keys
* remove migration report
* chore
* remove localizely.yml
2025-04-15 15:54:26 +00:00
Gagan Yadav
ac65d46ec6
fix(mobile): adds support for Internationalized Domain Name (IDN) ( #17461 )
2025-04-08 11:04:42 -05:00