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 |
|
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 |
|
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
|
15b0d26bbc
|
Handle invalid files gracefully
|
2021-05-09 19:55:31 +05:30 |
|
Vishnu Mohandas
|
55decd001c
|
Access code in main
|
2021-05-07 22:57:11 +05:30 |
|
Vishnu Mohandas
|
078421b3b0
|
Make encrypt function async
|
2021-05-04 21:02:23 +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
|
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
|
a7b2e63b1a
|
Add an option to logout
|
2021-03-18 02:37:17 +05:30 |
|
Vishnu Mohandas
|
055d26d4c8
|
Log error only when file upload finally fails
|
2021-03-10 10:41:05 +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
|
b5affaa3c9
|
Lower log level
|
2021-03-02 00:25:10 +05:30 |
|
Vishnu Mohandas
|
b6c67c787a
|
Use localID as the key for FileUploader
|
2021-02-26 19:42:23 +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 |
|