immich/mobile/lib/utils
shenlong 6f4f79d8cc
feat: migrate store to sqlite (#21078)
* add store entity and migration

* make store service take both isar and drift repos

* migrate and switch store on beta timeline state change

* chore: make drift variables final

* dispose old store before switching repos

* use store to update values for beta timeline

* change log service to use the proper store

* migrate store when beta already enabled

* use isar repository to check beta timeline in store service

* remove unused update method from store repo

* dispose after create

* change watchAll signature in store repo

* fix test

* rename init isar to initDB

* request user to close and reopen on beta migration

* fix tests

* handle empty version in migration

* wait for cache to be populated after migration

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-08-21 14:58:50 -05:00
..
cache feat(mobile): platform image providers (#20927) 2025-08-20 19:36:44 +00:00
hooks chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
action_button.utils.dart refactor: bottom sheet action button (#20964) 2025-08-18 10:20:08 -05:00
async_mutex.dart refactor(mobile): sqlite-based map view (#20665) 2025-08-06 10:05:49 -05:00
backup_progress.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
bootstrap.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
bytes_units.dart feat(mobile): share to mechanism (#15229) 2025-01-16 21:20:44 -06:00
color_filter_generator.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
database.utils.dart feat(mobile): new upload (#18726) 2025-07-19 04:58:53 +00:00
datetime_comparison.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
debounce.dart refactor(mobile): sqlite-based map view (#20665) 2025-08-06 10:05:49 -05:00
diff.dart refactor(mobile): device asset entity to use modified time (#17064) 2025-04-03 14:42:35 -05:00
draggable_scroll_controller.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
hash.dart feature(mobile): sync assets, albums & users to local database on device (#1759) 2023-03-03 16:38:30 -06:00
http_ssl_cert_override.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
http_ssl_options.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
image_url_builder.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
immich_loading_overlay.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
isolate.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
licenses.dart feat: add license page to app bar dialog (#19971) 2025-07-16 09:36:17 -05:00
map_utils.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
migration.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
openapi_patching.dart fix: user profile images not working in beta timeline (#20203) 2025-07-30 11:09:28 -05:00
people.utils.dart fix(mobile): person birthday viewing/editing (#20731) 2025-08-06 22:13:56 +00:00
provider_utils.dart fix: invalidate album api on log out (#20756) 2025-08-07 14:19:44 +00:00
selection_handlers.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
string_helper.dart chore: remove all deprecated endpoints/properties from server and mobile app (#9724) 2024-05-24 15:37:01 +01:00
throttle.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
thumbnail_utils.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
url_helper.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
user_agent.dart fix: mobile user agent set to immich_platform_version (#18478) 2025-05-22 10:35:24 -05:00
version_compatibility.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00