summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-07-21luci-app-firewall: fix typo dsp -> dsYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-21luci-base: fix loading fold.gif for filebrowserYousong Zhou
cbi_init() needs to be called at the end of the page to initialize cbi_strings with "[data-strings]" while cbi_browser_init() happened before that. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-13Merge pull request #1233 from stangri/luci-app-advanced-rebootHannu Nyman
luci-app-advanced-reboot: initial commit
2017-07-12luci-app-advanced-reboot: initial commitStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-07-11luci-mod-admin-full: use rpcd-mod-rrdns for reverse DNS lookupsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-base: properly handle authentication without authenticatorJo-Philipp Wich
Some controller actions like the ones in "servicectl" require authentication but are not meant to provide an authenticator because they're only invoked by scripts. Rework the dispatcher logic to handle this situation and only bail out if an authenticator name other than "htmlauth" is set. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-base: use rpcd-mod-rrdns for reverse DNS lookupsJo-Philipp Wich
Drop the individual calls to nixio.getnameinfo() in luci.sys.net and rely on the "network.rrdns.lookup" ubus call instead to fetch domain information within a guaranteed timeout. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci: depend on rpcd-mod-rrdnsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11rpcd-mod-rrdns: add new rpcd plugin for rapid reverse DNS lookupsJo-Philipp Wich
The plugin provides a new ubus procedure "network.rrdns.lookup" which allows looking up the names of a large chunk of IP addresses at once, within a fixed global timeout. This is useful to have a guaranteed maximum query time even if the local DNS setup is broken or timing out. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-base: drop unused functions in luci.sysJo-Philipp Wich
Drop a number of redundant functions from luci.sys to shrink the code a bit: * luci.sys.net.arptable() - replaced by luci.ip.neighbors() * luci.sys.net.routes() - replaced by luci.ip.routes() * luci.sys.net.routes6() - replaced by luci.ip.routes6() * luci.sys.net.deviceinfo() - replaced by nixio.getaddrinfo() * luci.sys.net.pingtest() - no known user Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()Jo-Philipp Wich
Translate the use of luci.sys.net.arptable() to luci.ip.neighbors() to allow dropping the former function from base LuCI later on. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()Jo-Philipp Wich
The luci-mod-admin-mini network controller is the only remaining user of the deviceinfo() call so inline the required code there so that the function can be dropped from base LuCI in a later commit. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-mod-freifunk: eliminate use of luci.sys.net.deviceinfo()Jo-Philipp Wich
The result of the luci.sys.net.deviceinfo() call was never actually used anywhere in the following code, so simply drop the invocation. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-09luci-base: use rpcd session loginsJo-Philipp Wich
Drop the custom credentials checking in favor to perform proper session logins via rpcd. This is needed to properly setup ACLs when spawning rpcd sessions in order to support direct client side ubus access in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-05Merge pull request #1229 from dibdot/masterHannu Nyman
luci-app-adblock: bugfix
2017-07-05luci-app-adblock: bugfixDirk Brenken
* fix nil error on overview page Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-05Merge pull request #1227 from guidosarducci/lede-17.01-fix-apcups-statisticsHannu Nyman
luci-app-statistics: add support for apcups plugin
2017-07-04luci-app-statistics: add support for apcups pluginguidosarducci
OpenWRT/LEDE support for APC UPSes is only partial: although the collectd apcups plugin is included, related lua/luci code is missing. These changes add the lua side and have been used for ~2 years, both on OpenWRT and LEDE. Reworked from patches submitted by James Klaas to the luci development list in 2015. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-02luci-app-statistics: set logfile as first item in collectd.confHannu Nyman
Force logfile plugin to be evaluated first so that it gets placed first in the collectd.conf file. Reference to https://collectd.org/wiki/index.php/Plugin:LogFile Fixes #1219 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-06-29Merge pull request #1225 from dibdot/masterHannu Nyman
luci-app-adblock: sync with adblock 2.8.1
2017-06-29luci-app-adblock: sync with adblock 2.8.1Dirk Brenken
* add bind support Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-23Merge pull request #1182 from kishangondaliya/feature_xJo-Philipp Wich
luci-mod-admin-full: Enable adhoc mode encryption options
2017-06-20Merge pull request #1194 from TDT-GmbH/add-license-tagsHannu Nyman
Add license tags
2017-06-19Merge pull request #1135 from yousong/fixHannu Nyman
luci-proto-openconnect: allow setting no_cert_check, password2, mtu
2017-06-19luci-proto-openconnect: remove "interface" fieldYousong Zhou
It's not needed anymore and removed in the openconnect package Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19luci-proto-openconnect: allow setting mtu, password2Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-17Merge pull request #1208 from Umeaboy/patch-35Hannu Nyman
luci-app-firewall: Updated Swedish translation
2017-06-17luci-app-firewall: Updated Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17Merge pull request #1207 from Umeaboy/patch-34Hannu Nyman
luci-app-diag-core: Updated Swedish translation
2017-06-17Merge pull request #1206 from Umeaboy/patch-33Hannu Nyman
luci-app-aria2: Created Swedish translation
2017-06-17Merge pull request #1205 from Umeaboy/patch-32Hannu Nyman
clamav: Added the Swedish language
2017-06-17Merge pull request #1204 from Umeaboy/patch-31Hannu Nyman
luci-app-commands: Updated the Swedish translation
2017-06-17luci-app-diag-core: Updated Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17luci-app-aria2: Created Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17clamav: Added the Swedish languageKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17luci-app-commands-svKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17Merge pull request #1199 from Umeaboy/patch-29Hannu Nyman
Some translations for Swedish done.
2017-06-14Merge pull request #1200 from Umeaboy/patch-30Hannu Nyman
Some translation for Swedish done.
2017-06-14Some translation for Swedish done.Kristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-14Some translations for Swedish done.Kristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-14Merge pull request #1198 from Umeaboy/patch-28Hannu Nyman
Some translation for Swedish done.
2017-06-14Some translation for Swedish done.Kristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-14Merge pull request #1197 from Umeaboy/patch-27Hannu Nyman
Finished translation to Swedish
2017-06-14Finished translation to SwedishKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-14Merge pull request #1196 from Umeaboy/patch-26Hannu Nyman
Finished translation into Swedish
2017-06-14Finished translation into SwedishKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-13luci-base: add license tagFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-13luci-ssl: add license tagFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-13luci: add license tagQuirin Hofstaetter
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-06-13luci-theme-bootstrap: add license tagQuirin Hofstaetter
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>