summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2/luasrc
AgeCommit message (Collapse)Author
2020-02-25luci-app-aria2: fix incorrect "Extra Settings" section option nameRaymond
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>
2019-12-18luci-app-aria2: fix typos (#3373)Balázs Úr
luci-app-aria2: fix typos Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-07-01luci-app-aria2: Refactor, new views and more optionsXingwang Liao
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>
2019-06-16luci-app-aria2: fix: datatype练亮斌
just a spelling mistake. Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
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>