oweals/luci.git
7 years agoMerge pull request #1295 from aparcar/keep_settings
Jo-Philipp Wich [Sun, 13 Aug 2017 13:57:39 +0000 (15:57 +0200)]
Merge pull request #1295 from aparcar/keep_settings

luci-app-attendedsysupgrade: add keep-settings opt

7 years agoluci-base: improve language detection
Jo-Philipp Wich [Sun, 13 Aug 2017 13:54:01 +0000 (15:54 +0200)]
luci-base: improve language detection

Properly deal with client accept languages containing a culture identifier
such as "zh-CN" or "pt-BR".

Fixes #1226.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-attendedsysupgrade: add keep-settings opt 1295/head
Paul Spooren [Thu, 10 Aug 2017 20:34:02 +0000 (22:34 +0200)]
luci-app-attendedsysupgrade: add keep-settings opt

add a keep-settings checkbox to the webview
this PR depends on [this][1] PR in openwrt/packages

[1]: https://github.com/openwrt/packages/pull/4689

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoMerge pull request #1235 from aa65535/luci-base
Jo-Philipp Wich [Sun, 13 Aug 2017 13:17:57 +0000 (15:17 +0200)]
Merge pull request #1235 from aa65535/luci-base

luci-base: add missing conffiles

7 years agoluci-app-samba: Shared directory help text.
Bob [Sun, 30 Jul 2017 23:59:59 +0000 (16:59 -0700)]
luci-app-samba: Shared directory help text.

A forum.lede-project.org member had trouble understanding how to configure Samba.
This is help text for Shared Directories.

Signed-off-by: Bob Meizlik <bobmseagithub@squakmt.com>
[whitespace fixed]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1290 from aparcar/uhttpd-mod-ubus
Jo-Philipp Wich [Sun, 13 Aug 2017 13:05:33 +0000 (15:05 +0200)]
Merge pull request #1290 from aparcar/uhttpd-mod-ubus

luci-app-attendedsysupgrade: add missing dep

7 years agoMerge pull request #1298 from aparcar/update_info
Jo-Philipp Wich [Sun, 13 Aug 2017 13:03:44 +0000 (15:03 +0200)]
Merge pull request #1298 from aparcar/update_info

luci-app-attendedsysupgrade: show updated packages

7 years agoMerge pull request #1299 from dibdot/travelmate
Hannu Nyman [Sat, 12 Aug 2017 06:23:29 +0000 (09:23 +0300)]
Merge pull request #1299 from dibdot/travelmate

luci-app-travelmate: sync with 0.9.2

7 years agoluci-app-travelmate: sync with 0.9.2 1299/head
Dirk Brenken [Sat, 12 Aug 2017 06:03:48 +0000 (08:03 +0200)]
luci-app-travelmate: sync with 0.9.2

* frontend: add/modify input datatypes in 'extra' section
* frontend: add support to edit/change wpa enterprise key phrases
* frontend: various small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-app-attendedsysupgrade: show updated packages 1298/head
Paul Spooren [Fri, 11 Aug 2017 18:58:35 +0000 (20:58 +0200)]
luci-app-attendedsysupgrade: show updated packages

since the update server now checks packages for updates the web view
will show all changed package versions. this PR is also important to
support future package transformations of the server

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoMerge pull request #1297 from TDT-GmbH/luci-app-mwan3_add_options
Hannu Nyman [Fri, 11 Aug 2017 13:16:33 +0000 (16:16 +0300)]
Merge pull request #1297 from TDT-GmbH/luci-app-mwan3_add_options

luci-app-mwan3: add new options

7 years agoluci-app-mwan3: update i18n 1297/head
Florian Eckert [Fri, 11 Aug 2017 11:42:38 +0000 (13:42 +0200)]
luci-app-mwan3: update i18n

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: extend uci-default to set globals section if not present
Florian Eckert [Fri, 11 Aug 2017 06:54:07 +0000 (08:54 +0200)]
luci-app-mwan3: extend uci-default to set globals section if not present

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: add globals config section
Florian Eckert [Fri, 11 Aug 2017 06:53:00 +0000 (08:53 +0200)]
luci-app-mwan3: add globals config section

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: add new config options initial_state and keep_failure_interval
Florian Eckert [Fri, 11 Aug 2017 06:52:15 +0000 (08:52 +0200)]
luci-app-mwan3: add new config options initial_state and keep_failure_interval

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoMerge pull request #1292 from engelant/master
Hannu Nyman [Thu, 10 Aug 2017 13:49:10 +0000 (16:49 +0300)]
Merge pull request #1292 from engelant/master

[PATCH] luci-mod-admin-full: 802.11r AP-WDS mode enable

7 years ago[PATCH] luci-mod-admin-full: 802.11r AP-WDS mode enable 1292/head
Anton Engelhardt [Wed, 9 Aug 2017 16:52:50 +0000 (18:52 +0200)]
[PATCH] luci-mod-admin-full: 802.11r AP-WDS mode enable

Made 802.11r selection availible in AP-WDS mode

