Age | Commit message (Collapse) | Author |
|
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>
|