Commit graph

191 commits

Author SHA1 Message Date
Neeraj Gupta 72043e9f0d
temp 2022-08-26 14:51:44 +05:30
Neeraj Gupta 919186a9c9
Fix: only attempt to update files ownedBy user 2022-08-26 12:34:41 +05:30
Neeraj Gupta 5ad1196172
Remove redundant method for uploading editedFiles 2022-08-26 12:04:41 +05:30
Neeraj Gupta 1bae350ec3
create & track collections for devicePath marked for sync 2022-08-24 10:08:16 +05:30
Neeraj Gupta 65f929fbdd
rename method 2022-08-05 17:43:51 +05:30
Neeraj Gupta 7055b618d1
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-05 17:24:23 +05:30
Neeraj Gupta 4d0059df29
Use fileMigrationDB for verifying if file needs update 2022-08-05 16:39:56 +05:30
Neeraj Gupta 6429820485
refactor 2022-08-01 16:35:16 +05:30
Neeraj Gupta 3fdb422c64
Refactor mile migration service 2022-07-29 11:36:03 +05:30
Neeraj Gupta facdabc772
Test: Disable upload for testing 2022-07-23 13:22:18 +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 1e3475194d
enhance logs 2022-06-29 10:26:11 +05:30
Neeraj Gupta 57b447ee50
enhance logs for asset re-upload scenarios 2022-06-29 10:10:06 +05:30
Neeraj Gupta b93379b8b2
use fetchUploadUrl instead of canUpload wrapper 2022-06-22 16:49:12 +05:30
Neeraj Gupta 76f279cb83
address review comment 2022-06-22 12:49:34 +05:30
Neeraj Gupta 3135538514
Log known error as warning and unhandled as server error 2022-06-22 12:00:58 +05:30
Neeraj Gupta 2f847e0ccc
Verify if user can upload more files before preparing files for upload 2022-06-22 11:57:36 +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 9bc4306218
Merge branch 'master' into redesign 2022-06-09 18:37:56 +05:30
Neeraj Gupta 5c5fa2735b
put migration logic behind feature flag 2022-06-08 15:21:03 +05:30
Neeraj Gupta 2b60008350
minor refactor 2022-06-08 15:09:02 +05:30
Neeraj Gupta 91a9e13925
minor refactor 2022-06-08 15:00:21 +05:30
Neeraj Gupta bb5ef1b246
Minor bug fixes 2022-06-08 14:50:03 +05:30
Neeraj Gupta e547304036
Reupload files with missing location 2022-06-08 14:19:23 +05:30
Neeraj Gupta c7347b7f04
Add DB to track potential fileIDs for reupload 2022-06-08 10:52:07 +05:30
Neeraj Gupta 5ad6a8520e
BugFix: Fix bug in matching remoteFile to localFile 2022-06-03 21:39:35 +05:30
Neeraj Gupta 6791773845
bug fix 2022-05-26 15:56:53 +05:30
Neeraj Gupta 67fdadabce
process updated files in the end 2022-05-26 15:34:12 +05:30
Neeraj Gupta 68445df5d7 Prioritize upload of most recent photo 2022-03-20 14:35:43 +05:30
Neeraj Gupta 0dbc09670d
Fix bug in uploading local files 2022-02-14 22:57:00 +05:30
Neeraj Gupta b09896b619 Prefer existing collectionID during unpload for unsynced files 2022-02-13 18:12:34 +05:30
Neeraj Gupta a7d8fca551 rename and fix bug in query 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8b9a47a64b remove blocking upload dialog for manually backed up files 2022-02-13 18:12:34 +05:30
Neeraj Gupta 3c9960d16c
Fix: Handle repeated upload for file with new localID 2022-01-30 10:57:25 +05:30
Neeraj Gupta d5412b8645
Bugfix: Show reason for sync failure on UI 2022-01-10 21:24:01 +05:30
Neeraj Gupta b177469df8
Bugfix: Logout user on invalid token 2022-01-07 22:00:22 +05:30
vishnukvmd 09bfc82271 Mark existing sync as completed 2022-01-05 13:25:04 +05:30
vishnukvmd c09f87e512 Inline variable 2022-01-04 00:02:56 +05:30
vishnukvmd 8e6595db63 Use final 2022-01-03 23:57:49 +05:30
vishnukvmd e12f7ea731 Decouple local and remote syncs 2022-01-03 23:54:43 +05:30
vishnukvmd 4f21ba0925 Fix comparison operator in sort 2021-12-23 12:04:03 +05:30
vishnukvmd 09289df9dc Don't overwrite the locally available modificationTime for a modified file 2021-12-03 11:57:59 +05:30
vishnukvmd 59e9ab8ab5 Upload videos in the end 2021-12-02 10:30:27 +05:30
vishnukvmd 0ebfe2760e Extend the comparison operator to play it safe 2021-11-28 10:49:48 +05:30
vishnukvmd 823e51cead Swallow any errors during remote sync and reset the future 2021-11-28 10:48:46 +05:30
vishnukvmd 03152dcaf2 Start the upload timeout after it's processing has begun 2021-11-27 20:42:45 +05:30
vishnukvmd afeab0fcd6 Time out uploads 2021-11-27 20:34:21 +05:30
vishnukvmd 4e309ac939 Upload only 4 photos in the background 2021-11-15 21:20:20 +05:30
vishnukvmd feac5cc485 Don't upload videos if app is in background 2021-11-15 21:07:33 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
vishnukvmd 616d8efadc Merge branch 'master' into bg_sync 2021-11-05 14:08:55 +05:30
vishnukvmd 119acab9c7 Force reload home gallery if any creation time was changed 2021-10-30 21:36:56 +05:30
vishnukvmd fa2926b14a Prevent multiple parallel remote syncs 2021-10-30 06:09:53 +05:30
vishnukvmd 376b6f5af9 Remove unused function 2021-10-30 05:43:46 +05:30
vishnukvmd e1e05664b4 Fix lint warnings 2021-10-30 05:26:27 +05:30
vishnukvmd a7f96ae1f3 Define precise event types for file deletion 2021-10-30 05:25:29 +05:30
vishnukvmd 477f01a169 Merge remote-tracking branch 'origin' into bg_sync 2021-10-30 01:50:39 +05:30
Neeraj Gupta 016157e0d3
Fix infinite sync loop when all items in diff are deleted 2021-10-29 18:10:16 +05:30
Neeraj Gupta fbaa0fc526
Collection Diff: switch to v2/diff 2021-10-29 17:30:56 +05:30
Neeraj Gupta f78d248f90
refactor code for ignoring files for upload 2021-10-29 09:49:42 +05:30
Neeraj Gupta 86333e8506
re-sync older clients since edit-time feature release 2021-10-28 11:58:39 +05:30
vishnukvmd 0b22455146 Merge remote-tracking branch 'origin' into bg_sync 2021-10-27 17:20:34 +05:30
Neeraj Gupta 44dd20cf20
IgnoredFiles: deviceFolder & title for matching on Android 2021-10-27 11:01:12 +05:30
Neeraj Gupta 2a0d60a83c
IgnoredFiles: switch to getAllLocalIDs for iOS 2021-10-27 10:37:17 +05:30
Neeraj Gupta adbe6888c4
Change log level to info for InvalidSyncStatusError 2021-10-26 22:10:49 +05:30
vishnukvmd 9f845518bc Merge remote-tracking branch 'origin' into bg_sync 2021-10-22 22:59:11 +05:30
Neeraj Gupta 964ddd50e5
refactor: rename stuff 2021-10-21 17:26:02 +05:30
Neeraj Gupta 85a6c7ca83
minor clean up and documentation 2021-10-20 20:06:48 +05:30
Neeraj Gupta f5a74f220a
IgnoredFile: minor refactoring & improved documentation 2021-10-17 19:58:47 +05:30
Neeraj Gupta 63f0ba92f4
fetch collectionByID when collection is missing from local cache 2021-10-17 11:50:06 +05:30
Neeraj Gupta be9c9ca13b
ignore files which were trashed or deleted 2021-10-16 22:50:15 +05:30
Neeraj Gupta 3b3f787f8c
persist deleted/trashed files with localId in ignoredFiles db 2021-10-16 21:45:15 +05:30
Neeraj Gupta 84b0283933
Sync trashed items in local db 2021-10-13 00:57:11 +05:30
vishnukvmd 343a72c5b4 Add fg/bg as a param for sync 2021-10-12 15:02:51 +05:30
vishnukvmd e2da93d02e Publish the correct event after a diff fetch 2021-09-30 19:22:09 +05:30
vishnukvmd ff3e88a2f1 Publish a single event for file deletions within a collection 2021-09-30 14:58:46 +05:30
Neeraj Gupta fadda2680a
Fix bug which was resulting in repeated upload of same local file 2021-09-29 12:09:44 +05:30
Neeraj Gupta b09f0befe3
change timestamp for archive release time 2021-09-28 16:30:10 +05:30
vishnukvmd 283ac899b2 Force pull since the time archive was released 2021-09-23 19:18:24 +05:30
vishnukvmd b11ee940f3 Move delete to async ops 2021-08-09 12:04:42 +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 bdb344f040 Back up all folders if "select all" is opted for within backup folder selection widget 2021-07-23 17:58:02 +05:30
vishnukvmd fad5eb687d Handle incorrect sync status 2021-07-23 16:43:01 +05:30
vishnukvmd e219285a6d Remove redundant param 2021-07-23 16:13:19 +05:30
vishnukvmd 197e807dc3 Fix lint warnings 2021-07-22 02:28:07 +05:30
vishnukvmd ec0d4037aa Add option to disable backing up of videos 2021-07-12 17:24:43 +05:30
vishnukvmd a440fca9de Update logic to render number of uploaded files 2021-07-12 17:07:02 +05:30
Vishnu Mohandas 39860cfde1 Sync all files for users who have selected limited files 2021-07-01 16:36:20 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30