immich/mobile/lib/services
shenlong 532ec10d5f
refactor: hashing service (#21997)
* download only backup selected assets

* android impl

* fix tests

* limit concurrent hashing to 16

* extension cleanup

* optimized hashing

* hash only selected albums

* remove concurrency limit

* address review comments

* log more info on failure

* add native cancellation

* small batch size on ios, large on android

* fix: get correct resources

* cleanup getResource

* ios better hash cancellation

* handle graceful cancellation android

* do not trigger multiple hashing ops

* ios: fix circular reference, improve cancellation

* kotlin: more cancellation checks

* no need to create result

* cancel previous task

* avoid race condition

* ensure cancellation gets called

* fix cancellation not happening

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-09-17 23:42:37 -05:00
..
action.service.dart feat: drift edit time and date action (#20377) 2025-07-30 14:40:13 -05:00
activity.service.dart feat(mobile): shared album activities (#20714) 2025-08-14 22:50:56 +00:00
album.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
api.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
app_settings.service.dart feat: add configurable backup on charging only and delay settings for android (#22114) 2025-09-17 14:13:49 +00:00
asset.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
auth.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
background.service.dart fix: do not listen for store updates in isolates (#21947) 2025-09-14 14:50:17 -05:00
backup.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
backup_album.service.dart refactor: DCM - const border radius, constructor & switch expressions (#19515) 2025-06-25 13:06:24 +05:30
backup_verification.service.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
deep_link.service.dart fix(mobile): ensure current asset is set in asset viewer (#21504) 2025-09-02 11:03:44 -04:00
device.service.dart refactor: DCM - const border radius, constructor & switch expressions (#19515) 2025-06-25 13:06:24 +05:30
download.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
entity.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
etag.service.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
exif.service.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
folder.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
gcast.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
hash.service.dart refactor: hashing service (#21997) 2025-09-17 23:42:37 -05:00
immich_logger.service.dart refactor(mobile): log service (#16383) 2025-02-27 15:18:49 -05:00
local_auth.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
local_files_manager.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
local_notification.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
localization.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
map.service.dart fix: mobile user agent set to immich_platform_version (#18478) 2025-05-22 10:35:24 -05:00
memory.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
network.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
oauth.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
partner.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
person.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
person.service.g.dart chore(mobile): generated files and ci check (#16798) 2025-03-11 12:22:31 +00:00
search.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
secure_storage.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
server_info.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
share.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
share_intent_service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
shared_link.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
stack.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
sync.service.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
timeline.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
trash.service.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
upload.service.dart chore(mobile): add debugPrint lint rule (#21872) 2025-09-12 18:56:00 -04:00
widget.service.dart fix: empty custom header prevent logging in (#20693) 2025-08-05 16:14:21 +00:00