Commit graph

509 commits

Author SHA1 Message Date
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 1c6a445ba0 Fix key for prefs 2021-11-25 17:14:14 +05:30
vishnukvmd f810fdf1bf Remove unnecessary permission request 2021-11-25 16:57:43 +05:30
vishnukvmd 17334589be Setup push handlers only on iOS 2021-11-25 16:05:38 +05:30
vishnukvmd 71feaad02c Initialize PushService only on iOS 2021-11-25 16:04:30 +05:30
vishnukvmd 3f9137481f Merge branch 'master' into bg_sync 2021-11-25 15:35:44 +05:30
vishnukvmd 3fbcd6a62d Add API to terminate a session 2021-11-24 01:18:24 +05:30
vishnukvmd 96501f8778 Add API to get active sessions 2021-11-24 01:10:33 +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 215bd29ce9 Store app's lifecycle state within a service 2021-11-15 19:59:31 +05:30
vishnukvmd c75138a39f Sync only when asked to do so 2021-11-15 19:51:43 +05:30
vishnukvmd eb2f2d9551 Consistency in logging 2021-11-15 19:46:15 +05:30
vishnukvmd aec00f8d4d Log connectivity issues 2021-11-15 19:31:04 +05:30
vishnukvmd d887a8e6e7 Fix condition to force update server token 2021-11-14 20:22:05 +05:30
vishnukvmd 4ed90ca30b Refresh token every 30 days 2021-11-12 00:28:44 +05:30
vishnukvmd c89bfac4cc Define the API for setting the push token on server 2021-11-11 00:49:33 +05:30
vishnukvmd 78b2df8040 Store token to disk post pushing it to server 2021-11-11 00:45:00 +05:30
vishnukvmd 290a8bea36 Configure push token on user sign in 2021-11-11 00:44:25 +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
Neeraj Gupta aa8f4b9bde
lint: enable directives_ordering for imports 2021-10-30 11:13: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 6fce44a28a
Merge pull request #124 from ente-io/hide_ignored_files
Hide ignored files from home page + refactoring
2021-10-29 12:36:09 +05:30
Neeraj Gupta 83039431dc
address review suggestions 2021-10-29 12:02:58 +05:30
Neeraj Gupta f8c85c6fe9
hide ignored files from home page 2021-10-29 10:27:52 +05:30
Neeraj Gupta f78d248f90
refactor code for ignoring files for upload 2021-10-29 09:49:42 +05:30
Neeraj Gupta 8a4d6801ab
Add ignored file service & cache ignoredIDs 2021-10-29 09:39:38 +05:30
Vishnu Mohandas 03aa7ee6e4
Merge pull request #121 from ente-io/trash_empty_event 2021-10-28 18:14:02 +05:30
Neeraj Gupta 5c43252734
use separate event to force_reload trash 2021-10-28 16:47:00 +05:30
Neeraj Gupta 86333e8506
re-sync older clients since edit-time feature release 2021-10-28 11:58:39 +05:30
Neeraj Gupta 2902cf90c5
Fix trash reload on emptying trash 2021-10-28 10:45:48 +05:30
vishnukvmd 6e40a02080 Merge branch 'master' into bg_sync 2021-10-28 00:58:15 +05:30
vishnukvmd 0b22455146 Merge remote-tracking branch 'origin' into bg_sync 2021-10-27 17:20:34 +05:30
Neeraj Gupta 96932f22d7
Merge branch 'master' into edit-time 2021-10-27 13:25:42 +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
Neeraj Gupta 3816f15343
formatting changes 2021-10-26 20:16:58 +05:30
vishnukvmd 296f5bcfe9 Return list instead of an iterable 2021-10-26 18:56:00 +05:30
Neeraj Gupta c18e944459
Merge branch 'master' into edit-time 2021-10-26 17:28:45 +05:30
vishnukvmd b27ccc8d5b Merge remote-tracking branch 'origin' into bg_sync 2021-10-26 16:59:58 +05:30
Neeraj Gupta aa145e0217
Support for editing date of memory 2021-10-26 16:07:14 +05:30
Neeraj Gupta 138501388d
Support for empty trash 2021-10-25 20:27:41 +05:30
Neeraj Gupta 294b0219f1
TrashSync: handle API contract changes 2021-10-24 08:19:34 +05:30
vishnukvmd 9f845518bc Merge remote-tracking branch 'origin' into bg_sync 2021-10-22 22:59:11 +05:30
Neeraj Gupta 99102d882d
Merge pull request #100 from ente-io/trash_api
Trash
2021-10-22 16:59:02 +05:30
Neeraj Gupta 047b154156
trash_db: store file original metadata as json 2021-10-22 15:00:06 +05:30
Neeraj Gupta 84fe6169d2
Default to stripe if featureFlag fetch fails 2021-10-22 13:57:20 +05:30
Neeraj Gupta 6d3327113a
Fixes based on review comments 2021-10-21 17:38:12 +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 b0bd91b151
fire events to refresh main gallery 2021-10-20 19:44:05 +05:30
Neeraj Gupta a9f3aea777
Merge remote-tracking branch 'origin/master' into trash_api 2021-10-20 19:33:22 +05:30
Neeraj Gupta 6198a2ab2b
merge master & few bug fixes 2021-10-20 19:13:11 +05:30
Neeraj Gupta 254d106af0
Fix bug in collection updateDB method 2021-10-20 17:13:46 +05:30
Neeraj Gupta 29630aedd0
TrashRestore: Remove unsynced local files 2021-10-20 16:28:11 +05:30
Neeraj Gupta 0b8d9c1e13
TrashGallery: actions for restoring/deleting selected files 2021-10-17 22:20:25 +05:30
Neeraj Gupta 31cab54098
collections: keep db entry for deleted collections owned by user 2021-10-17 21:01:47 +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 4e3e364c65
Add support for fetching collectionByID 2021-10-17 11:35:16 +05:30
Neeraj Gupta 8fb2307fa0
raise err when collection is missing from cache 2021-10-16 23:51:08 +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 f9b2fc6ed6
Add support for restoring file from detailpage view 2021-10-13 22:52:17 +05:30
vishnukvmd bbad8a4cce Initialize app on bg push 2021-10-13 10:54:49 +05:30
Neeraj Gupta 2cf7699198
switch to v2 version of collection/remove-files 2021-10-13 04:29:22 +05:30
Neeraj Gupta 49df079bcc
Add support for deleting files from trash 2021-10-13 04:21:19 +05:30
Neeraj Gupta ceaed8def3
TrashFile: extend File 2021-10-13 02:59:05 +05:30
Neeraj Gupta 84b0283933
Sync trashed items in local db 2021-10-13 00:57:11 +05:30
vishnukvmd cd0ecf32bd Trigger sync on receiving push 2021-10-12 15:06:22 +05:30
vishnukvmd 343a72c5b4 Add fg/bg as a param for sync 2021-10-12 15:02:51 +05:30
vishnukvmd 614e13e7da Parse background pushes 2021-10-12 14:42:28 +05:30
Neeraj Gupta f488f47f2b
Trash: Add trash service & api to trash files 2021-10-11 10:35:37 +05:30
vishnukvmd 0dcd6c8da4 Remove unnecessary log line 2021-10-03 23:25:10 +05:30
vishnukvmd e2da93d02e Publish the correct event after a diff fetch 2021-09-30 19:22:09 +05:30
vishnukvmd ac6cfd42c3 Place locally available files at first 2021-09-30 15:17:57 +05:30
vishnukvmd ff3e88a2f1 Publish a single event for file deletions within a collection 2021-09-30 14:58:46 +05:30
Neeraj Gupta bc6fac532a Fix gallery import by removing filter on creationTime 2021-09-29 19:27:20 +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
Neeraj Gupta a4dd4b19da
move: remove files from the old collection 2021-09-28 13:07:18 +05:30
vishnukvmd c974befed5 Minor refactor 2021-09-24 11:35:13 +05:30
vishnukvmd 98022ff334 Ignore files during move if they are already present in the target collection 2021-09-24 11:33:46 +05:30
Neeraj Gupta 511b129d40
Skip files that are already part of the collection 2021-09-23 20:54:20 +05:30
vishnukvmd 283ac899b2 Force pull since the time archive was released 2021-09-23 19:18:24 +05:30
vishnukvmd bdc2225999 Increment local metadata version post update 2021-09-23 17:30:55 +05:30
vishnukvmd d370735c70 Merge remote-tracking branch 'origin' into ui_updates 2021-09-23 16:51:39 +05:30
Vishnu Mohandas 38a48ee0df
Merge pull request #54 from ente-io/change_collection_name
Add support for renaming own collections
2021-09-23 16:49:26 +05:30