oweals/luci.git
5 years agoMerge pull request #2354 from pmelange/freifunk_backport_17.01
Jo-Philipp Wich [Thu, 6 Dec 2018 23:10:11 +0000 (00:10 +0100)]
Merge pull request #2354 from pmelange/freifunk_backport_17.01

Freifunk-berlin backport 17.01 - update community-profiles

5 years agocommunity-profiles: change subnet of mesh_network option for Berlin 2354/head
Philipp Borgers [Mon, 24 Sep 2018 11:43:51 +0000 (13:43 +0200)]
community-profiles: change subnet of mesh_network option for Berlin

The mesh_network option is used to check the user input. The wizard
checks if the input ip address is part of the mesh_network. We use
multiple /16 networks. There is no support for multiple ranges so we the
10.0.0.0/8.

For reference the ip list:

https://wiki.freifunk.net/IP-Netze

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
5 years agocommunity-profiles: create profile for Fürstenwalde
Martin Hübner [Tue, 23 Oct 2018 16:43:58 +0000 (18:43 +0200)]
community-profiles: create profile for Fürstenwalde

New profile for Fürstenwalde. At the moment we use parts of the Berlin-
infrastructure. Thus I have not changed the ip-address-related things.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
[reword and rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agofreifunk profiles: add nameserver 80.67.169.40 from www.fdn.fr/actions/dns
pmelange [Thu, 4 Oct 2018 10:10:58 +0000 (12:10 +0200)]
freifunk profiles: add nameserver 80.67.169.40 from fdn.fr/actions/dns

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
(cherry picked from commit 400bb53e6e753f7e4cba47cff3d8030d06aa7afc)

6 years agotimezone data: update to 2018g
Hannu Nyman [Tue, 30 Oct 2018 17:45:50 +0000 (19:45 +0200)]
timezone data: update to 2018g

Update timezone data to 2018g

http://mm.icann.org/pipermail/tz-announce/2018-October/000052.html

 * Morocco switches to permanent +01 on 2018-10-27.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 111ebe2f62f28f3aa1fa038983e7d0b65e9df46c)

6 years ago timezone data: update to 2018f
Hannu Nyman [Thu, 25 Oct 2018 15:44:48 +0000 (18:44 +0300)]
 timezone data: update to 2018f

Update timezone data to 2018f

http://mm.icann.org/pipermail/tz-announce/2018-October/000051.html

   Volgograd moves from +03 to +04 on 2018-10-28.
   Fiji ends DST 2019-01-13, not 2019-01-20.
   Most of Chile changes DST dates, effective 2019-04-06.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 651937c166b4f2b8e3b1e1228f3a7f38411e4f5a)

6 years agotimezone data: update to 2018e
Hannu Nyman [Tue, 9 Oct 2018 15:19:52 +0000 (18:19 +0300)]
timezone data: update to 2018e

Update timezone data to 2018e

http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html

  North Korea switches back to +09 on 2018-05-05.
  The main format uses negative DST again, for Ireland

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 701f6b0819a902e8c45e19c95aad7121f9c50145)

6 years agoluci-mod-admin-full: set 0 db DSL SNR offset by default
Mathias Kresin [Sat, 13 Jan 2018 06:44:29 +0000 (07:44 +0100)]
luci-mod-admin-full: set 0 db DSL SNR offset by default

If no DSL SNR offset is set for the dsl line the first entry from the
dropdown list is pre-selected by default, which would apply a -10 db
offset by default.

Pre-select the 0 db option if nothing else is specified in the uci config
files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from commit cfdeaa91fa6be17069eb215df73dd6fc840df122)

6 years agoluci-mod-admin-full: allow setting DSL SNR offset for VDSL
Jo-Philipp Wich [Mon, 8 Jan 2018 09:31:03 +0000 (10:31 +0100)]
luci-mod-admin-full: allow setting DSL SNR offset for VDSL

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 08b40acc4e63b203ea4e3577f6e853f20bdfc864)

6 years agoluci-mod-admin-full: allow a wider range of DSL SNR margins
Jo-Philipp Wich [Tue, 2 Jan 2018 17:26:16 +0000 (18:26 +0100)]
luci-mod-admin-full: allow a wider range of DSL SNR margins

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit dbb694c699f80f387c61d531cb3e8de2608edbec)

