Commit graph

12441 commits

Author SHA1 Message Date
Stan Grishin
0f30222997
Merge pull request #4899 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: explicit package version
2021-03-12 19:05:31 -08:00
Florian Eckert
b4025cf242
Merge pull request #4844 from oofnikj/4510_backport_gre
luci-proto-gre: backport to 19.07
2021-03-11 08:04:23 +01:00
Stan Grishin
57d4c965e2 luci-app-advanced-reboot: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-10 15:10:57 +00:00
Stan Grishin
310f532e26
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
2021-03-09 20:35:34 -08:00
Stan Grishin
88e19b940d
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
2021-03-09 20:35:15 -08:00
Stan Grishin
193f40d30c
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
2021-03-09 20:34:56 -08:00
Stan Grishin
c079f601e3 luci-app-vpn-policy-routing: bugfix: template layout on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-08 10:49:09 +00:00
Stan Grishin
3b2180b500 luci-app-simple-adblock: bugfix: template layout on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-08 10:46:43 +00:00
Stan Grishin
8d6189614d luci-app-https-dns-proxy: bugfix: layout issues on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-08 10:42:18 +00:00
Stan Grishin
a607f9c5c8
Merge pull request #4871 from stangri/19.07-luci-app-vpn-policy-routing
[19.07] luci-app-vpn-policy-routing: sync with principal app
2021-03-03 13:18:09 -08:00
Stan Grishin
ce2452e6e5 luci-app-vpn-policy-routing: sync with principal app
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-03 21:17:01 +00:00
Jo-Philipp Wich
c3db6905c3 luci-app-firewall: allow negative prefix lengths
Fixes: #4812
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f64b3d5094)
2021-03-01 15:19:21 +01:00
Jo-Philipp Wich
a483ae4371 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 cd06e708d8)
2021-03-01 15:19:21 +01:00
Jo-Philipp Wich
ee07c30207 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 0ee422b4c0)
2021-03-01 10:44:06 +01:00
Sergio E. Nemirowski
89c7b8ab0b 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>
2021-03-01 11:04:52 +02:00
Jo-Philipp Wich
0e5057cbbb 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 154117ff05)
2021-03-01 09:14:07 +01:00
Jo-Philipp Wich
8bba34de87 luci-app-firewall: fix creating multiple networks from zone network selector
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5d528da29f)
2021-03-01 08:56:25 +01:00
Jo-Philipp Wich
5e807edb23 luci-base: firewall.js: manage zomne networks as list
Fixes: #4827
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 49ecaf6090)
2021-03-01 08:56:25 +01:00
Niels Widger
97847023fd 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 8920a2bf71)
2021-03-01 08:56:25 +01:00
Chuanhong Guo
2201f77c27 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>
2021-02-27 15:29:35 +02:00
Jan Bětík
0f3987d5ad 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>
2021-02-27 15:29:22 +02:00
Jan Bětík
2e1ab6abae 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>
2021-02-27 15:29:04 +02:00
Hannu Nyman
aadfafadd6 treewide: i18n backport and sync translations
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-02-25 17:18:37 +02:00
Stan Grishin
3b137b5b7c
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
2021-02-22 16:56:11 -08:00
Stan Grishin
a52d6f2a83 luci-app-https-dns-proxy: add Force DNS, IDNet support, add missing class to buttons
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-02-23 00:54:04 +00:00
Jo-Philipp Wich
c33df8f75c 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 b8d2bcd432)
2021-02-19 11:32:25 +01:00
Jo-Philipp Wich
e67fe6d00a 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 b60be8cfd8)
2021-02-19 11:31:10 +01:00
Jo-Philipp Wich
9df7ea4d66 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>
2021-02-17 18:18:14 +01:00
Hannu Nyman
34e0d656a4 treewide: i18n backport and sync translations
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-02-13 10:33:55 +02:00
Stan Grishin
8674e2a004
Merge pull request #4795 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: bugfix: default values for ListValue
2021-02-09 17:59:01 -08:00
Stan Grishin
7ce12dd65e luci-app-simple-adblock: bugfix: default values for ListValue
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-02-10 01:12:19 +00:00
Jo-Philipp Wich
1f74e21336 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 3c166c25de)
2021-02-10 00:08:27 +01:00
Stan Grishin
2936a191f5
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
2021-02-05 10:46:38 -08:00
Stan Grishin
a7b70536d3 luci-app-https-dns-proxy: add nextdns.io and quad 101 providers
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-02-05 05:52:41 +00:00
Hannu Nyman
bf8b0bbef1 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 af1f961589)
2021-01-29 20:58:03 +02:00
Hannu Nyman
24049b1490 treewide: i18n - Sync and backport translations from master
Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-01-29 20:57:29 +02:00
Florian Eckert
71297231a4 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>
2021-01-22 09:37:48 +01:00
Jo-Philipp Wich
6ba9740b61 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 7b5b7fbcd6)
2021-01-18 16:58:56 +01:00
Hannu Nyman
0386a295d7 treewide: i18n - backport translations from master
Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-01-16 11:10:09 +02:00
Stan Grishin
fa0c7c0d39
Merge pull request #4730 from stangri/19.07-luci-app-https-dns-proxy
[19.07] luci-app-https-dns-proxy: DSCP tagging support
2021-01-13 04:04:16 -08:00
Stan Grishin
7e327c1378 luci-app-https-dns-proxy: DSCP tagging support
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-01-13 12:01:52 +00:00
Hannu Nyman
efe43b8177 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 e2ac2e92b0
 languages not existing in 19.07 removed from the commit)
2021-01-12 19:28:23 +02:00
Hannu Nyman
bf4fbd98b7 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 9e4391e3a6)
2021-01-09 20:24:14 +02:00
Hannu Nyman
a04ce80f59 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>
2020-12-29 14:30:11 +02:00
Hannu Nyman
cc2787b05d treewide: i18n - backport again
Backport translations again, after fixing the weblate
conflicts in master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-29 13:36:34 +02:00
Hannu Nyman
b007fd0e57 treewide: i18n - backport translations
Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-29 13:18:10 +02:00
Dirk Brenken
eb2cc808f8
luci-app-adblock: XHTML fix
* made DNS Report page XHTML compatible

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-12-28 19:28:18 +01:00
Dirk Brenken
e019fd2b55
luci-app-adblock: backport fixes
* fix dns backend detection in TurrisOS
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-12-23 21:47:58 +01:00
Jo-Philipp Wich
b9c806b064 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>
2020-12-23 17:11:48 +01:00
Jo-Philipp Wich
24550446ca 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 846b89c5bf)
2020-12-23 15:35:26 +01:00