Commit graph

519 commits

Author SHA1 Message Date
Neeraj Gupta 647ab51b3c Add method to identify independent apk 2021-08-18 18:07:47 +05:30
vishnukvmd ca23ccfb30 Add parameter to determine last supported version 2021-08-18 12:32:39 +05:30
vishnukvmd 5415df3ef4 Update release info endpoint 2021-08-18 12:05:06 +05:30
Neeraj Gupta db0408b1c9 UserService: Add method to fetch paymentToken 2021-08-17 16:22:14 +05:30
vishnukvmd b11ee940f3 Move delete to async ops 2021-08-09 12:04:42 +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
Neeraj Gupta 512247a515 Merge remote-tracking branch 'origin/master' into live_photos 2021-08-05 15:09:52 +05:30
vishnukvmd d5054da486 Log number of local IDs discovered 2021-08-05 02:16:58 +05:30
vishnukvmd a5190d24f6 Ensure that collection for a path is owned by the user 2021-08-05 02:01:12 +05:30
Neeraj Gupta 771ceda332 LivePhoto: download and unzip livePhoto content 2021-08-03 20:11:40 +05:30
vishnukvmd 374dddc65f Handle errors within getOTT calls 2021-07-29 00:11:46 +05:30
vishnukvmd 5260279beb Add hook to change email 2021-07-28 23:36:30 +05:30
vishnukvmd 80217eadb3 Add widget to render user details 2021-07-28 19:38:27 +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 7fd3f2c7ef Use v2 API to fetch billing plans 2021-07-26 21:39:07 +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 eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
vishnukvmd 197e807dc3 Fix lint warnings 2021-07-22 02:28:07 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
vishnukvmd d600d6e3b7 Fix linter suggestions 2021-07-22 01:52:15 +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
vishnukvmd 9c80f1a2b9 Register for free subscription 2021-07-08 02:40:56 +05:30
Neeraj Gupta f685289468 [logout] clear local storage on api success only 2021-07-05 19:06:56 +05:30
Neeraj Gupta d14cbb7d97 delete token from server on logout 2021-07-05 15:01:03 +05:30
Vishnu Mohandas 39860cfde1 Sync all files for users who have selected limited files 2021-07-01 16:36:20 +05:30
Vishnu Mohandas 38b891f75f Add log statement 2021-07-01 14:59:25 +05:30
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 4ff0554936 Add hook to select more photos if the user has granted limited permissions 2021-07-01 13:29:46 +05:30
Vishnu Mohandas 40d5623057 Request extended permissions and save returned state 2021-07-01 13:14:33 +05:30
Vishnu Mohandas 124c064379 Remove redundant call to request for permissions 2021-07-01 13:12:56 +05:30
Vishnu Mohandas 73106fc0af Create a recovery if absent 2021-06-29 20:33:54 +05:30
Vishnu Mohandas b5863d9dcd Prompt user to save recovery key post 2FA setup 2021-06-29 16:43:55 +05:30
Vishnu Mohandas 165ea91ab8 Minor text change 2021-06-29 15:24:59 +05:30
Vishnu Mohandas b6611b4113 Add hook to enable and disable 2FA 2021-06-29 15:18:01 +05:30
Vishnu Mohandas 248746c45f Merge branch 'master' of github.com:ente-io/frame 2021-06-28 21:43:24 +05:30
Vishnu 8a07a438f2 Use server API to compute file size 2021-06-28 12:10:19 +05:30
Vishnu 3a369eb76d Add API to fetch backed up files 2021-06-28 11:00:58 +05:30
Vishnu cc0d66132c Add option to remove 2FA 2021-06-27 15:53:53 +05:30
Vishnu 1547c5499f Handle session expiries gracefully 2021-06-26 16:26:52 +05:30
Vishnu e8f3d7bcce Add 2FA code entry screen 2021-06-26 16:07:17 +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 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 04879370d1 Use updated verify-email endpoint to enable 2FA 2021-06-12 15:14:00 +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 323a754171 Update iOS config 2021-05-31 06:25:03 +05:30
Vishnu Mohandas d497fcf035 Initialize the notification service only on Android 2021-05-31 06:22:27 +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 5daf8412a1 Parse collection name decryption errors if any gracefully 2021-05-26 14:52:48 +05:30
Vishnu Mohandas 7ea047c905 Reduce excitement 2021-05-23 03:06:03 +05:30
Vishnu Mohandas a6b3b82bd1 Show notifications in the background, if an update is available 2021-05-23 02:56:11 +05:30
Vishnu Mohandas df3495a10d Handle errors gracefully 2021-05-23 01:18:44 +05:30
Vishnu Mohandas 1cba327147 Add option to check for updates 2021-05-22 23:59:09 +05:30
Vishnu Mohandas 4c2721af20 Update update endpoint 2021-05-22 23:30:20 +05:30
Vishnu Mohandas 04f17d8a9f Fix update URL 2021-05-22 23:28:04 +05:30
Vishnu Mohandas d3d4cf2515 Add a separate package for the independent track 2021-05-22 23:27:20 +05:30
Vishnu Mohandas 31de45bf1c Enable auto update checks 2021-05-22 21:16:04 +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 1a20fd3779 Extract constant 2021-05-21 04:48:45 +05:30
Vishnu Mohandas f9b879de69 Remove reliance on cached subscription plan 2021-05-19 23:03:21 +05:30
Vishnu Mohandas db184b470b Remove complex checks from SyncService 2021-05-19 23:03:21 +05:30
Vishnu Mohandas 2d2a3a846b Prevent snowballing of remote syncs 2021-05-19 23:03:20 +05:30
Vishnu Mohandas 73d1872851 Expilicitly set generatedID to null so that a new entry is created in the files DB 2021-05-16 14:10:06 +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 62bc2de3da Improve efficiency of fetching latest files across collections 2021-05-04 20:56:17 +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 8aae51c055 Update local cache when a memory is seen 2021-04-27 21:53:01 +05:30
Vishnu Mohandas 41237f85c8 Cache call to memories 2021-04-27 21:36:24 +05:30
Vishnu Mohandas 40e7c8e4e5 Improve time taken to load memories 2021-04-27 21:30:29 +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 8e368f83b6 Ensure that there was a response before parsing the status code 2021-04-05 18:37: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 98a0e91128 Generate new recovery keys for users who don't have any right now 2021-04-01 23:03:15 +05:30
Vishnu Mohandas 5037996ab6 Remove unused import 2021-04-01 22:28:51 +05:30
Vishnu Mohandas d445e21e01 Add ability to recover data 2021-04-01 19:56:08 +05:30
Vishnu Mohandas eea5b78531 Fix flow for key generation 2021-03-30 00:05:46 +05:30
Vishnu Mohandas b246d87191 Add a dialog to save recovery key 2021-03-29 20:39:12 +05:30
Vishnu Mohandas ba48e51516 Update set key request contract 2021-03-28 18:13:44 +05:30
Vishnu Mohandas d12ab1b4e0 Add option to change password 2021-03-26 21:43:32 +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 5918d996a4 Perform credential fetch within await block 2021-03-21 17:34:57 +05:30
Vishnu Mohandas a4fd2f7cf4 Fix dialog dismissals 2021-03-21 16:51:45 +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 126121486d Clear service level cache on logout 2021-03-18 02:41:31 +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
Vishnu Mohandas 2221e16dd3 Refresh UI when permission is not granted 2021-03-10 08:58:33 +05:30
Vishnu Mohandas 60a9fd5b73 Deal with network errors separately 2021-03-07 10:55:07 +05:30
Vishnu Mohandas d4ce8fc162 Simplify detection of background uploads 2021-03-04 22:58:27 +05:30
Vishnu Mohandas a557723061 Refresh on background updates 2021-03-04 06:17:49 +05:30
Vishnu Mohandas fe2faba89a Handle DNS resolution errors gracefully 2021-03-03 22:29:11 +05:30
Vishnu Mohandas b9e9aa393a Take a lock on a file before triggering it's upload 2021-03-03 21:37:02 +05:30
Vishnu Mohandas 2d4fc30de3 Use a global state for the app being in background 2021-03-03 21:33:03 +05:30
Vishnu Mohandas cd986512b2 Fire a sync status event as soon as a subscription is picked 2021-03-03 10:29:02 +05:30
Vishnu Mohandas a1488b0b68 Log updates to sync status 2021-03-03 09:58:49 +05:30
Vishnu Mohandas 5672cc7eb8 Log reasons for backup failure correctly 2021-03-02 12:54:03 +05:30
Vishnu Mohandas 114511489d Add a silent exception for upload errors 2021-03-02 12:53:02 +05:30
Vishnu Mohandas f06b4f1e9f Handle network errors gracefully 2021-03-02 12:50:21 +05:30
Vishnu Mohandas f986c9ae29 Make free plan configurable 2021-03-02 12:05:10 +05:30
Vishnu Mohandas cecfd7fefc Remove stack traces 2021-03-02 11:38:29 +05:30
Vishnu Mohandas 8ea3d0b708 Simplify SyncService state handling 2021-03-02 05:07:24 +05:30
Vishnu Mohandas 8bafb4e4fb Revert "Remove stack traces"
This reverts commit 19bb5fdd26.
2021-03-02 00:54:02 +05:30
Vishnu Mohandas 19bb5fdd26 Remove stack traces 2021-03-02 00:25:45 +05:30
Vishnu Mohandas b9ea4be9a7 Log once sync is completed 2021-02-26 19:39:35 +05:30
Vishnu Mohandas 980d288d5b Clean up error handling 2021-02-26 15:25:35 +05:30
Vishnu Mohandas 813ded3360 Modify log 2021-02-26 15:20:44 +05:30
Vishnu Mohandas d466e120b4 Don't throw an error if account is not configured 2021-02-26 14:54:20 +05:30
Vishnu Mohandas 2759399ff3 Extract errors into a separate file 2021-02-26 14:51:47 +05:30
Vishnu Mohandas 009d9957bf Fix the point where an error is thrown 2021-02-26 13:30:21 +05:30
Vishnu Mohandas 7a778abaea Throw unknown exceptions found during sync 2021-02-26 13:29:11 +05:30
Vishnu Mohandas ffefa99504 Retry batch insert requests 2021-02-26 13:22:21 +05:30
Vishnu Mohandas 6fb07bab27 Show appropriate error dialog for free users when sharing is disabled 2021-02-25 23:08:31 +05:30
Vishnu Mohandas a0614ad114 Clear upload queue with a reason 2021-02-25 21:44:27 +05:30
Vishnu Mohandas fa2f40bc7a Add an option to skip subscription during onboarding 2021-02-25 20:44:31 +05:30
Vishnu Mohandas e1d28f4ab3 Remove unused import 2021-02-25 13:18:29 +05:30
Vishnu Mohandas 67e60606ea Log trace when sync is called 2021-02-19 14:53:39 +05:30
Vishnu Mohandas 89f201161c Log exact times frames within which the photos are fetched 2021-02-18 13:26:05 +05:30
Vishnu Mohandas 0d8cd028d9 Minor refactor 2021-02-18 12:35:45 +05:30
Vishnu Mohandas 432219234d Comment out library that could cause issues on Android 2021-02-16 21:45:23 +05:30
Vishnu Mohandas 4295702fdf Return album with decrypted name post creation 2021-02-16 19:37:19 +05:30
Vishnu Mohandas 9139d01a7f Safeguard against decoding issues 2021-02-16 00:04:15 +05:30
Vishnu Mohandas 9a5185d883 Use copyWith instead of the constructor 2021-02-15 23:54:36 +05:30
Vishnu Mohandas db47586424 Don't rely on cache that does not exist yet 2021-02-14 23:45:38 +05:30
Vishnu Mohandas a7d0ae47d8 Refresh cache for memories once seen 2021-02-14 15:12:02 +05:30
Vishnu Mohandas 703d331bd0 Rename file 2021-02-13 18:00:18 +05:30
Vishnu Mohandas 5f8648554a Remove unnecessary reloads 2021-02-08 20:21:48 +05:30
Vishnu Mohandas 3169962738 Persist the maxUpdationTime for all collections (factoring in the deleted ones) 2021-02-08 20:17:19 +05:30
Vishnu Mohandas a641c42e90 Remove corrupted files from the DB 2021-02-07 02:43:51 +05:30
Vishnu Mohandas fa5b806ed5 Publish sync status update only for non-local syncs 2021-02-07 01:50:37 +05:30
Vishnu Mohandas c444e08e63 Remove unused import 2021-02-07 01:45:18 +05:30
Vishnu Mohandas ca5a30e98a Ensure that sync interruptions are handled gracefully 2021-02-06 14:24:25 +05:30
Vishnu Mohandas 069e504b61 Cache memories 2021-02-05 22:31:55 +05:30
Vishnu Mohandas 39b6141f2d Update messages for sync errors 2021-02-05 21:37:14 +05:30
Vishnu Mohandas 417e83987c Parse storage quota exceeded errors 2021-02-03 00:31:32 +05:30
Vishnu Mohandas 86f97e9c66 Clear and restart uploads when a subscription is purchased 2021-02-02 23:55:43 +05:30
Vishnu Mohandas fabe447439 No need to abort eagerly 2021-02-02 23:33:51 +05:30
Vishnu Mohandas cfee0a0120 Update header in case of subscription expiry 2021-02-02 22:27:16 +05:30
Vishnu Mohandas a10ad8c279 Handle subscription expired errors 2021-02-02 22:05:38 +05:30
Vishnu Mohandas b9599383e2 Enable upgrades and downgrades on PlayStore 2021-02-02 00:44:04 +05:30
Vishnu Mohandas 7a149d08ac Enable sync 2021-02-01 17:10:15 +05:30
Vishnu Mohandas 8292ce2621 Prevent downgrading to a plan that provides lesser storage than what has been consumed 2021-02-01 16:44:22 +05:30
Vishnu Mohandas a7eb3d8653 Move bytes to GB conversion to a util 2021-02-01 16:32:30 +05:30
Vishnu Mohandas 6fdbba8d73 Update subscription model 2021-02-01 16:08:07 +05:30
Vishnu Mohandas c2dbdaaf7b Rename function 2021-02-01 02:24:22 +05:30
Vishnu Mohandas f962230060 Move code to fetch usage to BillingService 2021-02-01 02:24:00 +05:30
Vishnu Mohandas 79d312f263 Revert to official IAP library since purchases aren't getting completed on iOS 2021-02-01 02:11:41 +05:30
Vishnu Mohandas 007389a9d3 Clear transaction only for iOS 2021-01-31 16:45:40 +05:30
Vishnu Mohandas f320d00ef8 Migrate to third party library for IAP 2021-01-30 13:27:18 +05:30
Vishnu Mohandas 2223c4103e Check for updates to subscription if it is locally expired 2021-01-29 17:12:15 +05:30
Vishnu Mohandas 65a4c838dc Make subscription verification async 2021-01-27 16:28:23 +05:30
Vishnu Mohandas 7e444642db Report updated purchases from BillingService 2021-01-27 14:25:58 +05:30
Vishnu Mohandas 70f5fbacd7 Blue blue blue 2021-01-26 16:56:35 +05:30
Vishnu Mohandas 013c1576be Merge branch 'encrypt-collection-name' into ui_refresh 2021-01-25 15:20:53 +05:30
Abhinav-grd a395e27f80 refactored keyDecryption logic into seperate function 2021-01-25 10:55:26 +05:30
Abhinav-grd 75e27aa51f collectionService changes 2021-01-25 00:29:39 +05:30
Abhinav-grd 73fa2aad9e added null check to encryptedName 2021-01-24 21:37:37 +05:30
Abhinav-grd c4e19c56cf cached collection before calling getCollectionKey 2021-01-24 21:17:51 +05:30
Abhinav-grd b5f05b0afd set default version as 0 and corrected version check 2021-01-24 21:17:42 +05:30
Abhinav-grd 41bc291715 moved name decryption logic to _cacheCollectionAttributes 2021-01-24 16:46:00 +05:30
Abhinav-grd cc5dc4aa43 set version default value to zero 2021-01-24 11:52:01 +05:30
Abhinav-grd d96f4d968c cached Collection to use getCollection in decryptName funnction 2021-01-23 18:15:11 +05:30
Vishnu Mohandas f4a8867bcc Fix validity condition for subscriptions 2021-01-23 11:54:22 +05:30
Abhinav-grd 9881c8782d added getcollectionWithDecryptedName function 2021-01-22 14:48:56 +05:30
Abhinav-grd bc0718d806 add version check in decryptCollectionPath to get correct decryptionKey 2021-01-22 14:04:49 +05:30
Abhinav-grd fd322dac33 changed path encryption key and added versioning 2021-01-22 14:00:51 +05:30
Abhinav-grd 0d4b87da55 upated collection creating function send encrypted name 2021-01-22 13:49:27 +05:30
Vishnu Mohandas a944367766 Don't check for validity of subscription to trigger syncs 2021-01-18 22:41:40 +05:30
Vishnu Mohandas 55af1f0cfb Update billing service 2021-01-18 22:33:16 +05:30
Vishnu Mohandas 7728fb8028 Remove verbose log line 2021-01-18 22:32:51 +05:30
Vishnu Mohandas 6a71c6ecb5 Update API to verify subscription 2021-01-18 21:50:53 +05:30
Vishnu Mohandas 9a49d5eb8b Trigger sync on connectivity changes only if the user can upload photos 2021-01-14 01:11:32 +05:30
Vishnu Mohandas 4f18ef6140 Prompt for permissions only when sync is triggered in the foreground 2021-01-13 23:09:33 +05:30
Vishnu Mohandas 94ca34de4d Fix sync stop functionality 2021-01-13 14:20:14 +05:30
Vishnu Mohandas 2e8b3b25fe Load subscription from server using the verification data fetched from IAP 2021-01-11 03:01:13 +05:30
Vishnu Mohandas dda304fca8 Remove unused imports 2021-01-11 03:00:26 +05:30
Vishnu Mohandas 15cbdc2dde Move more content to lowercase 2021-01-08 22:41:32 +05:30
Vishnu Mohandas e86e38739a Convert error dialogs to lowercase 2021-01-08 22:36:52 +05:30
Vishnu Mohandas 8f17f3d4bf Use unthreatening lower case 2021-01-08 22:32:41 +05:30
Vishnu Mohandas 8d09418427 Add a subcription chooser page 2021-01-06 21:39:42 +05:30
Vishnu Mohandas 23feafcca9 Add todo 2021-01-06 17:27:35 +05:30
Vishnu Mohandas 540cea31df Persist subscription plan returned by the server 2021-01-06 17:26:03 +05:30
Vishnu Mohandas d3d9e2bbf7 Rename passphrase to password 2021-01-05 19:57:02 +05:30
Vishnu Mohandas 669eed55e4 Add BillingService 2021-01-05 15:11:32 +05:30
Vishnu Mohandas b699a94b58 Prevent duplicate uploads during reinstallations 2021-01-02 14:34:36 +05:30
Vishnu Mohandas c4cc453541 Better logs 2021-01-02 13:32:29 +05:30
Vishnu Mohandas 96456bf01f Handle lack of permissions gracefully 2020-12-08 04:33:25 +05:30
Vishnu Mohandas 6a26d7482f Trigger a silent sync once a collection's share status is changed 2020-12-04 04:03:24 +05:30
Vishnu Mohandas 7b721e596b Add and remove from favorites silently 2020-12-04 04:00:10 +05:30
Vishnu Mohandas ae924a52ee Sync collections after uploads 2020-12-04 03:49:25 +05:30
Vishnu Mohandas 3b138aa6f4 Show the sync indicator only when there's a diff to be applied or uploaded 2020-12-04 03:17:06 +05:30
Vishnu Mohandas 515342e003 Fetch diff from only those collections that have changed 2020-12-04 02:31:24 +05:30
Vishnu Mohandas 2e0a4cff32 Clear cache once an existing collection item has been updated 2020-12-01 14:37:48 +05:30
Vishnu Mohandas d5c1a5670e Remove code meant for debugging 2020-12-01 14:26:37 +05:30
Vishnu Mohandas 350b6423cf Update files that haven't been uploaded too 2020-12-01 13:39:02 +05:30
Vishnu Mohandas d318a57d23 Implement ability to update files on remote 2020-12-01 00:12:11 +05:30
Vishnu Mohandas c3bd8c7f2b Clear cache on iOS to reduce disk storage consumption 2020-11-30 15:50:08 +05:30
Vishnu Mohandas 792069fef1 Add log statement 2020-11-22 14:27:43 +05:30
Vishnu Mohandas a6c3913af5 Convert HEIC images on Android 2020-11-20 16:35:17 +05:30
Vishnu Mohandas 34ffc9e5a1 Log all network requests 2020-11-19 23:52:30 +05:30
Vishnu Mohandas 6f8a1a5427 Show error dialog on registration blocked error 2020-11-17 11:48:46 +05:30
Vishnu Mohandas 1947970b0a Sync only when WiFi is available 2020-11-16 22:05:16 +05:30
Vishnu Mohandas d1834985d5 Refresh sync indicator on user login 2020-11-15 12:49:51 +05:30
Vishnu Mohandas 8334ec809e Make sure that the right files are updated while applying a diff 2020-11-14 16:17:28 +05:30
Vishnu Mohandas ee8d1e653c Replace when conflicts are encountered while applying remote diff 2020-11-14 15:41:12 +05:30
Vishnu Mohandas c6678cd735 Show a sync status indicator on top 2020-11-12 22:02:10 +05:30
Vishnu Mohandas 6891beeb48 Make sure that upload resumes when possible 2020-11-09 23:36:27 +05:30
Vishnu Mohandas 433e11882a Fix race conditions in the upload flow 2020-11-09 21:40:43 +05:30
Vishnu Mohandas dc9092bcfe Trigger UI refresh when a collection is updated 2020-11-09 18:26:50 +05:30
Vishnu Mohandas 889cb027ca Remove redundant check 2020-11-09 18:21:24 +05:30
Vishnu Mohandas e825798433 Enable parallel uploads 2020-11-09 17:58:43 +05:30
Vishnu Mohandas 241cfe5478 Minor refactor 2020-11-07 15:46:30 +05:30
Vishnu Mohandas 58610b7cdd Ensure that the parsed favorites collection is owned by the user 2020-11-05 12:02:56 +05:30