6 years agoluci-mod-admin-full: add SNR tweak option to DSL
Andrea Merello [Tue, 16 May 2017 16:41:10 +0000 (18:41 +0200)]
luci-mod-admin-full: add SNR tweak option to DSL

Reported-by: Andrea Merello <andrea.merello@gmail.com>
[rebase onto master, fix indentation, commit subject, depend on adsl mode]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit f0716ecd6e807799c8e16bea72d6ea98ec803d1b)

6 years agoluci-app-transmission: fix typo
Hannu Nyman [Fri, 29 Jun 2018 15:22:46 +0000 (18:22 +0300)]
luci-app-transmission: fix typo

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-base: fix broken translation
Ansuel Smith [Sun, 27 May 2018 17:33:11 +0000 (19:33 +0200)]
luci-base: fix broken translation

Currently this translation refer to an old string, sync to the new one.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit c29ffe4dfc76ffe4a38aee9bb363a1a3e0b8328c)

6 years agoMerge pull request #1708 from guidosarducci/lede-17.01-add-luci-isolate-mac80211
Hannu Nyman [Wed, 23 May 2018 05:30:15 +0000 (08:30 +0300)]
Merge pull request #1708 from guidosarducci/lede-17.01-add-luci-isolate-mac80211

luci-mod-admin-full: backport add missing "isolate" option for mac80211

6 years agoMerge pull request #1756 from fy1128/lede-17.01
Hannu Nyman [Sat, 28 Apr 2018 05:48:39 +0000 (08:48 +0300)]
Merge pull request #1756 from fy1128/lede-17.01

luci-app-ddns: 'CRTL' should be 'CTRL'

6 years agoRemoved retired nameserver 213.73.91.35 from the Freifunk profiles
pmelange [Mon, 23 Apr 2018 14:27:08 +0000 (16:27 +0200)]
Removed retired nameserver 213.73.91.35 from the Freifunk profiles
See issue openwrt/luci#1757

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
(cherry picked from commit c2d3fe8a9730a519278def5534c60ee6991185c3)

6 years agoluci-app-ddns: PKG_RELEASE increased. 1756/head
fy1128 [Mon, 23 Apr 2018 17:05:34 +0000 (01:05 +0800)]
luci-app-ddns: PKG_RELEASE increased.

6 years ago'CRTL' should be 'CTRL'
fy1128 [Sun, 22 Apr 2018 15:55:17 +0000 (23:55 +0800)]
'CRTL' should be 'CTRL'

6 years agoluci-app-statistics: sync translations
Hannu Nyman [Sun, 8 Apr 2018 20:13:49 +0000 (23:13 +0300)]
luci-app-statistics: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agotimezone data: update to 2018d
Hannu Nyman [Sat, 7 Apr 2018 20:21:19 +0000 (23:21 +0300)]
timezone data: update to 2018d

Update timezone data to 2018d

http://mm.icann.org/pipermail/tz-announce/2018-March/000049.html

  In 2018, Palestine starts DST on March 24, not March 31.
     Adjust future predictions accordingly.
  Casey Station in Antarctica changed from +11 to +08

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #1710 from guidosarducci/lede-17.01-fix-luci-fwknopd
Hannu Nyman [Mon, 2 Apr 2018 15:45:16 +0000 (18:45 +0300)]
Merge pull request #1710 from guidosarducci/lede-17.01-fix-luci-fwknopd

luci-app-fwknop:  backport a check to not overwrite user configured keys

6 years agoMerge pull request #1707 from guidosarducci/lede-17.01-fix-apcups-statistics
Hannu Nyman [Mon, 2 Apr 2018 15:43:28 +0000 (18:43 +0300)]
Merge pull request #1707 from guidosarducci/lede-17.01-fix-apcups-statistics

luci-app-statistics: backport completed support for apcups plugin

6 years agoluci-mod-admin-full: "isolate" option is missing for mac80211 1708/head
fantom-x [Sun, 30 Apr 2017 20:38:45 +0000 (16:38 -0400)]
luci-mod-admin-full: "isolate" option is missing for mac80211

