project/luci.git
3 years agotimezone data: update to 2021a
Hannu Nyman [Fri, 29 Jan 2021 18:52:48 +0000 (20:52 +0200)]
timezone data: update to 2021a

Update timezone data to 2021a.

http://mm.icann.org/pipermail/tz-announce/2021-January/000065.html

* South Sudan changes from +03 to +02

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

3 years agotreewide: i18n - Sync and backport translations from master
Hannu Nyman [Fri, 29 Jan 2021 18:57:29 +0000 (20:57 +0200)]
treewide: i18n - Sync and backport translations from master

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agoluci-app-sqm: remove orphaned ACL file
Florian Eckert [Thu, 21 Jan 2021 06:17:35 +0000 (07:17 +0100)]
luci-app-sqm: remove orphaned ACL file

Remove a backport artefact. For the openwrt-19.07 branch, luci-app-sqm
is maintained in the packages feed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agoluci-mod-network: properly handle wireless devices when adding interfaces
Jo-Philipp Wich [Sat, 12 Dec 2020 11:15:33 +0000 (12:15 +0100)]
luci-mod-network: properly handle wireless devices when adding interfaces

Wireless device names must not be added as list/option ifname, but the
network must be backreferenced in config wifi-iface instead in these
cases.

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

3 years agotreewide: i18n - backport translations from master
Hannu Nyman [Sat, 16 Jan 2021 09:08:51 +0000 (11:08 +0200)]
treewide: i18n - backport translations from master

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agoMerge pull request #4730 from stangri/19.07-luci-app-https-dns-proxy
Stan Grishin [Wed, 13 Jan 2021 12:04:16 +0000 (04:04 -0800)]
Merge pull request #4730 from stangri/19.07-luci-app-https-dns-proxy

[19.07] luci-app-https-dns-proxy: DSCP tagging support

3 years agoluci-app-https-dns-proxy: DSCP tagging support 4730/head
Stan Grishin [Wed, 13 Jan 2021 12:01:52 +0000 (12:01 +0000)]
luci-app-https-dns-proxy: DSCP tagging support

Signed-off-by: Stan Grishin <stangri@melmac.net>
3 years agoluci-base: correct button name on flash page help text
Hannu Nyman [Tue, 12 Jan 2021 17:01:05 +0000 (19:01 +0200)]
luci-base: correct button name on flash page help text

Correct the help text in the flash page to match the current
buttons. 'Continue' instead of "Proceed".

Adjust translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e2ac2e92b0de9f4be78b090ad7fc62a8df222b37
 languages not existing in 19.07 removed from the commit)

3 years agotimezone data: update to 2020f
Hannu Nyman [Sat, 9 Jan 2021 18:18:22 +0000 (20:18 +0200)]
timezone data: update to 2020f

Update timezone data to 2020f.

2020e: http://mm.icann.org/pipermail/tz-announce/2020-December/000063.html
       Volgograd switches to Moscow time.
       Australia/Currie removed as identical to Australia/Hobart
2020f: http://mm.icann.org/pipermail/tz-announce/2020-December/000064.html

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

3 years agoluci-theme-rosy: Remove BROKEN theme
Hannu Nyman [Tue, 29 Dec 2020 12:30:11 +0000 (14:30 +0200)]
luci-theme-rosy: Remove BROKEN theme

Remove the Rosy theme that has been marked broken in master
for over a year, and in openwrt-19.07 since March 2020.

Reference to
https://github.com/openwrt/luci/issues/3759#issuecomment-599436159

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agotreewide: i18n - backport again
Hannu Nyman [Tue, 29 Dec 2020 11:36:34 +0000 (13:36 +0200)]
treewide: i18n - backport again

Backport translations again, after fixing the weblate
conflicts in master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agotreewide: i18n - backport translations
Hannu Nyman [Tue, 29 Dec 2020 11:18:10 +0000 (13:18 +0200)]
treewide: i18n - backport translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agoluci-app-adblock: XHTML fix
Dirk Brenken [Mon, 28 Dec 2020 18:28:18 +0000 (19:28 +0100)]
luci-app-adblock: XHTML fix

