Commit graph

8774 commits

Author SHA1 Message Date
bobmseagithub
2145b7b33b luci-app-statistics: Voltage graphs - AC and DC
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-23 20:44:44 -07:00
Hannu Nyman
8f62b28948 Merge pull request #1242 from yousong/shadowsocks-libev
luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2
2017-07-23 19:37:10 +03:00
Hannu Nyman
52a0787c3f Merge pull request #1238 from dibdot/luci-app-travelmate
luci-app-travelmate: sync with travelmate 0.9.0
2017-07-23 19:34:39 +03:00
Hannu Nyman
6d9fd0aeb7 Merge pull request #1221 from Cye3s/master
luci_base: Update zh_CN base.po, translate fix
2017-07-23 19:33:32 +03:00
Yousong Zhou
48b5ccfad5 luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23 23:40:26 +08:00
kuoruan
cca9fe92fd luci-base: Update Simplified Chinese translation
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-07-23 14:37:33 +08:00
Hsing-Wang Liao
ccca70579f luci-app-mwan3: Clean unneeded css styles
Some css styles were cleaned by commit e61f40ead8
 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-23 14:34:44 +08:00
Hsing-Wang Liao
e3b22c4888 luci-app-mwan3: Update Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-07-23 10:42:50 +08:00
kuoruan
7445849460 luci-app-mwan3: Add more translate strings
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-07-23 10:42:49 +08:00
Daniel W
adb6209503 remove request headers that are set automatically by browser 2017-07-22 12:11:14 -04:00
Yousong Zhou
90de442347 luci-app-firewall: fix typo dsp -> ds
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-21 20:34:46 +08:00
Yousong Zhou
c759500d49 luci-base: fix loading fold.gif for filebrowser
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-21 20:34:46 +08:00
Dirk Brenken
e900b892e8 luci-app-travelmate: sync with travelmate 0.9.0
* 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-20 07:44:15 +02:00
Hannu Nyman
2224714217 Merge pull request #1233 from stangri/luci-app-advanced-reboot
luci-app-advanced-reboot: initial commit
2017-07-13 10:51:56 +03:00
Stan Grishin
f6505fc01c luci-app-advanced-reboot: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-07-12 23:21:36 -07:00
Jo-Philipp Wich
00ae50134b luci-mod-admin-full: use rpcd-mod-rrdns for reverse DNS lookups
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11 14:18:40 +02:00
Jo-Philipp Wich
4e1b884157 luci-base: properly handle authentication without authenticator
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-11 14:12:50 +02:00
Jo-Philipp Wich
882427731a luci-base: use rpcd-mod-rrdns for reverse DNS lookups
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-11 14:05:31 +02:00
Jo-Philipp Wich
650397a11f luci: depend on rpcd-mod-rrdns
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11 14:05:31 +02:00
Jo-Philipp Wich
74affdf6f5 rpcd-mod-rrdns: add new rpcd plugin for rapid reverse DNS lookups
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-11 14:05:31 +02:00
Jo-Philipp Wich
366707a681 luci-base: drop unused functions in luci.sys
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-11 14:05:31 +02:00
Jo-Philipp Wich
854a5f68bb luci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()
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-11 14:05:31 +02:00
Jo-Philipp Wich
b2154e0b63 luci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()
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-11 14:05:31 +02:00
Jo-Philipp Wich
198e4ab17b luci-mod-freifunk: eliminate use of luci.sys.net.deviceinfo()
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-11 14:05:31 +02:00
Jo-Philipp Wich
d6360bf81e luci-base: use rpcd session logins
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-09 21:35:26 +02:00
Hannu Nyman
4f127c3254 Merge pull request #1229 from dibdot/master
luci-app-adblock: bugfix
2017-07-05 22:38:32 +03:00
Dirk Brenken
985f0f5118 luci-app-adblock: bugfix
* fix nil error on overview page

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-05 21:31:56 +02:00
Hannu Nyman
844921575c Merge pull request #1227 from guidosarducci/lede-17.01-fix-apcups-statistics
luci-app-statistics: add support for apcups plugin
2017-07-05 21:03:40 +03:00
guidosarducci
808f261793 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>
2017-07-04 16:07:14 -07:00
Hannu Nyman
afa7a14caf luci-app-statistics: set logfile as first item in collectd.conf
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-07-02 23:22:26 +03:00
Hannu Nyman
2dc60d2b44 Merge pull request #1225 from dibdot/master
luci-app-adblock: sync with adblock 2.8.1
2017-06-29 14:08:12 +03:00
Dirk Brenken
3c5e41d369 luci-app-adblock: sync with adblock 2.8.1
* add bind support

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-29 12:58:33 +02:00
Cye3s
6047dacb62 Update zh_CN base.po
Line 3021:
msgid "Switch protocol"
sould be:
msgstr "切换协议"