Signed-off-by: Marc Benoit marcb6218@gmail.com
[Tony Ambardar: backported from aee99ce9 ('luci-mod-admin-full: "isolate"
                option is missing for mac80211')]
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
6 years agoluci-app-statistics: only graph data supported by APC UPS 1707/head
guidosarducci [Sat, 3 Mar 2018 21:45:23 +0000 (13:45 -0800)]
luci-app-statistics: only graph data supported by APC UPS

Some graph definitions rely on data not supported across all APC UPSes.
Due to recent upstream changes in collectd, the daemon no longer creates
a NaN-filled .rrd file corresponding to any missing UPS data. Depending
on the connected UPS, this may result in some "broken" graphs on the Luci
Statistics page since rrdtool cannot find the expected .rrd file.

Include the add_supported() function to determine the UPS data available
at runtime and update any definitions of graphs to include only supported
data. For example, the whole chart stack of AC input and output voltages
will normally be "broken" if the UPS only measures AC input voltage. With
these changes, the output voltage graph definition is stripped out,
allowing the chart to render.

Make consistent use of data types and instances in graph definitions. All
definitions now use the same format with the 'instances' key. Unnecessary
'types' and 'sources' keys are removed.

Fix the definition of 'line frequency' graph, based on upstream collectd
apcups plugin code: type is 'frequency' but instance should be 'input'.

This also includes some code and whitespace cleanup.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit fa1f4c42a6e73483d8ed6284b177e5648f44a114)

6 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>
(cherry picked from commit 2145b7b33bbc4c142b243ac032e6e9c1c28ca835)

6 years agoluci-app-statistics: add support for apcups plugin
guidosarducci [Tue, 14 Mar 2017 02:36:52 +0000 (19:36 -0700)]
luci-app-statistics: add support for apcups plugin

OpenWRT/LEDE support for APC UPSes is only partial: although the collectd
apcups plugin is included, related lua/luci code is missing. These changes
add the lua side and have been used for ~2 years, both on OpenWRT and LEDE.

Reworked from patches submitted by James Klaas to the luci development list
in 2015.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit 808f2617931dcd6f84637e1bff3a737b9368917c)