* made DNS Report page XHTML compatible

Signed-off-by: Dirk Brenken <dev@brenken.org>
3 years agoluci-app-adblock: backport fixes
Dirk Brenken [Wed, 23 Dec 2020 20:47:58 +0000 (21:47 +0100)]
luci-app-adblock: backport fixes

* fix dns backend detection in TurrisOS
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
3 years agoluci-mod-system: fix reference to undefined variable
Jo-Philipp Wich [Wed, 23 Dec 2020 16:11:48 +0000 (17:11 +0100)]
luci-mod-system: fix reference to undefined variable

Fixes: 24550446c ("luci-mod-system: fix parsing SSH pubkeys with options")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
3 years agoluci-mod-system: fix parsing SSH pubkeys with options
Jo-Philipp Wich [Wed, 23 Dec 2020 14:31:58 +0000 (15:31 +0100)]
luci-mod-system: fix parsing SSH pubkeys with options

Also eliminate some duplicate code while we're at it.

Fixes: #4684
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 846b89c5bf07100f9bf1e46bcac55acab5535e26)

3 years agoluci-app-noddos: remove
Hannu Nyman [Mon, 21 Dec 2020 17:54:38 +0000 (19:54 +0200)]
luci-app-noddos: remove

The 'noddos' package itself was removed with commit
https://github.com/openwrt/packages/commit/eb9d5bbf39e89909283c431ae981feac39b02d95

Remove also the corresponding LuCI app.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(backported from commit b06bc2c9ef2bd30271afe80a28197a352d15a93f)

3 years agoMerge pull request #4682 from stangri/19.07-luci-app-simple-adblock
Stan [Mon, 21 Dec 2020 17:52:48 +0000 (09:52 -0800)]
Merge pull request #4682 from stangri/19.07-luci-app-simple-adblock

[19.07] luci-app-simple-adblock: README URL update

3 years agoluci-app-simple-adblock: README URL update 4682/head
Stan Grishin [Mon, 21 Dec 2020 17:46:51 +0000 (11:46 -0600)]
luci-app-simple-adblock: README URL update

Signed-off-by: Stan Grishin <stangri@melmac.net>
3 years agoMerge pull request #4679 from stangri/19.07-luci-app-https-dns-proxy
Stan [Mon, 21 Dec 2020 17:39:51 +0000 (09:39 -0800)]
Merge pull request #4679 from stangri/19.07-luci-app-https-dns-proxy

[19.07] luci-app-https-dns-proxy: WebUI for dnsmasq config update, quad9 bootstrap IPv6

3 years agoluci-app-https-dns-proxy: WebUI for dnsmasq config update, quad9 bootstrap IPv6 4679/head
Stan Grishin [Mon, 21 Dec 2020 17:34:35 +0000 (11:34 -0600)]
luci-app-https-dns-proxy: WebUI for dnsmasq config update, quad9 bootstrap IPv6

Signed-off-by: Stan Grishin <stangri@melmac.net>
3 years agoluci.mk: correcting a misspell for Brazilian Portuguese
Wellington Uemura [Sun, 20 Dec 2020 17:39:18 +0000 (19:39 +0200)]
luci.mk: correcting a misspell for Brazilian Portuguese

Reported-by: Wellington Uemura
* update message header
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 151787b561bce39f505d0f5753d0f80d2b796ba3)

3 years agotreewide: Backport and sync translations
Hannu Nyman [Sat, 19 Dec 2020 09:54:47 +0000 (11:54 +0200)]
treewide: Backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agoluci-app-firewall: map proto '*' and 'any' to all on rule config
Florian Eckert [Fri, 11 Dec 2020 12:22:38 +0000 (13:22 +0100)]
luci-app-firewall: map proto '*' and 'any' to all on rule config

Before the change, the options '*' and 'any' in the drop down were not
recognized as valid options, when loaded from the uci. With this change,
the options '*' and 'any' are mapped to 'all' and saved as such. This
change is especially important if the proto option is changed manually
to '*' or 'any' in shell and then further configured via LuCI.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 972096bf39c932ad007fb431c81a2f5fab64649f)

