summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-07-28luci-base: cbi.js: fix handling of inverse-depends, combobox validationJo-Philipp Wich
- Properly handle logic for evaluating inverted dependencies means when depending on another field *not* having a given value - Perform datatype validation *after* populating combobox choices to avoid triggering a false-positive when validating an .rmempty = false combobox during form instantiation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28luci-base: let luci.sys.net.devices() return all netdevsJo-Philipp Wich
The previous implementation of the function only returned ethernet interfaces because it relied on the AF_PACKET family entries returned by getifaddrs(). Change the function to simply collect all interface names it sees in order to avoid missing tunnel interfaces. Fixes FS#917. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28Merge pull request #1256 from musashino205/mwan3-upd-jaHannu Nyman
luci-app-mwan3: Update Japanese translation
2017-07-28Merge pull request #1257 from musashino205/base-upd-jaHannu Nyman
luci-base: Update Japanese translation
2017-07-28luci-app-mwan3: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-28luci-base: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-27i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-07-25Merge pull request #1252 from musashino205/mwan3-fix-statusHannu Nyman
luci-app-mwan3: Add translate strings in update_status()
2017-07-25Merge pull request #1251 from dibdot/luci-app-travelmateHannu Nyman
luci-app-travelmate: enhancements & fixes
2017-07-25luci-app-travelmate: enhancements & fixesDirk Brenken
* add re-ordering buttons in Station Overview * fix possible nil error during wifi scan Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-25luci-app-mwan3: Sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-25luci-app-mwan3: Add translate strings in update_status()INAGAKI Hiroshi
Translation function is not used in "start", "stop", and "restart", and I modified them because the LuCI i18n-tools cannot be detected. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-24Merge pull request #1250 from dibdot/luci-app-travelmateHannu Nyman
luci-app-travelmate: small bugfixes
2017-07-24luci-app-travelmate: small bugfixesDirk Brenken
* speed up wireless scan * emphasize active uplink in Station Overview * mark hidden SSIDs Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-24Merge pull request #1249 from yousong/shadowsocks-libevHannu Nyman
luci-app-shadowsocks-libev: auto update instance running state
2017-07-24Merge pull request #1248 from musashino205/tmate-upd-jaHannu Nyman
luci-app-travelmate: Update Japanese translation
2017-07-24Merge pull request #1239 from kuoruan/zh-cn-trHannu Nyman
Add some translate strings & Update Simplified Chinese translation
2017-07-24luci-app-travelmate: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations, and cleaned up old translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-24luci-app-shadowsocks-libev: auto update instance running stateYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24luci-app-travelmate: Sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-24Merge pull request #1240 from bobmseagithub/luci-app-statistics_Voltage_graphsHannu Nyman
luci-app-statistics: Voltage graphs - AC and DC
2017-07-23luci-app-statistics: Voltage graphs - AC and DCbobmseagithub
The Voltage graph combines Battery, Input Voltage and Output Voltage. The Y-Axis scale masks changes in Input/Output voltages over time. This patch splits the graphs into 2 graphs. This makes it possible to see variations in AC Input/Output voltages. Signed-off-by: Bob Meizlik <bobmseagithub@squakmt.com>
2017-07-23Merge pull request #1242 from yousong/shadowsocks-libevHannu Nyman
luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2
2017-07-23Merge pull request #1238 from dibdot/luci-app-travelmateHannu Nyman
luci-app-travelmate: sync with travelmate 0.9.0
2017-07-23Merge pull request #1221 from Cye3s/masterHannu Nyman
luci_base: Update zh_CN base.po, translate fix
2017-07-23luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23luci-base: Update Simplified Chinese translationkuoruan
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-07-23luci-app-mwan3: Clean unneeded css stylesHsing-Wang Liao
Some css styles were cleaned by commit e61f40ead8072fade1e2b0d24bf1ab8a195a22c6 but that commit forget the file advanced_wirelessconfig.htm, clean these styles to unify style. Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-07-23luci-app-mwan3: Update Simplified Chinese translationHsing-Wang Liao
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-07-23luci-app-mwan3: Add more translate stringskuoruan
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
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-20luci-app-travelmate: sync with travelmate 0.9.0Dirk Brenken
* add a wireless station manager to edit and delete existing interfaces or scan for new uplinks Signed-off-by: Dirk Brenken <dev@brenken.org>
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>