6 years agoluci-app-fwknop: Adds a check to not overwrite user configured keys 1710/head
Jonathan Bennett [Sat, 14 Oct 2017 04:39:51 +0000 (23:39 -0500)]
luci-app-fwknop:  Adds a check to not overwrite user configured keys

Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
[Tony Ambardar: backported from master branch 4b7a0085 ("luci-app-fwknop:
                Adds a check to not overwrite user configured keys")]
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
6 years agoluci-base: add missing conffiles
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>
[Yousong Zhou: Backported from master branch 37b11db ("luci-base: add
               missing conffiles")]
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
6 years agoMerge pull request #1650 from hafu/ffp-profile
Hannu Nyman [Wed, 28 Feb 2018 15:08:15 +0000 (17:08 +0200)]
Merge pull request #1650 from hafu/ffp-profile

community-profiles: potsdam - changed SSID

6 years agocommunity-profiles: potsdam - changed SSID 1650/head
Hannes Fuchs [Tue, 27 Feb 2018 22:00:18 +0000 (23:00 +0100)]
community-profiles: potsdam - changed SSID

After some discussion in our meetings and on the maling list we decided to
change the SSID to a fixed one.

Signed-off-by: Hannes Fuchs <hannes.fuchs@gmx.org>
6 years agoupdated community-profile for potsdam
Hannes Fuchs [Sun, 25 Feb 2018 07:03:26 +0000 (09:03 +0200)]
updated community-profile for potsdam

- fixed ssid
- disable IPv6
- added more interface settings
- added settings for 5GHz wifi
- added ssidscheme
- added dhcp leasetime setting
- added LinkQualityAlgorithm for olsrd

Signed-off-by: Hannes Fuchs <hannes.fuchs@gmx.org>
cherry picked from commit 892398692c99389f8a0e3b44f1054a639f010257
Reference to #1634

6 years agoMerge pull request #1619 from user7887/lede-17.01
Hannu Nyman [Thu, 8 Feb 2018 16:14:29 +0000 (18:14 +0200)]
Merge pull request #1619 from user7887/lede-17.01

i18n-ru: fixed and updated russian translation

6 years agoi18n-ru: fixed and updated russian translation 1619/head
Vladimir [Wed, 31 Jan 2018 21:58:32 +0000 (00:58 +0300)]
i18n-ru: fixed and updated russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
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>
(cherry picked from commit eae2f37b62393b0355238507ffdddb045b7d2fdb)

6 years agoMerge pull request #1613 from user7887/lede-17.01
Hannu Nyman [Tue, 30 Jan 2018 15:25:57 +0000 (17:25 +0200)]
Merge pull request #1613 from user7887/lede-17.01

i18n-ru: fixed and updated russian translation

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

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

luci-app-travelmate fixed

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

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

i18n-ru: fixed and updated russian translation

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

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1590 from user7887/lede-17.01
Hannu Nyman [Fri, 26 Jan 2018 14:22:52 +0000 (16:22 +0200)]
Merge pull request #1590 from user7887/lede-17.01

i18n-ru: fixed and updated russian translation

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

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoFix bad argument #1 to 'tonumber'
Brian J. Murrell [Mon, 4 Dec 2017 13:44:00 +0000 (08:44 -0500)]
Fix bad argument #1 to 'tonumber'

Fixes [FS#1118](https://bugs.lede-project.org/index.php?do=details&task_id=1118)

Luci chokes on devices that do not have _iptables_ installed with:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

The code should be more defensive.

6 years agoMerge pull request #1589 from user7887/lede-17.01
Hannu Nyman [Tue, 23 Jan 2018 20:37:59 +0000 (22:37 +0200)]
Merge pull request #1589 from user7887/lede-17.01

i18n-sync changes base.po+fixed dynapoint.lua

6 years agoi18n-sync changes base.po+fixed dynapoint.lua 1589/head
Vladimir [Tue, 23 Jan 2018 20:25:01 +0000 (23:25 +0300)]
i18n-sync changes base.po+fixed dynapoint.lua

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoluci-mod-admin-full: Add mesh_fwding support
Sven Roederer [Tue, 23 Jan 2018 16:18:25 +0000 (18:18 +0200)]
luci-mod-admin-full: Add mesh_fwding support

* make it only visible for 802.11s mesh-networks
* have it enabled by default

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
[add empty line before meshfwd assignment]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 63255ec38b2f5849fec9e54d3f3e2aa7ef76bd72)

6 years agoluci-mod-admin-full: Add meshId support
Kishan Gondaliya [Tue, 12 Sep 2017 10:05:37 +0000 (15:35 +0530)]
luci-mod-admin-full: Add meshId support

Signed-off-by: Kishan Gondaliya <kishanpgondaliya@gmail.com>
[move mode before the SSID / Mesh ID setting]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 267bf83db020295179fad88c6859e50e3406665a)

6 years agoMerge pull request #1586 from user7887/lede-17.01
Hannu Nyman [Tue, 23 Jan 2018 11:18:02 +0000 (13:18 +0200)]
Merge pull request #1586 from user7887/lede-17.01

i18n-ru: fixed russian translation

6 years agoi18n-ru: fixed russian translation 1586/head
Vladimir [Mon, 22 Jan 2018 14:30:18 +0000 (17:30 +0300)]
i18n-ru: fixed russian translation

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1581 from user7887/lede-17.01
Hannu Nyman [Sun, 21 Jan 2018 17:53:47 +0000 (19:53 +0200)]
Merge pull request #1581 from user7887/lede-17.01

i18n-ru: fixed russian translation

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

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1574 from user7887/lede-17.01-ru
Hannu Nyman [Sun, 21 Jan 2018 06:22:40 +0000 (08:22 +0200)]
Merge pull request #1574 from user7887/lede-17.01-ru

i18n-ru: fixed the difference between a trunk and 17.01

6 years agoi18n-ru: fixed the difference between a trunk and 17.01 1574/head
Vladimir [Sat, 20 Jan 2018 22:36:33 +0000 (01:36 +0300)]
i18n-ru: fixed the difference between a trunk and 17.01

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1573 from user7887/lede-17.01
Hannu Nyman [Sat, 20 Jan 2018 20:21:46 +0000 (22:21 +0200)]
Merge pull request #1573 from user7887/lede-17.01

i18n-ru: fixed and updated russian translation+update by script i18n-…

6 years agoi18n-ru: fixed and updated russian translation+update by script i18n-sync.sh 1573/head
Vladimir [Sat, 20 Jan 2018 20:02:49 +0000 (23:02 +0300)]
i18n-ru: fixed and updated russian translation+update by script i18n-sync.sh

Signed-off-by: Vladimir <picfun@ya.ru>
6 years agoMerge pull request #1564 from dibdot/travelmate-17.01 1572/head
Hannu Nyman [Fri, 19 Jan 2018 13:11:12 +0000 (15:11 +0200)]
Merge pull request #1564 from dibdot/travelmate-17.01

[17.01] luci-app-travelmate: release 1.0.2

6 years agoMerge pull request #1563 from dibdot/adblock-17.01
Hannu Nyman [Fri, 19 Jan 2018 13:11:00 +0000 (15:11 +0200)]
Merge pull request #1563 from dibdot/adblock-17.01

[17.01] luci-app-adblock: release 3.4.3

6 years ago[17.01] luci-app-travelmate: release 1.0.2 1564/head
Dirk Brenken [Fri, 19 Jan 2018 09:42:35 +0000 (10:42 +0100)]
[17.01] luci-app-travelmate: release 1.0.2

* bump travelmate version in stable tree as well

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years ago[17.01] luci-app-adblock: release 3.4.3 1563/head
Dirk Brenken [Fri, 19 Jan 2018 09:30:42 +0000 (10:30 +0100)]
[17.01] luci-app-adblock: release 3.4.3

* bump adblock version in stable tree

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-app-statistics: add advice about data directory permissions 1558/head
Hannu Nyman [Mon, 15 Jan 2018 21:06:51 +0000 (23:06 +0200)]
luci-app-statistics: add advice about data directory permissions

Add advice about the permissions needed for the data directory:

  Pages are rendered as user 'nobody', so the *.rrd files,
  data directory and all its parent directories need to be
  world readable.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit eaafb4508c139b2aa8644c31c8349d5b25f2df8e)

6 years agoMerge pull request #1506 from Borromini/lede-17.01
Hannu Nyman [Sun, 7 Jan 2018 08:54:24 +0000 (10:54 +0200)]
Merge pull request #1506 from Borromini/lede-17.01

luci-app-wireguard: move to correct location

6 years agoluci-app-wireguard: move to correct location 1506/head
Stijn Segers [Sun, 7 Jan 2018 06:53:41 +0000 (07:53 +0100)]
luci-app-wireguard: move to correct location

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
6 years agoMerge pull request #1505 from Borromini/lede-17.01
Hannu Nyman [Sat, 6 Jan 2018 21:55:21 +0000 (23:55 +0200)]
Merge pull request #1505 from Borromini/lede-17.01

luci-app-wireguard: add LuCI Wireguard status to 17.01 as well

6 years agoluci-app-wireguard: add LuCI Wireguard status to 17.01 as well 1505/head
Stijn Segers [Sat, 6 Jan 2018 20:02:40 +0000 (21:02 +0100)]
luci-app-wireguard: add LuCI Wireguard status to 17.01 as well

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
6 years agoluci-app-statistics: set logfile as first item in collectd.conf
Hannu Nyman [Sat, 2 Dec 2017 06:26:10 +0000 (08:26 +0200)]
luci-app-statistics: set logfile as first item in collectd.conf

Force logfile plugin to be evaluated first so that it gets placed
first in the collectd.conf file.

Reference to https://collectd.org/wiki/index.php/Plugin:LogFile

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit afa7a14cafd9e6c29f7ba1e3f56fc232e5849503)

7 years agotimezone data: update to 2017c
Hannu Nyman [Sat, 11 Nov 2017 17:01:45 +0000 (19:01 +0200)]
timezone data: update to 2017c

Update timezone data to 2017c

http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html

   Briefly:
   Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
   Fiji ends DST 2018-01-14, not 2018-01-21.
   Namibia switches from +01/+02 to +02 on 2018-04-01.
   Sudan switches from +03 to +02 on 2017-11-01.
   Tonga likely switches from +13/+14 to +13 on 2017-11-05.
   Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoFixes #1413.
Jo-Philipp Wich [Wed, 25 Oct 2017 12:23:45 +0000 (14:23 +0200)]
Fixes #1413.

Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fbe7f90eed4545e4b23a940a47043a2001625429)

