Commit graph

157 commits

Author SHA1 Message Date
vishnukvmd
06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta
ca1d9388e2
Fix share to ente upload 2022-07-06 01:35:51 +05:30
Neeraj Gupta
460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta
fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta
1911f8fa83
dart format 2022-07-03 15:19:33 +05:30
Neeraj Gupta
6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta
ccd587da3e
Handle no element stateError while fetching urls 2022-06-24 08:50:17 +05:30
Neeraj Gupta
5c9cf03250
use support directory for logs 2022-06-23 09:02:43 +05:30
Neeraj Gupta
a6f7974278
Skip logging handled errors to sentry 2022-06-23 08:42:43 +05:30
Neeraj Gupta
b93379b8b2
use fetchUploadUrl instead of canUpload wrapper 2022-06-22 16:49:12 +05:30
Neeraj Gupta
76f279cb83
address review comment 2022-06-22 12:49:34 +05:30
Neeraj Gupta
2f847e0ccc
Verify if user can upload more files before preparing files for upload 2022-06-22 11:57:36 +05:30
Neeraj Gupta
ae99feaeaf
increase concurrent video upload limit to 2 2022-06-18 20:46:43 +05:30
Neeraj Gupta
00a65cfc1c
rename variable 2022-06-18 20:41:15 +05:30
Neeraj Gupta
22a46e2f25
fix another typo 2022-06-18 20:31:43 +05:30
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