This "Switch protocol" means "Change one protocol to another protocol", Not "protocol of switch deivce"
2017-06-26 13:13:56 +08:00
Jo-Philipp Wich
de2e92a1f4 Merge pull request #1182 from kishangondaliya/feature_x
luci-mod-admin-full: Enable adhoc mode encryption options
2017-06-23 13:23:53 +02:00
Hannu Nyman
cb557f61c3 Merge pull request #1194 from TDT-GmbH/add-license-tags
Add license tags
2017-06-20 16:40:48 +03:00
Hannu Nyman
c1c06226b9 Merge pull request #1135 from yousong/fix
luci-proto-openconnect: allow setting no_cert_check, password2, mtu
2017-06-19 17:44:23 +03:00
Yousong Zhou
dfd082c53b luci-proto-openconnect: remove "interface" field
It's not needed anymore and removed in the openconnect package

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 11:26:36 +08:00
Yousong Zhou
cf8146ff67 luci-proto-openconnect: allow setting mtu, password2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 11:21:47 +08:00
Hannu Nyman
9929289e4a Merge pull request #1208 from Umeaboy/patch-35
luci-app-firewall: Updated Swedish translation
2017-06-17 23:45:54 +03:00
Kristoffer Grundström
286f8f6cd4 luci-app-firewall: Updated Swedish translation
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17 22:08:51 +02:00
Hannu Nyman
d2f64a497b Merge pull request #1207 from Umeaboy/patch-34
luci-app-diag-core: Updated Swedish translation
2017-06-17 22:11:58 +03:00
Hannu Nyman
616614f1ba Merge pull request #1206 from Umeaboy/patch-33
luci-app-aria2: Created Swedish translation
2017-06-17 22:11:45 +03:00
Hannu Nyman
1502b7f7a3 Merge pull request #1205 from Umeaboy/patch-32
clamav: Added the Swedish language
2017-06-17 22:11:20 +03:00
Hannu Nyman
33338ddef5 Merge pull request #1204 from Umeaboy/patch-31
luci-app-commands: Updated the Swedish translation
2017-06-17 22:10:35 +03:00
Kristoffer Grundström
325f557958 luci-app-diag-core: Updated Swedish translation
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17 20:36:02 +02:00
Kristoffer Grundström
4b5487e2a3 luci-app-aria2: Created Swedish translation
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17 20:23:36 +02:00
Kristoffer Grundström
8a718169e7 clamav: Added the Swedish language
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17 20:04:52 +02:00
Kristoffer Grundström
b9830a5e50 luci-app-commands-sv
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-17 19:49:23 +02:00
Hannu Nyman
9af5013810 Merge pull request #1199 from Umeaboy/patch-29
Some translations for Swedish done.
2017-06-17 09:22:10 +03:00
Hannu Nyman
dd6cb31d5c Merge pull request #1200 from Umeaboy/patch-30
Some translation for Swedish done.
2017-06-14 22:42:08 +03:00