project/luci.git
7 years agoluci-app-adblock: sync with adblock 3.0.0 1359/head
Dirk Brenken [Sat, 9 Sep 2017 15:28:27 +0000 (17:28 +0200)]
luci-app-adblock: sync with adblock 3.0.0

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1313 from musashino205/dcp-add-ja
Hannu Nyman [Sat, 19 Aug 2017 09:51:35 +0000 (12:51 +0300)]
Merge pull request #1313 from musashino205/dcp-add-ja

luci-app-dnscrypt-proxy: Add Japanese translation

7 years agoluci-app-dnscrypt-proxy: Add Japanese translation 1313/head
INAGAKI Hiroshi [Fri, 18 Aug 2017 16:00:05 +0000 (01:00 +0900)]
luci-app-dnscrypt-proxy: Add Japanese translation

Added po templates and po for Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-dnscrypt-proxy: Add more translations
INAGAKI Hiroshi [Fri, 18 Aug 2017 14:18:44 +0000 (23:18 +0900)]
luci-app-dnscrypt-proxy: Add more translations

Added translate() functions for some UI texts.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1311 from dibdot/dnscrypt-proxy
Hannu Nyman [Fri, 18 Aug 2017 07:08:43 +0000 (10:08 +0300)]
Merge pull request #1311 from dibdot/dnscrypt-proxy

luci-app-dnscrypt-proxy: fix ssl dependency

7 years agoluci-app-dnscrypt-proxy: fix ssl dependency 1311/head
Dirk Brenken [Fri, 18 Aug 2017 07:04:09 +0000 (09:04 +0200)]
luci-app-dnscrypt-proxy: fix ssl dependency

* remove libustream-mbedtls dependency in makefile and check for
'libustream-ssl.so' in the app. (fix for #1310)
* add missing uclient-fetch dependency in makefile.

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1309 from dibdot/dnscrypt-proxy
Hannu Nyman [Thu, 17 Aug 2017 17:01:58 +0000 (20:01 +0300)]
Merge pull request #1309 from dibdot/dnscrypt-proxy

luci-app-dnscrypt-proxy: new package

7 years agoluci-app-dnscrypt-proxy: new package 1309/head
Dirk Brenken [Wed, 16 Aug 2017 19:49:20 +0000 (21:49 +0200)]
luci-app-dnscrypt-proxy: new package

to ease the dnscrypt-proxy configuration I've build this package,
main features:
* full resolver list handling, incl. list refresh and
  simple resolver selection per instance
* trigger support
* support the following (conditional) options:
  * resolvers_list
  * ephemeral_keys
  * blacklist
  * block_ipv6
  * local_cache
  * query_log_file

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1308 from TDT-GmbH/luci-app-mwan3_update
Hannu Nyman [Wed, 16 Aug 2017 15:42:59 +0000 (18:42 +0300)]
Merge pull request #1308 from TDT-GmbH/luci-app-mwan3_update

luci-app-mwan3: use mwan3.user and add global mmx_mask option

7 years agoMerge pull request #1304 from marcin1j/pr/20170814-mwan3-tracking-method
Hannu Nyman [Wed, 16 Aug 2017 15:40:47 +0000 (18:40 +0300)]
Merge pull request #1304 from marcin1j/pr/20170814-mwan3-tracking-method

luci-app-mwan3: add new config option 'track_method'

7 years agoluci-app-mwan3: add config for mwan3 mask 1308/head
Florian Eckert [Mon, 14 Aug 2017 08:08:28 +0000 (10:08 +0200)]
luci-app-mwan3: add config for mwan3 mask

Add global config option to edit the mwan3 firewall mask.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: change hotplug script to mwan3.user
Florian Eckert [Fri, 11 Aug 2017 13:36:39 +0000 (15:36 +0200)]
luci-app-mwan3: change hotplug script to mwan3.user

Replace old "/etc/hotplug.d/iface/16-mwancustom" edit possibility
with the new "/etc/mwan3.user" hotplug script.
Which will also be saved during sysupgrade.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoMerge pull request #1307 from musashino205/smb-upd-ja
Hannu Nyman [Tue, 15 Aug 2017 17:24:21 +0000 (20:24 +0300)]
Merge pull request #1307 from musashino205/smb-upd-ja

luci-app-samba: Update Japanese translation

7 years agoluci-app-samba: Update Japanese translation 1307/head
INAGAKI Hiroshi [Tue, 15 Aug 2017 15:42:20 +0000 (00:42 +0900)]
luci-app-samba: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1305 from aparcar/stringify
Jo-Philipp Wich [Tue, 15 Aug 2017 08:45:58 +0000 (10:45 +0200)]
Merge pull request #1305 from aparcar/stringify

luci-app-attendedsysupgrade: use JSON.stringify

7 years agoluci-app-attendedsysupgrade: use JSON.stringify 1305/head
Paul Spooren [Mon, 14 Aug 2017 17:13:23 +0000 (19:13 +0200)]
luci-app-attendedsysupgrade: use JSON.stringify

now uses JSON.stringify instead of creating pseudo JSON data via
`'{' + variable + '}'`

also simplify uci naming

Signed-off-by: Paul Spooren <paul@spooren.de>
7 years agoluci-app-mwan3: add new config option 'track_method' 1304/head
Marcin Jurkowski [Mon, 14 Aug 2017 16:49:41 +0000 (18:49 +0200)]
luci-app-mwan3: add new config option 'track_method'

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
7 years agoluci-app-samba: Sync translations
INAGAKI Hiroshi [Mon, 14 Aug 2017 11:44:40 +0000 (20:44 +0900)]
luci-app-samba: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1294 from aparcar/model
Jo-Philipp Wich [Sun, 13 Aug 2017 18:56:58 +0000 (20:56 +0200)]
Merge pull request #1294 from aparcar/model

luci-app-attendedsysupgrade: send model info

7 years agoMerge pull request #1301 from yousong/shadowsocks-libev
Hannu Nyman [Sun, 13 Aug 2017 16:47:25 +0000 (19:47 +0300)]
Merge pull request #1301 from yousong/shadowsocks-libev

luci-app-shadowsocks-libev: minor adaption for ease of use

7 years agoluci-app-attendedsysupgrade: send model info 1294/head
Paul Spooren [Thu, 10 Aug 2017 15:26:15 +0000 (17:26 +0200)]
luci-app-attendedsysupgrade: send model info

as reported [here][1] the board_name is not everywhere unified yet. to
solve this problem, the model name is transported as well and used as a
fallback identifier

[1]: https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/26

Signed-off-by: Paul Spooren <paul@spooren.de>
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 agoluci-app-shadowsocks-libev: assume ss-redir has default mode tcp_only 1301/head
Yousong Zhou [Sun, 13 Aug 2017 04:34:46 +0000 (12:34 +0800)]
luci-app-shadowsocks-libev: assume ss-redir has default mode tcp_only

This is in accordance with the current actual implementation of
ss-redir.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-app-shadowsocks-libev: add a ss_rules section if none exists
Yousong Zhou [Sun, 13 Aug 2017 04:28:37 +0000 (12:28 +0800)]
luci-app-shadowsocks-libev: add a ss_rules section if none exists

When there is no ss_rules section, the "Redir Rules" tab will have empty
form in the generated page.  This is especialy the case when the
shadowsocks-libev config is from an earlier version before 3.0.6-2

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