project/luci.git
7 years agoluci-app-shadowsocks-libev: remove redundant duplicate methods
Yousong Zhou [Tue, 1 Aug 2017 06:27:40 +0000 (14:27 +0800)]
luci-app-shadowsocks-libev: remove redundant duplicate methods

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoMerge pull request #1271 from musashino205/nbm-upd-ja
Jo-Philipp Wich [Tue, 1 Aug 2017 12:00:14 +0000 (14:00 +0200)]
Merge pull request #1271 from musashino205/nbm-upd-ja

luci-app-nlbwmon: Update Japanese translation

7 years agoluci-app-nlbwmon: always fetch latest data
Jo-Philipp Wich [Tue, 1 Aug 2017 11:51:45 +0000 (13:51 +0200)]
luci-app-nlbwmon: always fetch latest data

When displaying the most current accounting period, pass an empty timestamp
to the backend in order to query the current in-memory data instead of the
latest committed values.

This ensures that the dashboard always renders the most current data in its
default view.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-nlbwmon: Update Japanese translation 1271/head
INAGAKI Hiroshi [Tue, 1 Aug 2017 10:41:57 +0000 (19:41 +0900)]
luci-app-nlbwmon: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1270 from dibdot/travelmate
Hannu Nyman [Tue, 1 Aug 2017 06:20:18 +0000 (09:20 +0300)]
Merge pull request #1270 from dibdot/travelmate

luci-app-travelmate: rework wireless station re-ordering

7 years agoluci-app-travelmate: rework wireless station re-ordering 1270/head
Dirk Brenken [Mon, 31 Jul 2017 21:07:11 +0000 (23:07 +0200)]
luci-app-travelmate: rework wireless station re-ordering

* rework wireless station re-ordering code, now complete uci index
based, therefore no longer tied to a definite order of wifi-iface
sections

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-app-nlbwmon: remove version marker from javascripts
Jo-Philipp Wich [Mon, 31 Jul 2017 17:32:02 +0000 (19:32 +0200)]
luci-app-nlbwmon: remove version marker from javascripts

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-nlbwmon: improve initial view
Jo-Philipp Wich [Mon, 31 Jul 2017 17:11:51 +0000 (19:11 +0200)]
luci-app-nlbwmon: improve initial view

Make sure that placeholder pie charts are rendered, display a hint about
yet missing data in the tables and offer a link to force-commit ("Reload")
the data.

Also fix some mixed white space, an imbalanced dom operation and sync
translation template.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1268 from musashino205/tmate-upd-ja
Hannu Nyman [Mon, 31 Jul 2017 12:37:49 +0000 (15:37 +0300)]
Merge pull request #1268 from musashino205/tmate-upd-ja

luci-app-travelmate: Update Japanese translation

7 years agoluci-app-travelmate: Update Japanese translation 1268/head
INAGAKI Hiroshi [Mon, 31 Jul 2017 12:18:28 +0000 (21:18 +0900)]
luci-app-travelmate: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-travelmate: Sync translations
INAGAKI Hiroshi [Mon, 31 Jul 2017 11:56:24 +0000 (20:56 +0900)]
luci-app-travelmate: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1267 from dibdot/travelmate
Hannu Nyman [Mon, 31 Jul 2017 09:40:43 +0000 (12:40 +0300)]
Merge pull request #1267 from dibdot/travelmate

luci-app-travelmate: bugfixes

7 years agoluci-app-nlbwmon: add missing charting library
Jo-Philipp Wich [Mon, 31 Jul 2017 09:11:21 +0000 (11:11 +0200)]
luci-app-nlbwmon: add missing charting library

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-travelmate: bugfixes 1267/head
Dirk Brenken [Mon, 31 Jul 2017 06:05:54 +0000 (08:05 +0200)]
luci-app-travelmate: bugfixes

* fix interface default value on overview page
* fix re-ordering of wireless stations
* added translation fix by INAGAKI Hiroshi <musashino.open@gmail.com>

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1263 from musashino205/nbm-add-ja
Hannu Nyman [Sun, 30 Jul 2017 16:48:49 +0000 (19:48 +0300)]
Merge pull request #1263 from musashino205/nbm-add-ja