7 years agoMerge pull request #1411 from Cye3s/lede-17.01
Hannu Nyman [Mon, 23 Oct 2017 15:27:42 +0000 (18:27 +0300)]
Merge pull request #1411 from Cye3s/lede-17.01

luci_base: Update zh_CN zh_TW base.po, translate fix

7 years agoluci_base: Update zh_TW base.po, translate fix 1411/head
Cye3s [Mon, 23 Oct 2017 09:26:20 +0000 (17:26 +0800)]
luci_base: Update zh_TW base.po, translate fix

7 years agoluci_base: Update zh_CN base.po, translate fix
Cye3s [Mon, 23 Oct 2017 09:21:33 +0000 (17:21 +0800)]
luci_base: Update zh_CN base.po, translate fix

Same as https://github.com/openwrt/luci/pull/1221
But commit to lede-17.01 branch

7 years agoMerge pull request #1403 from StevenHessing/lede-17.01-noddos
Hannu Nyman [Sat, 21 Oct 2017 06:14:24 +0000 (09:14 +0300)]
Merge pull request #1403 from StevenHessing/lede-17.01-noddos

luci-app-noddos: backport from master

7 years agoluci-app-noddos: backport from master 1403/head
Hannu Nyman [Wed, 11 Oct 2017 13:35:56 +0000 (16:35 +0300)]
luci-app-noddos: backport from master

