* feat: add aria2 support
在右键菜单中增加了使用aria2下载的item,可以直接发送选中的文件链接到aria2,省略复制再粘贴到aria2的步骤
* feat: set default value for `Aria2 RPC url`
Co-authored-by: Xhofe <i@nn.ci>
Thanks for taking the time to fill out this bug report, please confirm that your issue is not a duplicate issue
Thanks for taking the time to fill out this bug report, please **confirm that your issue is not a duplicate issue and not because of your operation or version issues**
感谢您花时间填写此错误报告,请**务必确认您的issue不是重复的且不是因为您的操作或版本问题**
- type:checkboxes
attributes:
label:Please make sure of the following things
description:You may select more than one, even select all.
options:
- label:I have read the [documentation](https://alist-doc.nn.ci).
- label:I'm sure there are no duplicate issues or discussions.
- label:I'm sure it's due to `alist` and not something else(such as `Dependencies` or `Operational`).
- type:input
id:version
attributes:
@@ -28,11 +37,11 @@ body:
Please provide a link to a repo that can reproduce the problem you ran into.
Hello @${{ github.event.issue.user.login }}, please input issue by template and add detail. Issues labeled by `question` will be closed if no activities in 7 days.
- [JetBrains: Essential tools for software developers and teams](https://www.jetbrains.com/)
## License
The `AList` is open-source software licensed under the AGPL-3.0 license.
## Disclaimer
- This program is a free and open source project. It is designed to share files on the network disk, which is convenient for downloading and learning golang. Please abide by relevant laws and regulations when using it, and do not abuse it;
- This program is implemented by calling the official sdk/interface, without destroying the official interface behavior;
- This program only does 302 redirect/traffic forwarding, and does not intercept, store, or tamper with any user data;
- Before using this program, you should understand and bear the corresponding risks, including but not limited to account ban, download speed limit, etc., which is none of this program's business;
- If there is any infringement, please contact me by [email](mailto:i@nn.ci), and it will be dealt with in time.
Description:"when have multiple, the readme file to show",
Key:"global readme url",
Description:"Default display when directory has no readme",
Type:"string",
Access:model.PUBLIC,
Group:model.FRONT,
@@ -238,12 +252,36 @@ func InitSettings() {
},
{
Key:"ocr api",
Value:"https://api.xhofe.top/ocr/file/json",
Value:"https://api.nn.ci/ocr/file/json",
Description:"Used to identify verification codes",
Type:"string",
Access:model.PRIVATE,
Group:model.BACK,
},
{
Key:"enable search",
Value:"false",
Type:"bool",
Access:model.PUBLIC,
Group:model.BACK,
Description:"Experimental function, not recommended as it's still under development",
},
{
Key:"Aria2 RPC url",
Value:"http://localhost:6800/jsonrpc",
Description:"Aria2 RPC url, e.g. 'http://aria2.example.com:6800/jsonrpc'",
Type:"string",
Access:model.PRIVATE,
Group:model.BACK,
},
{
Key:"Aria2 RPC secret",
Value:"",
Description:"Aria2 RPC secret, e.g. '123456'",
Type:"string",
Access:model.PRIVATE,
Group:model.BACK,
},
}
fori,_:=rangesettings{
v:=settings[i]
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.