Commit Graph

28 Commits

Author SHA1 Message Date
Chun-Hung Tseng
64559fc589 Parallel upload encryption with concurrency control 2023-07-16 10:18:05 +02:00
Chun-Hung Tseng
0c3101417a Fix integration test 2023-07-16 10:16:35 +02:00
Chun-Hung Tseng
acbb0db3d0 Parallel upload block with concurrency control 2023-07-16 09:28:15 +02:00
Chun-Hung Tseng
78268b452e Parallel upload block (concurrency control in the next commit) 2023-07-16 06:42:26 +02:00
Chun-Hung Tseng
cedf21b695 Replace disableCaching with enableCaching 2023-07-16 06:06:16 +02:00
Chun-Hung Tseng
ad20ba8bd0 Refactor file download to return file ReadCloser, and also support
on-demand block decryption
2023-07-15 21:19:03 +02:00
Chun-Hung Tseng
d7a4545314 Implemented complete caching mechanism 2023-07-15 21:19:03 +02:00
Chun-Hung Tseng
34b79bffa4 Remove extra getLink call during file upload 2023-07-15 21:19:03 +02:00
Chun-Hung Tseng
4ae992cf98 Fix a bug in file upload, where the reader doesn't fully read till buffer full 2023-07-15 21:19:03 +02:00
Chun-Hung Tseng
db549cdb89 Add GetActiveRevisionAttrs 2023-07-15 21:19:03 +02:00
Chun-Hung Tseng
5719017050 Update the GetHashKey code 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
5e56932c15 Use CheckAvailableHashes for SearchByNameInActiveFolderByID 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
4924a926d6 Add insert kr to cache 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
d293198b51 Add insert link to cache
Add DisableLinkCaching config
2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
e330ee8276 Refactor GetLink in preparation for caching 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
01d4a4ab08 Add authHandler and deAuthHandler to the ProtonDrive init function 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
db0f81b687 Update README 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
916abed02a Fix file upload EOF bug 2023-07-15 21:19:02 +02:00
Chun-Hung Tseng
af49c9f19b Rewritten file upload logic (esp. on failed upload handling and big-file upload) 2023-07-15 21:18:58 +02:00
Chun-Hung Tseng
e294306c44 Fix default MIME type bug 2023-07-12 13:14:53 +02:00
Chun-Hung Tseng
c46d7d26da Return access credentials if it's a successful new login 2023-07-07 22:49:52 +02:00
Chun-Hung Tseng
d284d50b61 Refactor file upload
Use filename to detect MIME type

Update go modules
2023-07-06 14:56:07 +02:00
Chun-Hung Tseng
b675a36304 Add a new configuration option: UserAgent 2023-07-01 10:08:07 +02:00
Chun-Hung Tseng
a4e81165f9 Fix mainshareKR bug 2023-06-30 14:14:26 +02:00
Chun-Hung Tseng
208b70cfd4 Improve/refactor file upload - when the file draft exists
Add config option - ReplaceExistingDraft
Refactor and add integration tests
Update README and add notes for MIME parsing and progress bug
Improve returned errors
2023-06-30 14:02:15 +02:00
Chun-Hung Tseng
fef42081b3 Make AppVersion a configuration option
Refactor out NewClientWithRefresh in the login function
2023-06-29 22:23:52 +02:00
Chun-Hung Tseng
257ea3c1fe Initial commit 2023-06-29 00:05:18 +02:00
Chun-Hung Tseng
944c82c536 Init 2023-06-20 17:10:00 +02:00