3 years agoluci-app-statistics: Adjust UI defaults to match config file
Hannu Nyman [Sun, 13 Dec 2020 10:39:24 +0000 (12:39 +0200)]
luci-app-statistics: Adjust UI defaults to match config file

Adjust the defaults shown in the LuCI user interface to match
the real default values in the default config file.

(If a plugin is disabled and config values get deleted from
the config file, user has been offered incorrect default
values from UI defaults when the plugin is later re-enabled.)

* email: socket in /var/run/collectd/ dir
* ping: TTL 127
* rrdtool: 3600 sec (1hour) as shortest period, 144 RRArows
* unixsock: socket in /var/run/collectd/ dir

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(Backported and adapted from commit f7e5b56649)

3 years agoluci-app-statistics: correct/tidy default config
Hannu Nyman [Sun, 13 Dec 2020 09:02:50 +0000 (11:02 +0200)]
luci-app-statistics: correct/tidy default config

Tidy up the current default config for statistics:

* df: use /overlay as the example mount point instead of /jffs
* openvpn: add missing section

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(backported and adapted from commit c052818ee9)

3 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Sun, 6 Dec 2020 16:00:26 +0000 (18:00 +0200)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 years agoluci-app-adblock: update dns report page
Dirk Brenken [Sun, 29 Nov 2020 13:12:05 +0000 (14:12 +0100)]
luci-app-adblock: update dns report page

* add search anchor to all listed domains on dns report page
* small wording changes & cosmetics
* update translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
3 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Sat, 28 Nov 2020 07:13:19 +0000 (09:13 +0200)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Fri, 20 Nov 2020 17:51:44 +0000 (19:51 +0200)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-app-firewall: fix removing networks from zone
Jo-Philipp Wich [Fri, 20 Nov 2020 12:28:28 +0000 (13:28 +0100)]
luci-app-firewall: fix removing networks from zone

Fixes: #4608
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4dbf600de61c0db9052343f0447ee31db79a8346)

4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Sat, 14 Nov 2020 13:36:34 +0000 (15:36 +0200)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-app-statistics: CPU plugin: backport defaults from master
Hannu Nyman [Sun, 8 Nov 2020 16:26:20 +0000 (18:26 +0200)]
luci-app-statistics: CPU plugin: backport defaults from master

Backport from master the current defaults based on 1cff1002.
(The part related to 'idle' state is not backported, yet)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agorpcd-mod-luci: bump version
Jo-Philipp Wich [Sat, 7 Nov 2020 21:10:25 +0000 (22:10 +0100)]
rpcd-mod-luci: bump version

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d9b4f036eae3fd13a9769b9d55435f8de883e8bb)

4 years agoluci-base: tools.widgets.NetworkSelect: properly validate multi select
Jo-Philipp Wich [Fri, 6 Nov 2020 23:46:30 +0000 (00:46 +0100)]
luci-base: tools.widgets.NetworkSelect: properly validate multi select

Fixes: 2b99473f2 ("luci-base: tools.widget.NetworkSelect: disallow invalid network names")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5c5b1340e5541d6283b825f7756812fc1784756f)

4 years agoluci-base: tools.widget.NetworkSelect: disallow invalid network names
Jo-Philipp Wich [Fri, 6 Nov 2020 23:40:31 +0000 (00:40 +0100)]
luci-base: tools.widget.NetworkSelect: disallow invalid network names

Fixes: #4523, #4573
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2b99473f2cd3321ecf96e92606c3263c2941eb7b)

4 years agoluci-app-aria2: fix incorrect "Extra Settings" section option name
Raymond [Tue, 25 Feb 2020 20:14:14 +0000 (23:14 +0300)]
luci-app-aria2: fix incorrect "Extra Settings" section option name

The "Extra Settings" section `extra_setting` option name does not match what
the `net/aria2` package expects.

See:

- https://github.com/openwrt/packages/blob/openwrt-19.07/net/aria2/files/aria2.init#L311
- https://github.com/openwrt/packages/blob/openwrt-19.07/net/aria2/files/aria2.conf#L31

Causing the luci UI "Extra Settings" option to have no effect. This fix
renames `extra_setting` => `extra_settings`.

