Jo-Philipp Wich [Tue, 22 Nov 2022 16:30:37 +0000 (17:30 +0100)]
luci-base: fix passing dispatched node details to templates
Fixes: #6111
Fixes: 08ae8d40a9 ("luci-base, luci-lua-runtime: fix "dispatched" and "requested" properties")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 22 Nov 2022 14:00:36 +0000 (15:00 +0100)]
luci-base: fix (again) rendering ucode templates in `template` target
Fixes: #6111
Fixes: a5d21dadbd ("luci-base: fix rendering ucode templates from `template` target")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 22 Nov 2022 09:56:55 +0000 (10:56 +0100)]
treewide: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 22 Nov 2022 09:27:15 +0000 (10:27 +0100)]
luci-proto-wireguard: merge status page functionality
Merge status page functionality from the separate `luci-app-wireguard`
package into the `luci-proto-wirguard` protocol backend.
Also rewrite the status page markup to be more compact while we're at it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 22 Nov 2022 09:08:44 +0000 (10:08 +0100)]
luci-base: ui.js: table enhancements
- Gracefully handle cells without innerText
- Properly handle `DocumentFragment` call values on table update
- Introduce ability to fetch actual cell value for sorting purposes from
`data-value` attribute
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 22 Nov 2022 08:41:31 +0000 (09:41 +0100)]
luci-base: fix rendering ucode templates from `template` target
A previous commit inadvertently broke support for rendering ucode templates
from the `template` dispatcher target.
Fixes: #6111
Fixes: fa17c1573f ("luci-base, luci-lua-runtime: adjust Lua template environment")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 21 Nov 2022 11:35:54 +0000 (12:35 +0100)]
luci-mod-network: fix invalid markup in the relay tab
Fixes: #6107
Fixes: a627744bb5 ("luci-mod-network: 'relay' tab added")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 21 Nov 2022 11:27:28 +0000 (12:27 +0100)]
luci-base, luci-lua-runtime: adjust Lua template environment
To maintain full compatibility with the old Lua runtime, templates
rendered from a menu `template()` action must implicitly inherit the
`luci.dispatcher` namespace as scope while other indirectly included
templates must not.
Fixes: #6105
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 21 Nov 2022 11:24:31 +0000 (12:24 +0100)]
luci-base, luci-lua-runtime: fix "dispatched" and "requested" properties
Ensure to properly emulate the "dispatched" and "requested" properties
which refer to the executed and initially resolved menu node respectivey.
Also stop exposing a `node` property in Lua context to maintain full
compatibility with the old Lua runtime.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 21 Nov 2022 11:20:58 +0000 (12:20 +0100)]
luci-base: expose sysauth rendering errors
In case a theme shipped sysauth.htm failed to render/execute, expose the
exception error details in the ui theme fallback indicator.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Stan Grishin [Sun, 20 Nov 2022 05:25:59 +0000 (22:25 -0700)]
Merge pull request #6096 from stangri/master-luci-app-simple-adblock
luci-app-simple-adblock: update to 1.9.3-1
Hosted Weblate [Thu, 17 Nov 2022 18:57:52 +0000 (19:57 +0100)]
Translated using Weblate (Hebrew)
Currently translated at 100.0% (3 of 3 strings)
Translated using Weblate (Hebrew)
Currently translated at 1.1% (1 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/he/
Translated using Weblate (Hebrew)
Currently translated at 6.8% (3 of 44 strings)
Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/he/
Translated using Weblate (Hebrew)
Currently translated at 3.1% (3 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/he/
Translated using Weblate (Hebrew)
Currently translated at 66.6% (4 of 6 strings)
Translation: OpenWrt/LuCI/applications/olsr-services
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr-services/he/
Translated using Weblate (Hebrew)
Currently translated at 4.0% (5 of 123 strings)
Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/he/
Translated using Weblate (Hebrew)
Currently translated at 5.0% (3 of 60 strings)
Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/he/
Translated using Weblate (Hebrew)
Currently translated at 1.7% (3 of 170 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/he/
Translated using Weblate (Hebrew)
Currently translated at 7.6% (2 of 26 strings)
Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/he/
Translated using Weblate (Hebrew)
Currently translated at 60.0% (3 of 5 strings)
Translated using Weblate (Hebrew)
Currently translated at 3.0% (2 of 65 strings)
Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/he/
Translated using Weblate (Hebrew)
Currently translated at 3.8% (1 of 26 strings)
Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/he/
Translated using Weblate (Hebrew)
Currently translated at 6.1% (3 of 49 strings)
Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/he/
Translated using Weblate (Hebrew)
Currently translated at 8.3% (1 of 12 strings)
Translation: OpenWrt/LuCI/applications/bcp38
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/he/
Translated using Weblate (Romanian)
Currently translated at 100.0% (14 of 14 strings)
Translated using Weblate (Hebrew)
Currently translated at 5.2% (2 of 38 strings)
Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/he/
Translated using Weblate (Romanian)
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/ro/
Translated using Weblate (Spanish)
Currently translated at 99.4% (196 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/es/
Translated using Weblate (Greek)
Currently translated at 26.4% (56 of 212 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/
Added translation using Weblate (Romanian)
Translated using Weblate (Slovak)
Currently translated at 4.7% (10 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/sk/
Translated using Weblate (Slovak)
Currently translated at 93.9% (31 of 33 strings)
Translated using Weblate (German)
Currently translated at 100.0% (191 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/de/
Translated using Weblate (Hebrew)
Currently translated at 1.0% (2 of 192 strings)
Translated using Weblate (Hebrew)
Currently translated at 2.7% (2 of 74 strings)
Translated using Weblate (German)
Currently translated at 96.6% (2014 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: MaycoH <hudec.marian@hotmail.com>
Co-authored-by: Mircea Vutcovici <mirceavutcovici@gmail.com>
Co-authored-by: Simona Iacob <s@zp1.net>
Co-authored-by: TakissX <pxatzidakis@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: MaycoH <hudec.marian@hotmail.com>
Signed-off-by: Simona Iacob <s@zp1.net>
Signed-off-by: Yaron Shahrabani <sh.yaron@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscoovachilli/he/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/he/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/he/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/he/
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/coovachilli
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/modules/luci-mod-battstatus
Translation: OpenWrt/LuCI/modules/luci-mod-dsl
Jo-Philipp Wich [Tue, 15 Nov 2022 18:49:05 +0000 (19:49 +0100)]
luci-lua-runtime: proxy all dispatcher context property accesses
The ucode side dispatcher environment might not be fully populated yet
when the emulated Lua dispatcher is loaded, leading to `context.requested`
and some other properties to be `nil`.
Expose all properties through metatable `__index` lookups instead to
ensure that the Lua side dispatcher always sees the latest values.
Fixes: #6100
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 15 Nov 2022 00:44:28 +0000 (01:44 +0100)]
luci-mod-network: restrict peerdns option to protocols that implemenent it
Only some supported protocol extensions honour the `peerdns` options.
Fixes: #6093
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Stan Grishin [Mon, 14 Nov 2022 19:26:17 +0000 (19:26 +0000)]
luci-app-simple-adblock: update to 1.9.3-1
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Hannu Nyman [Sat, 12 Nov 2022 18:54:59 +0000 (20:54 +0200)]
luci-mod-network: DNS - support filtering A or AAAA records
Support Dnsmasq 2.87-5 feature to filter DNS results:
* remove IPv6 AAAA records and return only IPv4 addresses
* remove IPv4 A records and return only IPv6 addresses
Especially the removal of IPv6 AAAA records can be useful with
ISPs that provide IPv6 address resolving but do not actually
offer IPv6 routing/connectivity.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hosted Weblate [Thu, 10 Nov 2022 17:00:02 +0000 (18:00 +0100)]
Translated using Weblate (German)
Currently translated at 98.1% (108 of 110 strings)
Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/de/
Translated using Weblate (Portuguese)
Currently translated at 97.4% (115 of 118 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt/
Translated using Weblate (Italian)
Currently translated at 100.0% (14 of 14 strings)
Translated using Weblate (Danish)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/da/
Translated using Weblate (Italian)
Currently translated at 98.8% (175 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/it/
Translated using Weblate (Italian)
Currently translated at 46.1% (962 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/
Added translation using Weblate (Italian)
Translated using Weblate (Russian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (58 of 58 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (14 of 14 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Added translation using Weblate (Portuguese (Brazil))
Translated using Weblate (Norwegian Bokmål)
Currently translated at 83.3% (40 of 48 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Polish)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Norwegian Bokmål)
Currently translated at 36.4% (760 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/nb_NO/
Translated using Weblate (Spanish)
Currently translated at 96.0% (2002 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Eric <hamburger1024@mailbox.org>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: casell <supercasell@gmail.com>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Allan Nordhøy <epost@anotheragency.no>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Eric <hamburger1024@mailbox.org>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: casell <supercasell@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/nb_NO/
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
Translation: OpenWrt/LuCI/modules/luci-mod-dsl
Jo-Philipp Wich [Thu, 10 Nov 2022 23:42:14 +0000 (00:42 +0100)]
luci-lua-runtime: preload luci.ltn12
Some existing legacy code expects the luci.ltn12 namespace to be implicitly
available, even without requiring it beforehand.
Fixes: #6091
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 10 Nov 2022 21:49:07 +0000 (22:49 +0100)]
luci-base: fix ubus luci/getConntrackHelpers reporting with firewall3
The uci package name used to iterate the loaded configuration sections
must correspond to the file name being loaded.
Fixes: https://github.com/openwrt/openwrt/issues/11215
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 10 Nov 2022 21:33:38 +0000 (22:33 +0100)]
luci-lua-runtime: dispatcher.lua: translate legacy node "target" property
Some legacy Lua controllers declare menu entries by first invoking `node()`
and then setting the `.target` property on the resulting object.
Make sure to properly translate such menu nodes into the internal menu
JSON representation.
Fixes: #6090
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Julien Cassette [Sun, 6 Nov 2022 22:42:31 +0000 (23:42 +0100)]
luci-proto-wireguard: fix generated AllowedIPs
This corrects the option `AllowedIPs` in generated peer configurations,
and allows to customize it via a dropdown list.
Fixes: #5956
Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
[correct fixes tag, slightly adjust option description]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Nov 2022 19:46:49 +0000 (20:46 +0100)]
luci-app-ksmbd: fix references to ksmbd.conf
Update the configuration view to refer to the updated `ksmbd.conf`
template file name as well.
Supersedes: #6080
Fixes: f0e0bccfb8 ("luci-app-ksmbd: update menu dependencies")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
pesa1234 [Mon, 7 Nov 2022 11:03:38 +0000 (12:03 +0100)]
luci-app-ksmbd: update menu dependencies
The name of the template file changed in the ksmbd package, update the
menu dependencies accordingly to match the changed path.
Signed-off-by: pesa1234 <andreapesaresi82@gmail.com>
[fix commit subject and message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Nov 2022 19:41:46 +0000 (20:41 +0100)]
Merge pull request #6083 from weblate/weblate-openwrt-luci
Translations update from Hosted Weblate
Jo-Philipp Wich [Wed, 9 Nov 2022 19:37:54 +0000 (20:37 +0100)]
luci-lua-runtime: also search luci.dispatcher scope when looking up values
Some legacy templates access dispatcher functions such as `build_url()`
without explicit scope, which worked in the old runtime since the template
view namespace was instantiated from the dispatcher.
Ensure that this continues to function in the emulated runtime.
Fixes: #6082
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Nov 2022 19:26:14 +0000 (20:26 +0100)]
luci-base: cbi.js: await L.ui load before updating tables
On legacy views, the `L.ui` JavaScript class is not automatically loaded,
so request it before updating tables.
Fixes: e0e6989a4a ("luci-base: introduce new LuCI.ui.Table class")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hosted Weblate [Wed, 9 Nov 2022 12:53:57 +0000 (13:53 +0100)]
Added translation using Weblate (Italian)
Translated using Weblate (Russian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (58 of 58 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (14 of 14 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Added translation using Weblate (Portuguese (Brazil))
Translated using Weblate (Norwegian Bokmål)
Currently translated at 83.3% (40 of 48 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Polish)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Norwegian Bokmål)
Currently translated at 36.4% (760 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/nb_NO/
Translated using Weblate (Spanish)
Currently translated at 96.0% (2002 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Eric <hamburger1024@mailbox.org>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: casell <supercasell@gmail.com>
Signed-off-by: Allan Nordhøy <epost@anotheragency.no>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Eric <hamburger1024@mailbox.org>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/nb_NO/
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
Translation: OpenWrt/LuCI/modules/luci-mod-dsl
Stan Grishin [Tue, 8 Nov 2022 18:38:58 +0000 (11:38 -0700)]
Merge pull request #6086 from stangri/master-luci-app-simple-adblock
luci-app-simple-adblock: bugfix: allow empty leds field
Stan Grishin [Tue, 8 Nov 2022 18:06:06 +0000 (18:06 +0000)]
luci-app-simple-adblock: bugfix: allow empty leds field
* fixes error mentioned in https://github.com/openwrt/luci/pull/6075#issuecomment-
1306581739
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Jo-Philipp Wich [Tue, 8 Nov 2022 16:01:48 +0000 (17:01 +0100)]
Merge pull request #6085 from etactica/master-tpl-fixes
lua-runtime: template: fix "tpl" refactoring
Karl Palsson [Tue, 8 Nov 2022 15:23:10 +0000 (15:23 +0000)]
lua-runtime: template: fix "tpl" refactoring
This fixes crashes on "tpl" being undefined.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Stan Grishin [Tue, 8 Nov 2022 00:41:11 +0000 (16:41 -0800)]
Merge pull request #6075 from stangri/master-luci-app-simple-adblock
luci-app-simple-adblock: convert to js
Florian Eckert [Mon, 7 Nov 2022 12:41:58 +0000 (13:41 +0100)]
luci-base: rebase i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 7 Nov 2022 12:40:24 +0000 (13:40 +0100)]
luci-mod-network: convert diagnostic page to LuCI look and feel
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 7 Nov 2022 11:54:23 +0000 (12:54 +0100)]
Merge pull request #6077 from weblate/weblate-openwrt-luci
Translations update from Hosted Weblate
Hosted Weblate [Mon, 7 Nov 2022 09:03:57 +0000 (10:03 +0100)]
Translated using Weblate (Polish)
Currently translated at 100.0% (14 of 14 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 50.0% (7 of 14 strings)
Translated using Weblate (Spanish)
Currently translated at 85.7% (12 of 14 strings)
Translated using Weblate (German)
Currently translated at 41.5% (49 of 118 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/de/
Translated using Weblate (Slovak)
Currently translated at 76.3% (29 of 38 strings)
Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/sk/
Translated using Weblate (Russian)
Currently translated at 51.8% (69 of 133 strings)
Added translation using Weblate (Polish)
Added translation using Weblate (Norwegian Bokmål)
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: MaycoH <hudec.marian@hotmail.com>
Co-authored-by: sergio <sergio+it@outerface.net>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: MaycoH <hudec.marian@hotmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci_modules_luci-mod-dsl/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ru/
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/modules/luci-mod-dsl
Hannu Nyman [Sun, 6 Nov 2022 07:39:17 +0000 (09:39 +0200)]
luci-mod-dsl: Manually add one language to trigger weblate
Weblate needs at least one language .po file to exist for it
to notice the new component. Just the .pot template is not enough.
Add Spanish manually.
This fixes commit
977c9ac6c that only added the template.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hosted Weblate [Sat, 5 Nov 2022 16:58:23 +0000 (17:58 +0100)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (118 of 118 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt_BR/
Translated using Weblate (Romanian)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/ro/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pt/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (58 of 58 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Romanian)
Currently translated at 100.0% (48 of 48 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (89 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ro/
Translated using Weblate (Romanian)
Currently translated at 100.0% (118 of 118 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ro/
Translated using Weblate (Romanian)
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/ro/
Translated using Weblate (Romanian)
Currently translated at 100.0% (80 of 80 strings)
Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/ro/
Translated using Weblate (Romanian)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/ro/
Translated using Weblate (Romanian)
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/ro/
Translated using Weblate (Romanian)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Romanian)
Currently translated at 98.6% (2056 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/
Translated using Weblate (Spanish)
Currently translated at 96.0% (2002 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Translated using Weblate (Turkish)
Currently translated at 100.0% (118 of 118 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/tr/
Translated using Weblate (Polish)
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (118 of 118 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pl/
Translated using Weblate (Polish)
Currently translated at 99.7% (2079 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (58 of 58 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2084 of 2084 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Co-authored-by: Eric <hamburger1024@mailbox.org>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Simona Iacob <s@zp1.net>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Eric <hamburger1024@mailbox.org>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Oğuz Ersen <oguz@ersen.moe>
Signed-off-by: Simona Iacob <s@zp1.net>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/ro/
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
Stan Grishin [Fri, 4 Nov 2022 00:10:03 +0000 (00:10 +0000)]
luci-app-simple-adblock: convert to js
Thanks @dibdot, @jow-!
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Update applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js
Co-authored-by: Vasili Sviridov <vsviridov@exceede.com>
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Thanks @dibdot, @jow-, @vsviridov!
* this includes changes made during review
Co-authored-by: Vasili Sviridov <vsviridov@exceede.com>
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Jo-Philipp Wich [Fri, 4 Nov 2022 15:06:18 +0000 (16:06 +0100)]
luci-lib-base: ensure that `luci.http` can be required standalone
Various existing Lua software is requiring the `luci.http` library for
URL encoding/decoding tasks so ensure that it can be loaded in a stand
alone manner even if the emulated Lua runtime environment is not
available.
Fixes: cea2c3578e ("luci-lib-base: forward luci.http.context.request.message to ucode")
Ref: https://forum.openwrt.org/t/x/141817
Ref: https://github.com/openwrt/luci/pull/5976#issuecomment-
1296220586
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Fri, 4 Nov 2022 13:04:17 +0000 (14:04 +0100)]
treewide: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 4 Nov 2022 13:02:59 +0000 (14:02 +0100)]
Merge pull request #6069 from weblate/weblate-openwrt-luci
Translations update from Hosted Weblate
Hosted Weblate [Fri, 4 Nov 2022 10:27:56 +0000 (11:27 +0100)]
Translated using Weblate (Dutch)
Currently translated at 6.9% (13 of 186 strings)
Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/nl/
Translated using Weblate (Dutch)
Currently translated at 6.5% (11 of 168 strings)
Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/nl/
Translated using Weblate (Dutch)
Currently translated at 2.3% (5 of 212 strings)
Translated using Weblate (Dutch)
Currently translated at 20.8% (10 of 48 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (3 of 3 strings)
Translated using Weblate (Dutch)
Currently translated at 12.8% (44 of 343 strings)
Translated using Weblate (Dutch)
Currently translated at 8.2% (171 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/nl/
Translated using Weblate (Greek)
Currently translated at 25.9% (55 of 212 strings)
Translated using Weblate (Greek)
Currently translated at 30.4% (631 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/el/
Translated using Weblate (German)
Currently translated at 97.2% (107 of 110 strings)
Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/de/
Translated using Weblate (German)
Currently translated at 100.0% (66 of 66 strings)
Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/de/
Translated using Weblate (German)
Currently translated at 100.0% (89 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/de/
Translated using Weblate (German)
Currently translated at 100.0% (170 of 170 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/de/
Translated using Weblate (German)
Currently translated at 97.1% (2015 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: TakissX <pxatzidakis@gmail.com>
Co-authored-by: fodiator <weblate@fodiator.com>
Co-authored-by: tdt-hv <hvoit@tdt.de>
Signed-off-by: TakissX <pxatzidakis@gmail.com>
Signed-off-by: fodiator <weblate@fodiator.com>
Signed-off-by: tdt-hv <hvoit@tdt.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/nl/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/modules/luci-mod-battstatus
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
Florian Eckert [Fri, 4 Nov 2022 12:52:44 +0000 (13:52 +0100)]
luci-mod-dsl: add i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
turboproc [Wed, 3 Aug 2022 21:47:23 +0000 (23:47 +0200)]
luci-mod-dsl: initial commit
Signed-off-by: Roland Barenbrug <roland@treslong.com>
[replace spcaes with tabs]
[remove not used dsl_cpe_pipe.sh from acl]
[cleanup file naming]
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Jo-Philipp Wich [Thu, 3 Nov 2022 10:27:52 +0000 (11:27 +0100)]
luci-base: fix empty reply format in ubus gateway fallback code
The ubus gateway fallback code incorrectly formatted ubus replies
containing no payload data when forwarding them via HTTP, leading
to `TypeError: Unexpected reply data format` errors in at least
the `luci.fs` class when receiving replies without payload.
Fix this issue by ensuring that the result array never contains
a `null` value for the payload, send an one-element array containing
just the status code in this case instead.
Fixes: #6074
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 3 Nov 2022 10:13:30 +0000 (11:13 +0100)]
luci-base: dispatcher.uc: only flush HTTP headers after rendering output
Ensure to first completely render the action function before flushing HTTP
headers since the invoked action logic might modify the HTTP headers itself.
Fixes: e7afd0d327 ("luci-base: fix luci.http.close()")
Ref: https://github.com/openwrt/luci/commit/
e7afd0d327bb35c502ca41a3c5e3ea098898fbd7#commitcomment-
88736854
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Thu, 3 Nov 2022 09:52:25 +0000 (10:52 +0100)]
Merge pull request #6072 from TDT-AG/pr/
20221103-ovpn-compress
luci-app-openvpn: add possibility to set param "compress" without algorithm
Martin Schiller [Mon, 30 Mar 2020 08:16:11 +0000 (10:16 +0200)]
luci-app-openvpn: add possibility to set param "compress" without algorithm
In some situations you need to set the compress param without an
algorithm. Compression will be turned off, but the packet framing for
compression will still be enabled, allowing a different setting to be
pushed later.
As it is not possible to have options with optional values at the
moment, I've introduced a pseudo value "frames_only" which will be
removed in the init script.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Jo-Philipp Wich [Wed, 2 Nov 2022 23:38:00 +0000 (00:38 +0100)]
luci-base: fix luci.http.close()
Ensure that `http.write()` or template rendering operations after a call
to `http.close()` do not produce additional output. This is required for
certain legacy Lua apps which invoke write and close operations in the
middle of a server side cbi rendering process.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Stan Grishin [Wed, 2 Nov 2022 22:11:27 +0000 (15:11 -0700)]
Merge pull request #6066 from autoexpect/add_doh
luci-app-https-dns-proxy: add cn.edu.tsinghua.tuna.dns.lua provider
Florian Eckert [Wed, 2 Nov 2022 13:17:24 +0000 (14:17 +0100)]
Merge pull request #6064 from weblate/weblate-openwrt-luci
Translations update from Hosted Weblate
Hosted Weblate [Wed, 2 Nov 2022 08:09:47 +0000 (09:09 +0100)]
Translated using Weblate (Persian)
Currently translated at 100.0% (37 of 37 strings)
Translated using Weblate (Persian)
Currently translated at 4.8% (4 of 82 strings)
Translated using Weblate (Persian)
Currently translated at 100.0% (28 of 28 strings)
Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/fa/
Translated using Weblate (Persian)
Currently translated at 91.8% (45 of 49 strings)
Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/fa/
Translated using Weblate (German)
Currently translated at 97.2% (107 of 110 strings)
Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/de/
Translated using Weblate (Greek)
Currently translated at 14.7% (5 of 34 strings)
Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/el/
Translated using Weblate (Greek)
Currently translated at 12.0% (3 of 25 strings)
Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/el/
Translated using Weblate (Greek)
Currently translated at 25.4% (54 of 212 strings)
Translated using Weblate (Greek)
Currently translated at 30.3% (630 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/el/
Translated using Weblate (German)
Currently translated at 58.1% (64 of 110 strings)
Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/de/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (89 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/pt/
Translated using Weblate (German)
Currently translated at 93.6% (88 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/de/
Translated using Weblate (Portuguese)
Currently translated at 95.7% (112 of 117 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt/
Translated using Weblate (German)
Currently translated at 41.0% (48 of 117 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/de/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (191 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/pt/
Translated using Weblate (Portuguese)
Currently translated at 99.4% (196 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (36 of 36 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (82 of 82 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (39 of 39 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (116 of 116 strings)
Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pl/
Translated using Weblate (Greek)
Currently translated at 30.3% (629 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/el/
Translated using Weblate (Slovak)
Currently translated at 14.8% (14 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/sk/
Translated using Weblate (Slovak)
Currently translated at 3.4% (4 of 117 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/sk/
Translated using Weblate (Slovak)
Currently translated at 8.1% (9 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/sk/
Translated using Weblate (Slovak)
Currently translated at 12.9% (22 of 170 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/sk/
Translated using Weblate (Slovak)
Currently translated at 83.3% (20 of 24 strings)
Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/sk/
Translated using Weblate (Slovak)
Currently translated at 16.0% (4 of 25 strings)
Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/sk/
Translated using Weblate (Slovak)
Currently translated at 25.5% (43 of 168 strings)
Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/sk/
Translated using Weblate (Slovak)
Currently translated at 62.7% (133 of 212 strings)
Translated using Weblate (Slovak)
Currently translated at 78.7% (26 of 33 strings)
Translated using Weblate (Slovak)
Currently translated at 45.4% (5 of 11 strings)
Translated using Weblate (Slovak)
Currently translated at 62.1% (23 of 37 strings)
Translated using Weblate (Slovak)
Currently translated at 36.3% (755 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sk/
Translated using Weblate (Slovak)
Currently translated at 4.2% (9 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/sk/
Translated using Weblate (Slovak)
Currently translated at 13.6% (6 of 44 strings)
Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/sk/
Translated using Weblate (Slovak)
Currently translated at 76.0% (19 of 25 strings)
Translation: OpenWrt/LuCI/applications/ksmbd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsksmbd/sk/
Translated using Weblate (Slovak)
Currently translated at 14.8% (14 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/sk/
Translated using Weblate (Slovak)
Currently translated at 19.2% (10 of 52 strings)
Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/sk/
Translated using Weblate (Portuguese)
Currently translated at 99.4% (190 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/pt/
Translated using Weblate (Slovak)
Currently translated at 8.1% (9 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/sk/
Translated using Weblate (German)
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/de/
Translated using Weblate (Slovak)
Currently translated at 10.3% (12 of 116 strings)
Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/sk/
Translated using Weblate (Slovak)
Currently translated at 4.8% (6 of 125 strings)
Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/sk/
Translated using Weblate (Slovak)
Currently translated at 19.3% (12 of 62 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/sk/
Translated using Weblate (Slovak)
Currently translated at 11.7% (20 of 170 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/sk/
Translated using Weblate (Slovak)
Currently translated at 12.5% (6 of 48 strings)
Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/sk/
Translated using Weblate (Slovak)
Currently translated at 70.8% (17 of 24 strings)
Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/sk/
Translated using Weblate (Slovak)
Currently translated at 21.3% (42 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/sk/
Translated using Weblate (Slovak)
Currently translated at 24.4% (41 of 168 strings)
Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/sk/
Translated using Weblate (Slovak)
Currently translated at 11.5% (13 of 113 strings)
Translated using Weblate (Slovak)
Currently translated at 6.7% (9 of 133 strings)
Translated using Weblate (Slovak)
Currently translated at 54.9% (56 of 102 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Portuguese)
Currently translated at 91.6% (33 of 36 strings)
Translated using Weblate (German)
Currently translated at 97.2% (35 of 36 strings)
Translated using Weblate (German)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (German)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Slovak)
Currently translated at 43.2% (16 of 37 strings)
Translated using Weblate (Slovak)
Currently translated at 36.3% (755 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sk/
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: MaycoH <hudec.marian@hotmail.com>
Co-authored-by: Rose <darkrose@privatemail.com>
Co-authored-by: TakissX <pxatzidakis@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: MaycoH <hudec.marian@hotmail.com>
Signed-off-by: Rose <darkrose@privatemail.com>
Signed-off-by: TakissX <pxatzidakis@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/pt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/pt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/pt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/pt/
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/p910nd
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/transmission
Translation: OpenWrt/LuCI/applications/watchcat
Jo-Philipp Wich [Wed, 2 Nov 2022 09:17:48 +0000 (10:17 +0100)]
luci-base: runtime.uc: avoid Lua not installed exeption from trycompile()
Make sure to request loading the Lua bridge as optional when initializing
the Lua VM context from trycompile() in order to not raise a fatal exception
in case the Lua runtime support is not present.
Ref: https://forum.openwrt.org/t/x/141426
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 2 Nov 2022 09:09:05 +0000 (10:09 +0100)]
luci-base: dispatcher.uc: apply ACLs to menu tree JSON
Add menu tree annotations for node readonly and dependency satisfied state
in order to ensure that unreachable menu nodes are hidden from view.
Fixes: ded8ccf93e ("luci-base-ucode: add initial ucode based LuCI runtime")
Ref: https://forum.openwrt.org/t/x/141426/10
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 2 Nov 2022 08:04:25 +0000 (09:04 +0100)]
luci-base: http.uc: fix invoking Lua file upload callbacks
In case a callback is installed from Lua code, the received callback
argument is not a callable function but a resource object with a call
method. Attempts to call it will leading to a `Type error: left-hand
side is not a function` error.
To solve this issue, invoke the internally set filehandler instead
which wraps the resource if needed.
Fixes: #6067
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Zhang Rui [Wed, 2 Nov 2022 07:24:31 +0000 (15:24 +0800)]
luci-app-https-dns-proxy: add cn.edu.tsinghua.tuna.dns.lua provider
Signed-off-by: Zhang Rui <rui.crater@gmail.com>
Hannu Nyman [Mon, 31 Oct 2022 18:00:21 +0000 (20:00 +0200)]
timezone data: update to 2022f
Update timezone data to 2022f.
* http://mm.icann.org/pipermail/tz-announce/2022-October/000075.html
- Mexico will no longer observe DST after 2022, except for areas
near the US border that continue to observe US DST rules.
On 2022-10-30 at 02:00 the Mexican state of Chihuahua moves
from -07 (-06 with DST) to year-round -06.
- Fiji will not observe DST in 2022/3.
For now, assume DST is suspended indefinitely.
- Simplify four Ontario zones.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hosted Weblate [Sat, 29 Oct 2022 20:59:32 +0000 (22:59 +0200)]
Translated using Weblate (Danish)
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/da/
Translated using Weblate (Danish)
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/da/
Translated using Weblate (Danish)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Danish)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Korean)
Currently translated at 33.2% (689 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ko/
Translated using Weblate (Japanese)
Currently translated at 79.9% (1658 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ja/
Translated using Weblate (German)
Currently translated at 90.0% (172 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/de/
Translated using Weblate (Polish)
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pl/
Translated using Weblate (Turkish)
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/tr/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hans/
Translated using Weblate (Turkish)
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/tr/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pl/
Translated using Weblate (German)
Currently translated at 100.0% (197 of 197 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/de/
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.0% (109 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/zh_Hans/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pt_BR/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (192 of 192 strings)
Translated using Weblate (Spanish)
Currently translated at 99.4% (191 of 192 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (33 of 33 strings)
Translated using Weblate (Spanish)
Currently translated at 96.9% (32 of 33 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/
Translated using Weblate (German)
Currently translated at 97.0% (2013 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/
Co-authored-by: Eric <hamburger1024@mailbox.org>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: orangepizza <abnoeh@mail.com>
Co-authored-by: sergio <sergio+it@outerface.net>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: tdt-hv <hvoit@tdt.de>
Signed-off-by: Eric <hamburger1024@mailbox.org>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Oğuz Ersen <oguz@ersen.moe>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: orangepizza <abnoeh@mail.com>
Signed-off-by: ssantos <ssantos@web.de>
Signed-off-by: tdt-hv <hvoit@tdt.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/da/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/tr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/da/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/tr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/zh_Hans/
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/openvpn
Florian Eckert [Fri, 28 Oct 2022 10:57:14 +0000 (12:57 +0200)]
Merge pull request #5965 from jempatel/luci-app-keepalived
luci-app-keepalived: Add LuCI for keepalived
Florian Eckert [Fri, 28 Oct 2022 09:02:47 +0000 (11:02 +0200)]
Merge pull request #6047 from systemcrash/luci-mod-network-relay
luci-mod-network: 'relay' tab added
Paul Dee [Thu, 20 Oct 2022 00:06:32 +0000 (02:06 +0200)]
luci-mod-network: 'relay' tab added
Adds LuCI GUI for dnsmasq DHCP 'relays'.
The helper functions in dnsmasq/files/dnsmasq.init limit behaviour
whereby it is not possible to omit server_addr, where to omit
it (dnsmasq supported) would result in a broad- or multicast further on.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
Jo-Philipp Wich [Thu, 27 Oct 2022 14:08:11 +0000 (16:08 +0200)]
luci-mod-network: gracefully handle empty channel lists
Avoid undefined value access when the channel list is empty.
Fixes: #5937, #5951
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Thu, 27 Oct 2022 12:06:38 +0000 (14:06 +0200)]
luci-app-nextdns: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:06:23 +0000 (14:06 +0200)]
luci-app-xfrpc: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:06:09 +0000 (14:06 +0200)]
luci-app-https-dns-proxy: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:05:51 +0000 (14:05 +0200)]
luci-app-frps: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:05:42 +0000 (14:05 +0200)]
luci-app-frpc: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:05:31 +0000 (14:05 +0200)]
luci-app-firewall: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:05:18 +0000 (14:05 +0200)]
luci-app-openvpn: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:05:06 +0000 (14:05 +0200)]
luci-app-simple-adblock: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:04:51 +0000 (14:04 +0200)]
luci-app-travelmate: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:04:34 +0000 (14:04 +0200)]
luci-app-transmission: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:04:13 +0000 (14:04 +0200)]
luci-base: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:03:52 +0000 (14:03 +0200)]
luci-app-ddns: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:03:37 +0000 (14:03 +0200)]
luci-app-commands: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:03:25 +0000 (14:03 +0200)]
luci-app-aria2: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 12:03:05 +0000 (14:03 +0200)]
luci-app-adblock: sync i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 27 Oct 2022 11:19:41 +0000 (13:19 +0200)]
Merge pull request #5430 from jeje42/feature/luci-app-openvpn-add-tls_crypt_v2-option
Add tls_crypt_v2 openvpn option to LuCI.
Florian Eckert [Thu, 27 Oct 2022 11:17:42 +0000 (13:17 +0200)]
Merge pull request #6051 from weblate/weblate-openwrt-luci
Translations update from Hosted Weblate
Hosted Weblate [Wed, 26 Oct 2022 20:02:34 +0000 (22:02 +0200)]
Translated using Weblate (Spanish)
Currently translated at 93.3% (14 of 15 strings)
Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/es/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (62 of 62 strings)
Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Russian)
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (2075 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Spanish)
Currently translated at 96.2% (1997 of 2075 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Translated using Weblate (Turkish)
Currently translated at 100.0% (117 of 117 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (2079 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/
Translated using Weblate (Greek)
Currently translated at 30.3% (631 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/el/
Co-authored-by: Byacrya <byacrya@proton.me>
Co-authored-by: Eric <hamburger1024@mailbox.org>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: TakissX <pxatzidakis@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: semih <semiht@gmail.com>
Co-authored-by: sergio <sergio+it@outerface.net>
Signed-off-by: Byacrya <byacrya@proton.me>
Signed-off-by: Eric <hamburger1024@mailbox.org>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: TakissX <pxatzidakis@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: semih <semiht@gmail.com>
Signed-off-by: sergio <sergio+it@outerface.net>
Jo-Philipp Wich [Thu, 27 Oct 2022 10:36:33 +0000 (12:36 +0200)]
luci-base: always link core.so with libcrypt to satisfy glibc builds
Fixes the following runtime error on glibc based builds:
Runtime error: Unable to dlopen file ...: undefined symbol: crypt
In module(), file /usr/share/ucode/luci/dispatcher.uc, line 1, byte 1:
called from anonymous function (/www/cgi-bin/luci:7:21)
Ref: https://forum.openwrt.org/t/x/137250/18
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 27 Oct 2022 09:13:49 +0000 (11:13 +0200)]
luci-base: add ui indicator when fallback theme is used
Add a ui indicator displaying error details when the configured theme
failed to load and the next available one is being used instead.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 27 Oct 2022 08:26:06 +0000 (10:26 +0200)]
luci-theme-material: fix location of template files
Fixes: #6060
Fixes: e496014760 ("luci-theme-material: convert Lua templates to ucode")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 27 Oct 2022 08:14:58 +0000 (10:14 +0200)]
luci-base: dispatcher.uc: update uci session ID in Lua context
Make sure that the uci session ID of the `luci.model.uci` module within
the Lua context is updated once we acquire the login session information.
In case legacy themes are used, the probing of the theme header template
might indirectly load the Lua runtime and the Lua side `luci.dispatcher`
module which in turn will load the `luci.model.uci` and set the session
ID there which is not yet initialized at this point in time.
This results in broken uci change handling within legacy Lua applications
when a legacy theme is loaded.
Fixes: #6060
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Thu, 27 Oct 2022 08:42:05 +0000 (10:42 +0200)]
luci-mod-network: remove uppercase for interface name in modal view
Unify the network name display as shown in the overview by removing the
uppercase conversion.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Jo-Philipp Wich [Wed, 26 Oct 2022 21:41:33 +0000 (23:41 +0200)]
luci-ssl-nginx: drop libiwinfo-lua dependency
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 26 Oct 2022 21:41:21 +0000 (23:41 +0200)]
luci-nginx: drop libiwinfo-lua dependency
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 26 Oct 2022 21:16:51 +0000 (23:16 +0200)]
luci-app-commands: drop luci-compat dependency
This custom commands application does not utilize Lua code anymore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 26 Oct 2022 20:43:56 +0000 (22:43 +0200)]
luci-theme-openwrt-2020: convert Lua templates to ucode
Convert the theme's Lua templates to ucode to avoid the implicit dependency
on the luci-lua-runtime package.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 26 Oct 2022 19:59:08 +0000 (21:59 +0200)]
luci-lua-runtime: render cbi header/footer templates via ucode runtime
Trigger rendering of CBI header and footer templates via the ucode runtime
`include()` in order to ensure that scope data is properly inherited from
Lua templates (`cbi/header`) including ucode templates (`header`).
This fixes automatic triggering of the config apply flow on legacy Lua CBI
forms.
Ref: https://github.com/openwrt/luci/pull/6056#issuecomment-
1292396588
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 26 Oct 2022 13:39:53 +0000 (15:39 +0200)]
Merge pull request #6055 from TDT-AG/pr/
20221026-luci-mod-network
luci-mod-network: remove uppercase for interface name on overview page
Jo-Philipp Wich [Wed, 26 Oct 2022 13:30:11 +0000 (15:30 +0200)]
luci-lua-runtime: fix loading header/footer templates for SimpleForms
Fixes: #6054
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 26 Oct 2022 07:49:02 +0000 (09:49 +0200)]
luci-lua-runtime: ensure proper forwarding of route arguments to cbi action
Ensure that the optional cbi() `config` argument is set to an empty table
if unspecified to ensure that the static call argument array is exactly
two elements long, otherwise call arguments are shifted and the invoked
method might not receive the expected parameter.
This fixes, among others, the dispatching of `arcombine()` targets.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Wed, 26 Oct 2022 10:04:52 +0000 (12:04 +0200)]
luci-mod-network: remove uppercase for interface name on overview page
In the overview page, the name of the interface is converted to
uppercase. However, this is not the name in the configuration. From my
point of view, this makes no sense. The name displayed should correspond
exactly to the name in the configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Jo-Philipp Wich [Tue, 25 Oct 2022 11:26:56 +0000 (13:26 +0200)]
.gitignore: adjust paths for autogenerated plural_formula sources
Ref: https://github.com/openwrt/luci/pull/5976#issuecomment-
1290370037
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 25 Oct 2022 11:01:31 +0000 (13:01 +0200)]
luci-base: dispatcher.uc: ensure usage of dashes in language tags
The LuCI uci configuration requires language tags with underscores due
limitations of uci option names but the language catalogs themselves
are designated with dash separated language tags.
Make sure to substitute underscores with dashes when determining the
desired request language in order to fix loading of languages such as
`pt-br` or `zh-cn`.
Ref: https://github.com/openwrt/luci/pull/5976#issuecomment-
1290352951
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 25 Oct 2022 10:50:37 +0000 (12:50 +0200)]
luci-base: dispatcher.uc: reintroduce support for 'absent' fs depends
The ability to require certain paths to be absent for a menu entry to show
up was lost during the ucode conversion.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 25 Oct 2022 09:30:13 +0000 (11:30 +0200)]
luci.mk: fix compatibility with GNU Make 4.2
GNU Make version 4.2 chokes on `#` characters embedded in variable
substitutions, leading to the following error:
../../luci.mk:114: *** unterminated call to function 'if': missing ')'. Stop.
Avoid this problem by replacing variable substitutions with Git branch
format arguments.
Ref: https://github.com/openwrt/luci/pull/5976#issuecomment-
1289935106
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 24 Oct 2022 23:04:07 +0000 (01:04 +0200)]
Merge pull request #5976 from jow-/ucode
[RFT] Rewrite LuCI runtime in ucode