summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2/luasrc
AgeCommit message (Collapse)Author
2018-12-20luci-app-*: use default poll intervalFlorian Eckert
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>
2018-12-15luci-app-aria2: fix the log optionZheng Qian
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>
2018-12-14luci-app-aria2: fix showRPCURL when using httpsZheng Qian
if login luci-admin with https, RPC protocol should be https or wss. Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-12-10luci-app-aria2: fix http/https protocol when opening aria2 webUIZheng Qian
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>
2018-11-21luci-app-aria2: add a button to open ariangZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-10-28Add missing variable declarations in JavaScript codeStefan Weil
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-09-20luci-app-aria2: fix template nameHsing-Wang Liao
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-09-19luci-app-aria2: fix bugs and add log optionHsing-Wang Liao
* 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>
2016-05-30luci-app-aria2: Add packageHsing-Wang Liao
LuCI Support for Aria2 Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>