Commit graph

142 commits

Author SHA1 Message Date
Neeraj Gupta c4f7b9abc2
fix stupid typo 2022-06-18 20:29:39 +05:30
Neeraj Gupta 3e26efb30f
minor refactor 2022-06-18 20:24:25 +05:30
Neeraj Gupta 467c272939
upload one video at a time 2022-06-18 20:22:33 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta e4a52845ae
switch to new endpoint for fileUpdate 2022-05-10 13:15:11 +05:30
vishnukvmd 1a75f9e9f8 Remove files that have been deleted from the upload queue 2021-12-07 08:58:06 +05:30
vishnukvmd 550b7d5467 Log issues with fetching upload URLs 2021-12-02 10:38:51 +05:30
vishnukvmd 03152dcaf2 Start the upload timeout after it's processing has begun 2021-11-27 20:42:45 +05:30
vishnukvmd afeab0fcd6 Time out uploads 2021-11-27 20:34:21 +05:30
vishnukvmd 9c4d7e5d44 Improve log statement 2021-11-27 20:15:50 +05:30
vishnukvmd 02b5197cdd Throw an exception when file upload times out 2021-11-27 20:12:53 +05:30
vishnukvmd 8f542745d3 Timeout file uploads after 50m 2021-11-26 10:26:34 +05:30
Neeraj Gupta aa8f4b9bde
lint: enable directives_ordering for imports 2021-10-30 11:13:56 +05:30
vishnukvmd dcd61846a7 Parse updated files correctly 2021-10-26 18:01:36 +05:30
Neeraj Gupta 047b154156
trash_db: store file original metadata as json 2021-10-22 15:00:06 +05:30
vishnukvmd 615bee6e7a Add log statement to indicate that the file was updated 2021-10-18 18:06:10 +05:30
vishnukvmd 5eab93ee23 Ignore upload if file was already uploaded 2021-10-18 18:00:26 +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
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
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 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 18b6372835 Use await instead of chaining call backs 2021-08-06 14:14:32 +05:30
Neeraj Gupta 85f3eb2bff Refactor download & decrypt logic in separate util 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
Neeraj Gupta 830e83e3bb Gracefully handle deletion of unsynced files 2021-07-24 22:52:46 +05:30
Neeraj Gupta 1c1fb43eda FileUploader: Move AssetEntity related logic in helper class 2021-07-21 16:40:21 +05:30
vishnukvmd a440fca9de Update logic to render number of uploaded files 2021-07-12 17:07:02 +05:30
Vishnu Mohandas aeb8c1ec69 Safe guard against empty file titles 2021-06-29 09:53:19 +05:30
Vishnu Mohandas 41c1f39421 Ignore invalid files 2021-06-19 16:31:32 +05:30
Vishnu Mohandas 7c06ea50b6 Reduce log level 2021-06-19 16:31:32 +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 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