Commit graph

1385 commits

Author SHA1 Message Date
Vishnu Mohandas b7516e54c3 Add hook to recover account 2021-03-30 17:43:13 +05:30
Vishnu Mohandas 2c7ae8a10f Remove unused variable 2021-03-30 17:18:08 +05:30
Vishnu Mohandas 07dee381c1 Remove unused assets 2021-03-30 17:07:09 +05:30
Vishnu Mohandas deb2f69fcd Remove icon 2021-03-30 17:06:36 +05:30
Vishnu Mohandas 1d2a57f818 Add a hook to sign in 2021-03-30 16:38:41 +05:30
Vishnu Mohandas c61b71ea68 Make RecoveryKeyDialog dismissible when launched from the settings screen 2021-03-30 13:56:09 +05:30
Vishnu Mohandas 5170562d4c Add option to view recovery key 2021-03-30 13:37:31 +05:30
Vishnu Mohandas f32b65aa32 Remove unnecessary attribute 2021-03-30 13:25:29 +05:30
Vishnu Mohandas 737e9742c1 Extract RecoveryKeyDialog to a separate file 2021-03-30 13:24:03 +05:30
Vishnu Mohandas eea5b78531 Fix flow for key generation 2021-03-30 00:05:46 +05:30
Vishnu Mohandas 33a44dcee5 Delete generated recovery key file 2021-03-29 20:43:01 +05:30
Vishnu Mohandas b246d87191 Add a dialog to save recovery key 2021-03-29 20:39:12 +05:30
Vishnu Mohandas d7acc95855 Generate recovery key as per specs 2021-03-29 20:29:37 +05:30
Vishnu Mohandas ba48e51516 Update set key request contract 2021-03-28 18:13:44 +05:30
Vishnu Mohandas fe2db8a622 Minor change to string 2021-03-28 18:13:35 +05:30
Vishnu Mohandas b8fbd597dd Add a lil toast 2021-03-28 17:28:35 +05:30
Vishnu Mohandas 7d0200ea2e Fix pixel overflow 2021-03-28 17:24:04 +05:30
Vishnu Mohandas e42d478aa3 Add a link to "how it works" 2021-03-28 17:09:26 +05:30
Vishnu Mohandas 0f4d082048 Convert to StatelessWidget 2021-03-28 16:48:13 +05:30
Vishnu Mohandas a42427a809 Lock the password change screen behind a lockscreen 2021-03-26 21:45:51 +05:30
Vishnu Mohandas d12ab1b4e0 Add option to change password 2021-03-26 21:43:32 +05:30
Vishnu Mohandas 100ce80650 Ensure that unique entries are created for local files 2021-03-26 11:44:18 +05:30
Vishnu Mohandas a8a09e7305 Set unique keys for thumbnails 2021-03-26 01:35:39 +05:30
Vishnu Mohandas 3666c4fc75 Set default state for the important items filter 2021-03-26 01:34:33 +05:30
Vishnu Mohandas a9e18a4be7 Update logic for rendering important items 2021-03-26 01:24:05 +05:30
Vishnu Mohandas c39085c83e Fix padding on the settings screen 2021-03-26 01:04:23 +05:30
Vishnu Mohandas 1b8de3e619 Show backup indicator over the device folder thumbnail 2021-03-26 00:56:06 +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 2337317c6d Group files to be uploaded by localID 2021-03-26 00:35:23 +05:30
Vishnu Mohandas bdd6c9c4dc Update background dialog style 2021-03-26 00:14:27 +05:30
Vishnu Mohandas 0807e248af Show folder selection dialog only after key configuration is complete 2021-03-25 22:28:47 +05:30
Vishnu Mohandas f38db04f8f Reduce scope of state refresh 2021-03-25 22:28:30 +05:30
Vishnu Mohandas d775051d35 Simplify logic to count uploads 2021-03-25 20:14:58 +05:30
Vishnu Mohandas b7f7b95236 Resort to creationTime if modificationTime is found to be null 2021-03-23 13:33:51 +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 da47cb7775 Show backup folder selection dialog when required 2021-03-22 12:00:06 +05:30
Vishnu Mohandas 887bcbf06a Add functionality to add and remove folders from queue 2021-03-22 11:59:53 +05:30
Vishnu Mohandas ec4852057d Handle empty list 2021-03-22 11:59:21 +05:30
Vishnu Mohandas 1b12271aa1 Add platform specific folders 2021-03-22 11:25:12 +05:30
Vishnu Mohandas 23dd03a21c Sort device gallery according to creation time 2021-03-22 10:50:07 +05:30
Vishnu Mohandas 470573cbc1 Remove debug statement 2021-03-22 01:36:31 +05:30
Vishnu Mohandas e2f8a8523e Consoldiate settings 2021-03-22 01:33:51 +05:30
Vishnu Mohandas 3a8431f354 Remove unused import 2021-03-22 01:28:25 +05:30
Vishnu Mohandas 42f188c5ef Show header only once user's have signed in 2021-03-22 01:24:55 +05:30
Vishnu Mohandas 66c98ae3af Add header to enable and disable backups from device folders 2021-03-22 01:23:02 +05:30
Vishnu Mohandas ccd160bcbc Remove unused setter 2021-03-22 01:13:26 +05:30
Vishnu Mohandas 9eb55326b3 Remove unused attributes from configuration 2021-03-22 01:10:10 +05:30
Vishnu Mohandas f83bc6b091 Add widget to show folders to be backed up 2021-03-22 01:07:13 +05:30
Vishnu Mohandas ea28fd046a Add an option to hide from recents 2021-03-21 18:04:24 +05:30
Vishnu Mohandas a0b3ff20f2 Change styling of dialog buttons 2021-03-21 17:41:09 +05:30
Vishnu Mohandas 5918d996a4 Perform credential fetch within await block 2021-03-21 17:34:57 +05:30
Vishnu Mohandas 4401bd19ed Dismiss dialog correctly 2021-03-21 17:34:41 +05:30
Vishnu Mohandas a4fd2f7cf4 Fix dialog dismissals 2021-03-21 16:51:45 +05:30
Vishnu Mohandas 4b1439eab1 Show settings screen for non-signed in users too 2021-03-21 15:28:55 +05:30
Vishnu Mohandas cabd5f5069 Remove animations from app lock 2021-03-21 15:23:21 +05:30
Vishnu Mohandas bf09a87997 Show lockscreen onStart and onResume 2021-03-21 14:02:10 +05:30
Vishnu Mohandas 80d62620a1 Fix typo 2021-03-21 12:01:01 +05:30
Vishnu Mohandas 3d7e00e61f Define a lockscreen widget 2021-03-21 11:57:42 +05:30
Vishnu Mohandas 119a1ef4c3 Remove unused variable 2021-03-21 11:57:35 +05:30
Vishnu Mohandas 93f5557c8d Remove unused sync state 2021-03-21 11:57:23 +05:30
Vishnu Mohandas 41af9c6537 Merge branch 'master' into lockscreen 2021-03-21 11:15:20 +05:30
Vishnu Mohandas 98dbe7bcfe Remove unused sync state 2021-03-20 17:02:33 +05:30
Vishnu Mohandas 1ff51570c0 Ignore local diff events 2021-03-20 16:57:39 +05:30
Vishnu Mohandas 0bb7e1c806 Ignore local diff events 2021-03-20 16:57:01 +05:30
Vishnu Mohandas 088b73eb70 Add setting to show lockscreen 2021-03-19 18:57:39 +05:30
Vishnu Mohandas 8cb7f885b3 Default to sensitive limits for computation and memory for key derivation 2021-03-18 14:57:59 +05:30
Vishnu Mohandas 317bbf8f18 Remove all instances of kekHash 2021-03-18 13:39:02 +05:30
Vishnu Mohandas e3b76edddf Update roadmap URL 2021-03-18 03:40:36 +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 9efeeff4dd Remove debug code 2021-03-18 00:54:16 +05:30
Vishnu Mohandas bfdbe1b098 Upgrade flutter 2021-03-18 00:49:11 +05:30
Vishnu Mohandas 77cd8f6b52 Add hex util 2021-03-18 00:49:07 +05:30
Vishnu Mohandas 5e927ea239 Change string 2021-03-18 00:19:45 +05:30
Vishnu Mohandas 964d499f16 Remove keys if a token does not exist 2021-03-17 01:52:06 +05:30
Vishnu Mohandas 3b8eec3252 Small case 2021-03-15 20:44:43 +05:30
Vishnu Mohandas 7886d5daa9 Remove unused import 2021-03-15 20:14:52 +05:30
Vishnu Mohandas 6ace5f1b38 Break on cancellation 2021-03-15 19:45:30 +05:30
Vishnu Mohandas 9d2df8bcf1 Small case 2021-03-15 19:45:19 +05:30
Vishnu Mohandas 72c7498da4 Update text 2021-03-12 14:18:10 +05:30
Vishnu Mohandas dc80d99df3 Fix padding 2021-03-12 14:17:57 +05:30
Vishnu Mohandas 99ede8f687 Add happy path 2021-03-12 14:10:36 +05:30
Vishnu Mohandas cc013a8f9e Convert to stateless widget 2021-03-12 13:42:17 +05:30
Vishnu Mohandas 055d26d4c8 Log error only when file upload finally fails 2021-03-10 10:41:05 +05:30
Vishnu Mohandas 1e4ed02359 Remove listener from memories widget when unmounted 2021-03-10 10:40:56 +05:30
Vishnu Mohandas 6da4743f17 Update subscription page 2021-03-10 08:59:39 +05:30
Vishnu Mohandas 2221e16dd3 Refresh UI when permission is not granted 2021-03-10 08:58:33 +05:30
Vishnu Mohandas 0e130a11cc Inform users about the free plan 2021-03-10 08:38:45 +05:30
Vishnu Mohandas ff48d2d2fc Update debug endpoint 2021-03-10 08:38:28 +05:30
Vishnu Mohandas ed2ff60cc8 Increase padding 2021-03-08 16:18:06 +05:30
Vishnu Mohandas 69657180ec Fix deletion string 2021-03-08 14:59:59 +05:30
Vishnu Mohandas 87f68e2b5a Handle deletion failures gracefully 2021-03-08 14:43:46 +05:30
Vishnu Mohandas 1c084a6034 Show option to delete a file from device only if it has a local ID 2021-03-08 13:21:46 +05:30
Vishnu Mohandas 1c01ee8a57 Point to prod 2021-03-08 13:08:59 +05:30
Vishnu Mohandas eea7143180 Hide debug label 2021-03-08 13:08:54 +05:30
Vishnu Mohandas 5a9fe801bd Reduce padding for dates 2021-03-08 13:08:45 +05:30
Vishnu Mohandas 60a9fd5b73 Deal with network errors separately 2021-03-07 10:55:07 +05:30
Vishnu Mohandas f83e52f7c7 Log size of the file whose upload failed 2021-03-07 10:54:36 +05:30
Vishnu Mohandas 98ea1b062a Revert "Change placeholder text"
This reverts commit 9f90dc561a.
2021-03-05 17:31:34 +05:30
Vishnu Mohandas 9f90dc561a Change placeholder text 2021-03-05 00:16:06 +05:30
Vishnu Mohandas 5cdcf5f743 Capture upload errors triggered in the background 2021-03-05 00:06:40 +05:30
Vishnu Mohandas 15bd805843 Rename param 2021-03-04 23:02:57 +05:30
Vishnu Mohandas d4ce8fc162 Simplify detection of background uploads 2021-03-04 22:58:27 +05:30
Vishnu Mohandas d2fd2004f4 Add a different name for files being uploaded in the background 2021-03-04 21:05:13 +05:30
Vishnu Mohandas f01933d62a Reload prefs before checking for last heartbeat time 2021-03-04 20:44:37 +05:30
Vishnu Mohandas 3519d78be7 Add a heart beat for BG tasks, that can indicate whether the locks are valid or not 2021-03-04 20:44:08 +05:30
Vishnu Mohandas 889b9cbd38 Refactor FileUploader 2021-03-04 20:29:32 +05:30
Vishnu Mohandas a557723061 Refresh on background updates 2021-03-04 06:17:49 +05:30
Vishnu Mohandas 3b3e5b60d1 Make UploadLocksDB dumber 2021-03-04 01:48:50 +05:30
Vishnu Mohandas 0b90ea1271 Update timestamp on disk when a background upload is completed 2021-03-04 01:43:55 +05:30
Vishnu Mohandas 74d108c113 Minor refactor 2021-03-04 01:39:57 +05:30
Vishnu Mohandas 3c331c174a Surface the error to the completer 2021-03-03 23:11:01 +05:30
Vishnu Mohandas fe2faba89a Handle DNS resolution errors gracefully 2021-03-03 22:29:11 +05:30
Vishnu Mohandas 2c542806da Re-enable background-fetch 2021-03-03 21:37:15 +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 bf9fcdfc0e Create an UploadLocks DB 2021-03-03 21:36:34 +05:30
Vishnu Mohandas d7b3410753 Better logging in uploader 2021-03-03 21:34:45 +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 b2ea5fbfa0 Expose total uploaded files in FilesDB 2021-03-03 21:31:40 +05:30
Vishnu Mohandas 33288c111f Delete temp folder remnants only once a day 2021-03-03 20:19:49 +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 3a2128618b Save guard against null responses 2021-03-03 10:28:36 +05:30
Vishnu Mohandas a1488b0b68 Log updates to sync status 2021-03-03 09:58:49 +05:30
Vishnu Mohandas 6086af784c Fix toast during onboarding 2021-03-03 01:06:43 +05:30
Vishnu Mohandas 79a21981f5 Add empty state for non-signed in users within the collection gallery 2021-03-03 00:32:03 +05:30
Vishnu Mohandas 5672cc7eb8 Log reasons for backup failure correctly 2021-03-02 12:54:03 +05:30
Vishnu Mohandas 627fe3f508 Hide the sync indicator on the memories widget 2021-03-02 12:53:15 +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 451e359491 Emit SubscriptionPurchasedEvent for free plans only during onboarding 2021-03-02 12:39:42 +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 99726eac4a Update remote asset URLs 2021-03-02 05:13:36 +05:30
Vishnu Mohandas 4f6386398d Change color of the thumbnail load state 2021-03-02 05:13:24 +05:30
Vishnu Mohandas 8ea3d0b708 Simplify SyncService state handling 2021-03-02 05:07:24 +05:30
Vishnu Mohandas aa52fea50a Remove headless task 2021-03-02 05:06:58 +05:30
Vishnu Mohandas 2d8041e77d Upgrade background_fetch 2021-03-02 03:39:15 +05:30
Vishnu Mohandas edec859103 Reset variable when the widget has changed 2021-03-02 03:39:03 +05:30
Vishnu Mohandas 9aed192e16 Upgrade Zone API 2021-03-02 00:56:35 +05:30
Vishnu Mohandas 8bafb4e4fb Revert "Remove stack traces"
This reverts commit 19bb5fdd26.
2021-03-02 00:54:02 +05:30
Vishnu Mohandas 910a1526e6 Don't treat transitions from free plans as a cross grade 2021-03-02 00:30:51 +05:30
Vishnu Mohandas 19bb5fdd26 Remove stack traces 2021-03-02 00:25:45 +05:30
Vishnu Mohandas b5affaa3c9 Lower log level 2021-03-02 00:25:10 +05:30
Vishnu Mohandas dcb4b4528f Log errors in the subscription flow 2021-03-02 00:12:37 +05:30
Vishnu Mohandas 9194c5d690 Reduce quality of the local thumbnail 2021-03-02 00:12:06 +05:30
Vishnu Mohandas 130d58f24b Uncomment relevant code 2021-03-01 17:43:32 +05:30