Jo-Philipp Wich
984a9a4d69
luci-app-statistics: rewrite stat-genconfig in ucode
...
Rewrite the collectd config generator script in ucode to remove the implicit
dependency on the Lua runtime.
Also move the stat-genconfig script into /usr/libexec as it isn't really a
user facing executable.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
287775351b
luci-app-upnp: convert rpcd backend script to ucode
...
Utilize the rpcd ucode plugin to reimplement the upnp backend ubus actions
in ucode, simplifying the implementation and roughly halving the processing
time for the `get_status` call.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
cea2c3578e
luci-lib-base: forward luci.http.context.request.message to ucode
...
Some existing LuCI application code accesses the
`luci.http.context.request.message.params` HTTP parameter table directly.
Forward the `luci.http.context.request.message` object to the ucode
`luci.http.message` instance in order to properly support this.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
d9dcefd2aa
luci-base: dispatcher.uc: support cbi
and form
action types
...
Some existing LuCI apps ship menu.d JSON files with `cbi` and `form` typed
dispatch targets, support those as well.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
18ee34def2
luci-lua-runtime: preload luci.sys
...
Some existing model code expects the luci.sys namespace to be implicitly
available, even without requiring it beforehand.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
6b1be72a1e
luci-base: rebase translations
...
Re-scan base translations after ucode conversion and update po files.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
0143ef24d4
luci: drop dependency on libiwinfo-lua
...
None of the components pulled in by the standard luci collection require
server side Lua processing anymore, so we're free to drop the explicit
dependency on the libiwinfo Lua binding.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
2e3282e624
luci-theme-bootstrap: translate Lua templates to ucode equivalents
...
Add ucode template equivalents for the Lua templates used by the theme.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
f478fe6c43
luci-mod-system: drop unused Lua code
...
Drop an unused, leftover Lua cbi model from the system module.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
97da0baeb6
luci-mod-status: transform status page Lua template into ucode template
...
Transform the only Lua template of the status module into an equivalent
ucode template and make it conditionally include the legacy Lua logic
factored out in a previous commit.
Only if the ucode Lua bridge is installed and loadable, the Lua template
loading the legacy Lua status partials is included.
After this commit, luci-mod-status is free of Lua dependencies.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
c7b300e614
luci-lua-runtime: add compatibility template for legacy Lua status includes
...
Add a compatibility template containing legacy Lua logic extracted from
the luci-mod-status main status page in order to free the status module
from any explicit or implicit Lua dependencies.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
daf7ceebba
luci-mod-status: remove uneeded libiwinfo-lua dependency
...
Since the LuCI status module was rewritten into client side views,
there is no server side Lua processing anymore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
b1ab4e5ba9
luci-mod-network: remove uneeded libiwinfo-lua dependency
...
Since the LuCI network admin module was rewritten into client side views,
there is no server side Lua processing anymore. The iwinfo routines are
utilized through the corresponding rpcd plugin.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
c1709d15bd
build: i18n-scan.pl: add support for ucode sources and templates
...
Recognize ucode source files and ucode templates and add the necessary logic
to preprocess ucode templates into valid JavaScript sources.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
b15d768c9a
luci.mk: automatically depend on luci-lua-runtime
...
Make packages having a non-empty luasrc/ directory automatically depend
on the LuCI Lua runtime package.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
673f38246a
treewide: separate Lua runtime resources
...
Move classes required for Lua runtime support into a new `luci-lua-runtime`
package. Also replace the `luci.http` and `luci.util` classes in
`luci-lib-base` with stubbed versions interacting with the ucode based
runtime environment.
Finally merge `luci-base-ucode` into the remainders of `luci-base`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
ded8ccf93e
luci-base-ucode: add initial ucode based LuCI runtime
...
This commits introduces an initial ucode based LuCI runtime. It supports
JSON menu files as used by Lua based LuCI and the template, call, view and
alias dispatch targets.
It is able to render a basic LuCI installation without errors. An embedded
Lua VM is lazily loaded when Lua based resources are encountered, such as
`*.htm` templates or server side Lua call targets.
When a template is requested, the ucode runtime first tries to render an
`/usr/share/ucode/luci/template/${path}.uc` ucode template and falls back
to rendering the corresponding `/usr/lib/lua/luci/view/${path}.htm` Lua
template in case no suitable ucode replacement is found. This allows for
gradual migration of existing Lua based tmeplates to ucode.
Furthermore, a set of stripped down LuCI libraries is shipped in the
`/usr/lib/lua/luci/ucodebridge/` directory. Those libraries provide
compatibility shims for the current Lua API towards Lua templates and Lua
based server side actions while utilizing the ucode request runtime state
internally.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
f2133059e1
build: add zoneinfo2ucode.pl
...
Add a zoneinfo2ucode.pl script which is the ucode equivalent to
zoneinfo2lua.pl. It will generate a ucode module exporting a dictionary
of known timezone names and their corresponding TZ strings.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
e0650da41e
luci.mk: add basic support for ucode sources
...
Add special handling for ucode/ package subdirs, analogeous to luasrc/.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
2e93fa669b
luci.mk: adjust path of purged index cache files
...
The index cache files have been split into separate, dynamically named
Lua and JSON files a while ago, so adjust the remove command in the
postinstall script accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
22bc7ca5a4
luci.mk: typo and indentation fixes
...
- Fix misspelled comment
- Fix wrong variable in Lua SrcDiet condition
- Fix wrong indentation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Jo-Philipp Wich
447e362f0b
luci.mk: rework logic to determine current branch
...
In case `git branch --remote` yields no result, fall back to `git branch`
without `--remote` since it is possible that the local branch has not
been pushed yet.
Also simplify extraction of the branch name by not passing `--verbose`
and utilizing variable substitutions instead of sed expressions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:36 +02:00
Jo-Philipp Wich
5c5f4a8d1f
contrib: introduce ucode-mod-html
...
The ucode-mod-html library provides assorted utility functions for dealing
with HTML markup data.
Example usage:
#!/usr/bin/ucode
'use strict';
import { tokenize, striptags, entitydecode, entityencode,
OPEN, ATTR, TEXT, CLOSE, RAW, COMMENT, CDATA, PROCINST, EOF } from 'html';
tokenize('<div class="example">Hello world!</div>...',
function(type, text, value) {
switch (type) {
case OPEN: print(`Opening tag: ${text}\n`); break;
case ATTR: print(`Attribute: ${text}${value ? `=${value}`}\n`; break;
case TEXT: print(`Text data: ${text}\n`); break;
case CLOSE: print(`Closing tag: ${text}\n`); break;
case RAW: print(`Script/CSS: ${text}\n`); break;
case COMMENT: print(`Comment: ${text}\n`); break;
case CDATA: print(`CDATA text: ${text}\n`); break;
case PROCINST: print(`<!...> tag: ${text}\n`); break;
case EOF: print(`End of input\n`); break;
}
}
);
print(striptags('<p>This is some <b>text</b> with <br> markup</p>\n'));
print(entitydecode('<   & ä'));
print(entityencode('1 < 2 && "foo"'));
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:36 +02:00
Jo-Philipp Wich
c1ceeebdd0
ucode-mod-lua: improve error reporting
...
Avoid redundancies in generated exception messages and include Lua
tracebacks when catching exceptions in protected calls.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:36 +02:00
Stan Grishin
1738749188
Merge pull request #6052 from stangri/master-luci-app-simple-adblock
...
luci-app-simple-adblock: bugfix: identify nft set support
2022-10-24 10:41:23 -07:00
Stan Grishin
4dc98fefca
luci-app-simple-adblock: bugfix: identify nft set support
...
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-10-24 17:18:43 +00:00
Hannu Nyman
10d762eab7
timezone data: update to 2022e
...
Update timezone data to 2022e.
* http://mm.icann.org/pipermail/tz-announce/2022-September/000073.html
* http://mm.icann.org/pipermail/tz-announce/2022-October/000074.html
- Palestine transitions are now Saturdays at 02:00.
- Simplify three Ukraine zones into one.
- Jordan and Syria switch from +02/+03 with DST to year-round +03.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-10-24 19:00:38 +03:00
Hosted Weblate
c3377df93a
Translated using Weblate (Danish)
...
Currently translated at 100.0% (2079 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/da/
Translated using Weblate (Danish)
Currently translated at 17.9% (35 of 195 strings)
Translated using Weblate (German)
Currently translated at 42.7% (47 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 96.2% (203 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/de/
Translated using Weblate (German)
Currently translated at 100.0% (50 of 50 strings)
Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/de/
Translated using Weblate (French)
Currently translated at 88.7% (79 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/fr/
Translated using Weblate (German)
Currently translated at 51.6% (16 of 31 strings)
Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/de/
Translated using Weblate (German)
Currently translated at 40.1% (47 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 (German)
Currently translated at 86.3% (165 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/de/
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 (French)
Currently translated at 98.8% (175 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/fr/
Translated using Weblate (Greek)
Currently translated at 14.1% (25 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/el/
Translated using Weblate (French)
Currently translated at 80.5% (29 of 36 strings)
Translated using Weblate (German)
Currently translated at 83.3% (30 of 36 strings)
Translated using Weblate (German)
Currently translated at 100.0% (15 of 15 strings)
Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/de/
Translated using Weblate (German)
Currently translated at 95.7% (202 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/de/
Translated using Weblate (Arabic)
Currently translated at 4.4% (4 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ar/
Translated using Weblate (Arabic)
Currently translated at 8.9% (15 of 168 strings)
Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/ar/
Translated using Weblate (Arabic)
Currently translated at 7.6% (5 of 65 strings)
Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/ar/
Translated using Weblate (Arabic)
Currently translated at 24.4% (12 of 49 strings)
Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/ar/
Translated using Weblate (Arabic)
Currently translated at 3.0% (2 of 66 strings)
Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ar/
Translated using Weblate (Arabic)
Currently translated at 20.2% (19 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/ar/
Translated using Weblate (Arabic)
Currently translated at 25.0% (13 of 52 strings)
Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/ar/
Translated using Weblate (Arabic)
Currently translated at 22.5% (7 of 31 strings)
Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/ar/
Translated using Weblate (Arabic)
Currently translated at 73.3% (1525 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ar/
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% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/de/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt/
Translated using Weblate (German)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/de/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2079 of 2079 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% (2079 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Spanish)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/es/
Translated using Weblate (Polish)
Currently translated at 100.0% (195 of 195 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2079 of 2079 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% (2079 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Polish)
Currently translated at 99.9% (2077 of 2079 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% (2001 of 2079 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hans/
Co-authored-by: Abdullah AlShaikh <abdullah@alshai5.com>
Co-authored-by: Amaury <y0da@live.fr>
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: Glax <gfreak70@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: Zeik0s <zeik0s@zeik0s.at>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: Abdullah AlShaikh <abdullah@alshai5.com>
Signed-off-by: Amaury <y0da@live.fr>
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: Glax <gfreak70@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: Zeik0s <zeik0s@zeik0s.at>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/da/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/fr/
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/watchcat
2022-10-23 20:29:43 +03:00
Jaymin Patel
d1a82d2886
luci-app-keepalived: Add LuCI for keepalived
...
LuCI Support for Keepalived
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2022-10-23 16:19:33 +05:30
Jo-Philipp Wich
b5f11bf6ee
luci-mod-status: fix determining DSL modem type
...
The `network.getDSLModemType()` function returns a promise, so handle it
accordingly.
Fixes: 45ab2cd6be
("luci-mod-status: use network.getDSLModemType()")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-22 15:46:47 +02:00
Jo-Philipp Wich
497b375eeb
Merge pull request #6048 from dhewg/dsl
...
remove 'dsl' feature flag
2022-10-21 09:25:14 +02:00
Andre Heider
a398ccfde6
luci-base: remove 'dsl' feature flag
...
This is now unused.
Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-10-21 09:08:13 +02:00
Andre Heider
45ab2cd6be
luci-mod-status: use network.getDSLModemType()
...
This matches what luci-mod-network does for the DSL modem configuration.
Since this is based on a common uci config, it may also prevent issues as
fixed with 111c551c
"luci-base: fix DSL feature detection" in the future.
Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-10-21 09:08:13 +02:00
Jo-Philipp Wich
e019fc5d60
luci-base: rebase translations
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20 23:58:06 +02:00
Paul Dee
45f02d94b2
luci-app-dhcp: 'addresses' helptext improvement with info from manpage.
...
Placeholder hint also reflects syntax.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[replace asdf.com with example.com, use … instead of ..., remove uneeded
entities]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20 23:54:40 +02:00
Paul Dee
3240714ed3
luci-mod-network: 'mxhosts' tab added
...
DHCP Help does not document mxhost, but they are available in dnsmasq.
This effectively implements MX records within DNS.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[fix _() calls, fix commit subject, rebase onto current master]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20 23:47:12 +02:00
Paul Dee
08a089740a
luci-mod-network: 'srvhosts' tab added
...
DHCP Help does not document srv-host, but they are available in dnsmasq.
This effectively implements SRV records within DNS.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[fix _() calls, join translation strings on the same line, replace …
with …, fix commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20 23:36:56 +02:00
Jo-Philipp Wich
74283264a3
luci-app-ddns: gracefully handle missing control file
...
In case `pcall()` fails, `ctrl` will contain an error message.
Fixes: 3395656b9f
("luci-app-ddns: get rid of luci-lib-ipkg depdency")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20 10:13:38 +02:00
Jo-Philipp Wich
3395656b9f
luci-app-ddns: get rid of luci-lib-ipkg depdency
...
Invoking opkg to obtain the installed package version is very slow and
resource intensive, parse the related control file directly to avoid
the extraneous dependency and resource consumption.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20 10:08:36 +02:00
Florian Eckert
1a47b37f1d
Merge pull request #6032 from weblate/weblate-openwrt-luci
...
Translations update from Hosted Weblate
2022-10-19 15:23:34 +02:00
Hosted Weblate
b6c6de8243
Translated using Weblate (Russian)
...
Currently translated at 61.5% (72 of 117 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt_BR/
Translated using Weblate (Russian)
Currently translated at 58.3% (21 of 36 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (2060 of 2060 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/
Translated using Weblate (Danish)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/da/
Translated using Weblate (Danish)
Currently translated at 100.0% (2060 of 2060 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% (117 of 117 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/da/
Translated using Weblate (Turkish)
Currently translated at 100.0% (89 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/tr/
Translated using Weblate (Polish)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pl/
Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.8% (2057 of 2060 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hant/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (15 of 15 strings)
Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/zh_Hans/
Translated using Weblate (Romanian)
Currently translated at 97.7% (87 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ro/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (89 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/pt_BR/
Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
Translated using Weblate (Portuguese (Brazil))
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/pt_BR/
Translated using Weblate (Portuguese (Brazil))
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/pt_BR/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2060 of 2060 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2060 of 2060 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Co-authored-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Co-authored-by: Eric <hamburger1024@mailbox.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hulen <shift0106@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: sergio <sergio+it@outerface.net>
Signed-off-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Signed-off-by: Eric <hamburger1024@mailbox.org>
Signed-off-by: Hulen <shift0106@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: sergio <sergio+it@outerface.net>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/ru/
Translation: OpenWrt/LuCI/applications/watchcat
2022-10-19 12:29:57 +02:00
Florian Eckert
8faf562d28
Merge pull request #6038 from systemcrash/luci-app-ddns-fix
...
luci-app-ddns: string fix
2022-10-19 08:38:54 +02:00
Paul Dee
3f81a06c0a
luci-app-ddns: string fix
...
Attempts to address issue #6028
Also made proximate strings more clear.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2022-10-19 00:53:57 +02:00
Jonathon Walker
848f8ffc3d
luci-app-dockerman: change default to nil if data.blkio_weight is not defined
...
Fixes : #5327
Signed-off-by: Jonathon Walker <jonathon.l.walker@gmail.com>
2022-10-18 23:22:40 +02:00
Dirk Brenken
38df801a31
Merge pull request #6033 from dibdot/adblock
...
luci-app-adblock: sync with adblock 4.1.5
2022-10-18 18:08:24 +02:00
Dirk Brenken
79cbbc01ce
luci-app-adblock: sync with adblock 4.1.5
...
* add a new DNS report parameter to change the top statistics dynamically in the range of 10-50, see #19622 in the package repo for reference.
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-10-18 15:16:42 +02:00
Paul Spooren
5bbea49559
luci: add luci-app-attendedsysupgrade by default
...
The attendedsysupgrade makes it trivial to upgrade to newer releases by
requesting custom firmware images from an API.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-10-18 12:06:46 +02:00
Paul Spooren
fc313a59db
luci: sort dependencies alphabetically with newline
...
Improve readability and group related packages together.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-10-18 12:06:46 +02:00
Hosted Weblate
a246839e0b
Translated using Weblate (Polish)
...
Currently translated at 100.0% (89 of 89 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/pl/
Translated using Weblate (Polish)
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/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (2060 of 2060 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (113 of 113 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (195 of 195 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (116 of 116 strings)
Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (13 of 13 strings)
Translation: OpenWrt/LuCI/applications/pagekitec
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspagekitec/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (49 of 49 strings)
Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (211 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (94 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (111 of 111 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/zh_Hant/
Translated using Weblate (Swedish)
Currently translated at 36.1% (69 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/sv/
Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
Translated using Weblate (Swedish)
Currently translated at 27.6% (54 of 195 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/sv/
Translated using Weblate (Swedish)
Currently translated at 78.8% (142 of 180 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/sv/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (186 of 186 strings)
Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (191 of 191 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (61 of 61 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.8% (2056 of 2059 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hant/
Translated using Weblate (Swedish)
Currently translated at 37.5% (774 of 2059 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sv/
Translated using Weblate (Danish)
Currently translated at 100.0% (2059 of 2059 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/da/
Translated using Weblate (Dutch)
Currently translated at 1.8% (4 of 212 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (110 of 110 strings)
Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (211 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (94 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (111 of 111 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 100.0% (20 of 20 strings)
Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (65 of 65 strings)
Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/pl/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (195 of 195 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (180 of 180 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (29 of 29 strings)
Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2059 of 2059 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% (2059 of 2059 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Romanian)
Currently translated at 100.0% (2059 of 2059 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/
Co-authored-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hulen <shift0106@gmail.com>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Raymond Minneboo <raymond@minneboo.net>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: drax red <drax@outlook.dk>
Signed-off-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Signed-off-by: Hulen <shift0106@gmail.com>
Signed-off-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: drax red <drax@outlook.dk>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/zh_Hant/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/uhttpd
2022-10-17 21:24:40 +02:00
Stan Grishin
aff9f12440
Merge pull request #6023 from stangri/master-luci-proto-nebula
...
luci-proto-nebula: add nebula protocol support
2022-10-17 10:21:24 -07:00