Commit graph

201 commits

Author SHA1 Message Date
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