Signed-off-by: Raymond Wanyoike <raymond.wanyoike@gmail.com>
(cherry picked from commit 6709d3a355e6723b8a2ae4f5354c3e917d1b7ac8)

4 years agorpcd-mod-luci: handle lease files from all dnsmasq/odhcpd sections
Jo-Philipp Wich [Fri, 6 Nov 2020 23:25:22 +0000 (00:25 +0100)]
rpcd-mod-luci: handle lease files from all dnsmasq/odhcpd sections

Fixes: #911, #4303, #4308
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0c7a33523027e2241d4ff93dc987c97ce233912e)

4 years agoluci-app-adblock: extend the download queue scale
Dirk Brenken [Thu, 5 Nov 2020 13:58:27 +0000 (14:58 +0100)]
luci-app-adblock: extend the download queue scale

* see https://forum.openwrt.org/t/adblock-support-thread/507/1646 for
  details

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 0cdad3834fdd2180771a8dfb8f29f6369ce3799a)

4 years agoluci-app-hd-idle: rename .po files to match app name
Hannu Nyman [Sun, 1 Nov 2020 08:14:38 +0000 (10:14 +0200)]
luci-app-hd-idle: rename .po files to match app name

Rename .po(t) files from hd_idle.po to hd-idle.po
in order to get them noticed in weblate.

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

4 years agotimezone data: update to 2020d
Hannu Nyman [Sat, 31 Oct 2020 18:17:39 +0000 (20:17 +0200)]
timezone data: update to 2020d

Update timezone data to 2020d

2020b: http://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
     Macquarie Island has stayed in sync with Tasmania since 2011.
     Casey, Antarctica is at +08 in winter and +11 in summer.

2020c: http://mm.icann.org/pipermail/tz-announce/2020-October/000060.html

2020d: http://mm.icann.org/pipermail/tz-announce/2020-October/000062.html
     Palestine ends DST earlier than predicted, on 2020-10-24.

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

4 years agoMerge pull request #4420 from etactica/mos-nlocal-only-1907
Jo-Philipp Wich [Fri, 30 Oct 2020 20:26:49 +0000 (21:26 +0100)]
Merge pull request #4420 from etactica/mos-nlocal-only-1907

19.07: mosquitto: support notifications_local_only flag

4 years agoMerge pull request #4486 from Robby-/openwrt-19.07-luci-app-firewall-packettoobig
Jo-Philipp Wich [Fri, 30 Oct 2020 20:25:43 +0000 (21:25 +0100)]
Merge pull request #4486 from Robby-/openwrt-19.07-luci-app-firewall-packettoobig

[19.07] luci-app-firewall: rules: add ICMPv6 Packet Too Big (Type 2)

4 years agoluci-app-adblock: change "refresh" action
Dirk Brenken [Fri, 30 Oct 2020 19:30:37 +0000 (20:30 +0100)]
luci-app-adblock: change "refresh" action

* change "refresh" action to fix potential white-/blacklist issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit a392dbf888f0cdaee211eca9b58becc804ee3458)

4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Mon, 26 Oct 2020 20:30:28 +0000 (22:30 +0200)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-base: set the fallback default of rollback timeout to 90s
Hannu Nyman [Mon, 26 Oct 2020 20:26:08 +0000 (22:26 +0200)]
luci-base: set the fallback default of rollback timeout to 90s

Set the fallback value of the config change rollback timeout
to 90 seconds to match the change in /etc/config/luci by commit
81cf99a50.

That commit changed the value in the config file, but did
not change the underlying fallback values that do get applied
when there is no proper config item in etc/config/luci.

Users sysupgrading from old systems may have carried an ancient
/etc/config/luci (without rollback config) with them, so this
change should help them to see the intended user experience.

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

4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Tue, 13 Oct 2020 15:50:33 +0000 (18:50 +0300)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-app-firewall: rules: add ICMPv6 Packet Too Big (Type 2) 4486/head
Robby K [Thu, 1 Oct 2020 20:52:58 +0000 (22:52 +0200)]
luci-app-firewall: rules: add ICMPv6 Packet Too Big (Type 2)

