Commit graph

14640 commits

Author SHA1 Message Date
Stan Grishin
9cf8f15fae
Merge pull request #4943 from stangri/21.02-luci-app-vpnbypass
[21.02] luci-app-vpnbypass: client-side rendering
2021-03-24 22:27:28 -07:00
Stan Grishin
5db241b2b5 luci-app-vpnbypass: client-side rendering
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-25 05:26:22 +00:00
Florian Eckert
73b420b09c luci-app-watchcat: sync i18n because of javascript porting
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-22 08:56:05 +01:00
Florian Eckert
e3686d5e9b luci-app-eoip: fix i18n for en
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-22 08:53:14 +01:00
Florian Eckert
8619c8b97f
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
2021-03-22 08:48:23 +01:00
Florian Eckert
7bc377f67c luci-app-watchcat: change interface selection to device
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3d48d79321)
2021-03-22 08:46:57 +01:00
Florian Eckert
1e99df56df luci-app-watchcat: fix render fails with XHTML themes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 0e19741553)
2021-03-22 08:46:43 +01:00
Jo-Philipp Wich
6639e31a06 luci-app-opkg: fix parsing empty package repository indexes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3bcbcbf088)
2021-03-20 17:16:38 +01:00
Paul Spooren
d7568b43ff 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>
2021-03-18 10:31:02 -10:00
Nicholas Smith
43d644db35 luci-app-watchcat: add support for new features and convert to JavaScript
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
(cherry picked from commit d5c763ee1d)

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Remove po file changes. Does not apply clean. To many changes.
2021-03-18 12:55:26 +01:00
Rui Salvaterra
556353f2d5 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 4bf84e29ea)
2021-03-14 14:38:28 +02:00
Rui Salvaterra
8d90ebaba9 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 02cadf67b2)
2021-03-14 14:37:13 +02:00
Dirk Brenken
c3b95818fe
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>
2021-03-14 06:57:31 +01:00
Hannu Nyman
4f905e16cc treewide: i18n translation backport and sync
Backport translations from master and sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-03-13 09:42:16 +02:00
Stan Grishin
a73ea05dbe
Merge pull request #4907 from stangri/21.02-luci-app-vpn-policy-routing
[21.02] luci-app-vpn-policy-routing: explicit package version
2021-03-12 19:06:21 -08:00
Stan Grishin
61cae0342c
Merge pull request #4904 from stangri/21.02-luci-app-simple-adblock
[21.02] luci-app-simple-adblock: explicit package version
2021-03-12 19:06:02 -08:00
Stan Grishin
1ce58d4583
Merge pull request #4901 from stangri/21.02-luci-app-https-dns-proxy
[21.02] luci-app-https-dns-proxy: explicit package version
2021-03-12 19:05:44 -08:00
Stan Grishin
81bc2c0198
Merge pull request #4898 from stangri/21.02-luci-app-advanced-reboot
[21.02] luci-app-advanced-reboot: explicit package version
2021-03-12 19:05:24 -08:00
Florian Eckert
4c6fb6bb97 luci-theme-openwrt-2020: add missing css success color
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit e0c0e468e6)
2021-03-12 15:03:02 +01:00
Stan Grishin
63382fbb00 luci-app-vpn-policy-routing: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-10 15:21:24 +00:00
Stan Grishin
37e4ef4fdb luci-app-simple-adblock: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-10 15:20:11 +00:00
Stan Grishin
01618249d4 luci-app-https-dns-proxy: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-10 15:19:16 +00:00
Stan Grishin
934673fa98 luci-app-advanced-reboot: explicit package version
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-10 15:10:45 +00:00
Stan Grishin
fa6922d586
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
2021-03-09 20:35:40 -08:00
Stan Grishin
2cccd50cc5
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
2021-03-09 20:35:22 -08:00
Stan Grishin
976b7f5c18
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
2021-03-09 20:35:02 -08:00
Stan Grishin
86eb91d2f4 luci-app-vpn-policy-routing: bugfix: template layout on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-08 10:48:58 +00:00
Stan Grishin
1a25f27c25 luci-app-simple-adblock: bugfix: template layout on theme-openwrt-2020
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-08 10:46:33 +00:00
Stan Grishin
855f06be83 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:05 +00:00
Dirk Brenken
988a896e0f
Merge pull request #4854 from EricLuehrsen/unbound_luci_2102
[openwrt-21.02] luci-app-unbound: fix interface selections to match UCI
2021-03-07 07:29:14 +01:00
Eric Luehrsen
fa2412b542 luci-app-unbound: fix interface selections to match UCI
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2021-03-06 21:11:23 -05:00
Dirk Brenken
2e1f950104
luci-app-banip: cosmetics
* fix translation warning
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 0dad7fc09e)
2021-03-03 16:37:56 +01:00
Jo-Philipp Wich
493552552f 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:06 +01:00
Jo-Philipp Wich
bd39e6abaf 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:06 +01:00
Jo-Philipp Wich
3d31dfc2b4 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:43:43 +01:00
Jo-Philipp Wich
628a1b8c8f 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 77d6b28935)
2021-03-01 10:31:01 +01:00
Jo-Philipp Wich
f644bd99b4 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:13:52 +01:00
Jo-Philipp Wich
b7f150ca5c 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:55:46 +01:00
Jo-Philipp Wich
6870d9e908 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:55:46 +01:00
Niels Widger
bf34ccdfc0 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:55:46 +01:00
Jo-Philipp Wich
9ece8c182d 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-03-01 08:55:46 +01:00
Jo-Philipp Wich
af4c851d35 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-03-01 08:55:46 +01:00
Dirk Brenken
d55158730e
Merge pull request #4842 from dibdot/21.02
[21.02] luci-app-adblock: sync with adblock 4.1.0
2021-02-27 07:34:38 +01:00
Dirk Brenken
debe1e298e
[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>
2021-02-27 07:16:28 +01:00
Hannu Nyman
329d9a3fc3 treewide: i18n - backport and sync translations
Backport translations from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-02-25 17:11:28 +02:00
Stan Grishin
d6947c9d21
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
2021-02-24 11:21:02 -08:00
Stan Grishin
e2603d679b luci-app-https-dns-proxy: add Force DNS option support
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-02-23 00:59:33 +00:00
Dirk Brenken
e54e6bb91a
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 2b9fca8178)
2021-02-20 15:11:04 +01:00
Hosted Weblate
04aeabc858 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 af1e587616)
2021-02-18 16:48:21 +02:00
Dirk Brenken
7234ab105e
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 97f6bb057f)
2021-02-18 15:32:48 +01:00