Commit graph

107 commits

Author SHA1 Message Date
Neeraj Gupta 531b4a0490
add review comments 2022-08-29 23:13:17 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta 28b5e9710f
mark field as final 2022-08-29 10:11:38 +05:30
Neeraj Gupta 399cad4561
refactor: rename 2022-08-29 10:00:28 +05:30
Neeraj Gupta e72ab4f52d
Clear ignoredFiles db while resetting db 2022-08-26 17:07:59 +05:30
Neeraj Gupta 3bcb907f85
Fire LocalPhotosUpdatedEvent on local mapping change 2022-08-26 11:21:40 +05:30
Neeraj Gupta e221b20ad8
Remove redundant devicePathID field from File 2022-08-25 15:12:37 +05:30
Neeraj Gupta 6db967bbc1
refactor 2022-08-25 14:53:33 +05:30
Neeraj Gupta b588221ff1
Simplify getDeviceFiles 2022-08-25 14:32:03 +05:30
Neeraj Gupta 9bdf2e8ed6
log syncAll timeTaken 2022-08-24 17:00:40 +05:30
Neeraj Gupta c6c955c889
Return unique files while returning unsynced assets 2022-08-24 16:44:10 +05:30
Neeraj Gupta 64efda4284
Avoid unncessory converstion from localID to File 2022-08-24 16:26:44 +05:30
Neeraj Gupta 3db9b64e36
minor refactor 2022-08-24 16:02:41 +05:30
Neeraj Gupta 0502cd20da
Refactor and honor select all folder sync 2022-08-23 16:45:15 +05:30
Neeraj Gupta aa9943e209
Sync device album add/remove changes to local db 2022-08-23 13:30:09 +05:30
Neeraj Gupta cf84d21ac2
Fix refresh for device path cover and count 2022-08-23 11:08:18 +05:30
Neeraj Gupta 7055b618d1
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-05 17:24:23 +05:30
Neeraj Gupta 9ad4ac2068
backfill existing rows with missingLocation reason 2022-08-05 17:05:32 +05:30
Neeraj Gupta 4d0059df29
Use fileMigrationDB for verifying if file needs update 2022-08-05 16:39:56 +05:30
Neeraj Gupta 3fdb422c64
Refactor mile migration service 2022-07-29 11:36:03 +05:30
Neeraj Gupta ae72969982
Support for storing latest file as deviceFolder cover 2022-07-26 11:02:04 +05:30
Neeraj Gupta 99f02574b3
Persist device pathID to name mapping 2022-07-24 22:52:12 +05:30
Neeraj Gupta e7d6aa48d0
DeveloperMode: Support for deleting local sync state
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:34:53 +05:30
Neeraj Gupta 6cb98a9309
LocalSync: Change scope for get<Local|Ignore|Download>IDs to pvt
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:25:02 +05:30
Neeraj Gupta c0e3267ad0
rename 2022-07-23 15:18:33 +05:30
Neeraj Gupta d5296cbd5b
more clean up in local file sync util 2022-07-20 15:30:10 +05:30
Neeraj Gupta fa17c7562b
Remove redundant update
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-20 14:18:53 +05:30
Neeraj Gupta 1911f8fa83
dart format 2022-07-03 15:19:33 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta d0090080ee
minor fixes 2022-06-29 10:19:19 +05:30
Neeraj Gupta 57b447ee50
enhance logs for asset re-upload scenarios 2022-06-29 10:10:06 +05:30
Neeraj Gupta 22cf83faf0
Fix: Sync all files on disk change when limited permission is granted 2022-06-21 12:48:49 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta 22babe31e6
upgrade photos_manager pkg 2022-05-12 08:57:32 +05:30
Neeraj Gupta fa6d3c3eb3
Update local_sync_service.dart 2022-05-10 14:02:46 +05:30
Neeraj Gupta 0da95111bb
Log only when files are updated 2022-05-10 13:12:41 +05:30
vishnukvmd e12f7ea731 Decouple local and remote syncs 2022-01-03 23:54:43 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
Neeraj Gupta bc6fac532a Fix gallery import by removing filter on creationTime 2021-09-29 19:27:20 +05:30
vishnukvmd 4add2afa77 Update the key for invalid files to pull files that were ignored due to permission errors 2021-09-11 10:02:19 +05:30
Neeraj Gupta df3917c2c8 use existing _isBackgroung flag 2021-09-05 15:48:14 +05:30
Neeraj Gupta f16ff8510a use final and fix logging 2021-09-05 15:40:43 +05:30
Neeraj Gupta 552813d0bd Android: verify permission before running local sync 2021-09-05 15:06:05 +05:30
vishnukvmd ff10eb1ca4 Ignore permission checks if the app is in the background 2021-08-06 14:09:39 +05:30
Neeraj Gupta c602499837 Save both video and image for livePhoto on download 2021-08-05 19:56:35 +05:30
vishnukvmd d5054da486 Log number of local IDs discovered 2021-08-05 02:16:58 +05:30
vishnukvmd 2696f3f792 Keep folders to backup in sync with the latest folders on disk 2021-07-28 01:13:21 +05:30
vishnukvmd eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
Vishnu Mohandas ac13a5b9e5 Trigger a sync when something changes on disk 2021-07-01 14:39:04 +05:30
Vishnu Mohandas 4ff0554936 Add hook to select more photos if the user has granted limited permissions 2021-07-01 13:29:46 +05:30
Vishnu Mohandas 124c064379 Remove redundant call to request for permissions 2021-07-01 13:12:56 +05:30
Vishnu Mohandas 41c1f39421 Ignore invalid files 2021-06-19 16:31:32 +05:30
Vishnu Mohandas 811a4cb71e Move expensive ops to a separate isolate 2021-06-19 16:31:32 +05:30
Vishnu d3ee26db0c Process older photos 2021-06-15 17:27:33 +05:30
Vishnu f9918c16d3 Factor responsibilities into respecive sync services 2021-06-14 21:57:15 +05:30
Vishnu 3b9858cc40 Extract local-sync to a separate service 2021-06-14 20:28:36 +05:30