The "Match ICMP type" drop-down menu was missing this ICMPv6 type. According to RFC 4890 section 4.3.1 it is essential for communications and must not be dropped. This patch allows for doing this through LuCI.

Signed-off-by: Robby K <robbyke@gmail.com>
4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Mon, 28 Sep 2020 13:31:38 +0000 (16:31 +0300)]
treewide: i18n - backport and sync translations

Backport transations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #4458 from stangri/19.07-luci-app-vpnbypass
Stan [Mon, 21 Sep 2020 18:41:48 +0000 (11:41 -0700)]
Merge pull request #4458 from stangri/19.07-luci-app-vpnbypass

[19.07] luci-app-vpnbypass: ACL-related update

4 years agoMerge pull request #4461 from stangri/19.07-luci-app-vpn-policy-routing
Stan [Mon, 21 Sep 2020 18:41:19 +0000 (11:41 -0700)]
Merge pull request #4461 from stangri/19.07-luci-app-vpn-policy-routing

[19.07] luci-app-vpn-policy-routing: ACL-related update

4 years agoluci-app-vpn-policy-routing: ACL-related update 4461/head
Stan Grishin [Mon, 21 Sep 2020 18:37:14 +0000 (18:37 +0000)]
luci-app-vpn-policy-routing: ACL-related update

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-app-vpnbypass: ACL update 4458/head
Stan Grishin [Mon, 21 Sep 2020 18:34:05 +0000 (18:34 +0000)]
luci-app-vpnbypass: ACL update

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #4449 from stangri/19.07-luci-app-simple-adblock
Stan [Mon, 21 Sep 2020 04:30:28 +0000 (21:30 -0700)]
Merge pull request #4449 from stangri/19.07-luci-app-simple-adblock

[19.07] luci-app-simple-adblock: support for config auto-update

4 years agoluci-app-simple-adblock: support for config auto-update 4449/head
Stan Grishin [Sun, 20 Sep 2020 00:26:19 +0000 (00:26 +0000)]
luci-app-simple-adblock: support for config auto-update

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-base: tweak busybox top regex to accept 'm' in large VSZ
Hannu Nyman [Sat, 19 Sep 2020 05:46:16 +0000 (08:46 +0300)]
luci-base: tweak busybox top regex to accept 'm' in large VSZ

Tweak the lua regex string for process list, so that processes
with extremely large memory sizes (over 100 MB) are matched.
For those large processes busybox top shows a MB value like '234m'
instead of a normal kB value like 234000.

Fixes #4425

Reference to https://github.com/openwrt/luci/issues/4425#issuecomment-694073479

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

4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Thu, 17 Sep 2020 13:59:12 +0000 (16:59 +0300)]
treewide: i18n - backport and sync translations

Backport transations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-app-nextdns: fix invalid XHTML
Jo-Philipp Wich [Wed, 16 Sep 2020 08:27:13 +0000 (10:27 +0200)]
luci-app-nextdns: fix invalid XHTML

Fixes: #4423
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 233cacd9eb6919569f40d346901099956a3111d6)

4 years agoluci-base: dhcp.js: allow hostname to be "*"
Jo-Philipp Wich [Wed, 16 Sep 2020 08:23:35 +0000 (10:23 +0200)]
luci-base: dhcp.js: allow hostname to be "*"

Fixes: #4430
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit bdcd09496342d3b8609e718e289656427fa0b28c)

4 years agomosquitto: support notifications_local_only flag 4420/head
Karl Palsson [Wed, 2 Sep 2020 09:09:38 +0000 (09:09 +0000)]
mosquitto: support notifications_local_only flag

Supported since mosquitto 1.5 released in May 2018, and has long
been supported in the init scripts.

Signed-off-by: Karl Palsson <karlp@etactica.com>
4 years agoluci-app-opkg: flush menu cache after opkg actions
Baptiste Jonglez [Sun, 30 Aug 2020 12:22:54 +0000 (14:22 +0200)]
luci-app-opkg: flush menu cache after opkg actions

This is a partial backport of dc57e4bc6c83d6c869c318256057e3636bfc5d66

