Florian Eckert [Thu, 6 May 2021 09:44:57 +0000 (11:44 +0200)]
luci-app-mwan3: fix css status with
This commit fixes the width of the mwan3 status page for the
openwrt-2020 theme.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
6fa40fffcaa6015633e1e7426ff1f0bae61597c9)
Florian Eckert [Thu, 6 May 2021 09:22:02 +0000 (11:22 +0200)]
luci-app-mwan3: add i18n to status page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
2b0fbcb0c88fb073745ec99974c12f363b771ac2)
Florian Eckert [Mon, 3 May 2021 08:55:38 +0000 (10:55 +0200)]
luci-app-mwan3: update status page for no tracked interfaces
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
4fee871630dec3b6bfbfb6dadc1580f0e3edf830)
Florian Eckert [Tue, 4 May 2021 07:17:11 +0000 (09:17 +0200)]
luci-base: i18n sync translations
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Sven Roederer [Fri, 30 Apr 2021 23:12:02 +0000 (01:12 +0200)]
luci-base: change button-text from Dismiss to Close in UCI changes overview
Change the left button of the UCI Apply-changes overview to the more correct
function close. This also avoids confusion between Dismiss and Revert, which
translate to the same in german.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
(cherry picked from commit
b56912d9fcf6acb0ba3008de3df15188318376f2)
Florian Eckert [Tue, 4 May 2021 07:16:04 +0000 (09:16 +0200)]
treewide: i18n sync translations
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Dirk Brenken [Sun, 2 May 2021 20:11:25 +0000 (22:11 +0200)]
luci-app-banip: switch IP query provider
* switch to IPWHOIS.IO for IP report queries, the IP geolocation API is
more accurate & faster
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Sat, 1 May 2021 09:11:32 +0000 (11:11 +0200)]
luci-app-travelmate: typo fix
* typo fix & sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Paul Spooren [Sat, 24 Apr 2021 13:45:36 +0000 (03:45 -1000)]
luci-app-attendedsysupgrade: add target in reuqest
The updated ASU api requires `target` within reuqests since the
`profile` or `board_name` is never truely unique. This is especially a
problem for x86 devices which mostly use `generic` as profile name.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit
c6b4d4ab5a2c57889bcf14fafac17e73d22205c6)
Hannu Nyman [Tue, 27 Apr 2021 20:31:27 +0000 (23:31 +0300)]
treewide: i18n - backport translations from master
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Tue, 27 Apr 2021 08:09:05 +0000 (10:09 +0200)]
luci-app-statistics: treat APC UPS "host" setting as single value option
Existing Lua code incorrectly stated that the "Host" option takes a space
sparated list of hostnames which is not the case since the collect plugin
does not handle multiple hosts.
This change reverts the configuration to a simple value as proposed by
the original PR and adjusts the config summary accordingly, while retaining
the translation string.
Ref: https://github.com/openwrt/luci/pull/5010#issuecomment-
827285319
Fixes: dd5d96afd ("luci-app-statistics: fix APC UPS host configuration")
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
8816c8fff7e8e30f19e85c0f1c7f70b6914be701)
Jo-Philipp Wich [Mon, 26 Apr 2021 15:38:48 +0000 (17:38 +0200)]
luci-app-statistics: fix APC UPS host configuration
Ensure that list of hosts is stored as space separated list, like it was
done in the previous Lua implementation.
Fixes: #5010
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
dd5d96afdba698e11d12880f4adf28e24a140305)
Dirk Brenken [Thu, 22 Apr 2021 04:04:22 +0000 (06:04 +0200)]
luci-app-banip: sync with banIP 0.7.7
* support the new 'Whitelist Only' mode
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Florian Eckert [Wed, 21 Apr 2021 20:56:50 +0000 (22:56 +0200)]
luci-app-dockerman: Carelessness fixed during branch rebasing
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
c4f3ac05288ba148fcd5c0222f34f393dbec57a2)
Hannu Nyman [Tue, 20 Apr 2021 18:06:42 +0000 (21:06 +0300)]
luci-mod-network: fix handling of optional RA/NDP options
Fix the handling of optional IPv6 RA and NDP options
that were exposed to LuCI with
504bdb23f
Commit
504bdb23f defined them optional but provided default values.
Those values might get unnecessarily written to /etc/config dhcp when
the the user modifies some other values. Remove the default values,
but provide placeholder for some of them.
Add the missing optional definition to 'ndproxy_routing'.
(It is a flag, so optional default values do not get written to
the config file.)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit
b7dd10da0fcdc9c69857d848ce1d47243998a22c)
Florian Eckert [Mon, 19 Apr 2021 14:27:34 +0000 (16:27 +0200)]
luci-app-dockerman: update I18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 8 Apr 2021 15:13:59 +0000 (17:13 +0200)]
luci-app-dockerman: revised the information for the individual page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
ad05a0187bb9b03ba5ac9df27159f54521e15e18)
Florian Eckert [Thu, 8 Apr 2021 14:11:07 +0000 (16:11 +0200)]
luci-app-dockerman: move docker uci configuration to own page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
a9b196edafe4c751dbdb45937c76ad7a3a7abe38)
Florian Eckert [Thu, 8 Apr 2021 13:55:26 +0000 (15:55 +0200)]
luci-app-dockerman: if remote_endpoint is selected a port must be set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
483f1005b1f635fd6ccf92b6fc0c1df5755280de)
Florian Eckert [Thu, 8 Apr 2021 13:54:17 +0000 (15:54 +0200)]
luci-app-dockerman: if remote_endpoint is selected a host must be set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
2ffdf1988ee972933bd59ef975a374ec22f481bd)
Florian Eckert [Thu, 8 Apr 2021 13:21:17 +0000 (15:21 +0200)]
luci-app-dockerman: add datatype and detail info for remote_host option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
f406004c9c6c547918a099241d2f4e56f8180e8e)
Florian Eckert [Thu, 8 Apr 2021 13:06:51 +0000 (15:06 +0200)]
luci-app-dockerman: add log_level i18n translation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
0e29a0ecc686c0c19e9a1964e60b687844fd517b)
Florian Eckert [Thu, 8 Apr 2021 13:03:46 +0000 (15:03 +0200)]
luci-app-dockerman: do not set log_level for dockerd default setting
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
36869ffd2b9cf98066ce57e3cc98608b9e2ec9a0)
Florian Eckert [Thu, 8 Apr 2021 12:59:02 +0000 (14:59 +0200)]
luci-app-dockerman: do not preset value selection
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
9fd127869896ccf8e8e587c0eb43222fe71c9cfa)
Florian Eckert [Thu, 8 Apr 2021 12:54:51 +0000 (14:54 +0200)]
luci-app-dockerman: set examle registry url as placeholder
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
ec564ddf6b0858a04699716eb68a8f91dba27f67)
Florian Eckert [Thu, 8 Apr 2021 12:43:22 +0000 (14:43 +0200)]
luci-app-dockerman: remove setting default bip option
If no bip option is set, then the default configuration of dockerd should
be used. The option does not need to be set explicitly.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
a9fe74d8fb7d599a00cf5dd64c736721f0698bf7)
Florian Eckert [Thu, 8 Apr 2021 12:39:22 +0000 (14:39 +0200)]
luci-app-dockerman: removal of the option socket_path
This option is for debug purposes only. It makes no sense to offer this
option to the user. Especially as it is not used for a remote
connection.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
63c5cb56142d09c650dfabc873db55b598f09caa)
Dirk Brenken [Sun, 18 Apr 2021 19:07:37 +0000 (21:07 +0200)]
luci-app-adblock: sync with adblock 4.1.1
* support new RPZ-Trigger 'RPZ-CLIENT-IP' (currently bind only)
* Reporting tweaks/mailing
* cosmetics
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Hannu Nyman [Sat, 17 Apr 2021 16:21:32 +0000 (19:21 +0300)]
treewide: Backport translations - i18n
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Dirk Brenken [Sat, 17 Apr 2021 16:15:57 +0000 (19:15 +0300)]
luci-mod-network: fix xhtml markup
* fix markup in interfaces.js (#4980)
Signed-off-by: Dirk Brenken <dev@brenken.org>
(Adapted from commit
2617fcdc631d0b504abdb27bb17d44f26c230cda
by taking only the .js part.)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Paul Dee [Thu, 1 Apr 2021 17:02:36 +0000 (19:02 +0200)]
luci-mod-network: Introduce new RA and NDP params with help-text.
New: Router Advertisement parameters and accompanying help-text.
New: 3 additional NDP options and accompanying help-text.
Until now, some of the IPv6 settings are mysterious. They are now
clarified. The information is accessible to IPv6 beginners.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
(cherry picked from commit
504bdb23fbaff28cc31cc1dd2408a9f1cd5eddde)
Paul Dee [Thu, 1 Apr 2021 19:52:55 +0000 (21:52 +0200)]
luci-mod-network: Add help text for many existing odhcpd IPv6 parameters
and Global network options ULA.
Relocated the "DHCPv6 Mode" to below RA-Service: DHCPv6-Mode is actually
ra_management in disguise. Better grouping.
Until now, some of the IPv6 settings are mysterious. They are now
clarified. The information is accessible to IPv6 beginners.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
(cherry picked from commit
988c98bdc6b30a1d9fb17e1ba4444d0beb236b8a)
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 [Tue, 13 Apr 2021 12:43:51 +0000 (15:43 +0300)]
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>
(cherry picked from commit
57839f183b9e019c792c7e185174e4be73890c7b)
Eneas U de Queiroz [Sat, 23 May 2020 14:26:50 +0000 (11:26 -0300)]
luci-app-xlc: don't build package for arc
lxc does not build on arc. Since luci-app-xlc selects lxc, it needs to
check @!arc first.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit
c6d196cc82d75fe47fd48bb107b9cf9f3df6d6a6)
Alexander Egorenkov [Sun, 4 Apr 2021 10:41:03 +0000 (12:41 +0200)]
luci-app-transmission: fix ' ' exception in OpenWrt theme
Convert ' ' to ' ' which is both syntactically correct (semicolon present) and XHTML compliant.
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry picked from commit
afd096edfcd5669510702b47c964ba75d698d5af)
Stan Grishin [Sun, 11 Apr 2021 16:38:48 +0000 (09:38 -0700)]
Merge pull request #4975 from stangri/21.02-luci-app-simple-adblock
[21.02] luci-app-simple-adblock: bugfix: crash when dnsmasq.ipset selected
Stan Grishin [Sat, 10 Apr 2021 18:45:01 +0000 (18:45 +0000)]
luci-app-simple-adblock: bugfix: crash when dnsmasq.ipset selected
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Fri, 9 Apr 2021 12:36:19 +0000 (14:36 +0200)]
luci-app-commands: prevent page reload on invoking command actions
Fixes: f117b7f ("luci-app-commands: use <button> elements")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
36959dc0d10bd012f35c51bf8a6b88ce6c5853a2)
Jo-Philipp Wich [Fri, 9 Apr 2021 12:27:00 +0000 (14:27 +0200)]
luci-app-commands: use <button> elements
Use <button> instead of <input type=button> elements to fix compatibility
with OpenWrt 2020 theme.
Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f117b7f1ec3b582aeed524093afc06dd5eb15127)
Jo-Philipp Wich [Fri, 9 Apr 2021 12:25:51 +0000 (14:25 +0200)]
luci-theme-openwrt-2020: honor CSS definitions passed by views
Legacy Lua views might declare a global `css` variable to inject custom
styles into the template header. Support this mechanism in the OpenWrt 2020
theme as well.
Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
c5ff3244e92f267e3b7410b3196615f5fec75051)
Jo-Philipp Wich [Fri, 9 Apr 2021 12:24:46 +0000 (14:24 +0200)]
luci-compat: update markup for CBI TableSections
Update legacy CBI markup to use actual table, tr, th and td elements
instead of using div element corresponding table classes.
Fixes compatibility with OpenWrt 2020 theme.
Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
2155868175fdf1de273cafc0b37b1b9fd5900b04)
Hannu Nyman [Fri, 9 Apr 2021 08:40:47 +0000 (11:40 +0300)]
treewide: i18n - backport translations from master
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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>
Jo-Philipp Wich [Mon, 29 Mar 2021 09:45:01 +0000 (11:45 +0200)]
luci-app-dawn: fix custom markup
- Properly indent HTML markup
- Replace div-based table markup with actual tables
- Escape SSID, hostname and interface values to prevent potential XSS
Fixes: #4942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
32f0ff25a2ef28b58eae62688ecdb9d23dc91df0)
Jo-Philipp Wich [Mon, 29 Mar 2021 09:24:59 +0000 (11:24 +0200)]
luci-base: ui.js: fix UICheckbox widget operation when tooltips are set
When a tooltip is rendered for a checkbox widget, an additional node is
placed after the checkbox label element, breaking DOM selectors in
bind(), isChecked(), setValue().
Apparently the functionality was never actually tested.
Fixes: #4938
Fixes: e951236e3 ("luci-base: add tooltip handling")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
95b5c6cd6464d11d6baa22bcf2c9469847353813)
Philip L. McMahon [Sat, 27 Mar 2021 09:06:42 +0000 (11:06 +0200)]
luci-app-statistics: remove rrd path triple escape
Fixes rendering errors when RRD file names contain IPv6 addresses and the
colon (":") characters are triple escaped.
Adapts the Lua-specific fix in #4340 to Javascript.
Signed-off-by: Philip L. McMahon <philip.l.mcmahon@gmail.com>
(cherry picked from commit
d44302b3ac7a5f687c4a2bb6707cc3d922651f82 of PR #4358)
Hannu Nyman [Sat, 27 Mar 2021 09:00:11 +0000 (11:00 +0200)]
treewide: Backport translations and sync
Backport translations from master
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Stan Grishin [Thu, 25 Mar 2021 05:27:28 +0000 (22:27 -0700)]
Merge pull request #4943 from stangri/21.02-luci-app-vpnbypass
[21.02] luci-app-vpnbypass: client-side rendering
Stan Grishin [Thu, 25 Mar 2021 05:26:22 +0000 (05:26 +0000)]
luci-app-vpnbypass: client-side rendering
Signed-off-by: Stan Grishin <stangri@melmac.net>
Florian Eckert [Mon, 22 Mar 2021 07:56:05 +0000 (08:56 +0100)]
luci-app-watchcat: sync i18n because of javascript porting
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 22 Mar 2021 07:53:14 +0000 (08:53 +0100)]
luci-app-eoip: fix i18n for en
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 22 Mar 2021 07:48:23 +0000 (08:48 +0100)]
Merge pull request #4932 from TDT-AG/pr/
20210318-openwrt-21.02-luci-app-watchcat
luci-app-watchcat: add support for new features and convert to JavaScript
Florian Eckert [Mon, 22 Mar 2021 07:21:24 +0000 (08:21 +0100)]
luci-app-watchcat: change interface selection to device
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
3d48d7932136defa459766940ebe3cd153a8cf98)
Florian Eckert [Mon, 22 Mar 2021 07:16:13 +0000 (08:16 +0100)]
luci-app-watchcat: fix render fails with XHTML themes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
0e19741553e672188a7b21f295243d0dbf6e7c64)
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)
Paul Spooren [Wed, 10 Feb 2021 03:45:52 +0000 (17:45 -1000)]
luci-app-attendedsysupgrade: sync with master branch
Use new LuCI JavaScript code instead of a mix of Lua and JS.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Nicholas Smith [Mon, 14 Dec 2020 01:39:09 +0000 (11:39 +1000)]
luci-app-watchcat: add support for new features and convert to JavaScript
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
(cherry picked from commit
d5c763ee1dc3f90ae3f493400895440f4082c4b4)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Remove po file changes. Does not apply clean. To many changes.
Rui Salvaterra [Sun, 14 Mar 2021 12:38:28 +0000 (14:38 +0200)]
luci-mod-system/zram: remove zram_comp_streams
Zram uses per-CPU compression streams [1]. This is a no-op.
[1] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=
116191eddf9d8ddba61de788824dea442b265936
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
(cherry picked from commit
4bf84e29eaab32f97f54facd754c1969d9dde9a5)
Rui Salvaterra [Tue, 2 Mar 2021 09:31:22 +0000 (09:31 +0000)]
luci-mod-system/zram: replace deflate with zstd
Deflate is just too slow for zram. Replace it with zstd, which is much faster at
similar compression ratios.
As a side note, this is an ugly hack. We're hard-coding compression algorithms
which might not be available in the system. The availability should be parsed
from /sys/block/zram0/comp_algorithm.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
(cherry picked from commit
02cadf67b23806b37ea71c0a16459876817b337b)
Dirk Brenken [Sun, 14 Mar 2021 05:57:31 +0000 (06:57 +0100)]
luci-app-banip: sync with 0.7.5
* change the wording for black- and whitelist (domain names now
supported as well as input for IPsets
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Hannu Nyman [Sat, 13 Mar 2021 07:42:16 +0000 (09:42 +0200)]
treewide: i18n translation 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:21 +0000 (19:06 -0800)]
Merge pull request #4907 from stangri/21.02-luci-app-vpn-policy-routing
[21.02] luci-app-vpn-policy-routing: explicit package version
Stan Grishin [Sat, 13 Mar 2021 03:06:02 +0000 (19:06 -0800)]
Merge pull request #4904 from stangri/21.02-luci-app-simple-adblock
[21.02] luci-app-simple-adblock: explicit package version
Stan Grishin [Sat, 13 Mar 2021 03:05:44 +0000 (19:05 -0800)]
Merge pull request #4901 from stangri/21.02-luci-app-https-dns-proxy
[21.02] luci-app-https-dns-proxy: explicit package version
Stan Grishin [Sat, 13 Mar 2021 03:05:24 +0000 (19:05 -0800)]
Merge pull request #4898 from stangri/21.02-luci-app-advanced-reboot
[21.02] luci-app-advanced-reboot: explicit package version
Florian Eckert [Thu, 11 Mar 2021 10:06:04 +0000 (11:06 +0100)]
luci-theme-openwrt-2020: add missing css success color
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
e0c0e468e64e9b425784650c23a894b8a0f4d407)
Stan Grishin [Wed, 10 Mar 2021 15:21:24 +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:11 +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:16 +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:45 +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:40 +0000 (20:35 -0800)]
Merge pull request #4883 from stangri/21.02-luci-app-https-dns-proxy
[21.02] luci-app-https-dns-proxy: bugfix: layout issues on theme-openwrt-2020
Stan Grishin [Wed, 10 Mar 2021 04:35:22 +0000 (20:35 -0800)]
Merge pull request #4886 from stangri/21.02-luci-app-simple-adblock
[21.02] luci-app-simple-adblock: bugfix: template layout on theme-openwrt-2020
Stan Grishin [Wed, 10 Mar 2021 04:35:02 +0000 (20:35 -0800)]
Merge pull request #4889 from stangri/21.02-luci-app-vpn-policy-routing
[21.02] luci-app-vpn-policy-routing: bugfix: template layout on theme-openwrt-2020
Stan Grishin [Mon, 8 Mar 2021 10:48:58 +0000 (10:48 +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:33 +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:05 +0000 (10:42 +0000)]
luci-app-https-dns-proxy: bugfix: layout issues on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
Dirk Brenken [Sun, 7 Mar 2021 06:29:14 +0000 (07:29 +0100)]
Merge pull request #4854 from EricLuehrsen/unbound_luci_2102
[openwrt-21.02] luci-app-unbound: fix interface selections to match UCI
Eric Luehrsen [Mon, 1 Mar 2021 02:25:44 +0000 (21:25 -0500)]
luci-app-unbound: fix interface selections to match UCI
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
Dirk Brenken [Wed, 3 Mar 2021 11:56:41 +0000 (12:56 +0100)]
luci-app-banip: cosmetics
* fix translation warning
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit
0dad7fc09ec4fb70066738671e55c8759eef0f61)
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)
Jo-Philipp Wich [Mon, 1 Mar 2021 09:27:30 +0000 (10:27 +0100)]
luci-app-nlbwmon: fix traffic numbers display in pie chart tooltips
The pie chart tooltips used base 1000 to format traffic numbers while table
cell values were formatted using base 1024. Use base 1024 for both to report
the same values.
Fixes: #4759
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
77d6b2893524df3c3a9e3df7c974ed054e0171ab)
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)
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 [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)
Dirk Brenken [Sat, 27 Feb 2021 06:34:38 +0000 (07:34 +0100)]
Merge pull request #4842 from dibdot/21.02
[21.02] luci-app-adblock: sync with adblock 4.1.0
Dirk Brenken [Sat, 27 Feb 2021 06:16:28 +0000 (07:16 +0100)]
[21.02] luci-app-adblock: sync with adblock 4.1.0
* made the blocklist selection/categories much more flexible
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Hannu Nyman [Thu, 25 Feb 2021 15:11:28 +0000 (17:11 +0200)]
treewide: i18n - backport and sync translations
Backport translations from master.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Stan Grishin [Wed, 24 Feb 2021 19:21:02 +0000 (11:21 -0800)]
Merge pull request #4832 from stangri/21.02-luci-app-https-dns-proxy
[21.02] luci-app-https-dns-proxy: add Force DNS option support
Stan Grishin [Tue, 23 Feb 2021 00:59:33 +0000 (00:59 +0000)]
luci-app-https-dns-proxy: add Force DNS option support
Signed-off-by: Stan Grishin <stangri@melmac.net>
Dirk Brenken [Sat, 20 Feb 2021 09:43:50 +0000 (10:43 +0100)]
luci-app-banip: sync with 0.7.3
* just a typo fix from last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit
2b9fca81783feb192206e4b088f322dc0e9b3738)
Hosted Weblate [Thu, 18 Feb 2021 13:59:33 +0000 (14:59 +0100)]
Translated using Weblate (Bulgarian)
Currently translated at 2.4% (39 of 1577 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/bg/
Translated using Weblate (Bulgarian)
Currently translated at 6.9% (5 of 72 strings)
Translated using Weblate (Bulgarian)
Currently translated at 4.1% (1 of 24 strings)
Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/bg/
Translated using Weblate (Bulgarian)
Currently translated at 4.0% (1 of 25 strings)
Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/bg/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (191 of 191 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/zh_Hans/
Translated using Weblate (Czech)
Currently translated at 3.7% (7 of 186 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/cs/
Translated using Weblate (Czech)
Currently translated at 4.7% (3 of 63 strings)
Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/cs/
Translated using Weblate (Czech)
Currently translated at 25.3% (19 of 75 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/cs/
Translated using Weblate (Czech)
Currently translated at 9.0% (4 of 44 strings)
Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/cs/
Translated using Weblate (Czech)
Currently translated at 9.0% (8 of 88 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/cs/
Translated using Weblate (Czech)
Currently translated at 14.2% (24 of 169 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/cs/
Translated using Weblate (Czech)
Currently translated at 20.9% (17 of 81 strings)
Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/cs/
Translated using Weblate (Russian)
Currently translated at 94.1% (16 of 17 strings)
Translation: OpenWrt/LuCI/applications/eoip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationseoip/ru/
Translated using Weblate (Russian)
Currently translated at 60.0% (30 of 50 strings)
Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ru/
Translated using Weblate (Russian)
Currently translated at 18.9% (7 of 37 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ru/
Translated using Weblate (Russian)
Currently translated at 52.2% (23 of 44 strings)
Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/ru/
Translated using Weblate (Russian)
Currently translated at 90.0% (54 of 60 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ru/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (60 of 60 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt/
Translated using Weblate (Polish)
Currently translated at 100.0% (60 of 60 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pl/
Translated using Weblate (Russian)
Currently translated at 51.9% (27 of 52 strings)
Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/ru/
Translated using Weblate (Polish)
Currently translated at 100.0% (26 of 26 strings)
Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/pl/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (26 of 26 strings)
Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/pt/
Translated using Weblate (Portuguese)
Currently translated at 8.6% (16 of 185 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/pt/
Translated using Weblate (Russian)
Currently translated at 59.6% (34 of 57 strings)
Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (25 of 25 strings)
Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/ru/
Translated using Weblate (Russian)
Currently translated at 40.8% (20 of 49 strings)
Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/ru/
Translated using Weblate (Russian)
Currently translated at 7.0% (13 of 185 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/ru/
Translated using Weblate (German)
Currently translated at 96.9% (189 of 195 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/de/
Translated using Weblate (Russian)
Currently translated at 25.6% (29 of 113 strings)
Translated using Weblate (Russian)
Currently translated at 62.7% (27 of 43 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (341 of 341 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (1577 of 1577 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/
Translated using Weblate (Polish)
Currently translated at 100.0% (1577 of 1577 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Co-authored-by: Alois Spitzbart <spitz234@hotmail.com>
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Iskren Mihaylov <iskren.mihaylov91@gmail.com>
Co-authored-by: Jan Breuer <j123b567@jaybee.cz>
Co-authored-by: Marcin Net <marcin.net@linux.pl>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Alois Spitzbart <spitz234@hotmail.com>
Signed-off-by: Artem <KovalevArtem.ru@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Iskren Mihaylov <iskren.mihaylov91@gmail.com>
Signed-off-by: Jan Breuer <j123b567@jaybee.cz>
Signed-off-by: Marcin Net <marcin.net@linux.pl>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/bg/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/pt/
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/statistics
(cherry picked from commit
af1e58761654b1dedcc1630d7b1b732bc05a9022)
Dirk Brenken [Wed, 17 Feb 2021 21:28:51 +0000 (22:28 +0100)]
luci-app-banip: sync with 0.7.2
* add nginx support and expose new log count options
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit
97f6bb057f7ced52a6c5380762aeb3369bc431aa)
Stan Grishin [Mon, 15 Feb 2021 18:02:27 +0000 (10:02 -0800)]
Merge pull request #4785 from stangri/master-luci-app-vpn-policy-routing
luci-app-vpn-policy-routing: sync with package version 0.3; add missing btn class to buttons;
Jonathan Pagel [Tue, 9 Feb 2021 21:32:28 +0000 (22:32 +0100)]
luci-app-babeld: rewrite javascript without CDN includes
Rewrite luci app in javascript without external sources
CC-Signed-off-by: Nick Hainke <vincent@systemli.org>
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>