Commit graph

41 commits

Author SHA1 Message Date
Vishnu Mohandas 10c0a52bf2 Handle contentLength errors 2021-02-13 17:56:37 +05:30
Vishnu Mohandas 383b67427f Reset cached value once subscription has been updated 2021-02-08 14:13:51 +05:30
Vishnu Mohandas a641c42e90 Remove corrupted files from the DB 2021-02-07 02:43:51 +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 38b2df9c58 Revert "Reduce the thumbnail until it's lower than the thumbnail limit"
This reverts commit 5d09e6b601.
2021-02-02 23:42:29 +05:30
Vishnu Mohandas 5d09e6b601 Reduce the thumbnail until it's lower than the thumbnail limit 2021-02-02 23:27:53 +05:30
Vishnu Mohandas a10ad8c279 Handle subscription expired errors 2021-02-02 22:05:38 +05:30
Vishnu Mohandas 0ab2fbd755 Remove verbose log 2021-02-02 17:07:07 +05:30
Vishnu Mohandas f7cbd2c284 Handle null locations gracefully 2021-01-19 14:00:48 +05:30
Vishnu Mohandas 94ca34de4d Fix sync stop functionality 2021-01-13 14:20:14 +05:30
Vishnu Mohandas 656af2969e Safeguard against IllegalStateException 2020-12-09 02:17:38 +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 51f083d290 Adopt API to update file if already uploaded 2020-11-30 23:15:21 +05:30
Vishnu Mohandas c3bd8c7f2b Clear cache on iOS to reduce disk storage consumption 2020-11-30 15:50:08 +05:30
Vishnu Mohandas 3f084bb38c Clear existing temp files if any before writing to them 2020-11-30 12:27:28 +05:30
Vishnu Mohandas 47052a6596 Compress iOS thumbnails 2020-11-22 23:37:40 +05:30
Vishnu Mohandas 34ffc9e5a1 Log all network requests 2020-11-19 23:52:30 +05:30
Vishnu Mohandas 316e1c53d7 Simplify the force upload flow 2020-11-19 20:29:01 +05:30
Vishnu Mohandas aa9929f07d Force upload files even on mobile data 2020-11-18 21:32:32 +05:30
Vishnu Mohandas 1947970b0a Sync only when WiFi is available 2020-11-16 22:05:16 +05:30
Vishnu Mohandas 06f5db3fd7 Ensure that temp files generated are deleted 2020-11-16 12:32:09 +05:30
Vishnu Mohandas 6891beeb48 Make sure that upload resumes when possible 2020-11-09 23:36:27 +05:30
Vishnu Mohandas ccbc3bec96 Fetch a batch of URLs in one go 2020-11-09 23:13:40 +05:30
Vishnu Mohandas 433e11882a Fix race conditions in the upload flow 2020-11-09 21:40:43 +05:30
Vishnu Mohandas e825798433 Enable parallel uploads 2020-11-09 17:58:43 +05:30
Vishnu Mohandas 7fe8f9fa40 Document h4ck 2020-10-25 05:10:53 +05:30
Vishnu Mohandas 6cabe8c21a Ensure that the location is saved to the metadata if unavailable before uploading 2020-10-25 05:09:46 +05:30
Vishnu Mohandas 805e5a8550 Prevent duplicate uploads across collections 2020-10-25 01:35:50 +05:30
Vishnu Mohandas f6e6e8bf49 Update contract of the FileUploader 2020-10-21 21:50:41 +05:30
Vishnu Mohandas 588fa6dca0 Log the upload speeds 2020-10-18 01:19:45 +05:30
Vishnu Mohandas 107c1b870e Send the collectionID in file creation requests 2020-10-13 00:45:01 +05:30
Vishnu Mohandas d5338af961 Update API endpoint to upload and fetch files 2020-10-11 05:59:31 +05:30
Vishnu Mohandas fa8a284af3 Encrypt file key with the collection key 2020-10-11 05:56:52 +05:30
Vishnu Mohandas bae5c9bf7d Explicitly state the sync nature of the encryption API 2020-10-11 05:08:22 +05:30
Vishnu Mohandas 266e1984ae Update file creation API params 2020-10-07 05:26:49 +05:30
Vishnu Mohandas 3f5d20027e Remove unnecessary model 2020-10-07 04:42:02 +05:30
Vishnu Mohandas 7f707d187e Refactor crypto util 2020-10-07 04:28:41 +05:30
Vishnu Mohandas 27f019af57 Move to XChaCha for thumbnail and metadata encryption 2020-10-07 04:25:59 +05:30
Vishnu Mohandas 16b2ff0624 Declutter root folder 2020-10-03 23:28:26 +05:30
Renamed from lib/file_uploader.dart (Browse further)