Signed-off-by: Steven Hessing <steven.hessing@gmail.com>
7 years agoluci-mod-admin-full: move KRACK countermeasures out of IEEE802.11w condition
Jo-Philipp Wich [Wed, 18 Oct 2017 13:51:51 +0000 (15:51 +0200)]
luci-mod-admin-full: move KRACK countermeasures out of IEEE802.11w condition

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: tone down KRACK countermeasure description
Jo-Philipp Wich [Tue, 17 Oct 2017 22:04:58 +0000 (00:04 +0200)]
luci-mod-admin-full: tone down KRACK countermeasure description

Backport of b7be0b9d16c8bd28cefc2566ae542aedea1639e9.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoi18n: update translations
Jo-Philipp Wich [Tue, 17 Oct 2017 20:57:57 +0000 (22:57 +0200)]
i18n: update translations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: wifi: expose wpa_disable_eapol_key_retries option
Jo-Philipp Wich [Tue, 17 Oct 2017 20:54:18 +0000 (22:54 +0200)]
luci-mod-admin-full: wifi: expose wpa_disable_eapol_key_retries option

Bacport of 48ed00e5b.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoi18n: sync translations
Hannu Nyman [Mon, 16 Oct 2017 13:31:50 +0000 (16:31 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-app-uhttpd: Bump default key size to 2048 bits for certificates
Alexander Schlarb [Sat, 19 Aug 2017 16:58:49 +0000 (18:58 +0200)]
luci-app-uhttpd: Bump default key size to 2048 bits for certificates

More about the currently recommended key sizes: https://www.keylength.com/en/compare/

Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja>
Modified to maintain the old minimum of 1024 bits for low-end devices.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit ac8a957191e49b186fcebfa23a2b54e6f7a2f9db)

7 years agoluci-app-uhttpd: Fix certificate parameter section
Alexander Schlarb [Sat, 19 Aug 2017 16:53:49 +0000 (18:53 +0200)]
luci-app-uhttpd: Fix certificate parameter section

Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja>
(cherry picked from commit ab6485693834f7f66ff280d08abeec6e68265783)

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-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 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 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-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 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-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>
(cherry picked from commit f6505fc01c8aee4d2f9f7bc7537c3a93cfd5dab1)

7 years agoluci-app-upnp: fix setting ucitrack init option
Yousong Zhou [Wed, 5 Jul 2017 20:16:46 +0000 (23:16 +0300)]
luci-app-upnp: fix setting ucitrack init option

Fixes FS#693

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit ed11130b84ed6ff95f09c8a482f52fa253555881)

