* 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 8f6c25f.
Response of fsread function does not contain sign.
* Optimize code and follow advices.
- Add back public/dist/README.md
- Enable sign when DownProxyUrl is enabled
- Merge needSign() to isEncrypt() in fsread.go
* simplify code
---------
Co-authored-by: Andy Hsu <i@nn.ci>
* feat(drivers): new driver `urls` (close#3268)
* chore: rename
* support customize basic info or get from url
* dfs tree to calculate folder size
* go mod tidy
* add help message
* feat: add the support for Trainbit
read only
* feat: add the support for Trainbit
modify the structure of code
allow to create folder, move, rename and remove
* feat: add the support for Trainbit
allow to upload file
* feat: add the support for Trainbit
get token from page
* feat: add the support for Trainbit
display progress of updating
* feat: add the support for Trainbit
fix bug of time zone
* feat: add the support for Trainbit
fix the bug of filename
This is to enable the use case where the stock Docker image is used with
different flags. E.g. `docker run xhofe/alist:latest ./alist server --data=mydata`
This was the behavior until PR#2818 changed it. This would make the image more usable.