Age | Commit message (Collapse) | Author |
|
The "Extra Settings" section `extra_setting` option name does not match what
the `net/aria2` package expects.
See:
- https://github.com/openwrt/packages/blob/openwrt-19.07/net/aria2/files/aria2.init#L311
- https://github.com/openwrt/packages/blob/openwrt-19.07/net/aria2/files/aria2.conf#L31
Causing the luci UI "Extra Settings" option to have no effect. This fix
renames `extra_setting` => `extra_settings`.
Signed-off-by: Raymond Wanyoike <raymond.wanyoike@gmail.com>
|
|
luci-app-aria2: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
|
|
This commit contains:
* Refactor package code.
* Add options for RPC, HTTP/HTTPS and BT.
* Improve descriptions for some options.
* New views for config files and log files.
* Also updated translation for simplified Chinese.
Signed-off-by: Xingwang Liao <kuoruan@gmail.com>
|
|
just a spelling mistake.
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
|
|
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
According to the package aria2, the log option
is enable_logging, so fix this option name.
As luci-app-aria2 can't set custom log file dir,
the default log file is /var/log/aria2.log but not
in the config file dir.
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
if login luci-admin with https, RPC protocol should be https or wss.
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
In the openWebUI function, the url is assumed as http protocol,
this will cause problem when we login luci-admin with https.
The variable localhostPath has already contained http/https
protocol, so we can use it directly and add the path of aria2
webUI.
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
This fixes errors reported by LGTM.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
|
|
* Fix unable save authentication method;
* Use luci.dispatcher.build_url(...) to support Chaos Calmer;
* Add log file and log level options;
* Rename files.
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
|
|
LuCI Support for Aria2
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
|