Fixes: #4077
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Sat, 29 Aug 2020 18:37:11 +0000 (21:37 +0300)]
treewide: i18n - backport and sync translations

Backport transations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #4392 from stangri/19.07-luci-app-https-dns-proxy
Stan [Thu, 27 Aug 2020 21:38:54 +0000 (14:38 -0700)]
Merge pull request #4392 from stangri/19.07-luci-app-https-dns-proxy

[19.07] luci-app-https-dns-proxy: add DNSPod.cn DoH

4 years agoluci-app-https-dns-proxy: add DNSPod.cn DoH 4392/head
Stan Grishin [Thu, 27 Aug 2020 21:36:51 +0000 (21:36 +0000)]
luci-app-https-dns-proxy: add DNSPod.cn DoH

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #4339 from EricLuehrsen/unbound_20200806_1907
Hannu Nyman [Fri, 21 Aug 2020 04:31:33 +0000 (07:31 +0300)]
Merge pull request #4339 from EricLuehrsen/unbound_20200806_1907

[19.07] luci-app-unbound: add rate_limit and dns_assist option support

4 years agotreewide: i18n - backport and sync translations
Hannu Nyman [Sun, 16 Aug 2020 19:47:20 +0000 (22:47 +0300)]
treewide: i18n - backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-base i18n: fix translations related to password-SSH linkage
Hannu Nyman [Sun, 16 Aug 2020 19:42:36 +0000 (22:42 +0300)]
luci-base i18n: fix translations related to password-SSH linkage

Fix translations of themes' headers related to password & SSH.

Adapted backport of commit 641c3b88ae.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agothemes: remove deprecated reference to enabling SSH
Hannu Nyman [Sun, 16 Aug 2020 19:32:56 +0000 (22:32 +0300)]
themes: remove deprecated reference to enabling SSH

Remove the reference to setting a password being linked to SSH capability.
(SSH has been initially enabled since year 2015.)

Backport of commit 258e74c1c

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #4340 from plm/remove-rrd-path-double-escape
Jo-Philipp Wich [Sat, 8 Aug 2020 14:46:07 +0000 (16:46 +0200)]
Merge pull request #4340 from plm/remove-rrd-path-double-escape

luci-app-statistics: remove rrd path double escape

4 years agoluci-app-statistics: remove rrd path double escape 4340/head
Philip L. McMahon [Sat, 8 Aug 2020 04:20:23 +0000 (21:20 -0700)]
luci-app-statistics: remove rrd path double escape

Fixes rendering errors when RRD file names contain IPv6 addresses and the
colon (":") characters are double-escaped.

Reverts escaping added in #2286 in favor of escaping added in #2657.

Signed-off-by: Philip L. McMahon <philip.l.mcmahon@gmail.com>
4 years agoluci-app-unbound: add rate_limit and dns_assist option support 4339/head
Eric Luehrsen [Thu, 16 Jul 2020 05:02:52 +0000 (01:02 -0400)]
luci-app-unbound: add rate_limit and dns_assist option support

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
4 years agotreewide: backport and sync translations
Hannu Nyman [Mon, 3 Aug 2020 17:23:49 +0000 (20:23 +0300)]
treewide: backport and sync translations

Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #4318 from stangri/19.07-luci-app-https-dns-proxy
Stan [Fri, 31 Jul 2020 09:53:01 +0000 (02:53 -0700)]
Merge pull request #4318 from stangri/19.07-luci-app-https-dns-proxy

[19.07] luci-app-https-dns-proxy: fix bootstrap_dns for cloudflare security

4 years agoluci-app-https-dns-proxy: fix bootstrap_dns for cloudflare security 4318/head
Stan Grishin [Fri, 31 Jul 2020 09:36:54 +0000 (09:36 +0000)]
luci-app-https-dns-proxy: fix bootstrap_dns for cloudflare security

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #4311 from stangri/19.07-luci-app-https-dns-proxy
Stan [Wed, 29 Jul 2020 09:45:21 +0000 (02:45 -0700)]
Merge pull request #4311 from stangri/19.07-luci-app-https-dns-proxy

