火星大王
df479ba806
fix(aliyundrive_open): limit rate for every request ( close #724 ) ( #1011 )
...
* fix(aliyundrive_open): limit rate for `Remove` and `MakeDir`; reduce limit for `List` and `Link` (close #724 )
* Update drivers/aliyundrive_open/driver.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: 火星大王 <34576789+huoxingdawang@users.noreply.github.com >
* Update drivers/aliyundrive_open/driver.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: 火星大王 <34576789+huoxingdawang@users.noreply.github.com >
* fix(aliyundrive_open): limit rate for every request
* fix(aliyundrive_open): fix limiter not work on reference driver
* fix(aliyundrive_open): typo
* fix(aliyundrive_open): limiter not set to nil after free
* fix(aliyundrive_share): limit rate for every request
---------
Signed-off-by: 火星大王 <34576789+huoxingdawang@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-10 09:55:20 +08:00
Suyunjing
a84ffb96e9
chore(ci):Simplify the build process ( #686 )
...
* refactor(ci):Minify build files
2025-07-11 20:30:31 +08:00
SenkjM
44f4658f37
docs: better error hint for wrong refresh token ( #517 )
...
* docs: better error hint for wrong refresh token
* fix: modify punctuation
2025-07-02 10:20:43 +08:00
MadDogOwner
874dc292ae
fix(gomod): go modules with tagged versions ( #499 )
...
fix: go modules with tagged versions
2025-07-01 09:54:50 +08:00
Suyunjing
6a3b8fab06
feat(driver):add online api user-agent ( #483 )
2025-06-30 10:35:52 +08:00
Suyunmeng
a3c7cb059d
chore:Change Logo URL and fixed aliyundrive open bugs ( #208 )
...
* Fix Logo URL
* fixed aliyunpan_open
* fixed aliyundrive bugs
* fixed onlineapi bugs
* fixed onlineapi bugs
* Fixed Bugs
* Rollback
* fixed
* fixed onlineapi
* fixed driver
---------
Signed-off-by: Suyunmeng <sumengjing@outlook.com >
2025-06-19 21:20:29 +08:00
Pikachu Ren
0f8545133b
add text output for error message ( #210 )
...
* mod rank for AccessToken
* del alist_v2
* add error message from remote
---------
Co-authored-by: Suyunmeng <sumengjing@outlook.com >
2025-06-19 20:25:45 +08:00
Pikachu Ren
8822eef97e
chore(api):Add online api refresh method ( #143 )
...
* Add Official API Refresh Interface(Baiduyun)
* add UseOnlineAPI & APIAddress
add _refreshToken using APIAddress
* fix return
* Modify the frontend display using the default API refresh method
* Fixed display and operation related issues
* fixed aliyundrive_open old refresh
---------
Co-authored-by: Suyunmeng <sumengjing@outlook.com >
2025-06-17 22:13:28 +08:00
Kuingsmile
fdcc2f136e
chore: change module name to OpenListTeam/OpenList ( #2 )
...
* Enable blank issue
* chore(README.md): update docs (temporally)
* Update FUNDING.yml
* chore: purge README.md
* chore: change module name to OpenListTeam/OpenList
* fix: fix link errors
* chore: remove v3 in module name
* fix: resolve some conficts
* fix: resolve conficts
* docs: update with latest file
---------
Co-authored-by: ShenLin <773933146@qq.com >
Co-authored-by: Hantong Chen <cxwdyx620@gmail.com >
Co-authored-by: joshua <i@joshua.su >
Co-authored-by: Hantong Chen <70561268+cxw620@users.noreply.github.com >
2025-06-12 22:02:46 +08:00
Yifan Gao
0a9921fa79
fix(aliyundrive_open): resolve file duplication issues and improve path handling ( #8358 )
...
* fix(aliyundrive_open): resolve file duplication issues and improve path handling
1. Fix file duplication by implementing a new removeDuplicateFiles method that cleans up duplicate files after operations
2. Change Move operation to use "ignore" for check_name_mode instead of "refuse" to allow moves when destination has same filename
3. Set Copy operation to handle duplicates by removing them after successful copy
4. Improve path handling for all file operations (Move, Rename, Put, MakeDir) by properly maintaining the full path of objects
5. Implement GetRoot interface for proper root object initialization with correct path
6. Add proper path management in List operation to ensure objects have correct paths
7. Fix path handling in error cases and improve logging of failures
* refactor(aliyundrive_open): change error logging to warnings for duplicate file removal
Updated the Move, Rename, and Copy methods to log warnings instead of errors when duplicate file removal fails, as the primary operations have already completed successfully. This improves the clarity of logs without affecting the functionality.
* Update drivers/aliyundrive_open/util.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-19 14:22:12 +08:00
j2rong4cn
ab22cf8233
feat: add Reference interface to driver ( #7805 )
...
* feat: add `Reference` interface to driver
* feat(123_share): support reference 123pan
2025-01-18 23:26:58 +08:00
LaoShui
4024050dd0
chore: fix typo ( #5316 )
2023-10-01 16:58:00 +08:00
Andy Hsu
dd10c0c5d0
chore(aliyundrive_open): print resp content on refresh token ( close #5129 )
2023-08-31 18:43:25 +08:00
Andy Hsu
13e8d36e1a
fix(aliyundrive_open): use RawStdEncoding for base64
2023-08-13 20:52:38 +08:00
foxxorcat
df6b306fce
perf(drivers): fs operations and cache ( #4965 )
...
* perf(baidu_photo):multi-thread upload
* perf(baidu_netdisk):multi-thread upload and cache optimization
* fix:LimitWriter
* fix(weiyun):only one login is allowed
* feat(189pc):multi threaded upload
* feat(baidu_netdisk):multi threaded upload
* feat(baidu_photo):multi threaded upload
* feat(weiyun):multi threaded upload
* perf(aliyundriver_open):optimize upload code and optimize cache
* fix(weiyun):invalid directory ID
* fix(baidu_netdisk):modified time
* fix(baidu_netdisk,baidu_photo):upload slice error
* perf(baidu_netdisk):cancel unnecessary retries
* fix(limitWriter):must return a non-nil error if it returns n < len(p)
* fix(aliyundrive_open):Name and Filename only use one
* perf(mopan):multi-thread upload
2023-08-09 16:13:09 +08:00
Andy Hsu
b91ed7a78a
fix(aliyundrive_open): retry refresh token if sub not match
2023-08-08 22:08:05 +08:00
Andy Hsu
95386d777b
feat(aliyundrive_open): record token exchange
2023-08-08 20:38:13 +08:00
Andy Hsu
2e23ea68d4
fix(aliyundrive_open): increase limit interval ( close #4851 )
2023-07-27 18:26:11 +08:00
Andy Hsu
3f7882b467
feat(aliyundrive_open): rapid upload ( close #4766 )
2023-07-15 19:33:46 +08:00
Andy Hsu
ca5a53fc24
fix(aliyundrive_open): openFile/list rate limit
2023-06-11 18:18:09 +08:00
Noah Hsu
b7ea73b3c2
fix(aliyundrive_open): can't refresh token if access_token is empty ( #4255 )
2023-04-28 00:01:47 +08:00
NewbieOrange
4ec274e748
fix(aliyundrive_open): refresh upload url if expired ( #3999 close #3823 )
...
* fix(aliyundrive_open): refresh upload url for large files
* fix(aliyundrive_open): retry upload on url expiry
* fix(aliyundrive_open): ignore 409 error
* feat(aliyundrive): cleanup upload retry logic
* feat(util): add multireadable io utility
* feat(aliyundrive_open): make upload fully stream
* feat(aliyundrive_open): refresh upload url every 20 puts
* fix(aliyundrive_open): part info panic
* chore: change refresh upload url strategy
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-04-01 14:54:29 +08:00
Andy Hsu
ec54831162
fix: only refresh token while do request ( close #3591 )
2023-02-24 20:31:12 +08:00
Andy Hsu
28aee8c493
feat: add aliyundrive open driver ( #3437 )
...
close #3533
close #3521
close #3459
close #3375
* feat: add aliyundrive open driver
* feat: adapt alist api
* fix: trailing spaces
* feat(aliyundrive_open): video preview api
2023-02-23 20:45:57 +08:00