mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-21 20:50:08 +08:00
* Determine whether the URL requires Sign
* Add File and Mem based KV
NOT TESTED: TokenKV Function
* Change Token KV func to common func.
Add File based KV func
* Remove KV, Remove Token
I found that the original Sign function is enough to complete the link signature, and only need to add simple configuration items to meet the requirements.
* Add IsStorageSigned func to judge if Signing is enabled in the storage settings.
It should be working now.
* Add a SIGN button to the management panel.
* Add enable_sign to the basic storage struct.
Can enable sign for every driver now.
Bug: When sign enabled, in download page, Copy link doesn't contain a sign.
(Not done yet)
* Fix a bug from commit
|
||
|---|---|---|
| .. | ||
| aria2.go | ||
| auth.go | ||
| down.go | ||
| driver.go | ||
| fsmanage.go | ||
| fsread.go | ||
| fsup.go | ||
| helper.go | ||
| index.go | ||
| meta.go | ||
| qbittorrent.go | ||
| search.go | ||
| setting.go | ||
| ssologin.go | ||
| storage.go | ||
| task.go | ||
| user.go | ||