[19.07] luci-app-https-dns-proxy: add OpenDNS servers

4 years agoluci-app-https-dns-proxy: add OpenDNS servers 4311/head
Stan Grishin [Wed, 29 Jul 2020 09:41:27 +0000 (09:41 +0000)]
luci-app-https-dns-proxy: add OpenDNS servers

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-mod-system: ignore empty /proc/mtd on flash page
Jo-Philipp Wich [Wed, 22 Jul 2020 08:20:42 +0000 (10:20 +0200)]
luci-mod-system: ignore empty /proc/mtd on flash page

A present, but empty /proc/mtd causes validation on the flash page to fail,
preventing any other operation.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d2d3738d9046339d6374a5957cb790d0d9d62456)

4 years agotreewide: i18n - backport translations
Hannu Nyman [Sat, 18 Jul 2020 11:22:34 +0000 (14:22 +0300)]
treewide: i18n - backport translations

Backport translations from master and sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #4262 from TDT-AG/pr/20200713-luci-app-mwan3
Florian Eckert [Wed, 15 Jul 2020 13:47:35 +0000 (15:47 +0200)]
Merge pull request #4262 from TDT-AG/pr/20200713-luci-app-mwan3

luci-app-mwan3: sync changes with mwan3

4 years agoluci-app-mwan3: fix diagnostics status page style issues
Florian Eckert [Wed, 8 Jul 2020 09:32:34 +0000 (11:32 +0200)]
luci-app-mwan3: fix diagnostics status page style issues

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9daf129cbaf6d15716abf77517e4b7ea5d5f8249)

4 years agoluci-app-mwan3: use ucitrack is now done with mwan3 procd
Florian Eckert [Mon, 9 Dec 2019 09:36:49 +0000 (10:36 +0100)]
luci-app-mwan3: use ucitrack is now done with mwan3 procd

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 40957b1c7851cd12833003496cd396ef9a687fcc)

4 years agoluci-app-mwan3: fix diagnostics status page style issues 4262/head
Florian Eckert [Wed, 8 Jul 2020 09:32:34 +0000 (11:32 +0200)]
luci-app-mwan3: fix diagnostics status page style issues

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9daf129cbaf6d15716abf77517e4b7ea5d5f8249)

4 years agoluci-app-mwan3: use ucitrack is now done with mwan3 procd
Florian Eckert [Mon, 9 Dec 2019 09:36:49 +0000 (10:36 +0100)]
luci-app-mwan3: use ucitrack is now done with mwan3 procd

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 40957b1c7851cd12833003496cd396ef9a687fcc)

4 years agoluci-app-firewall: migrate syn_flood option to synflood_protect on save
Jo-Philipp Wich [Sat, 4 Jul 2020 22:51:59 +0000 (00:51 +0200)]
luci-app-firewall: migrate syn_flood option to synflood_protect on save

Fixes: #4220
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0abcb39b623f0eff0fbcdfb99fca8f3224701e86)

4 years agoluci-base: ui.js: order menu entries with the same weight by name
Jo-Philipp Wich [Fri, 3 Jul 2020 12:30:30 +0000 (14:30 +0200)]
luci-base: ui.js: order menu entries with the same weight by name

The previous server side menu rendering ordered items first by their order
weight value, then by their internal name.

Do the same for client side menu rendering.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0c479891ae31bbe308c4d6e181c118ec3d65c05f)

4 years agoluci-base: allow themes to provide sysauth.htm
Karl Palsson [Tue, 30 Jun 2020 15:40:52 +0000 (15:40 +0000)]
luci-base: allow themes to provide sysauth.htm

Support for sysauth_template was (inadvertently) dropped in refactorings
to support the json menu construction.  This does not restore that
functionality, which allowed different templates for every node in the
dispatcher tree, but provides an alternative mechanism that allows a
theme to provide a sysauth.htm template file instead.

Tested-by: Karl Palsson <karlp@etactica.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8f9433127e5d2a576a1207da46d02389b82041a5)

4 years agoluci-app-travelmate: qrcode fix
Dirk Brenken [Fri, 26 Jun 2020 17:35:58 +0000 (19:35 +0200)]
luci-app-travelmate: qrcode fix

