Commit graph

150 commits

Author SHA1 Message Date
Vishnu Mohandas 76be1c9a37 Attach callback to listen for updates only after permission has been granted 2021-07-01 14:57:44 +05:30
Vishnu Mohandas ac13a5b9e5 Trigger a sync when something changes on disk 2021-07-01 14:39:04 +05:30
Vishnu Mohandas 40d5623057 Request extended permissions and save returned state 2021-07-01 13:14:33 +05:30
Vishnu 8a07a438f2 Use server API to compute file size 2021-06-28 12:10:19 +05:30
Vishnu d3ee26db0c Process older photos 2021-06-15 17:27:33 +05:30
Vishnu 3f6a847212 Reformat code 2021-06-15 00:40:28 +05:30
Vishnu 74ac0326fe Move private function further down 2021-06-14 21:57:50 +05:30
Vishnu f9918c16d3 Factor responsibilities into respecive sync services 2021-06-14 21:57:15 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu 3b9858cc40 Extract local-sync to a separate service 2021-06-14 20:28:36 +05:30
Vishnu a1aafad475 Drop the check for creation time during de-duplication 2021-06-13 16:45:24 +05:30
Vishnu 6d686745e1 Add extra logs 2021-06-13 15:40:51 +05:30
Vishnu Mohandas 265f3c2406 Add option to download a remote file 2021-06-13 02:59:04 +05:30
Vishnu Mohandas ee00ce351b Better interface when backups fail 2021-06-12 16:03:48 +05:30
Vishnu Mohandas fc614e3f21 Ignore updates to edited file 2021-06-11 22:06:01 +05:30
Vishnu Mohandas 4cf2ec73e1 Save remote only files post edits 2021-06-05 00:41:39 +05:30
Vishnu Mohandas dfe637b2ac Sync with remote only after the first import is complete 2021-05-31 05:16:50 +05:30
Vishnu Mohandas c1e1a99163 Make backup folder selection skippable 2021-05-29 22:31:59 +05:30
Vishnu Mohandas 537abae771 Show a notification on Android when storage limit is exceeded 2021-05-21 04:53:29 +05:30
Vishnu Mohandas db184b470b Remove complex checks from SyncService 2021-05-19 23:03:21 +05:30
Vishnu Mohandas a0541c724b Handle network errors 2021-05-13 23:06:17 +05:30
Vishnu Mohandas e3a50358db Redirect to loading screen if first load is interrupted 2021-05-13 02:22:45 +05:30
Vishnu Mohandas 74470a7882 Smoothen the first load experience 2021-05-10 18:53:53 +05:30
Vishnu Mohandas 6922b35efd Setup happy paths 2021-05-10 00:14:05 +05:30
Vishnu Mohandas 0592ed04b0 Upgrade ALL packages! 2021-05-02 21:35:36 +05:30
Vishnu Mohandas dd007c2bc0 Handle errors during file deletion 2021-05-01 02:32:16 +05:30
Vishnu Mohandas 5a6d538879 Update the delete files API 2021-04-28 02:19:00 +05:30
Vishnu Mohandas 15f009add3 Fire an event when first import is successful 2021-04-25 17:22:07 +05:30
Vishnu Mohandas 426ab8add5 Minimize the number of reloads for collection updates 2021-04-24 03:07:04 +05:30
Vishnu Mohandas 07ce960f65 Emit the list of changed files along with the event 2021-04-24 00:41:05 +05:30
Vishnu Mohandas 2b7c4612ea Remove FileRepository 2021-04-21 18:39:18 +05:30
Vishnu Mohandas ffa878e354 Extract method to clear cache to a util 2021-04-19 18:26:12 +05:30
Vishnu Mohandas ef68187625 Clear thumbnail cache with the right URL 2021-04-19 18:25:02 +05:30
Vishnu Mohandas 35de15da79 Insert fetched diff in bulk 2021-04-19 18:24:48 +05:30
Vishnu Mohandas 8a86781b12 Increase diff limit to 1000 2021-04-19 16:28:07 +05:30
Vishnu Mohandas 01ffdf2f24 Display the correct sync state post local gallery sync 2021-04-07 05:03:41 +05:30
Vishnu Mohandas f446c73d3d Ensure that the error has an osError attribute 2021-04-05 18:36:49 +05:30
Vishnu Mohandas 3c14ec733a Rename variable to make more sense 2021-04-05 18:17:31 +05:30
Vishnu Mohandas 4bf87b4c5c Add indicator for loading photos the first time 2021-04-05 18:16:26 +05:30
Vishnu Mohandas 99e4ce4563 Remove comments 2021-03-26 00:36:06 +05:30
Vishnu Mohandas dfeaa4408e Simplify sync events 2021-03-26 00:36:01 +05:30
Vishnu Mohandas d775051d35 Simplify logic to count uploads 2021-03-25 20:14:58 +05:30
Vishnu Mohandas 5b6bb926f8 Handle network errors 2021-03-22 13:04:59 +05:30
Vishnu Mohandas d1d72ed325 Display the correct queue size 2021-03-22 12:44:16 +05:30
Vishnu Mohandas 887bcbf06a Add functionality to add and remove folders from queue 2021-03-22 11:59:53 +05:30
Vishnu Mohandas 98dbe7bcfe Remove unused sync state 2021-03-20 17:02:33 +05:30
Vishnu Mohandas 017d26acbd Logout on 401 2021-03-18 03:38:13 +05:30
Vishnu Mohandas 27d9a570df Parse default errors separately 2021-03-18 03:21:39 +05:30
Vishnu Mohandas a7b2e63b1a Add an option to logout 2021-03-18 02:37:17 +05:30
Vishnu Mohandas 99ede8f687 Add happy path 2021-03-12 14:10:36 +05:30