Signed-off-by: Anton Engelhardt anton@neednow.de
7 years agoMerge pull request #1289 from yousong/shadowsocks-libev
Hannu Nyman [Tue, 8 Aug 2017 17:45:07 +0000 (20:45 +0300)]
Merge pull request #1289 from yousong/shadowsocks-libev

luci-app-shadowsocks-libev: hide key, password value in instance overview

7 years agoluci-app-attendedsysupgrade: add missing dep 1290/head
Paul Spooren [Tue, 8 Aug 2017 14:06:08 +0000 (16:06 +0200)]
luci-app-attendedsysupgrade: add missing dep

uhttpd-mod-ubus is missing on some devices where rpcd is installed.
the luci app fundamentally depends on /ubus

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoluci-app-shadowsocks-libev: hide key, password value in instance overview 1289/head
Yousong Zhou [Tue, 8 Aug 2017 03:20:20 +0000 (11:20 +0800)]
luci-app-shadowsocks-libev: hide key, password value in instance overview

This is mainly for ss_server section

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoMerge pull request #1287 from TDT-GmbH/dsl_auto_xfer_mode
Hannu Nyman [Mon, 7 Aug 2017 15:39:26 +0000 (18:39 +0300)]
Merge pull request #1287 from TDT-GmbH/dsl_auto_xfer_mode

luci-mod-admin-full: add 'auto' xfer_mode to dsl configuration

7 years agoMerge pull request #1285 from kuoruan/i18n-zh-cn
Hannu Nyman [Mon, 7 Aug 2017 13:02:53 +0000 (16:02 +0300)]
Merge pull request #1285 from kuoruan/i18n-zh-cn

luci-app-nlbwmon: Fix and update Simplified Chinese translation

7 years agoluci-app-nlbwmon: Fix and update Simplified Chinese translation 1285/head
kuoruan [Mon, 7 Aug 2017 02:45:44 +0000 (10:45 +0800)]
luci-app-nlbwmon: Fix and update Simplified Chinese translation

Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
7 years agoluci-app-nlbw: make display template XHTML compliant
Jo-Philipp Wich [Mon, 7 Aug 2017 07:56:30 +0000 (09:56 +0200)]
luci-app-nlbw: make display template XHTML compliant

This allows proper rendering in OpenWrt theme. Fixes #1284.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: add 'auto' xfer_mode to dsl configuration 1287/head
Martin Schiller [Mon, 7 Aug 2017 06:06:18 +0000 (08:06 +0200)]
luci-mod-admin-full: add 'auto' xfer_mode to dsl configuration

This change is needed to support the new default 'auto' xfer_mode
setting.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
7 years agoMerge pull request #1283 from musashino205/tmate-upd-ja
Hannu Nyman [Sun, 6 Aug 2017 15:46:52 +0000 (18:46 +0300)]
Merge pull request #1283 from musashino205/tmate-upd-ja

luci-app-travelmate: Update Japanese translation

7 years agoMerge pull request #1264 from kuoruan/zh-cn-tr
Hannu Nyman [Sun, 6 Aug 2017 15:46:29 +0000 (18:46 +0300)]
Merge pull request #1264 from kuoruan/zh-cn-tr

Update some Simplified Chinese translation

7 years agoluci-app-travelmate: Update Japanese translation 1283/head
INAGAKI Hiroshi [Sun, 6 Aug 2017 15:25:50 +0000 (00:25 +0900)]
luci-app-travelmate: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-nlbwmon: Add Simplified Chinese translation 1264/head
kuoruan [Fri, 4 Aug 2017 11:05:57 +0000 (19:05 +0800)]
luci-app-nlbwmon: Add Simplified Chinese translation

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years agoluci-app-firewall: Update Simplified Chinese translation
Hsing-Wang Liao [Sun, 30 Jul 2017 11:52:02 +0000 (19:52 +0800)]
luci-app-firewall: Update Simplified Chinese translation

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years agoluci-app-firewall: Fix a word typo, arbritary -> arbitrary
Hsing-Wang Liao [Sun, 30 Jul 2017 11:46:23 +0000 (19:46 +0800)]
luci-app-firewall: Fix a word typo, arbritary -> arbitrary

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years agoluci-app-travelmate: Sync translations
INAGAKI Hiroshi [Sun, 6 Aug 2017 12:13:29 +0000 (21:13 +0900)]
luci-app-travelmate: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-base: add missing conffiles 1235/head
Jian Chang [Fri, 14 Jul 2017 08:56:41 +0000 (16:56 +0800)]
luci-base: add missing conffiles

Signed-off-by: Jian Chang <aa65535@live.com>
7 years agoluci-base: Some fix of Simplified Chinese translation
kuoruan [Fri, 4 Aug 2017 02:35:08 +0000 (10:35 +0800)]
luci-base: Some fix of Simplified Chinese translation

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years agoluci-app-bcp38: Add Simplified Chinese translation
Hsing-Wang Liao [Sun, 30 Jul 2017 10:31:09 +0000 (18:31 +0800)]
luci-app-bcp38: Add Simplified Chinese translation

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
7 years agoMerge pull request #1281 from dibdot/travelmate
Hannu Nyman [Sun, 6 Aug 2017 05:49:19 +0000 (08:49 +0300)]
Merge pull request #1281 from dibdot/travelmate

