Chun-Hung Tseng
264c05c839
Improve 2FA and replacing existing draft error messages
2023-09-06 03:32:30 +02:00
Chun-Hung Tseng
cd239be14b
Merge pull request #14 from henrybear327/feat/two_password_mode
...
Add two-password mode
2023-09-06 08:55:36 +08:00
Chun-Hung Tseng
d5bf0418ca
Add two-password mode
2023-09-06 02:54:59 +02:00
Chun-Hung Tseng
631e846856
Merge pull request #12 from henrybear327/fix/deref_nil_ptr
...
Fix de-referencing nil pointer bug in GetActiveRevisionAttrs
2023-09-06 05:32:40 +08:00
Chun-Hung Tseng
1261c687b6
Fix de-referencing nil pointer bug in GetActiveRevisionAttrs
2023-09-05 23:14:20 +02:00
Chun-Hung Tseng
2fa36bc924
Refactor the code
...
Un-expose the unnecessary methods
Update go mod
2023-08-02 17:30:57 +02:00
Chun-Hung Tseng
611ec433f8
Fix a bug for the users in 32-bit system that the User object won't be able to be parsed due to overflow as int is default to int32
2023-07-25 22:42:19 +02:00
Chun-Hung Tseng
aeabe60e01
Fix signing of SetContentKeyPacketAndSignature
2023-07-23 23:35:41 +02:00
Chun-Hung Tseng
e2f5412124
Fix RevisionXAttrCommon digests related logic
2023-07-23 08:25:17 +02:00
Chun-Hung Tseng
a33d554f70
Add mailing sending feature for Anson Chen :)
2023-07-18 23:27:23 +02:00
Chun-Hung Tseng
8d7db1ea7b
Implememt the file download seek support
...
Update to support more fields in RevisionXAttrCommon
2023-07-18 11:24:44 +02:00
Chun-Hung Tseng
733b3e5b6e
Reduce DOWNLOAD_BATCH_BLOCK_SIZE to 1 and explain the reason
2023-07-17 11:23:28 +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