7 years agoluci-minuupnpd: use enable flag
Kevin Darbyshire-Bryant [Sat, 11 Feb 2017 20:31:58 +0000 (20:31 +0000)]
luci-minuupnpd: use enable flag

Add a 'master' miniupnpd service enable flag rather than just relying on
rcS.d script existence.  This allows the service to be disabled
across sysupgrade, similar to minidlna.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 1093327a4ddaf377fde40fdfb8ed168abac4b5eb)

7 years agoluci-app-miniupnpd: restore missing luci install file
Kevin Darbyshire-Bryant [Sat, 11 Feb 2017 19:41:31 +0000 (19:41 +0000)]
luci-app-miniupnpd: restore missing luci install file

Restore luci indexcache handling incorrect removed in
https://github.com/openwrt/luci/commit/387a06bb73462312c075e53ce9e6002d4af09e92

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 5ef9a3a0097530001db4d3ee317dcd80bdd7f7ca)

7 years agoluci-proto-openconnect: remove "interface" field
Yousong Zhou [Mon, 19 Jun 2017 03:22:28 +0000 (11:22 +0800)]
luci-proto-openconnect: remove "interface" field

It's not needed anymore and removed in the openconnect package

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit dfd082c53bfb607b0c78973095ab49f831b7e1ac)

7 years agoluci-proto-openconnect: allow setting mtu, password2
Yousong Zhou [Sun, 30 Apr 2017 08:47:47 +0000 (16:47 +0800)]
luci-proto-openconnect: allow setting mtu, password2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit cf8146ff6779b5b97933d48a6eda8292b792b36b)

7 years agoluci-app-ddns: fix to correct system status
Christian Schoenebeck [Wed, 26 Apr 2017 19:54:57 +0000 (21:54 +0200)]
luci-app-ddns: fix to correct system status

preset network "wan", if not configured in ddns config to correct
display system status #1117

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
[Jo-Philipp Wich: cherry-pick of 3e0492f, fixes #1193]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-statistics: support specifying line width in graph definitions
Jo-Philipp Wich [Sat, 10 Jun 2017 18:37:29 +0000 (20:37 +0200)]
luci-app-statistics: support specifying line width in graph definitions

This allows a graph definition to explicitely request LINE1, LINE2 or
LINE3 for a data source.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-statistics: support graph menu entries without corresponding labels
Jo-Philipp Wich [Sat, 10 Jun 2017 18:26:10 +0000 (20:26 +0200)]
luci-app-statistics: support graph menu entries without corresponding labels

Properly render menu items for plugin instances that do not have a
corresponding label defined.

This allows for registering new graph pages solely by dropping files
into /usr/lib/lua/luci/statistics/rrdtool/definitions/

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: automatically set dns=1 for static leases with hostname
Jo-Philipp Wich [Thu, 1 Jun 2017 23:00:12 +0000 (01:00 +0200)]
luci-mod-admin-full: automatically set dns=1 for static leases with hostname

Most users likely want the hostname of a static DHCP lease to be resolveable,
even if the corresponding host is currently offline.

Adjust the form logic to automatically set 'option dns 1' whenever a name is
specified in the static lease entry.

FIxes LEDE FS#815.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoi18n: sync with master
Jo-Philipp Wich [Wed, 31 May 2017 22:47:04 +0000 (00:47 +0200)]
i18n: sync with master

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-commands: Allow executing without downloading on public links
t123yh [Wed, 3 Aug 2016 10:19:04 +0000 (18:19 +0800)]
luci-app-commands: Allow executing without downloading on public links

Signed-off-by: t123yh <t123yh@outlook.com>
7 years agoluci-theme-openwrt: fix JavaScript nameing
Florian Eckert [Wed, 22 Feb 2017 09:09:04 +0000 (10:09 +0100)]
luci-theme-openwrt: fix JavaScript nameing

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>