luci-app-nlbwmon: Add Japanese translation

7 years agoMerge pull request #1261 from dibdot/travelmate
Hannu Nyman [Sun, 30 Jul 2017 16:48:32 +0000 (19:48 +0300)]
Merge pull request #1261 from dibdot/travelmate

luci-app-travelmate: enhancements & fixes

7 years agoluci-app-nlbwmon: Add Japanese translation 1263/head
INAGAKI Hiroshi [Sun, 30 Jul 2017 10:08:36 +0000 (19:08 +0900)]
luci-app-nlbwmon: Add Japanese translation

Added po templates and Japanese translation.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1259 from jow-/introduce-nlbwmon
Jo-Philipp Wich [Sun, 30 Jul 2017 09:54:09 +0000 (11:54 +0200)]
Merge pull request #1259 from jow-/introduce-nlbwmon

luci-app-nlbwmon: new package

7 years agoluci-app-travelmate: enhancements & fixes 1261/head
Dirk Brenken [Sat, 29 Jul 2017 08:02:21 +0000 (10:02 +0200)]
luci-app-travelmate: enhancements & fixes

* Further optimized Station Overview & Scan page,
  especially for mobile devices
* add a "Rescan" button in manual mode on overview page
* XHTML fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-app-nlbwmon: new package 1259/head
Jo-Philipp Wich [Fri, 28 Jul 2017 13:57:44 +0000 (15:57 +0200)]
luci-app-nlbwmon: new package

This commit introduces luci-app-nlbwmon, a frontend for nlbwmon, the
lightweight NetLink BandWidth Montor.

The nlbwmon daemon gathers per-host traffic statistics by querying netlink
accounting data. Due to this approach, the executable is very small and does
not rely on libpcap and CPU intensive raw sockets to monitor traffic.

Depends on PR https://github.com/openwrt/packages/pull/4646

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: cbi.js: fix handling of inverse-depends, combobox validation
Jo-Philipp Wich [Fri, 28 Jul 2017 14:14:53 +0000 (16:14 +0200)]
luci-base: cbi.js: fix handling of inverse-depends, combobox validation

 - 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>
7 years agoluci-base: let luci.sys.net.devices() return all netdevs
Jo-Philipp Wich [Thu, 20 Jul 2017 09:44:25 +0000 (11:44 +0200)]
luci-base: let luci.sys.net.devices() return all netdevs

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>
7 years agoMerge pull request #1256 from musashino205/mwan3-upd-ja
Hannu Nyman [Fri, 28 Jul 2017 05:09:42 +0000 (08:09 +0300)]
Merge pull request #1256 from musashino205/mwan3-upd-ja

luci-app-mwan3: Update Japanese translation

7 years agoMerge pull request #1257 from musashino205/base-upd-ja
Hannu Nyman [Fri, 28 Jul 2017 05:08:40 +0000 (08:08 +0300)]
Merge pull request #1257 from musashino205/base-upd-ja

luci-base: Update Japanese translation