* escape more special chars which disturb qrcode generation

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 06ce62b65d05806d39099b46102579eeff66aad2)

4 years agoluci-app-https-dns-proxy: bugfix: remove eDNS support
Stan Grishin [Thu, 25 Jun 2020 20:07:08 +0000 (20:07 +0000)]
luci-app-https-dns-proxy: bugfix: remove eDNS support

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agotreewide: i18n - backport translations
Hannu Nyman [Wed, 24 Jun 2020 20:26:31 +0000 (23:26 +0300)]
treewide: i18n - backport translations

Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agotreewide: i18n - backport translations
Hannu Nyman [Mon, 15 Jun 2020 17:12:48 +0000 (20:12 +0300)]
treewide: i18n - backport translations

Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoluci-base: form.js: fix handling of array sections in JSONMap forms
Jo-Philipp Wich [Sun, 14 Jun 2020 14:41:02 +0000 (16:41 +0200)]
luci-base: form.js: fix handling of array sections in JSONMap forms

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 682f628ea611d8d12a2a4b5925851f99c5a4bd20)

4 years agoluci-app-simple-adblock: racially-neutral names
Stan Grishin [Sat, 13 Jun 2020 20:45:54 +0000 (20:45 +0000)]
luci-app-simple-adblock: racially-neutral names

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #4168 from dibdot/adb-19.07
Dirk Brenken [Sat, 13 Jun 2020 06:37:59 +0000 (08:37 +0200)]
Merge pull request #4168 from dibdot/adb-19.07

luci-app-adblock [19.07]: sync with adblock 4.0.6

4 years agoluci-app-adblock [19.07]: sync with adblock 4.0.6 4168/head
Dirk Brenken [Sat, 13 Jun 2020 06:30:37 +0000 (08:30 +0200)]
luci-app-adblock [19.07]: sync with adblock 4.0.6

* made SafeSearch provider configurable, you can limit
  SafeSearch to certain providers
* add an explanation paragraph to report settings
  tab (regarding restart requirement)
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years agoMerge pull request #4153 from stangri/19.07-luci-app-advanced-reboot
Stan [Thu, 11 Jun 2020 19:56:14 +0000 (12:56 -0700)]
Merge pull request #4153 from stangri/19.07-luci-app-advanced-reboot

[19.07] luci-app-advanced-reboot: bugfix: new board names for Linksys WRT-devices

4 years agoluci-app-advanced-reboot: bugfix: support new board names for Linksys WRT-devices 4153/head
Stan Grishin [Wed, 10 Jun 2020 16:49:11 +0000 (16:49 +0000)]
luci-app-advanced-reboot: bugfix: support new board names for Linksys WRT-devices

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci(-ssl)-nginx: depend on luci-app-opkg
Hannu Nyman [Tue, 9 Jun 2020 20:23:38 +0000 (23:23 +0300)]
luci(-ssl)-nginx: depend on luci-app-opkg

Commit 391e82d6a3 in 2018 added luci-app-opkg dependency to
the 'luci' collection and its derivatives, but as nginx collections
do not depend on main 'luci', they did not get the intended change.

Fixes #4148

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

4 years agoMerge pull request #4102 from stangri/19.07-luci-app-simple-adblock
Stan [Wed, 3 Jun 2020 15:27:44 +0000 (08:27 -0700)]
Merge pull request #4102 from stangri/19.07-luci-app-simple-adblock

[19.07] luci-app-simple-adblock: bugfix: proper processing of failed downloads; decrease reliance on shell commands; proper acl.d file

4 years agotreewide: i18n - backport translations
Hannu Nyman [Wed, 3 Jun 2020 14:21:23 +0000 (17:21 +0300)]
treewide: i18n - backport translations

Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #4118 from stangri/19.07-luci-app-https-dns-proxy
Stan [Tue, 2 Jun 2020 13:18:34 +0000 (06:18 -0700)]
Merge pull request #4118 from stangri/19.07-luci-app-https-dns-proxy

[19.07] luci-app-https-dns-proxy: decrease reliance on shell commands; proper acl.d file; add cloudflare family/protect