Commit graph

632 commits

Author SHA1 Message Date
Neeraj Gupta 2474130147
fix logging 2021-09-20 17:57:12 +05:30
Neeraj Gupta be8019f338
SharedMedia: Fix handling of video media type 2021-09-20 17:33:34 +05:30
Neeraj Gupta ccbcef0b6d
Support for generating thumbnail for shared video file 2021-09-20 17:22:08 +05:30
Neeraj Gupta 81eeeb7aeb
magic-metadata: rename 2021-09-20 12:11:38 +05:30
Neeraj Gupta fd95bcdfe8
[shared-media] ignore unsupported file types 2021-09-20 11:48:09 +05:30
Neeraj Gupta af8e1a0ff5
trigger remote sync when files magic metadata is out of sync 2021-09-18 10:23:27 +05:30
Neeraj Gupta e9de949468
[archive] more refactoring 2021-09-18 09:24:32 +05:30
Neeraj Gupta e3c0888083
archive: minor refactor 2021-09-18 09:13:13 +05:30
Neeraj Gupta 8d66af68ac
Support archiving memories & hide them from home page 2021-09-16 23:03:16 +05:30
Neeraj Gupta df4d6b43d4
Parse magic metadata on diff fetch 2021-09-16 22:52:19 +05:30
Neeraj Gupta f3e131e160
Sync service to update magic metadata on remote 2021-09-16 22:51:27 +05:30
vishnukvmd 82aeff80cc Execute deletion on remote 2021-09-16 02:20:13 +05:30
vishnukvmd fbf337c93c Fix lint warnings 2021-09-16 02:14:52 +05:30
Neeraj Gupta c416ca1e94
Merge pull request #41 from ente-io/move_files
Support for moving files between albums
2021-09-13 18:16:49 +05:30
vishnukvmd f2dacffc56 Set color of the dialog button text 2021-09-13 14:17:39 +05:30
Neeraj Gupta 5fa838338c fileTooLargeErr: fix status code mapping 2021-09-12 06:33:54 +05:30
Neeraj Gupta 9507222d9e upload: stop logging fileTooLargeErr as error 2021-09-12 06:26:56 +05:30
vishnukvmd 1578bf2529 Persist updated sort key to disk 2021-09-11 12:31:47 +05:30
Neeraj Gupta 73911b0631 await on localSettings init 2021-09-09 11:23:51 +05:30
Neeraj Gupta 6e1f5558af Gracefully handle deletion of files in app cache 2021-09-09 11:20:55 +05:30
Neeraj Gupta 512b724f8e Fix sort option names 2021-09-09 01:49:25 +05:30
Neeraj Gupta 8404c87791 Support sorting on ente albums by name, recent photo & last modified 2021-09-09 01:36:37 +05:30
Neeraj Gupta 77721ca3b3 Support for persisting sort settings on device 2021-09-09 00:04:20 +05:30
Neeraj Gupta 1e81500edf Linter: fix list warning 2021-09-05 14:57:07 +05:30
Neeraj Gupta 586bb42458 Linter: Fixed unused imports 2021-09-05 11:52:12 +05:30
Neeraj Gupta 3c8b06ad6a Linter: replace FlatButton with TextButton 2021-09-04 15:51:54 +05:30
Neeraj Gupta 3f27c83abd Show correct err when verification code has expired 2021-09-04 15:51:07 +05:30
Neeraj Gupta d47517c639 Log additional details for invalidFile errors 2021-09-01 16:08:00 +05:30
vishnukvmd b97fb12b05 Clear origin files that are cached 2021-08-24 12:44:51 +05:30
vishnukvmd 66e2b5ca7a Add an option to fetch origin file from disk 2021-08-24 01:59:37 +05:30
Vishnu Mohandas bc768cf7fd
Merge pull request #25 from ente-io/bug_fix_sourcePathOnNull 2021-08-22 10:59:22 +05:30
Neeraj Gupta 402cd380d5 Log invalid file extension 2021-08-22 10:52:30 +05:30
Neeraj Gupta 55890f5396 Fix handling of invalid files
When we don't await on _onInvalidFileError, then it result i the following  NPE  error:

> NoSuchMethodError: The getter 'sourceFile' was called on null.
2021-08-22 10:21:25 +05:30
vishnukvmd f8f589f975 Fix exif local storage 2021-08-18 19:32:37 +05:30
vishnukvmd 97ea3b2777 Add file subtype and video duration to metadata 2021-08-18 17:43:20 +05:30
vishnukvmd dd941e6e31 Add file hash to metadata 2021-08-18 17:37:50 +05:30
vishnukvmd 1fe20b579d Encrypt fileEncryptionKey outside the upload function 2021-08-16 17:01:59 +05:30
vishnukvmd 474c9cc41d Add an option to view logs 2021-08-09 20:05:17 +05:30
vishnukvmd f6322a9b28 Show warning before sending logs 2021-08-09 19:42:42 +05:30
vishnukvmd 528b7da54e Remove all lengthSync ops 2021-08-09 12:04:42 +05:30
vishnukvmd 7792c3d6d0 Remove readAsBytesSync 2021-08-09 12:04:42 +05:30
vishnukvmd 1d6fc95593 Remove all writeAsBytesSync ops 2021-08-09 12:04:42 +05:30
vishnukvmd b11ee940f3 Move delete to async ops 2021-08-09 12:04:42 +05:30
vishnukvmd 5809b9b18d Handle cases where the originFile is null 2021-08-06 14:25:07 +05:30
vishnukvmd 7e2ead40f8 Change live photo name 2021-08-06 14:22:07 +05:30
vishnukvmd 18b6372835 Use await instead of chaining call backs 2021-08-06 14:14:32 +05:30
Neeraj Gupta 8c39bd5b92 Enable live photo in debug mode only 2021-08-05 22:57:00 +05:30
Neeraj Gupta 0ef4e5ad78 Fail livephoto upload if videoUrl is missing 2021-08-05 20:23:54 +05:30
Neeraj Gupta 512247a515 Merge remote-tracking branch 'origin/master' into live_photos 2021-08-05 15:09:52 +05:30
Neeraj Gupta 8a88bbfb2e Check if local file exists before deleting in db 2021-08-05 04:58:26 +05:30
Neeraj Gupta abe969cec0 minor fix to avoid edge-cases 2021-08-05 04:41:58 +05:30
Neeraj Gupta 46d3b34574 Fix bug in thumbnail lookup 2021-08-05 04:27:59 +05:30
vishnukvmd 30daf73bf1 Ignore invalid files whose thumbnails cannot be fetched 2021-08-05 02:43:30 +05:30
vishnukvmd ba61af7fa2 Increase size of thumbnails 2021-08-05 02:42:13 +05:30
vishnukvmd 8ac22e8d08 Prevent double-lockscreens while accessing sensitive information 2021-08-04 23:03:59 +05:30
vishnukvmd 7bb6f1840e Stop existing authentication attempts if any before issuing a new one 2021-08-04 21:40:34 +05:30
Neeraj Gupta 41f404c487 Share both img and video for live photo 2021-08-04 19:18:50 +05:30
Neeraj Gupta 82fa67ef9e Minor refactoring 2021-08-04 15:54:53 +05:30
Neeraj Gupta 771ceda332 LivePhoto: download and unzip livePhoto content 2021-08-03 20:11:40 +05:30
Neeraj Gupta 854a021cc8 Bug fix in livephoto upload flow 2021-08-03 20:11:40 +05:30
Neeraj Gupta 85f3eb2bff Refactor download & decrypt logic in separate util 2021-08-03 20:11:40 +05:30
Neeraj Gupta 5e38786fe1 LivePhoto: Support for uploading image & video in zipped format 2021-08-03 20:11:40 +05:30
vishnukvmd cf699872ce Increment the number of retry attempts correctly 2021-07-31 11:38:50 +05:30
vishnukvmd 47c8beb374 Send file and thumbnail sizes to the server for verification 2021-07-29 21:46:44 +05:30
vishnukvmd dfdf054e5c Retry failed upload API calls 2021-07-27 22:34:32 +05:30
vishnukvmd 73dfaa8a8e Fix lint warnings 2021-07-27 22:15:16 +05:30
vishnukvmd c8660b6420 Render data in GBs 2021-07-27 19:49:58 +05:30
Neeraj Gupta 1d8721803b Rename 2021-07-24 23:03:59 +05:30
Neeraj Gupta 830e83e3bb Gracefully handle deletion of unsynced files 2021-07-24 22:52:46 +05:30
Neeraj Gupta bb95979bb6 Support deleting shared media files from localStorage 2021-07-24 20:50:46 +05:30
Neeraj Gupta 48a2a55643 Handle missing shared media file 2021-07-24 19:08:47 +05:30
Neeraj Gupta 4bab7ca586 Store manual backup media in a separate directory 2021-07-24 19:00:33 +05:30
Neeraj Gupta 2559e90352 Formatting changes 2021-07-24 18:03:03 +05:30
Neeraj Gupta 6e1ea2ae6d Move app cache files identifier in constant 2021-07-23 18:23:39 +05:30
Neeraj Gupta 0b32796633 improve time parse logic from name for shared files 2021-07-23 18:15:11 +05:30
Neeraj Gupta 64f44ff50c Shared files: parse time from exif data 2021-07-23 13:58:11 +05:30
Neeraj Gupta f29abe8e72 Merge remote-tracking branch 'origin/master' into share_to_ente_android 2021-07-23 09:58:30 +05:30
vishnukvmd dbfcbdec64 Fix linter warnings 2021-07-23 00:03:35 +05:30
Neeraj Gupta 4cfe31406b ZoomableImg: Use helper method to get thumbnail and file 2021-07-22 19:51:24 +05:30
Neeraj Gupta b123ee0500 getThumbnailFromLocal: add size and quality as optional param 2021-07-22 16:32:45 +05:30
Neeraj Gupta 781a2f03f1 Listen to incoming media & prompt to all files in collection 2021-07-22 15:58:07 +05:30
Neeraj Gupta 77c2489714 Merge remote-tracking branch 'origin/master' into share_to_ente 2021-07-22 13:16:22 +05:30
vishnukvmd e7dd26c69e Fix lint warnings 2021-07-22 12:21:59 +05:30
Neeraj Gupta 9adf41fd2e Add support for uploading & reading image from app cache 2021-07-22 11:41:32 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
Neeraj Gupta 1c1fb43eda FileUploader: Move AssetEntity related logic in helper class 2021-07-21 16:40:21 +05:30
Neeraj Gupta 759c894a88 File: Add isRemoteFile util method 2021-07-20 12:08:38 +05:30
Neeraj Gupta 2ccdcc4a8a Track counter for fileDownload requests & cancel only when counter <= zero 2021-07-19 20:47:01 +05:30
Neeraj Gupta f8b01859c1 Remove unused methods 2021-07-16 22:31:22 +05:30
vishnukvmd a440fca9de Update logic to render number of uploaded files 2021-07-12 17:07:02 +05:30
Vishnu Mohandas 8be410b583 Reduce toast length 2021-06-29 20:56:36 +05:30
Vishnu Mohandas 4584a3911f Fix event data 2021-06-29 11:38:52 +05:30
Vishnu Mohandas 994d64eee5 Enable user interactions during a toast 2021-06-29 11:21:28 +05:30
Vishnu Mohandas 2dff31e405 Fix background color for dialog 2021-06-29 09:56:20 +05:30
Vishnu Mohandas a97b978848 Remove unused imports 2021-06-29 09:53:30 +05:30
Vishnu Mohandas aeb8c1ec69 Safe guard against empty file titles 2021-06-29 09:53:19 +05:30
Vishnu Mohandas 1f653c0f14 Convert only unknown images 2021-06-29 09:40:24 +05:30
Vishnu Mohandas 1a07114b5e Handle unknown file extensions gracefully 2021-06-29 09:37:13 +05:30
Vishnu Mohandas bf210d18ab Enable one-shot deletes for Android 11+ 2021-06-29 00:33:53 +05:30
Vishnu Mohandas dada941088 Fix iOS toasts 2021-06-29 00:18:33 +05:30
Vishnu Mohandas 03450cf57f Rename functions 2021-06-29 00:02:09 +05:30
Vishnu Mohandas 0b71e19962 Use a different toast library on iOS 2021-06-28 23:55:35 +05:30
Vishnu Mohandas 7f0deae679 Add hints for iOS 2021-06-28 22:21:52 +05:30
Vishnu Mohandas ecec55d0be Reformat code 2021-06-28 22:04:06 +05:30
Vishnu Mohandas b9f59c6ae3 Enhance delete on iOS 2021-06-28 22:02:29 +05:30
Vishnu Mohandas 248746c45f Merge branch 'master' of github.com:ente-io/frame 2021-06-28 21:43:24 +05:30
Vishnu 424f4db999 Improve file delete progress dialog 2021-06-28 21:38:07 +05:30
Vishnu 3419e42095 Add progress dialog 2021-06-28 21:22:21 +05:30
Vishnu c9c2d2ec0e Show dialog in the backup section widget 2021-06-28 20:00:48 +05:30
Vishnu 6bd8f413c3 Delete files in batches on Android 2021-06-28 18:24:57 +05:30
Vishnu 8ba259e147 Show more accurate usage stats 2021-06-28 18:24:27 +05:30
Vishnu 41ca328009 Add API to delete local files 2021-06-28 15:42:12 +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 Mohandas 7c06ea50b6 Reduce log level 2021-06-19 16:31:32 +05:30
Vishnu d3ee26db0c Process older photos 2021-06-15 17:27:33 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu 3bf844f834 Set type for deletedIDs 2021-06-14 02:08:26 +05:30
Vishnu 6861d0a399 Add logs for deletion 2021-06-14 01:39:06 +05:30
Vishnu 782e6c70f3 Mark files that were deleted during upload correctly 2021-06-14 01:35:42 +05:30
Vishnu 8026c12fc0 Safeguard against already deleted files 2021-06-14 01:19:25 +05:30
Vishnu d292fc8280 Add utility method to fetch all local IDs 2021-06-14 00:38:15 +05:30
Vishnu Mohandas f583d1f7b4 Add util for emailing logs 2021-06-12 16:03:24 +05:30
Vishnu cda1900d96 Remove redundant function 2021-06-11 12:49:19 +05:30
Vishnu Mohandas 5da2f35ee4 Add util to replace page 2021-06-09 19:07:20 +05:30
Vishnu Mohandas b0140f53c3 Save edited file to DB 2021-06-03 03:16:38 +05:30
Vishnu Mohandas 409543081d Add interface for image editor 2021-06-02 19:24:31 +05:30
Vishnu Mohandas 2932faac88 Offload email validation to plugin 2021-05-30 04:18:23 +05:30
Vishnu Mohandas 47997e2100 Upgrade dependencies 2021-05-30 03:28:42 +05:30
Vishnu Mohandas 0c10209624 Safe guard against invalid assets 2021-05-26 00:42:26 +05:30
Vishnu Mohandas ab2f13b8a6 Save guard against deletion errors 2021-05-25 17:56:31 +05:30
Vishnu Mohandas 2f9ccb6787 Merge branch 'master' into sign_up_flow 2021-05-14 03:12:42 +05:30
Vishnu Mohandas 2e31c98186 Reformat code 2021-05-13 21:00:34 +05:30
Vishnu Mohandas 540b64bbbc Remove verbose logs 2021-05-13 03:08:28 +05:30
Vishnu Mohandas 0969b8f73f Add comment linking to Github issue 2021-05-13 02:03:21 +05:30
Vishnu Mohandas 6f8324137c Safe guard against timeouts in fetching assets or origin files 2021-05-13 01:56:46 +05:30
Vishnu Mohandas 89790cc9c4 Remove redundant variable 2021-05-13 01:33:16 +05:30
Vishnu Mohandas e7a6722458 Update background color of progress dialog 2021-05-12 20:55:14 +05:30
Vishnu Mohandas 74470a7882 Smoothen the first load experience 2021-05-10 18:53:53 +05:30
Vishnu Mohandas 15b0d26bbc Handle invalid files gracefully 2021-05-09 19:55:31 +05:30
Vishnu Mohandas 96465a56fa Push to navigator without triggering a rebuild 2021-05-08 23:44:18 +05:30
Vishnu Mohandas 55decd001c Access code in main 2021-05-07 22:57:11 +05:30
Vishnu Mohandas dc460ffbe2 Remove unused cache 2021-05-07 21:00:52 +05:30
Vishnu Mohandas 85f155fe14 Maintain disk cache for thumbnails by self 2021-05-07 20:59:33 +05:30
Vishnu Mohandas caba788a6a Don't block on writing to cache to return the decrypted thumbnail 2021-05-07 04:05:56 +05:30
Vishnu Mohandas 51b1ef7e30 Move heavy decryption to a separate isolate 2021-05-04 21:13:19 +05:30
Vishnu Mohandas 078421b3b0 Make encrypt function async 2021-05-04 21:02:23 +05:30
Vishnu Mohandas a42ad9548a Fix metadata in file-deletion operations 2021-05-04 02:56:23 +05:30
Vishnu Mohandas d2ebcb12ca Factor out code to delete a file into a util 2021-05-04 02:44:44 +05:30
Vishnu Mohandas 211666c938 Remove debugging code 2021-05-04 00:18:13 +05:30
Vishnu Mohandas d5f9f3e497 Improve logic to load thumbnails 2021-05-03 20:48:56 +05:30
Vishnu Mohandas f0a2fa7e43 Move thumbnail ops to separate util 2021-05-03 02:22:56 +05:30
Vishnu Mohandas 0592ed04b0 Upgrade ALL packages! 2021-05-02 21:35:36 +05:30
Vishnu Mohandas e1522aa8e7 Add special handling for deleted files 2021-05-02 16:01:04 +05:30
Vishnu Mohandas dd007c2bc0 Handle errors during file deletion 2021-05-01 02:32:16 +05:30
Vishnu Mohandas be5f1d3bef Fix dialog dismissal issues with the deletion flow 2021-04-28 04:03:07 +05:30
Vishnu Mohandas 27773608f8 Sync silently with remote post deletion 2021-04-28 03:48:18 +05:30
Vishnu Mohandas 5a6d538879 Update the delete files API 2021-04-28 02:19:00 +05:30
Vishnu Mohandas c4af4a22a7 Pass list instead of iterable 2021-04-28 01:32:20 +05:30
Vishnu Mohandas 0f33fb750c Make utility function available publicly 2021-04-28 00:27:27 +05:30
Vishnu Mohandas 8a6d608f84 Preload remote files as well 2021-04-27 22:03:47 +05:30
Vishnu Mohandas c24a94181b Preload remote thumbnails too 2021-04-27 21:59:58 +05:30
Vishnu Mohandas 30cb575526 Increase number of concurrent downloads 2021-04-24 13:04:45 +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 8b73805af4 Implement a lazy loading gallery 2021-04-20 17:56:42 +05:30
Vishnu Mohandas a1d61fcd39 Remove verbose log line 2021-04-19 19:44:21 +05:30
Vishnu Mohandas ffa878e354 Extract method to clear cache to a util 2021-04-19 18:26:12 +05:30
Vishnu Mohandas 338217eac5 Reduce number of DB reads/writes during a diff fetch 2021-04-19 17:16:48 +05:30
Vishnu Mohandas 60555f35cf Reduce number of DB reads during diff fetch 2021-04-19 16:57:52 +05:30
Vishnu Mohandas c65f7ee770 Change background color for toasts 2021-04-06 05:36:54 +05:30
Vishnu Mohandas a21ddfb9c9 Change progress bar color 2021-04-02 05:00:11 +05:30
Vishnu Mohandas 3f4238bef9 Binary search to find appropriate mem and ops limits 2021-04-02 03:24:12 +05:30
Vishnu Mohandas 5d24c29dd4 Init libsodium 2021-04-02 00:33:55 +05:30
Vishnu Mohandas 53b81e537e Log verbose errors when a thumbnail download fails 2021-04-01 23:59:27 +05:30
Vishnu Mohandas d6bc9f72c4 Update progress dialog style 2021-03-31 13:54:50 +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 a4fd2f7cf4 Fix dialog dismissals 2021-03-21 16:51:45 +05:30
Vishnu Mohandas bf09a87997 Show lockscreen onStart and onResume 2021-03-21 14:02:10 +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 a7b2e63b1a Add an option to logout 2021-03-18 02:37:17 +05:30
Vishnu Mohandas 77cd8f6b52 Add hex util 2021-03-18 00:49:07 +05:30
Vishnu Mohandas 055d26d4c8 Log error only when file upload finally fails 2021-03-10 10:41:05 +05:30
Vishnu Mohandas 87f68e2b5a Handle deletion failures gracefully 2021-03-08 14:43:46 +05:30
Vishnu Mohandas f83e52f7c7 Log size of the file whose upload failed 2021-03-07 10:54:36 +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 b9e9aa393a Take a lock on a file before triggering it's upload 2021-03-03 21:37:02 +05:30
Vishnu Mohandas d7b3410753 Better logging in uploader 2021-03-03 21:34:45 +05:30
Vishnu Mohandas 3a2128618b Save guard against null responses 2021-03-03 10:28:36 +05:30
Vishnu Mohandas f986c9ae29 Make free plan configurable 2021-03-02 12:05:10 +05:30
Vishnu Mohandas b5affaa3c9 Lower log level 2021-03-02 00:25:10 +05:30
Vishnu Mohandas 9194c5d690 Reduce quality of the local thumbnail 2021-03-02 00:12:06 +05:30
Vishnu Mohandas b6c67c787a Use localID as the key for FileUploader 2021-02-26 19:42:23 +05:30
Vishnu Mohandas fef621155b Remove unnecessary log 2021-02-26 15:34:18 +05:30
Vishnu Mohandas 2759399ff3 Extract errors into a separate file 2021-02-26 14:51:47 +05:30
Vishnu Mohandas 1e38f083e0 Delete invalid files when encountered 2021-02-26 14:34:02 +05:30
Vishnu Mohandas 36db572c77 Guard against invalid assets 2021-02-26 14:26:20 +05:30
Vishnu Mohandas 6be3b5b277 Remove noisy logline 2021-02-26 14:02:30 +05:30
Vishnu Mohandas 7f638056a1 Log if the upload is forced 2021-02-26 14:02:16 +05:30
Vishnu Mohandas 23986a8b77 Add logs 2021-02-26 14:01:28 +05:30
Vishnu Mohandas 50a53f136e Minimize noise in logs 2021-02-26 14:00:50 +05:30
Vishnu Mohandas 85022575a1 Simplify force-upload flow 2021-02-26 13:58:01 +05:30
Vishnu Mohandas c0fd287b0e Add log for force uploads 2021-02-26 13:49:35 +05:30
Vishnu Mohandas 5f23d2c808 Remove redundant comment 2021-02-26 13:47:31 +05:30
Vishnu Mohandas 9aa13a83af Clean up force upload flow 2021-02-26 13:46:31 +05:30
Vishnu Mohandas 8dee68650e Upload thumbnails first and files next 2021-02-25 22:02:49 +05:30
Vishnu Mohandas a0614ad114 Clear upload queue with a reason 2021-02-25 21:44:27 +05:30
Vishnu Mohandas 8dfa777db3 Retry failed file puts 2021-02-25 21:23:32 +05:30
Vishnu Mohandas 3cb2b36c4c Clear upload queue if a subscription related error is encountered 2021-02-25 21:18:34 +05:30
Vishnu Mohandas 2659cb8ebc Parse StorageLimitExceededError while fetching upload URLs 2021-02-25 20:54:18 +05:30
Vishnu Mohandas 75baddd762 Log stacktrace 2021-02-18 15:48:33 +05:30
Vishnu Mohandas 04e9184883 Reload file repository once a file has been uploaded or updated 2021-02-18 15:48:14 +05:30
Vishnu Mohandas fb2600d1b1 Log each upload attempt 2021-02-18 12:49:13 +05:30
Vishnu Mohandas 380ce36e7d Show next renewal date on the susbcription screen 2021-02-16 19:31:29 +05:30
Vishnu Mohandas 46cf652463 Trigger CollectionUpdatedEvent selectively 2021-02-14 17:12:11 +05:30
Vishnu Mohandas 725455b3da Compress thumbnails repeatedly 2021-02-14 12:31:57 +05:30
Vishnu Mohandas 703d331bd0 Rename file 2021-02-13 18:00:18 +05:30
Vishnu Mohandas abca565a8a Fetch only required number of URLs 2021-02-13 17:58:35 +05:30
Vishnu Mohandas 3be8ee5299 Keep a limit on the the number reupload attempts 2021-02-13 17:57:41 +05:30
Vishnu Mohandas 10c0a52bf2 Handle contentLength errors 2021-02-13 17:56:37 +05:30
Vishnu Mohandas c64c8c5efe Increase number of parallel thumbnail download requests 2021-02-09 17:46:20 +05:30
Vishnu Mohandas 2af6516c90 Throttle the maximum number of concurrent thumbnail downloads 2021-02-09 17:34:40 +05:30
Vishnu Mohandas 77b909f3d2 Remove legacy code related to orma.in where files could be unencrypted 2021-02-08 14:35:41 +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 3a0c21ddd8 Fix issue with rendering a progress dialog 2021-02-07 01:17:42 +05:30
Vishnu Mohandas 2c5f7b97c4 Fix progress dialog color 2021-02-06 01:24:39 +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 a7eb3d8653 Move bytes to GB conversion to a util 2021-02-01 16:32:30 +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