project/luci.git
6 years agoluci-app-travelmate: fixes for new QR code template 1662/head
Dirk Brenken [Sun, 4 Mar 2018 14:01:50 +0000 (15:01 +0100)]
luci-app-travelmate: fixes for new QR code template

* remove unofficial 'WPA2' enc. token for better compatibility with
  certain QR code reader, still 'WPA', 'WEP' and 'nopass' are supported
* add WEP key slot support (not really needed, but it's still
  supported by LuCI wireless)
* correct escape single quotes and other special chars
  in SSID & passwords
* code cleanup

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-app-travelmate: sync with release 1.1.3 1658/head
Dirk Brenken [Fri, 2 Mar 2018 17:06:38 +0000 (18:06 +0100)]
luci-app-travelmate: sync with release 1.1.3

* show WiFi QR codes from all configured Access Points

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-app-travelmate: sync with release 1.1.2 1648/head
Dirk Brenken [Tue, 27 Feb 2018 13:04:58 +0000 (14:04 +0100)]
luci-app-travelmate: sync with release 1.1.2

* refine timings & valid input ranges

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1633 from dibdot/travelmate
dibdot [Tue, 20 Feb 2018 07:55:24 +0000 (08:55 +0100)]
Merge pull request #1633 from dibdot/travelmate

luci-app-travelmate: sync with release 1.1.0

6 years agoluci-app-travelmate: sync with release 1.1.0 1633/head
Dirk Brenken [Mon, 19 Feb 2018 20:52:21 +0000 (21:52 +0100)]
luci-app-travelmate: sync with release 1.1.0

