project/luci.git
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-shadowsocks-libev: hide key, password value in instance overview
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
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
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
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
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: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 agoremove request headers that are set automatically by browser
Daniel W [Sat, 22 Jul 2017 16:11:14 +0000 (12:11 -0400)]
remove request headers that are set automatically by browser

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
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
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