Jo-Philipp Wich [Wed, 12 May 2021 09:49:31 +0000 (11:49 +0200)]
luci-mod-status: fix potential XSS via specially crafted DNS names
When an upstream NS returns PTR domain names containing HTML, it is
added verbatim to the connection status table.
Prevent this issue by HTML escaping any values in the source and
destination columns.
Fixes: CVE-2021-32019
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3c66c5b1651aa25afbff09bee45047da9a0ba43d)
Hannu Nyman [Sat, 8 May 2021 14:09:09 +0000 (17:09 +0300)]
treewide: backport translations i18n
Backport translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Sat, 17 Apr 2021 16:09:12 +0000 (19:09 +0300)]
treewide: i18n - Backport translations
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Fri, 16 Apr 2021 15:29:32 +0000 (17:29 +0200)]
luci-base: form.js: fix AbstractValue.textvalue() for uci list options
Serialize the uci list value into a space separated string before passing
it to String.format() for HTML escaping. Without that change, empty strings
were returned whenever the underlying uci get operation yieled an array.
Fixes: #4993
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
5c792aefc744d1417fc9e24cfb92cd61cf8a651f)
Ptilopsis Leucotis [Wed, 14 Apr 2021 07:06:50 +0000 (10:06 +0300)]
[19.07] luci-app-fwknopd: add support for ENABLE_CMD_EXEC
Add support for execution commands on the fwknopd server.
Signed-off-by: Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com>
Stan Grishin [Sun, 11 Apr 2021 16:38:53 +0000 (09:38 -0700)]
Merge pull request #4976 from stangri/19.07-luci-app-simple-adblock
[19.07 luci-app-simple-adblock: bugfix: crash when dnsmasq.ipset selected
Stan Grishin [Sat, 10 Apr 2021 18:45:11 +0000 (18:45 +0000)]
luci-app-simple-adblock: bugfix: crash when dnsmasq.ipset selected
Signed-off-by: Stan Grishin <stangri@melmac.net>
Henrique de Moraes Holschuh [Mon, 1 Mar 2021 16:18:00 +0000 (13:18 -0300)]
luci-mod-system: implement system.description, system.notes
Implement two new text "options" for UCI system config, intended to
help humans describe the device.
"system.description" is a short, single-line description suitable for
selector UIs in remote administration applications, or remote UCI (over
ubus RPC), etc. It would also be suitable as a default for LLDP/SNMP
"system description".
"system.notes" is a multi-line, free-form text field that can be used in
any way the user wishes, e.g. to hold installation notes, or unit serial
number and inventory number, location, etc.
Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
Hannu Nyman [Sat, 27 Mar 2021 09:05:01 +0000 (11:05 +0200)]
treewide: Backport translations and sync
Backport from master and sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Sat, 20 Mar 2021 16:15:48 +0000 (17:15 +0100)]
luci-app-opkg: fix parsing empty package repository indexes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3bcbcbf0889142ca19b893f41318963b69de90ab)
Hannu Nyman [Sat, 13 Mar 2021 07:45:36 +0000 (09:45 +0200)]
treewide: i18n backport and sync
Backport translations from master and sync.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Stan Grishin [Sat, 13 Mar 2021 03:06:27 +0000 (19:06 -0800)]
Merge pull request #4908 from stangri/19.07-luci-app-vpn-policy-routing
[19.07] luci-app-vpn-policy-routing: explicit package version
Stan Grishin [Sat, 13 Mar 2021 03:06:10 +0000 (19:06 -0800)]
Merge pull request #4905 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: explicit package version
Stan Grishin [Sat, 13 Mar 2021 03:05:50 +0000 (19:05 -0800)]
Merge pull request #4902 from stangri/19.07-luci-app-https-dns-proxy
[19.07] luci-app-https-dns-proxy: explicit package version
Stan Grishin [Sat, 13 Mar 2021 03:05:31 +0000 (19:05 -0800)]
Merge pull request #4899 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: explicit package version
Florian Eckert [Thu, 11 Mar 2021 07:04:23 +0000 (08:04 +0100)]
Merge pull request #4844 from oofnikj/4510_backport_gre
luci-proto-gre: backport to 19.07
Stan Grishin [Wed, 10 Mar 2021 15:21:35 +0000 (15:21 +0000)]
luci-app-vpn-policy-routing: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Wed, 10 Mar 2021 15:20:22 +0000 (15:20 +0000)]
luci-app-simple-adblock: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Wed, 10 Mar 2021 15:19:28 +0000 (15:19 +0000)]
luci-app-https-dns-proxy: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Wed, 10 Mar 2021 15:10:57 +0000 (15:10 +0000)]
luci-app-advanced-reboot: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Wed, 10 Mar 2021 04:35:34 +0000 (20:35 -0800)]
Merge pull request #4884 from stangri/19.07-luci-app-https-dns-proxy
[19.07] luci-app-https-dns-proxy: bugfix: layout issues on theme-openwrt-2020
Stan Grishin [Wed, 10 Mar 2021 04:35:15 +0000 (20:35 -0800)]
Merge pull request #4887 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: bugfix: template layout on theme-openwrt-2020
Stan Grishin [Wed, 10 Mar 2021 04:34:56 +0000 (20:34 -0800)]
Merge pull request #4890 from stangri/19.07-luci-app-vpn-policy-routing
[19.07] luci-app-vpn-policy-routing: bugfix: template layout on theme-openwrt-2020
Stan Grishin [Mon, 8 Mar 2021 10:49:09 +0000 (10:49 +0000)]
luci-app-vpn-policy-routing: bugfix: template layout on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Mon, 8 Mar 2021 10:46:43 +0000 (10:46 +0000)]
luci-app-simple-adblock: bugfix: template layout on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Mon, 8 Mar 2021 10:42:18 +0000 (10:42 +0000)]
luci-app-https-dns-proxy: bugfix: layout issues on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
Stan Grishin [Wed, 3 Mar 2021 21:18:09 +0000 (13:18 -0800)]
Merge pull request #4871 from stangri/19.07-luci-app-vpn-policy-routing
[19.07] luci-app-vpn-policy-routing: sync with principal app
Stan Grishin [Wed, 3 Mar 2021 21:17:01 +0000 (21:17 +0000)]
luci-app-vpn-policy-routing: sync with principal app
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Mon, 1 Mar 2021 14:18:25 +0000 (15:18 +0100)]
luci-app-firewall: allow negative prefix lengths
Fixes: #4812
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f64b3d509446cc78a7df746b174bdab330f23ab2)
Jo-Philipp Wich [Mon, 1 Mar 2021 14:16:14 +0000 (15:16 +0100)]
luci-base: validation.js: optionally support negative prefixes
Support negative prefix length in the `cidr`, `cidr4`, `cidr6`, `ipmask`,
`ipmask4` and `ipmask6` data types when an optional truish flag is passed
to the datatype name.
Ref: #4812
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
cd06e708d8d8037486b77dab3389ca91a88f2dd0)
Jo-Philipp Wich [Mon, 1 Mar 2021 09:42:10 +0000 (10:42 +0100)]
luci-base: network.js: sort interface statuses by metric, then name
Fixes: #4693
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
0ee422b4c0e266f0ece70fa60e0ebfa84851992e)
Sergio E. Nemirowski [Sun, 22 Nov 2020 15:29:24 +0000 (18:29 +0300)]
luci-proto-gre: update i18n and fix typo
Signed-off-by: Sergio E. Nemirowski <sergio@outerface.net>
Signed-off-by: Jordan Sokolic <oofnik@gmail.com>
Jo-Philipp Wich [Mon, 1 Mar 2021 08:09:35 +0000 (09:09 +0100)]
luci-app-firewall: zones.js: fix HTML display in ct helper selection
Fixes: #4845
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
154117ff05d0ecbe97ee98493bb647f526166b50)
Jo-Philipp Wich [Mon, 1 Mar 2021 07:54:26 +0000 (08:54 +0100)]
luci-app-firewall: fix creating multiple networks from zone network selector
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
5d528da29f3b03deba0144c85d862e1e4468ff25)
Jo-Philipp Wich [Mon, 1 Mar 2021 07:54:06 +0000 (08:54 +0100)]
luci-base: firewall.js: manage zomne networks as list
Fixes: #4827
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
49ecaf60902be2e43ccec3c61bc6b7d0b41da251)
Niels Widger [Thu, 25 Feb 2021 20:31:00 +0000 (15:31 -0500)]
rpcd-mod-luci: Fix parsing of DUID-LLT's in duid2ea
Fix parsing of DUID-LLT's in duid2ea. Unlike DUID-LL's, DUID-LLT's have a 32-bit time field between the hardware type and link-layer address fields, see RFC 3315 Sections 9.2 and 9.4:
https://tools.ietf.org/html/rfc3315#section-9.2
https://tools.ietf.org/html/rfc3315#section-9.4
therefore, the link-layer address starts at offset 16 instead of 8.
Signed-off-by: Niels Widger <niels@qacafe.com>
(cherry picked from commit
8920a2bf71e544fada3de824126a5c8f1c596b63)
Chuanhong Guo [Thu, 5 Nov 2020 13:22:18 +0000 (21:22 +0800)]
luci-proto-gre: remove extra parenthesis
fix the following error:
SyntaxError
Unexpected token ')'
in http://192.168.122.131/luci-static/resources/protocol/grev6.js:?
at http://192.168.122.131/luci-static/resources/luci.js:22
at async Promise.all (index 4)
at async Promise.all (index 5)
Fixes: 2b7fd1292 ("luci-proto-gre: improvement of LuCI interface")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Jan Bětík [Sat, 10 Oct 2020 21:48:17 +0000 (23:48 +0200)]
luci-proto-gre: improvement of LuCI interface
Better handling of Type of Service (IPv4), Traffic Class (IPv6) values
Optional value Local endpoint address is detected and pre-filled in the interface
Signed-off-by: Jan Bětík <jan.betik@svine.su>
Jan Bětík [Fri, 3 Apr 2020 17:11:53 +0000 (19:11 +0200)]
luci-proto-gre: Protocol extension for GRE tunnels
I'm running several GRE tunnels to different locations and
the option to see and to configure GRE tunnels in LuCI was not
crucial but nice to have.
Signed-off-by: Jan Bětík <jan.betik@svine.su>
Hannu Nyman [Thu, 25 Feb 2021 15:18:02 +0000 (17:18 +0200)]
treewide: i18n backport and sync translations
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Stan Grishin [Tue, 23 Feb 2021 00:56:11 +0000 (16:56 -0800)]
Merge pull request #4830 from stangri/19.07-luci-app-https-dns-proxy
luci-app-https-dns-proxy: add Force DNS, IDNet support, add missing class to buttons
Stan Grishin [Tue, 23 Feb 2021 00:54:04 +0000 (00:54 +0000)]
luci-app-https-dns-proxy: add Force DNS, IDNet support, add missing class to buttons
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Fri, 19 Feb 2021 09:39:00 +0000 (10:39 +0100)]
luci-base: ui.js: resolve parent ul early in UIDropdown.toggleItem()
The parent node of the current li might be null after collapsing the
dropdown, so resolve the parent ul early to avoid passing null to
subsequent calls.
Fixes clearing custom input values in DynamicList dropdowns.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
b8d2bcd432ab23a883de1dd4fbce29f9751a6e84)
Jo-Philipp Wich [Fri, 19 Feb 2021 10:29:14 +0000 (11:29 +0100)]
luci-app-firewall: properly handle custom multi IP/MAC input
Store multiple space separated custom address values as separate uci
list items in the configuration.
Fixes: #4822
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
b60be8cfd82e83818013fafce00c9433e0c38376)
Jo-Philipp Wich [Wed, 17 Feb 2021 17:18:14 +0000 (18:18 +0100)]
luci-app-ddns: fix multiple authenticated RCEs
The ddns detail model passes unsanitized values directly to sys.call() in
various places, which allows injecting arbitrary commands through a number
of fields.
Prevent that issue by quoting the values used in command invocations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Sat, 13 Feb 2021 08:33:55 +0000 (10:33 +0200)]
treewide: i18n backport and sync translations
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Stan Grishin [Wed, 10 Feb 2021 01:59:01 +0000 (17:59 -0800)]
Merge pull request #4795 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: bugfix: default values for ListValue
Stan Grishin [Wed, 10 Feb 2021 01:12:19 +0000 (01:12 +0000)]
luci-app-simple-adblock: bugfix: default values for ListValue
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Tue, 9 Feb 2021 23:02:59 +0000 (00:02 +0100)]
luci-base: luci.js: fix sortedKeys() ordering
Chrome does not properly sort arrays when the sort function returns boolean
results, in contrast to Firefox which does.
Fix the issue by returning a numerical result instead.
Fixes: #4792
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3c166c25de535c5c5aeda1d40eba6c1756c412be)
Stan Grishin [Fri, 5 Feb 2021 18:46:38 +0000 (10:46 -0800)]
Merge pull request #4766 from stangri/19.07-luci-app-https-dns-proxy
[19.07] luci-app-https-dns-proxy: add nextdns.io and quad 101 providers
Stan Grishin [Fri, 5 Feb 2021 05:52:41 +0000 (05:52 +0000)]
luci-app-https-dns-proxy: add nextdns.io and quad 101 providers
Signed-off-by: Stan Grishin <stangri@melmac.net>
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)
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>
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>
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)
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>
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
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>
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)
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)
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>
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>
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>
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>
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>
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>
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)
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)
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
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>
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
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>
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)
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>
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)
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)
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)
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>
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>
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>
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>
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)
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>
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>
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)
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)
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)
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)
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)
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)
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)
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)
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
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)
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)
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>
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)
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>
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>
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>