luci-app-travelmate: bugfix

7 years agoluci-app-travelmate: bugfix 1281/head
Dirk Brenken [Sat, 5 Aug 2017 16:57:20 +0000 (18:57 +0200)]
luci-app-travelmate: bugfix

* fix bug in interface wizard during initial setup
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1279 from aparcar/fix_slash
Jo-Philipp Wich [Sat, 5 Aug 2017 12:04:30 +0000 (14:04 +0200)]
Merge pull request #1279 from aparcar/fix_slash

luci-app-attendedsysupgrade: remove leading slash

7 years agoMerge pull request #1280 from musashino205/adblk-upd-ja
Hannu Nyman [Sat, 5 Aug 2017 06:02:43 +0000 (09:02 +0300)]
Merge pull request #1280 from musashino205/adblk-upd-ja

luci-app-adblock: Update Japanese translation

7 years agoluci-app-adblock: Update Japanese translation 1280/head
INAGAKI Hiroshi [Sat, 5 Aug 2017 04:55:30 +0000 (13:55 +0900)]
luci-app-adblock: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-adblock: Sync translations
INAGAKI Hiroshi [Sat, 5 Aug 2017 04:47:21 +0000 (13:47 +0900)]
luci-app-adblock: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-attendedsysupgrade: remove leading slash 1279/head
Paul Spooren [Fri, 4 Aug 2017 16:09:43 +0000 (18:09 +0200)]
luci-app-attendedsysupgrade: remove leading slash

the slash leads to // redirecting to /. The redirecting causes problems
with CORS [1].

[1]: http://enable-cors.org/

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoMerge pull request #1278 from yousong/shadowsocks-libev
Hannu Nyman [Fri, 4 Aug 2017 14:33:15 +0000 (17:33 +0300)]
Merge pull request #1278 from yousong/shadowsocks-libev

luci-app-shadowsocks-libev: support ss_redir disable_sni option

7 years agoluci-app-shadowsocks-libev: support ss_redir disable_sni option 1278/head
Yousong Zhou [Fri, 4 Aug 2017 14:28:44 +0000 (22:28 +0800)]
luci-app-shadowsocks-libev: support ss_redir disable_sni option

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoMerge pull request #1277 from dibdot/adblock
Hannu Nyman [Fri, 4 Aug 2017 10:35:41 +0000 (13:35 +0300)]
Merge pull request #1277 from dibdot/adblock

luci-app-adblock: sync with adblock 2.8.5

7 years agoluci-app-adblock: sync with adblock 2.8.5 1277/head
Dirk Brenken [Fri, 4 Aug 2017 06:34:34 +0000 (08:34 +0200)]
luci-app-adblock: sync with adblock 2.8.5

* add preliminary kresd support
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1275 from dibdot/travelmate
Hannu Nyman [Thu, 3 Aug 2017 15:29:48 +0000 (18:29 +0300)]
Merge pull request #1275 from dibdot/travelmate

luci-app-travelmate: small bugfixes & optimizations

7 years agoluci-app-travelmate: small bugfixes & optimizations 1275/head
Dirk Brenken [Thu, 3 Aug 2017 15:04:58 +0000 (17:04 +0200)]
luci-app-travelmate: small bugfixes & optimizations

* various small bugfixes and optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-app-attendedsysupgrade: add package
Paul Spooren [Thu, 27 Jul 2017 22:28:12 +0000 (00:28 +0200)]
luci-app-attendedsysupgrade: add package

Add a simple luci view in system tab to perform a sysupgrade
with no hassle.

Asks an external update server for upgrades, downloads and
flashes the upgrade.

This packge is the frontend for my current GSoC project:
https://summerofcode.withgoogle.com/projects/#5684958571003904

More code is found here:
https://github.com/aparcar/gsoc17-attended-sysupgrade

Signed-off-by: Paul Spooren <paul@spooren.de>
[jo@mein.io: squash commits, remove PKGARCH from Makefile]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1245 from danweller18/feature_js_headers
Jo-Philipp Wich [Wed, 2 Aug 2017 08:34:59 +0000 (10:34 +0200)]
Merge pull request #1245 from danweller18/feature_js_headers

luci-base: Remove request headers that are set automatically by browser

7 years agoMerge pull request #1273 from yousong/shadowsocks-libev
Hannu Nyman [Wed, 2 Aug 2017 07:05:49 +0000 (10:05 +0300)]
Merge pull request #1273 from yousong/shadowsocks-libev

luci-app-shadowsocks-libev: add common flag ipv6_first

7 years agoluci-app-shadowsocks-libev: add common flag ipv6_first 1273/head
Yousong Zhou [Tue, 1 Aug 2017 06:34:43 +0000 (14:34 +0800)]
luci-app-shadowsocks-libev: add common flag ipv6_first

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
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>