xxxxxfpx
d75e0d77f3
Merge 9178088fb0 into 3cddb6b7ed
2025-11-11 21:55:01 +08:00
千石
fcbc79cb24
feat: Support 123pan safebox ( #9311 )
...
auto_lang / auto generate lang.json (1.21, ubuntu-latest) (push) Has been cancelled
beta release / Beta Release Changelog (1.21, ubuntu-latest) (push) Has been cancelled
build / Build (ubuntu-latest, android-arm64) (push) Has been cancelled
build / Build (ubuntu-latest, darwin-amd64) (push) Has been cancelled
build / Build (ubuntu-latest, darwin-arm64) (push) Has been cancelled
build / Build (ubuntu-latest, linux-amd64-musl) (push) Has been cancelled
build / Build (ubuntu-latest, linux-arm64-musl) (push) Has been cancelled
build / Build (ubuntu-latest, windows-amd64) (push) Has been cancelled
build / Build (ubuntu-latest, windows-arm64) (push) Has been cancelled
release_docker / Build Binaries for Docker Release (push) Has been cancelled
beta release / Beta Release (md5, !(*musl*|*windows-arm64*|*android*|*freebsd*)) (push) Has been cancelled
beta release / Beta Release (md5-android, android-*) (push) Has been cancelled
beta release / Beta Release (md5-freebsd, freebsd-*) (push) Has been cancelled
beta release / Beta Release (md5-linux-musl, linux-!(arm*)-musl*) (push) Has been cancelled
beta release / Beta Release (md5-linux-musl-arm, linux-arm*-musl*) (push) Has been cancelled
beta release / Beta Release (md5-windows-arm64, windows-arm64) (push) Has been cancelled
beta release / Beta Release Desktop (push) Has been cancelled
release_docker / Release Docker image (, latest, ) (push) Has been cancelled
release_docker / Release Docker image (INSTALL_ARIA2=true, aria2, suffix=-aria2,onlatest=true) (push) Has been cancelled
release_docker / Release Docker image (INSTALL_FFMPEG=true
INSTALL_ARIA2=true
, aio, suffix=-aio,onlatest=true) (push) Has been cancelled
release_docker / Release Docker image (INSTALL_FFMPEG=true, ffmpeg, suffix=-ffmpeg,onlatest=true) (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled
* feat(meta): Added a SafePassword field
- Added the SafePassword field to meta.go
- Revised the field format to align with the code style
- The SafePassword field is used to supplement the extended functionality
* feat(driver): Added support for safe unlocking logic
- Added safe file unlocking logic in `driver.go`, returning an error if unlocking fails.
- Introduced the `safeBoxUnlocked` variable of type `sync.Map` to record the IDs of unlocked files.
- Enhanced error handling logic to automatically attempt to unlock safe files and re-retrieve the file list.
- Added the `IsLock` field to file types in `types.go` to identify whether they are safe files.
- Added a constant definition for the `SafeBoxUnlock` interface address in `util.go`.
- Added the `unlockSafeBox` method to unlock a safe with a specified file ID via the API.
- Optimized the file retrieval logic to automatically call the unlock method when the safe is locked.
* Refactor (driver): Optimize lock field type
- Changed the `IsLock` field type from `int` to `bool` for better semantics.
- Updated the check logic to use direct Boolean comparisons to improve code readability and accuracy.
2025-09-05 19:58:27 +08:00
AlistDev
13ea1c1405
fix: restore user-agent header in HTTP requests
2025-07-16 20:39:05 +08:00
白鸟青城
9178088fb0
(123pan)Add Copy
2025-05-26 12:38:25 +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
hanbao233xD
2830575490
perf(123pan): change domain of login ( #7325 )
...
* Update driver.go
* 1
* Update util.go
* 123新登录接口
* Revert "Update util.go"
This reverts commit a13a58f8a8 .
* Update driver.go
* Update util.go
* Update util.go
2024-10-15 19:45:30 +08:00
seiuneko
5fa70e4010
perf(123pan): optimize rate limiting ( #6859 )
...
- eliminating fixed 200 ms delay in getFiles to prevent thread starvation
- allowing cancellation via context to mitigate potential DoS attacks by immediately cancelling excessive requests
2024-07-25 20:08:59 +08:00
Andy Hsu
d4e3355f56
chore: duplicate import typo
2024-07-21 20:50:07 +08:00
Andy Hsu
cbd4bef814
fix(123pan): use local sort ( close #6820 )
2024-07-21 20:29:32 +08:00
seiuneko
2d57529e77
fix(123pan): add warning for mismatched file count when listing files ( #6814 )
...
Fixes an issue where using `file_name` order could result in incorrect file counts compared to response fields.
2024-07-20 12:27:18 +08:00
123pan
6d85f1b0c0
fix(123): User-Agent and rate limit ( #6012 )
...
* 修复标签
* 新增接口限流器。防止云盘云端把Alist当做攻击,封禁Alist客户端
---------
Co-authored-by: 风信子 <fengxinzi@xaidc.com>
2024-02-09 14:45:44 +08:00
tonsr
54f7b21a73
fix(123): api sign error ( #5689 close #5083 )
...
* fix:123 driver connect error
* feat: calculate sign with pure go
---------
Co-authored-by: tangminghao <tangminghao@hxzn.com>
Co-authored-by: Andy Hsu <i@nn.ci>
2023-12-17 15:21:32 +08:00
Bnq Dzj
4afa822bec
fix(123): Use APP-side API ( close #4834 in #4856 )
2023-07-27 15:51:59 +08:00
Rui Tang
a4de04528a
fix(123): auth-key verification ( close #4811 in #4814 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-07-21 14:33:45 +08:00
Andy Hsu
df6c4c80c2
fix(123): update app-version ( close #4758 )
2023-07-14 14:17:29 +08:00
Andy Hsu
5e8bfb017e
fix(123): add Referer to request ( close #4631 )
2023-07-04 18:36:46 +08:00
Andy Hsu
9d55ad3af6
fix(123): get download url ( close #4244 )
2023-04-26 15:06:24 +08:00
Andy Hsu
5cba10446e
fix(123): adapt new upload method ( close #4141 )
2023-04-14 15:48:39 +08:00
Andy Hsu
9ccd802126
fix(123): api prefix changed ( close #4038 )
2023-04-04 16:39:56 +08:00
Andy Hsu
f442185aa5
perf(123): optimize login error
2023-02-28 21:17:15 +08:00
Andy Hsu
236c17176c
fix(123): adapt new file list api ( close #3464 )
2023-02-16 22:09:45 +08:00
Noah Hsu
518487e3df
fix(123): optimize error messages ( #2415 )
2022-11-19 21:48:03 +08:00
Noah Hsu
aa9ba289bb
fix(123): overwrite upload if file has no change ( close #2324 )
2022-11-14 17:58:49 +08:00
Code2qing
c601bb794b
feat(123): support mail login ( close #2218 pr #2276 )
2022-11-10 09:34:48 +08:00
Noah Hsu
611457c0e7
feat: add baidu_netdisk driver
2022-09-02 22:46:31 +08:00
Noah Hsu
284274b37e
feat: add 123pan driver
2022-09-01 22:13:37 +08:00