Age | Commit message (Collapse) | Author |
|
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
luci-app-adblock: bugfix
|
|
* fix nil error on overview page
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-statistics: add support for apcups plugin
|
|
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>
|
|
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>
|
|
luci-app-adblock: sync with adblock 2.8.1
|
|
* add bind support
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-mod-admin-full: Enable adhoc mode encryption options
|
|
Add license tags
|
|
luci-proto-openconnect: allow setting no_cert_check, password2, mtu
|
|
It's not needed anymore and removed in the openconnect package
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
luci-app-firewall: Updated Swedish translation
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
luci-app-diag-core: Updated Swedish translation
|
|
luci-app-aria2: Created Swedish translation
|
|
clamav: Added the Swedish language
|
|
luci-app-commands: Updated the Swedish translation
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Some translations for Swedish done.
|
|
Some translation for Swedish done.
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Some translation for Swedish done.
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Finished translation to Swedish
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Finished translation into Swedish
|
|
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
|
|
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
|
|
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
|
|
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
|
|
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
|