Commit graph

12422 commits

Author SHA1 Message Date
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
Hannu Nyman
1c67ae2302 luci-app-noddos: remove
The 'noddos' package itself was removed with commit
eb9d5bbf39

Remove also the corresponding LuCI app.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(backported from commit b06bc2c9ef)
2020-12-21 20:04:28 +02:00
Stan
d91dfb1c24
Merge pull request #4682 from stangri/19.07-luci-app-simple-adblock
[19.07] luci-app-simple-adblock: README URL update
2020-12-21 09:52:48 -08:00
Stan Grishin
378a32e525 luci-app-simple-adblock: README URL update
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-12-21 11:46:51 -06:00
Stan
e632e5ff9c
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
2020-12-21 09:39:51 -08:00
Stan Grishin
7184b96f47 luci-app-https-dns-proxy: WebUI for dnsmasq config update, quad9 bootstrap IPv6
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-12-21 11:34:35 -06:00
Wellington Uemura
893482eb2a 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 151787b561)
2020-12-20 19:39:18 +02:00
Hannu Nyman
9ea6057b62 treewide: Backport and sync translations
Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-19 11:54:47 +02:00
Florian Eckert
4edcf383e0 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 972096bf39)
2020-12-16 13:25:18 +01:00
Hannu Nyman
caae7adfaa 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)
2020-12-13 12:41:28 +02:00
Hannu Nyman
4a08cb912b 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)
2020-12-13 12:19:09 +02:00
Hannu Nyman
51f55b58b7 treewide: i18n - backport and sync translations
Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-06 18:00:26 +02:00
Dirk Brenken
e9bfb126b5
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>
2020-11-29 14:12:05 +01:00
Hannu Nyman
bf1b7d36eb treewide: i18n - backport and sync translations
Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-11-28 09:13:19 +02:00
Hannu Nyman
92c01e2352 treewide: i18n - backport and sync translations
Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-11-20 19:51:44 +02:00
Jo-Philipp Wich
94cdb6d2f7 luci-app-firewall: fix removing networks from zone
Fixes: #4608
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4dbf600de6)
2020-11-20 13:29:50 +01:00
Hannu Nyman
50b7ab5734 treewide: i18n - backport and sync translations
Backport translations from master.
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-11-14 15:36:34 +02:00
Hannu Nyman
7460e9d720 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>
2020-11-08 18:32:46 +02:00
Jo-Philipp Wich
167c1fa4b4 rpcd-mod-luci: bump version
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d9b4f036ea)
2020-11-07 22:12:38 +01:00
Jo-Philipp Wich
0e6a8c270a 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 5c5b1340e5)
2020-11-07 00:48:13 +01:00