Commit graph

406 commits

Author SHA1 Message Date
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