* add an option for the captive portal detection
* support the new signal quality treshold (default 30)
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-base: do not assume a fixed host address in delegated prefix (#1484)
Jo-Philipp Wich [Fri, 16 Feb 2018 16:04:13 +0000 (17:04 +0100)]
luci-base: do not assume a fixed host address in delegated prefix (#1484)

OpenWrt/LEDE introduced the "local-address" field a while back to expose the
effective local host address of the delegated prefix, so use that information
instead of assuming `[prefix]:1`.

Fixes #1484.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: rework client side IP validation types and support "hostid" type
Jo-Philipp Wich [Fri, 16 Feb 2018 15:53:48 +0000 (16:53 +0100)]
luci-base: rework client side IP validation types and support "hostid" type

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: fix Lua-side ip6hostid() datatype validation
Jo-Philipp Wich [Tue, 13 Feb 2018 13:29:21 +0000 (14:29 +0100)]
luci-base: fix Lua-side ip6hostid() datatype validation

A valid host ID as accepted by netifd must meet the following criteria:

 - Is either one of the two special "random" or "eui64" strings
 - Or is a valid IPv6 address according to inet_pton(AF_INET6)
 - Has the first 64 bit set to zero

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1627 from user7887/luci-ru
Hannu Nyman [Thu, 8 Feb 2018 16:17:02 +0000 (18:17 +0200)]
Merge pull request #1627 from user7887/luci-ru

i18n-ru: fixed russian translation

6 years agoi18n-ru: fixed russian translation 1627/head
Vladimir [Tue, 6 Feb 2018 22:04:33 +0000 (01:04 +0300)]
i18n-ru: fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1626 from TDT-AG/pr/20180105-luci-app-mwan3-add-service
Hannu Nyman [Mon, 5 Feb 2018 15:43:44 +0000 (17:43 +0200)]
Merge pull request #1626 from TDT-AG/pr/20180105-luci-app-mwan3-add-service

luci-app-mwan3: add service hint

6 years agoluci-app-wman3: show info if mwan3 is not global enabled 1626/head
Florian Eckert [Tue, 30 Jan 2018 07:12:53 +0000 (08:12 +0100)]
luci-app-wman3: show info if mwan3 is not global enabled

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: update look and feel interface status page
Florian Eckert [Tue, 30 Jan 2018 06:22:06 +0000 (07:22 +0100)]
luci-app-mwan3: update look and feel interface status page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: do not show mwan3 status in overview if not enabled
Florian Eckert [Tue, 30 Jan 2018 06:06:55 +0000 (07:06 +0100)]
luci-app-mwan3: do not show mwan3 status in overview if not enabled

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: update uci track entry to use /etc/init.d/mwan3 reload
Florian Eckert [Wed, 24 Jan 2018 15:24:09 +0000 (16:24 +0100)]
luci-app-mwan3: update uci track entry to use /etc/init.d/mwan3 reload

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #1625 from musashino205/l10n/nbm-upd-ja
Hannu Nyman [Mon, 5 Feb 2018 07:07:54 +0000 (09:07 +0200)]
Merge pull request #1625 from musashino205/l10n/nbm-upd-ja

luci-app-nlbwmon: update Japanese translation

6 years agoMerge pull request #1624 from musashino205/l10n/uhttpd-upd-ja
Hannu Nyman [Mon, 5 Feb 2018 07:07:35 +0000 (09:07 +0200)]
Merge pull request #1624 from musashino205/l10n/uhttpd-upd-ja

luci-app-uhttpd: update Japanese translation

6 years agoluci-app-nlbwmon: update Japanese translation 1625/head
INAGAKI Hiroshi [Mon, 5 Feb 2018 06:24:16 +0000 (15:24 +0900)]
luci-app-nlbwmon: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-app-uhttpd: update Japanese translation 1624/head
INAGAKI Hiroshi [Mon, 5 Feb 2018 05:57:21 +0000 (14:57 +0900)]
luci-app-uhttpd: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-app-shadowsocks-libev: remove deprecated option disable_sni
Yousong Zhou [Mon, 5 Feb 2018 03:04:25 +0000 (11:04 +0800)]
luci-app-shadowsocks-libev: remove deprecated option disable_sni

This reverts commit 5d916835752f83c53528cada375e3dd57c693483.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
6 years agoluci-app-shadowsocks-libev: add no_delay to names_options_common
Yousong Zhou [Fri, 12 Jan 2018 08:36:31 +0000 (16:36 +0800)]
luci-app-shadowsocks-libev: add no_delay to names_options_common

It will appear in the instance overview list

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
6 years agoluci-mod-admin-full: prevent unknown sysctl key warnings on status page
Jo-Philipp Wich [Sun, 4 Feb 2018 18:19:44 +0000 (19:19 +0100)]
luci-mod-admin-full: prevent unknown sysctl key warnings on status page

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1623 from dibdot/adblock
dibdot [Sat, 3 Feb 2018 10:27:36 +0000 (11:27 +0100)]
Merge pull request #1623 from dibdot/adblock

luci-app-adblock: fix XHMTL Markup

6 years agoluci-app-adblock: fix XHMTL Markup 1623/head
Dirk Brenken [Sat, 3 Feb 2018 10:25:34 +0000 (11:25 +0100)]
luci-app-adblock: fix XHMTL Markup

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agotimezone data: update to 2018c
Hannu Nyman [Fri, 2 Feb 2018 16:21:58 +0000 (18:21 +0200)]
timezone data: update to 2018c

Update timezone data to 2018c

http://mm.icann.org/pipermail/tz-announce/2018-January/000048.html

   Briefly:
   Sao Tome and Príncipe switched from +00 to +01.
   Brazil's DST will now start on November's first Sunday.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #1620 from musashino205/l10n/adblk-upd-ja
Hannu Nyman [Fri, 2 Feb 2018 15:59:50 +0000 (17:59 +0200)]
Merge pull request #1620 from musashino205/l10n/adblk-upd-ja

luci-app-adblock: update Japanese translation

6 years agoluci-app-adblock: update Japanese translation 1620/head
INAGAKI Hiroshi [Fri, 2 Feb 2018 15:42:56 +0000 (00:42 +0900)]
luci-app-adblock: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-app-adblock: sync translations
INAGAKI Hiroshi [Fri, 2 Feb 2018 15:12:59 +0000 (00:12 +0900)]
luci-app-adblock: sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoMerge pull request #1614 from dibdot/adblock
dibdot [Wed, 31 Jan 2018 19:29:05 +0000 (20:29 +0100)]
Merge pull request #1614 from dibdot/adblock

luci-app-adblock: sync with adblock 3.5.0

6 years agoluci-app-adblock: sync with adblock 3.5.0 1614/head
Dirk Brenken [Sat, 27 Jan 2018 17:13:52 +0000 (18:13 +0100)]
luci-app-adblock: sync with adblock 3.5.0

* Support new 'Download Queue'
* Support new 'Jail' Blocklist Creation
  (replace former 'Whitelist Mode')
* Fix field width in "Runtime Information" section

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1611 from squarewf/patch-1
Jo-Philipp Wich [Tue, 30 Jan 2018 16:34:50 +0000 (17:34 +0100)]
Merge pull request #1611 from squarewf/patch-1

Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port

6 years agoMerge pull request #1612 from user7887/luci-ru
Hannu Nyman [Tue, 30 Jan 2018 15:25:44 +0000 (17:25 +0200)]
Merge pull request #1612 from user7887/luci-ru

i18n-ru: fixed and updated russian translation

6 years agoFix #1609: luci-proto-wireguard placeholder wrongfully suggests default port 1611/head
square.wf [Tue, 30 Jan 2018 14:38:31 +0000 (15:38 +0100)]
Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port

6 years agoi18n-ru: fixed and updated russian translation 1612/head
Vladimir [Tue, 30 Jan 2018 14:35:30 +0000 (17:35 +0300)]
i18n-ru: fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1607 from user7887/luci-ru
dibdot [Mon, 29 Jan 2018 18:35:37 +0000 (19:35 +0100)]
Merge pull request #1607 from user7887/luci-ru

luci-app-travelmate fixed

6 years agoluci-app-travelmate fixed 1607/head
Vladimir [Mon, 29 Jan 2018 17:39:29 +0000 (20:39 +0300)]
luci-app-travelmate fixed

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1603 from user7887/luci-ru
Hannu Nyman [Mon, 29 Jan 2018 15:16:03 +0000 (17:16 +0200)]
Merge pull request #1603 from user7887/luci-ru

i18n-ru: fixed and updated russian translation

6 years agoi18n-ru: fixed and updated russian translation 1603/head
Vladimir [Sun, 28 Jan 2018 21:06:58 +0000 (00:06 +0300)]
i18n-ru: fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1600 from chris5560/master
Hannu Nyman [Sat, 27 Jan 2018 15:20:35 +0000 (17:20 +0200)]
Merge pull request #1600 from chris5560/master

luci.app-ddns: Update to 2.4.9-1

6 years agoluci.app-ddns: Update to 2.4.9-1 1600/head
Christian Schoenebeck [Sat, 27 Jan 2018 15:11:07 +0000 (16:11 +0100)]
luci.app-ddns: Update to 2.4.9-1

Read registered IP from file, updated by ddns-scripts.
Only read from DNS if file does not exist or outdated (check_interval).
Require ddns-scripts v 2.7.7

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
6 years agoMerge pull request #1597 from stangri/luci-app-simple-adblock
Hannu Nyman [Fri, 26 Jan 2018 14:23:38 +0000 (16:23 +0200)]
Merge pull request #1597 from stangri/luci-app-simple-adblock

luci-app-simple-adblock: Better logic to start/stop/reload from Web UI

6 years agoMerge pull request #1591 from user7887/luci-ru
Hannu Nyman [Fri, 26 Jan 2018 14:23:06 +0000 (16:23 +0200)]
Merge pull request #1591 from user7887/luci-ru

i18n-ru: fixed and updated russian translation

6 years agoMerge pull request #1593 from sotux/zh-cn_translation
Hannu Nyman [Fri, 26 Jan 2018 14:22:19 +0000 (16:22 +0200)]
Merge pull request #1593 from sotux/zh-cn_translation

luci-app-firewall: zh-cn: Update Simplified Chinese translation

6 years agoMerge pull request #1596 from stangri/luci-app-vpnbypass
Hannu Nyman [Fri, 26 Jan 2018 14:21:49 +0000 (16:21 +0200)]
Merge pull request #1596 from stangri/luci-app-vpnbypass

luci-app-vpnbypass: better service start/stop

6 years agoi18n-ru: fixed and updated russian translation 1591/head
Vladimir [Wed, 24 Jan 2018 12:55:03 +0000 (15:55 +0300)]
i18n-ru: fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-app-simple-adblock: bugfix for service start/stop 1597/head
Stan Grishin [Thu, 25 Jan 2018 23:05:28 +0000 (15:05 -0800)]
luci-app-simple-adblock: bugfix for service start/stop

Signed-off-by: Stan Grishin <stangri@melmac.net>
6 years agofixed dynapoint.lua, there was no translation
Vladimir [Tue, 23 Jan 2018 18:48:28 +0000 (21:48 +0300)]
fixed dynapoint.lua, there was no translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-app-vpnbypass: better service start/stop 1596/head
Stan Grishin [Fri, 26 Jan 2018 02:30:20 +0000 (18:30 -0800)]
luci-app-vpnbypass: better service start/stop

Signed-off-by: Stan Grishin <stangri@melmac.net>
6 years agoluci-app-firewall: zh-cn: Update Simplified Chinese translation 1593/head
Qian Zheng [Sun, 21 Jan 2018 03:12:05 +0000 (11:12 +0800)]
luci-app-firewall: zh-cn: Update Simplified Chinese translation

Signed-off-by: Qian Zheng <sotux82@gmail.com>
6 years agoMerge pull request #1588 from user7887/luci-ru
Hannu Nyman [Tue, 23 Jan 2018 20:37:28 +0000 (22:37 +0200)]
Merge pull request #1588 from user7887/luci-ru

fixed dynapoint.lua, there was no translation

6 years agofixed dynapoint.lua, there was no translation 1588/head
Vladimir [Tue, 23 Jan 2018 18:48:28 +0000 (21:48 +0300)]
fixed dynapoint.lua, there was no translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1587 from TDT-AG/pr/20180123-mwan3-fixes
Hannu Nyman [Tue, 23 Jan 2018 15:31:36 +0000 (17:31 +0200)]
Merge pull request #1587 from TDT-AG/pr/20180123-mwan3-fixes

luci-app-mwan3: refactoring continue 3

6 years agoluci-app-wman3: add license header to all files 1587/head
Florian Eckert [Tue, 23 Jan 2018 12:12:53 +0000 (13:12 +0100)]
luci-app-wman3: add license header to all files

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: fix diagnostics dropdown menu entry
Florian Eckert [Mon, 22 Jan 2018 14:09:31 +0000 (15:09 +0100)]
luci-app-mwan3: fix diagnostics dropdown menu entry

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: fix assert if route could not select by ubus
Florian Eckert [Fri, 19 Jan 2018 08:49:46 +0000 (09:49 +0100)]
luci-app-mwan3: fix assert if route could not select by ubus

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #1585 from user7887/luci-ru
Hannu Nyman [Tue, 23 Jan 2018 11:20:11 +0000 (13:20 +0200)]
Merge pull request #1585 from user7887/luci-ru

i18n-ru: fixed simple-adblock string&rus translation

6 years agoi18n-ru: fixed simple-adblock strin&rus translation 1585/head
Vladimir [Mon, 22 Jan 2018 14:10:11 +0000 (17:10 +0300)]
i18n-ru: fixed simple-adblock strin&rus translation

Signed-off-by: Vladimir <picfun@ya.ru>
refine

refine

6 years agoMerge pull request #1582 from user7887/luci-ru
Hannu Nyman [Sun, 21 Jan 2018 17:54:08 +0000 (19:54 +0200)]
Merge pull request #1582 from user7887/luci-ru

i18n-ru: fixed russian translation

6 years agoi18n-ru: fixed russian translation 1582/head
Vladimir [Sun, 21 Jan 2018 16:48:47 +0000 (19:48 +0300)]
i18n-ru: fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1576 from stangri/luci-app-advanced-reboot
Hannu Nyman [Sun, 21 Jan 2018 13:25:41 +0000 (15:25 +0200)]
Merge pull request #1576 from stangri/luci-app-advanced-reboot

luci-app-advanced-reboot: fixed bug on devices/board names with dashe…

6 years agoluci-app-advanced-reboot: fixed bug on devices/board names with dashes in them 1576/head
Stan Grishin [Sun, 21 Jan 2018 13:20:47 +0000 (05:20 -0800)]
luci-app-advanced-reboot: fixed bug on devices/board names with dashes in them

Signed-off-by: Stan Grishin <stangri@melmac.net>
6 years agoMerge pull request #1575 from user7887/luci-ru
Hannu Nyman [Sun, 21 Jan 2018 06:23:02 +0000 (08:23 +0200)]
Merge pull request #1575 from user7887/luci-ru

i18n-ru: fixed

6 years agoi18n-ru: fixed 1575/head
Vladimir [Sat, 20 Jan 2018 22:46:29 +0000 (01:46 +0300)]
i18n-ru: fixed

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-app-voice-core and -diag: remove from repo
Hannu Nyman [Sat, 20 Jan 2018 13:58:03 +0000 (15:58 +0200)]
luci-app-voice-core and -diag: remove from repo

Remove luci-app-voice-core and luci-app-voice-diag as they have been BROKEN
since 2015. They only support luci-app-diag-devinfo that has been removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agofreifunk-p2pblock / luci-app-p2pblock: remove from repo
Hannu Nyman [Sat, 20 Jan 2018 13:45:45 +0000 (15:45 +0200)]
freifunk-p2pblock / luci-app-p2pblock: remove from repo

Remove freifunk-p2pblock and luci-app-p2pblock as they have been BROKEN
since 2016. Packages depend on the removed l7-protocols as well as the
deprecated l7 support in the iptables kernel modules.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-diag-devinfo: remove from repo
Hannu Nyman [Sat, 20 Jan 2018 13:42:53 +0000 (15:42 +0200)]
luci-app-diag-devinfo: remove from repo

Remove luci-app-diag-devinfo as it has been BROKEN since 2015 due to
several dependencies to packages in oldpackages or abandoned

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-ushare: remove from repo
Hannu Nyman [Sat, 20 Jan 2018 13:37:25 +0000 (15:37 +0200)]
luci-app-ushare: remove from repo

Remove luci-app-ushare as it has been BROEKN since 2015.
(ushare package is still in oldpackages)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-radvd: remove from the repo
Hannu Nyman [Sat, 20 Jan 2018 13:35:29 +0000 (15:35 +0200)]
luci-app-radvd: remove from the repo

luci-app-radvd has been BROKEN since March 2016 as it depends
on radvd, which is still in oldpackages repo.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-pbx(-voicemail): remove from repo
Hannu Nyman [Sat, 20 Jan 2018 13:32:57 +0000 (15:32 +0200)]
luci-app-pbx(-voicemail): remove from repo

Remove the luci-app-pbx(-voicemail) packages, as they have been
marked BROKEN since August 2016.

The pbx packages depend on asterisk 1.8 that is EOL upstream
and has been moved from the telephony feed to the abandoned feed.

If LuCI pbx packages are still needed, they should be refreshed
to depend on a current asterisk version from the telephony feed,
and to match the features of that asterisk version.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #1571 from user7887/luci-ru
Hannu Nyman [Sat, 20 Jan 2018 13:24:38 +0000 (15:24 +0200)]
Merge pull request #1571 from user7887/luci-ru

i18n-sync base.po changes

6 years agoi18n-sync base.po changes 1571/head
Vladimir [Sat, 20 Jan 2018 13:09:35 +0000 (16:09 +0300)]
i18n-sync base.po changes

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1569 from user7887/luci-ru
Hannu Nyman [Sat, 20 Jan 2018 11:58:49 +0000 (13:58 +0200)]
Merge pull request #1569 from user7887/luci-ru

i18n-ru: Edits on the general pattern of Russian translation

6 years agoi18n-ru: Edits on the general pattern of Russian translation 1569/head
Vladimir [Sat, 20 Jan 2018 11:02:48 +0000 (14:02 +0300)]
i18n-ru: Edits on the general pattern of Russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1565 from user7887/luci-ru
Hannu Nyman [Sat, 20 Jan 2018 09:02:15 +0000 (11:02 +0200)]
Merge pull request #1565 from user7887/luci-ru

i18n-sync changes mwan3

6 years agoluci-mod-admin-full: fix typos on dhcp page
Hannu Nyman [Sat, 20 Jan 2018 08:46:16 +0000 (10:46 +0200)]
luci-mod-admin-full: fix typos on dhcp page

Based on #1568

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoi18n-sync changes mwan3 1565/head
Vladimir [Fri, 19 Jan 2018 16:55:44 +0000 (19:55 +0300)]
i18n-sync changes mwan3

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1561 from TDT-AG/pr/luci-app-mwan3-refactoring-continue
Hannu Nyman [Thu, 18 Jan 2018 14:43:49 +0000 (16:43 +0200)]
Merge pull request #1561 from TDT-AG/pr/luci-app-mwan3-refactoring-continue

luci-app-mwan3: refactoring continue 2

6 years agoluci-app-mwan3: refactoring troubleshooting page 1561/head
Florian Eckert [Thu, 18 Jan 2018 13:45:18 +0000 (14:45 +0100)]
luci-app-mwan3: refactoring troubleshooting page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: rename status tab names
Florian Eckert [Thu, 18 Jan 2018 12:51:47 +0000 (13:51 +0100)]
luci-app-mwan3: rename status tab names

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring detail status view and controller
Florian Eckert [Thu, 18 Jan 2018 12:42:21 +0000 (13:42 +0100)]
luci-app-mwan3: refactoring detail status view and controller

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring diagnostics view and controller
Florian Eckert [Thu, 18 Jan 2018 12:11:03 +0000 (13:11 +0100)]
luci-app-mwan3: refactoring diagnostics view and controller

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: fix unify luci code styling
Florian Eckert [Thu, 18 Jan 2018 06:41:41 +0000 (07:41 +0100)]
luci-app-mwan3: fix unify luci code styling

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove/unify lua require order
Florian Eckert [Thu, 18 Jan 2018 06:26:27 +0000 (07:26 +0100)]
luci-app-mwan3: remove/unify lua require order

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring member config pages
Florian Eckert [Wed, 17 Jan 2018 16:10:06 +0000 (17:10 +0100)]
luci-app-mwan3: refactoring member config pages

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring warning compilation on the policy config pages
Florian Eckert [Wed, 17 Jan 2018 16:01:42 +0000 (17:01 +0100)]
luci-app-mwan3: refactoring warning compilation on the policy config pages

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring ruleconfig page
Florian Eckert [Wed, 17 Jan 2018 15:27:09 +0000 (16:27 +0100)]
luci-app-mwan3: refactoring ruleconfig page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring warning compilation on the rule config pages
Florian Eckert [Wed, 17 Jan 2018 15:05:25 +0000 (16:05 +0100)]
luci-app-mwan3: refactoring warning compilation on the rule config pages

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove some config parameter from rule overview table
Florian Eckert [Wed, 17 Jan 2018 14:22:57 +0000 (15:22 +0100)]
luci-app-mwan3: remove some config parameter from rule overview table

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: update rule help text
Florian Eckert [Wed, 17 Jan 2018 14:30:15 +0000 (15:30 +0100)]
luci-app-mwan3: update rule help text

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove config_css
Florian Eckert [Wed, 17 Jan 2018 14:25:06 +0000 (15:25 +0100)]
luci-app-mwan3: remove config_css

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove some config parameter from interface overview table
Florian Eckert [Wed, 17 Jan 2018 14:10:51 +0000 (15:10 +0100)]
luci-app-mwan3: remove some config parameter from interface overview table

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: refactoring warning compilation on the interface config pages
Florian Eckert [Wed, 17 Jan 2018 13:37:14 +0000 (14:37 +0100)]
luci-app-mwan3: refactoring warning compilation on the interface config pages

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove diagnostics service section
Florian Eckert [Tue, 16 Jan 2018 15:09:33 +0000 (16:09 +0100)]
luci-app-mwan3: remove diagnostics service section

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove unnecessary table information
Florian Eckert [Mon, 15 Jan 2018 07:48:14 +0000 (08:48 +0100)]
luci-app-mwan3: remove unnecessary table information

- memberconfg view: remove interface table information it is already reflected
  in the interface dropdown
- policyconfig view: remove member table information it is already refelected
  in the member dropdown
- ruleconfig view: remove policy table information it is already reflected
  in the policy dropdown

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: use mwan3 ubus call for status information
Florian Eckert [Fri, 12 Jan 2018 15:12:02 +0000 (16:12 +0100)]
luci-app-mwan3: use mwan3 ubus call for status information

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: unify header in configuration tab
Florian Eckert [Fri, 12 Jan 2018 09:50:58 +0000 (10:50 +0100)]
luci-app-mwan3: unify header in configuration tab

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: rename mwan3 status overview plugin
Florian Eckert [Fri, 12 Jan 2018 09:49:45 +0000 (10:49 +0100)]
luci-app-mwan3: rename mwan3 status overview plugin

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: remove old /etc/hotplug.d/16-mwancustombak"
Florian Eckert [Fri, 12 Jan 2018 08:17:16 +0000 (09:17 +0100)]
luci-app-mwan3: remove old /etc/hotplug.d/16-mwancustombak"

Remove old /etc/hotplug.d/15-mwancustombak file use instead
/etc/mwan3.user from the mwan3 base package. The modification could be
done undet "Networke | Load Balancer | Notify"

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-nlbw: fix sporadic premature EOF when rendering JSON data
Jo-Philipp Wich [Wed, 17 Jan 2018 20:15:47 +0000 (21:15 +0100)]
luci-app-nlbw: fix sporadic premature EOF when rendering JSON data

Specific timing patterns sometimes caused the LuCI controller to prematurely
stop reading data, resulting in truncated JSON output.

Turn the nonblocking waitpid() call into a blocking call after the IO read
loop to avoid this issue.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: log login attempts
Jo-Philipp Wich [Wed, 17 Jan 2018 17:49:08 +0000 (18:49 +0100)]
luci-base: log login attempts

Signed-off-by: Jo-Philipp Wich <jo@mein.io>