7 years agoluci-app-mwan3: Update Japanese translation 1256/head
INAGAKI Hiroshi [Fri, 28 Jul 2017 04:47:25 +0000 (13:47 +0900)]
luci-app-mwan3: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-base: Update Japanese translation 1257/head
INAGAKI Hiroshi [Fri, 28 Jul 2017 03:18:22 +0000 (12:18 +0900)]
luci-base: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoi18n: sync translations
Hannu Nyman [Thu, 27 Jul 2017 16:40:47 +0000 (19:40 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1252 from musashino205/mwan3-fix-status
Hannu Nyman [Tue, 25 Jul 2017 05:36:52 +0000 (08:36 +0300)]
Merge pull request #1252 from musashino205/mwan3-fix-status

luci-app-mwan3: Add translate strings in update_status()

7 years agoMerge pull request #1251 from dibdot/luci-app-travelmate
Hannu Nyman [Tue, 25 Jul 2017 05:35:53 +0000 (08:35 +0300)]
Merge pull request #1251 from dibdot/luci-app-travelmate

luci-app-travelmate: enhancements & fixes

7 years agoluci-app-travelmate: enhancements & fixes 1251/head
Dirk Brenken [Tue, 25 Jul 2017 05:24:59 +0000 (07:24 +0200)]
luci-app-travelmate: enhancements & fixes

* add re-ordering buttons in Station Overview
* fix possible nil error during wifi scan

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-app-mwan3: Sync translations 1252/head
INAGAKI Hiroshi [Tue, 25 Jul 2017 05:12:25 +0000 (14:12 +0900)]
luci-app-mwan3: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-mwan3: Add translate strings in update_status()
INAGAKI Hiroshi [Tue, 25 Jul 2017 04:39:59 +0000 (13:39 +0900)]
luci-app-mwan3: Add translate strings in update_status()

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>
7 years agoMerge pull request #1250 from dibdot/luci-app-travelmate
Hannu Nyman [Mon, 24 Jul 2017 16:54:31 +0000 (19:54 +0300)]
Merge pull request #1250 from dibdot/luci-app-travelmate

luci-app-travelmate: small bugfixes

7 years agoluci-app-travelmate: small bugfixes 1250/head
Dirk Brenken [Mon, 24 Jul 2017 13:30:01 +0000 (15:30 +0200)]
luci-app-travelmate: small bugfixes

* speed up wireless scan
* emphasize active uplink in Station Overview
* mark hidden SSIDs

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1249 from yousong/shadowsocks-libev
Hannu Nyman [Mon, 24 Jul 2017 11:57:07 +0000 (14:57 +0300)]
Merge pull request #1249 from yousong/shadowsocks-libev

luci-app-shadowsocks-libev: auto update instance running state

7 years agoMerge pull request #1248 from musashino205/tmate-upd-ja
Hannu Nyman [Mon, 24 Jul 2017 11:56:51 +0000 (14:56 +0300)]
Merge pull request #1248 from musashino205/tmate-upd-ja

luci-app-travelmate: Update Japanese translation

7 years agoMerge pull request #1239 from kuoruan/zh-cn-tr
Hannu Nyman [Mon, 24 Jul 2017 11:51:12 +0000 (14:51 +0300)]
Merge pull request #1239 from kuoruan/zh-cn-tr

Add some translate strings & Update Simplified Chinese translation

7 years agoluci-app-travelmate: Update Japanese translation 1248/head
INAGAKI Hiroshi [Mon, 24 Jul 2017 07:25:17 +0000 (16:25 +0900)]
luci-app-travelmate: Update Japanese translation

Updated Japanese translations, and cleaned up old translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-shadowsocks-libev: auto update instance running state 1249/head
Yousong Zhou [Mon, 24 Jul 2017 05:00:37 +0000 (13:00 +0800)]
luci-app-shadowsocks-libev: auto update instance running state

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-app-travelmate: Sync translations
INAGAKI Hiroshi [Mon, 24 Jul 2017 05:56:48 +0000 (14:56 +0900)]
luci-app-travelmate: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1240 from bobmseagithub/luci-app-statistics_Voltage_graphs
Hannu Nyman [Mon, 24 Jul 2017 05:02:18 +0000 (08:02 +0300)]
Merge pull request #1240 from bobmseagithub/luci-app-statistics_Voltage_graphs

luci-app-statistics: Voltage graphs - AC and DC

7 years agoluci-app-statistics: Voltage graphs - AC and DC 1240/head
bobmseagithub [Thu, 20 Jul 2017 18:47:57 +0000 (11:47 -0700)]
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>
7 years agoMerge pull request #1242 from yousong/shadowsocks-libev
Hannu Nyman [Sun, 23 Jul 2017 16:37:10 +0000 (19:37 +0300)]
Merge pull request #1242 from yousong/shadowsocks-libev

luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2

7 years agoMerge pull request #1238 from dibdot/luci-app-travelmate
Hannu Nyman [Sun, 23 Jul 2017 16:34:39 +0000 (19:34 +0300)]
Merge pull request #1238 from dibdot/luci-app-travelmate

luci-app-travelmate: sync with travelmate 0.9.0

7 years agoMerge pull request #1221 from Cye3s/master
Hannu Nyman [Sun, 23 Jul 2017 16:33:32 +0000 (19:33 +0300)]
Merge pull request #1221 from Cye3s/master

luci_base: Update zh_CN base.po, translate fix

7 years agoluci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2 1242/head
Yousong Zhou [Sat, 8 Jul 2017 19:18:15 +0000 (03:18 +0800)]
luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-base: Update Simplified Chinese translation 1239/head
kuoruan [Wed, 19 Jul 2017 12:10:53 +0000 (20:10 +0800)]
luci-base: Update Simplified Chinese translation

Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
7 years agoluci-app-mwan3: Clean unneeded css styles
Hsing-Wang Liao [Sat, 22 Jul 2017 14:16:08 +0000 (22:16 +0800)]
luci-app-mwan3: Clean unneeded css styles

 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>
7 years agoluci-app-mwan3: Update Simplified Chinese translation
Hsing-Wang Liao [Sat, 22 Jul 2017 14:14:51 +0000 (22:14 +0800)]
luci-app-mwan3: Update Simplified Chinese translation

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years agoluci-app-mwan3: Add more translate strings
kuoruan [Thu, 20 Jul 2017 05:09:16 +0000 (13:09 +0800)]
luci-app-mwan3: Add more translate strings

Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
7 years agoluci-app-firewall: fix typo dsp -> ds
Yousong Zhou [Sat, 8 Jul 2017 04:48:05 +0000 (12:48 +0800)]
luci-app-firewall: fix typo dsp -> ds

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-base: fix loading fold.gif for filebrowser
Yousong Zhou [Fri, 21 Jul 2017 12:09:43 +0000 (20:09 +0800)]
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>
7 years agoluci-app-travelmate: sync with travelmate 0.9.0 1238/head
Dirk Brenken [Wed, 19 Jul 2017 20:36:47 +0000 (22:36 +0200)]
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>
7 years agoMerge pull request #1233 from stangri/luci-app-advanced-reboot
Hannu Nyman [Thu, 13 Jul 2017 07:51:56 +0000 (10:51 +0300)]
Merge pull request #1233 from stangri/luci-app-advanced-reboot

luci-app-advanced-reboot: initial commit

7 years agoluci-app-advanced-reboot: initial commit 1233/head
Stan Grishin [Thu, 13 Jul 2017 05:51:41 +0000 (22:51 -0700)]
luci-app-advanced-reboot: initial commit

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoluci-mod-admin-full: use rpcd-mod-rrdns for reverse DNS lookups
Jo-Philipp Wich [Tue, 11 Jul 2017 12:18:40 +0000 (14:18 +0200)]
luci-mod-admin-full: use rpcd-mod-rrdns for reverse DNS lookups

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: properly handle authentication without authenticator
Jo-Philipp Wich [Tue, 11 Jul 2017 12:12:50 +0000 (14:12 +0200)]
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>
7 years agoluci-base: use rpcd-mod-rrdns for reverse DNS lookups
Jo-Philipp Wich [Mon, 10 Jul 2017 16:43:21 +0000 (18:43 +0200)]
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>
7 years agoluci: depend on rpcd-mod-rrdns
Jo-Philipp Wich [Mon, 10 Jul 2017 16:43:09 +0000 (18:43 +0200)]
luci: depend on rpcd-mod-rrdns

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agorpcd-mod-rrdns: add new rpcd plugin for rapid reverse DNS lookups
Jo-Philipp Wich [Mon, 10 Jul 2017 16:38:03 +0000 (18:38 +0200)]
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>
7 years agoluci-base: drop unused functions in luci.sys
Jo-Philipp Wich [Mon, 10 Jul 2017 14:21:51 +0000 (16:21 +0200)]
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>
7 years agoluci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()
Jo-Philipp Wich [Mon, 10 Jul 2017 14:16:35 +0000 (16:16 +0200)]
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>
7 years agoluci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()
Jo-Philipp Wich [Mon, 10 Jul 2017 14:08:21 +0000 (16:08 +0200)]
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>
7 years agoluci-mod-freifunk: eliminate use of luci.sys.net.deviceinfo()
Jo-Philipp Wich [Mon, 10 Jul 2017 14:07:21 +0000 (16:07 +0200)]
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>
7 years agoluci-base: use rpcd session logins
Jo-Philipp Wich [Sun, 9 Jul 2017 19:26:49 +0000 (21:26 +0200)]
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>
7 years agoMerge pull request #1229 from dibdot/master
Hannu Nyman [Wed, 5 Jul 2017 19:38:32 +0000 (22:38 +0300)]
Merge pull request #1229 from dibdot/master

luci-app-adblock: bugfix

7 years agoluci-app-adblock: bugfix 1229/head
Dirk Brenken [Wed, 5 Jul 2017 19:31:56 +0000 (21:31 +0200)]
luci-app-adblock: bugfix

* fix nil error on overview page

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1227 from guidosarducci/lede-17.01-fix-apcups-statistics
Hannu Nyman [Wed, 5 Jul 2017 18:03:40 +0000 (21:03 +0300)]
Merge pull request #1227 from guidosarducci/lede-17.01-fix-apcups-statistics

luci-app-statistics: add support for apcups plugin

7 years agoluci-app-statistics: add support for apcups plugin 1227/head
guidosarducci [Tue, 14 Mar 2017 02:36:52 +0000 (19:36 -0700)]
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>
7 years agoluci-app-statistics: set logfile as first item in collectd.conf
Hannu Nyman [Sun, 2 Jul 2017 20:22:26 +0000 (23:22 +0300)]
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>
7 years agoMerge pull request #1225 from dibdot/master
Hannu Nyman [Thu, 29 Jun 2017 11:08:12 +0000 (14:08 +0300)]
Merge pull request #1225 from dibdot/master

luci-app-adblock: sync with adblock 2.8.1

7 years agoluci-app-adblock: sync with adblock 2.8.1 1225/head
Dirk Brenken [Thu, 29 Jun 2017 10:58:33 +0000 (12:58 +0200)]
luci-app-adblock: sync with adblock 2.8.1

* add bind support

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoUpdate zh_CN base.po 1221/head
Cye3s [Mon, 26 Jun 2017 05:13:56 +0000 (13:13 +0800)]
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"

7 years agoMerge pull request #1182 from kishangondaliya/feature_x
Jo-Philipp Wich [Fri, 23 Jun 2017 11:23:53 +0000 (13:23 +0200)]
Merge pull request #1182 from kishangondaliya/feature_x

luci-mod-admin-full: Enable adhoc mode encryption options

7 years agoMerge pull request #1194 from TDT-GmbH/add-license-tags
Hannu Nyman [Tue, 20 Jun 2017 13:40:48 +0000 (16:40 +0300)]
Merge pull request #1194 from TDT-GmbH/add-license-tags

Add license tags

7 years agoMerge pull request #1135 from yousong/fix
Hannu Nyman [Mon, 19 Jun 2017 14:44:23 +0000 (17:44 +0300)]
Merge pull request #1135 from yousong/fix

luci-proto-openconnect: allow setting no_cert_check, password2, mtu

7 years agoluci-proto-openconnect: remove "interface" field 1135/head
Yousong Zhou [Mon, 19 Jun 2017 03:22:28 +0000 (11:22 +0800)]
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>
7 years agoluci-proto-openconnect: allow setting mtu, password2
Yousong Zhou [Sun, 30 Apr 2017 08:47:47 +0000 (16:47 +0800)]
luci-proto-openconnect: allow setting mtu, password2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoMerge pull request #1208 from Umeaboy/patch-35
Hannu Nyman [Sat, 17 Jun 2017 20:45:54 +0000 (23:45 +0300)]
Merge pull request #1208 from Umeaboy/patch-35

luci-app-firewall: Updated Swedish translation

7 years agoluci-app-firewall: Updated Swedish translation 1208/head
Kristoffer Grundström [Sat, 17 Jun 2017 20:08:51 +0000 (22:08 +0200)]
luci-app-firewall: Updated Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1207 from Umeaboy/patch-34
Hannu Nyman [Sat, 17 Jun 2017 19:11:58 +0000 (22:11 +0300)]
Merge pull request #1207 from Umeaboy/patch-34

luci-app-diag-core: Updated Swedish translation

7 years agoMerge pull request #1206 from Umeaboy/patch-33
Hannu Nyman [Sat, 17 Jun 2017 19:11:45 +0000 (22:11 +0300)]
Merge pull request #1206 from Umeaboy/patch-33

luci-app-aria2: Created Swedish translation

7 years agoMerge pull request #1205 from Umeaboy/patch-32
Hannu Nyman [Sat, 17 Jun 2017 19:11:20 +0000 (22:11 +0300)]
Merge pull request #1205 from Umeaboy/patch-32

clamav: Added the Swedish language

7 years agoMerge pull request #1204 from Umeaboy/patch-31
Hannu Nyman [Sat, 17 Jun 2017 19:10:35 +0000 (22:10 +0300)]
Merge pull request #1204 from Umeaboy/patch-31

luci-app-commands: Updated the Swedish translation

7 years agoluci-app-diag-core: Updated Swedish translation 1207/head
Kristoffer Grundström [Sat, 17 Jun 2017 18:36:02 +0000 (20:36 +0200)]
luci-app-diag-core: Updated Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoluci-app-aria2: Created Swedish translation 1206/head
Kristoffer Grundström [Sat, 17 Jun 2017 18:23:36 +0000 (20:23 +0200)]
luci-app-aria2: Created Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoclamav: Added the Swedish language 1205/head
Kristoffer Grundström [Sat, 17 Jun 2017 18:04:52 +0000 (20:04 +0200)]
clamav: Added the Swedish language

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoluci-app-commands-sv 1204/head
Kristoffer Grundström [Sat, 17 Jun 2017 17:49:23 +0000 (19:49 +0200)]
luci-app-commands-sv

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1199 from Umeaboy/patch-29
Hannu Nyman [Sat, 17 Jun 2017 06:22:10 +0000 (09:22 +0300)]
Merge pull request #1199 from Umeaboy/patch-29

Some translations for Swedish done.

7 years agoMerge pull request #1200 from Umeaboy/patch-30
Hannu Nyman [Wed, 14 Jun 2017 19:42:09 +0000 (22:42 +0300)]
Merge pull request #1200 from Umeaboy/patch-30

Some translation for Swedish done.

7 years agoSome translation for Swedish done. 1200/head
Kristoffer Grundström [Wed, 14 Jun 2017 16:08:43 +0000 (18:08 +0200)]
Some translation for Swedish done.

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoSome translations for Swedish done. 1199/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:36:47 +0000 (17:36 +0200)]
Some translations for Swedish done.

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1198 from Umeaboy/patch-28
Hannu Nyman [Wed, 14 Jun 2017 15:35:25 +0000 (18:35 +0300)]
Merge pull request #1198 from Umeaboy/patch-28

Some translation for Swedish done.

7 years agoSome translation for Swedish done. 1198/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:32:50 +0000 (17:32 +0200)]
Some translation for Swedish done.

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1197 from Umeaboy/patch-27
Hannu Nyman [Wed, 14 Jun 2017 15:20:34 +0000 (18:20 +0300)]
Merge pull request #1197 from Umeaboy/patch-27

Finished translation to Swedish

7 years agoFinished translation to Swedish 1197/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:19:33 +0000 (17:19 +0200)]
Finished translation to Swedish

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1196 from Umeaboy/patch-26
Hannu Nyman [Wed, 14 Jun 2017 15:16:13 +0000 (18:16 +0300)]
Merge pull request #1196 from Umeaboy/patch-26

Finished translation into Swedish

7 years agoFinished translation into Swedish 1196/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:14:18 +0000 (17:14 +0200)]
Finished translation into Swedish

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoluci-base: add license tag 1194/head
Florian Eckert [Tue, 13 Jun 2017 09:57:44 +0000 (11:57 +0200)]
luci-base: add license tag

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-ssl: add license tag
Florian Eckert [Tue, 13 Jun 2017 09:55:59 +0000 (11:55 +0200)]
luci-ssl: add license tag

Signed-off-by: Florian Eckert <fe@dev.tdt.de>