project/luci.git
2 years agoluci-base: sys.uc: fix parsing conntrack list
Jo-Philipp Wich [Mon, 26 Sep 2022 09:15:55 +0000 (11:15 +0200)]
luci-base: sys.uc: fix parsing conntrack list

Ensure that the extracted tuple string starts with a space to fully match
all contained key-value pairs.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: sys.uc: increase init script START/STOP search space
Jo-Philipp Wich [Mon, 26 Sep 2022 08:50:40 +0000 (10:50 +0200)]
luci-base: sys.uc: increase init script START/STOP search space

Some init scripts, such as the sysfsutils one, declare their START or
STOP variables very late in the file. Duplicate the search buffer to
2048 byte in order to catch these cases.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-base: don't fail getInitList if no indexes can be determined
Jo-Philipp Wich [Mon, 26 Sep 2022 08:46:00 +0000 (10:46 +0200)]
luci-base: don't fail getInitList if no indexes can be determined

Gracefully handle missing indexes in the luci rpcd plugin getInitList
procedure.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-proto-wireguard: rewrite rpcd handler in ucode
Jo-Philipp Wich [Fri, 23 Sep 2022 19:04:44 +0000 (21:04 +0200)]
luci-proto-wireguard: rewrite rpcd handler in ucode

Rewrite the wireguard rpcd plugin in ucode to prevent an implicit dependency
on the LuCI Lua runtime.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-statistics: rewrite stat-genconfig in ucode
Jo-Philipp Wich [Fri, 23 Sep 2022 18:25:01 +0000 (20:25 +0200)]
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>
2 years agoluci-app-upnp: convert rpcd backend script to ucode
Jo-Philipp Wich [Wed, 21 Sep 2022 21:38:46 +0000 (23:38 +0200)]
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>
2 years agoluci-lib-base: forward luci.http.context.request.message to ucode
Jo-Philipp Wich [Mon, 19 Sep 2022 12:20:27 +0000 (14:20 +0200)]
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>
2 years agoluci-base: dispatcher.uc: support `cbi` and `form` action types
Jo-Philipp Wich [Mon, 19 Sep 2022 12:19:24 +0000 (14:19 +0200)]
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>
2 years agoluci-lua-runtime: preload luci.sys
Jo-Philipp Wich [Mon, 19 Sep 2022 12:18:27 +0000 (14:18 +0200)]
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>
2 years agoluci-base: rebase translations
Jo-Philipp Wich [Fri, 16 Sep 2022 19:02:58 +0000 (21:02 +0200)]
luci-base: rebase translations

Re-scan base translations after ucode conversion and update po files.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci: drop dependency on libiwinfo-lua
Jo-Philipp Wich [Wed, 14 Sep 2022 11:36:18 +0000 (13:36 +0200)]
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>
2 years agoluci-theme-bootstrap: translate Lua templates to ucode equivalents
Jo-Philipp Wich [Fri, 9 Sep 2022 18:08:57 +0000 (20:08 +0200)]
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>
2 years agoluci-mod-system: drop unused Lua code
Jo-Philipp Wich [Wed, 14 Sep 2022 12:26:36 +0000 (14:26 +0200)]
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>
2 years agoluci-mod-status: transform status page Lua template into ucode template
Jo-Philipp Wich [Wed, 14 Sep 2022 11:30:45 +0000 (13:30 +0200)]
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>
2 years agoluci-lua-runtime: add compatibility template for legacy Lua status includes
Jo-Philipp Wich [Wed, 14 Sep 2022 11:29:19 +0000 (13:29 +0200)]
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>
2 years agoluci-mod-status: remove uneeded libiwinfo-lua dependency
Jo-Philipp Wich [Wed, 14 Sep 2022 11:24:16 +0000 (13:24 +0200)]
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>
2 years agoluci-mod-network: remove uneeded libiwinfo-lua dependency
Jo-Philipp Wich [Wed, 14 Sep 2022 11:19:16 +0000 (13:19 +0200)]
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>
2 years agobuild: i18n-scan.pl: add support for ucode sources and templates
Jo-Philipp Wich [Wed, 14 Sep 2022 09:57:29 +0000 (11:57 +0200)]
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>
2 years agoluci.mk: automatically depend on luci-lua-runtime
Jo-Philipp Wich [Wed, 14 Sep 2022 12:17:03 +0000 (14:17 +0200)]
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>
2 years agotreewide: separate Lua runtime resources
Jo-Philipp Wich [Tue, 13 Sep 2022 21:50:12 +0000 (23:50 +0200)]
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>
2 years agoluci-base-ucode: add initial ucode based LuCI runtime
Jo-Philipp Wich [Mon, 29 Aug 2022 15:09:22 +0000 (17:09 +0200)]
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>
2 years agobuild: add zoneinfo2ucode.pl
Jo-Philipp Wich [Sat, 10 Sep 2022 11:59:59 +0000 (13:59 +0200)]
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>
2 years agoluci.mk: add basic support for ucode sources
Jo-Philipp Wich [Fri, 9 Sep 2022 21:35:30 +0000 (23:35 +0200)]
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>
2 years agoluci.mk: adjust path of purged index cache files
Jo-Philipp Wich [Fri, 9 Sep 2022 21:34:32 +0000 (23:34 +0200)]
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>
2 years agoluci.mk: typo and indentation fixes
Jo-Philipp Wich [Fri, 9 Sep 2022 21:33:15 +0000 (23:33 +0200)]
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>
2 years agoluci.mk: rework logic to determine current branch
Jo-Philipp Wich [Sat, 10 Sep 2022 12:54:25 +0000 (14:54 +0200)]
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>
2 years agocontrib: introduce ucode-mod-html
Jo-Philipp Wich [Fri, 2 Sep 2022 15:04:42 +0000 (17:04 +0200)]
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('&#60; &#x20; &amp; &auml;'));
    print(entityencode('1 < 2 && "foo"'));

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoucode-mod-lua: improve error reporting
Jo-Philipp Wich [Thu, 15 Sep 2022 14:25:27 +0000 (16:25 +0200)]
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>
2 years agoMerge pull request #6052 from stangri/master-luci-app-simple-adblock
Stan Grishin [Mon, 24 Oct 2022 17:41:23 +0000 (10:41 -0700)]
Merge pull request #6052 from stangri/master-luci-app-simple-adblock

luci-app-simple-adblock: bugfix: identify nft set support

2 years agoluci-app-simple-adblock: bugfix: identify nft set support 6052/head
Stan Grishin [Mon, 24 Oct 2022 17:18:43 +0000 (17:18 +0000)]
luci-app-simple-adblock: bugfix: identify nft set support

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2 years agotimezone data: update to 2022e
Hannu Nyman [Mon, 24 Oct 2022 16:00:38 +0000 (19:00 +0300)]
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>
2 years agoTranslated using Weblate (Danish)
Hosted Weblate [Sun, 23 Oct 2022 17:27:15 +0000 (19:27 +0200)]
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

2 years agoluci-mod-status: fix determining DSL modem type
Jo-Philipp Wich [Sat, 22 Oct 2022 13:46:47 +0000 (15:46 +0200)]
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>
2 years agoMerge pull request #6048 from dhewg/dsl
Jo-Philipp Wich [Fri, 21 Oct 2022 07:25:14 +0000 (09:25 +0200)]
Merge pull request #6048 from dhewg/dsl

remove 'dsl' feature flag

2 years agoluci-base: remove 'dsl' feature flag 6048/head
Andre Heider [Tue, 20 Sep 2022 06:15:56 +0000 (08:15 +0200)]
luci-base: remove 'dsl' feature flag

This is now unused.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2 years agoluci-mod-status: use network.getDSLModemType()
Andre Heider [Tue, 20 Sep 2022 06:11:44 +0000 (08:11 +0200)]
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>
2 years agoluci-base: rebase translations
Jo-Philipp Wich [Thu, 20 Oct 2022 21:58:06 +0000 (23:58 +0200)]
luci-base: rebase translations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-dhcp: 'addresses' helptext improvement with info from manpage.
Paul Dee [Wed, 19 Oct 2022 16:02:33 +0000 (18:02 +0200)]
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
 &nbsp; entities]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-mod-network: 'mxhosts' tab added
Paul Dee [Wed, 19 Oct 2022 18:38:55 +0000 (20:38 +0200)]
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>
2 years agoluci-mod-network: 'srvhosts' tab added
Paul Dee [Wed, 19 Oct 2022 17:18:03 +0000 (19:18 +0200)]
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 &hellip;
 with …, fix commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-ddns: gracefully handle missing control file
Jo-Philipp Wich [Thu, 20 Oct 2022 08:13:38 +0000 (10:13 +0200)]
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>
2 years agoluci-app-ddns: get rid of luci-lib-ipkg depdency
Jo-Philipp Wich [Thu, 20 Oct 2022 08:07:21 +0000 (10:07 +0200)]
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>
2 years agoMerge pull request #6032 from weblate/weblate-openwrt-luci
Florian Eckert [Wed, 19 Oct 2022 13:23:34 +0000 (15:23 +0200)]
Merge pull request #6032 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoTranslated using Weblate (Russian) 6032/head
Hosted Weblate [Wed, 19 Oct 2022 10:29:57 +0000 (12:29 +0200)]
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

2 years agoMerge pull request #6038 from systemcrash/luci-app-ddns-fix
Florian Eckert [Wed, 19 Oct 2022 06:38:54 +0000 (08:38 +0200)]
Merge pull request #6038 from systemcrash/luci-app-ddns-fix

luci-app-ddns: string fix

2 years agoluci-app-ddns: string fix 6038/head
Paul Dee [Tue, 18 Oct 2022 22:48:51 +0000 (00:48 +0200)]
luci-app-ddns: string fix

Attempts to address issue #6028
Also made proximate strings more clear.

Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2 years agoluci-app-dockerman: change default to nil if data.blkio_weight is not defined
Jonathon Walker [Tue, 18 Oct 2022 16:04:35 +0000 (17:04 +0100)]
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>
2 years agoMerge pull request #6033 from dibdot/adblock
Dirk Brenken [Tue, 18 Oct 2022 16:08:24 +0000 (18:08 +0200)]
Merge pull request #6033 from dibdot/adblock

luci-app-adblock: sync with adblock 4.1.5

2 years agoluci-app-adblock: sync with adblock 4.1.5 6033/head
Dirk Brenken [Tue, 18 Oct 2022 12:51:49 +0000 (14:51 +0200)]
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>
2 years agoluci: add luci-app-attendedsysupgrade by default
Paul Spooren [Tue, 7 Jun 2022 12:28:47 +0000 (14:28 +0200)]
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>
2 years agoluci: sort dependencies alphabetically with newline
Paul Spooren [Tue, 7 Jun 2022 12:27:37 +0000 (14:27 +0200)]
luci: sort dependencies alphabetically with newline

Improve readability and group related packages together.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 years agoTranslated using Weblate (Polish)
Hosted Weblate [Mon, 17 Oct 2022 13:26:43 +0000 (15:26 +0200)]
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

2 years agoMerge pull request #6023 from stangri/master-luci-proto-nebula
Stan Grishin [Mon, 17 Oct 2022 17:21:24 +0000 (10:21 -0700)]
Merge pull request #6023 from stangri/master-luci-proto-nebula

luci-proto-nebula: add nebula protocol support

2 years agosysauth: add autocomplete and id attributes to login inputs
Viktor Tsvetkov [Fri, 24 Dec 2021 11:36:35 +0000 (12:36 +0100)]
sysauth: add autocomplete and id attributes to login inputs

this let browser automatically fill according to HTML spec for input elements.
luci-theme-bootstrap and luci-base are affected.

Signed-off-by: Viktor Tsvetkov <zwetvik@gmail.com>
[indentation fix]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agotreewide: resync translations
Jo-Philipp Wich [Sat, 15 Oct 2022 12:24:00 +0000 (14:24 +0200)]
treewide: resync translations

Fixes: #6020
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci-app-nut: use filesystem dependencies for configuration files
Jo-Philipp Wich [Sat, 15 Oct 2022 12:18:57 +0000 (14:18 +0200)]
luci-app-nut: use filesystem dependencies for configuration files

Don't use uci dependencies for nut related config files as the nut packages
ship with completely commented out uci files. Such files do not satisfy the
uci menu dependencies as those expect at least one section within the file.

To solve this issue, use a regular file dependency on /etc/config/nut_*
instead.

Supersedes: #5964
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoMerge pull request #6021 from liudf0716/xfrpc
Jo-Philipp Wich [Fri, 14 Oct 2022 23:02:11 +0000 (01:02 +0200)]
Merge pull request #6021 from liudf0716/xfrpc

luci-app-xfrpc: add subdomain option

2 years agoMerge pull request #6025 from jempatel/luci-proto-vti
Jo-Philipp Wich [Fri, 14 Oct 2022 23:01:34 +0000 (01:01 +0200)]
Merge pull request #6025 from jempatel/luci-proto-vti

luci-proto-vti: add vti protocol support

2 years agoMerge pull request #6026 from neheb/apple
Jo-Philipp Wich [Fri, 14 Oct 2022 23:01:10 +0000 (01:01 +0200)]
Merge pull request #6026 from neheb/apple

luci-theme-openwrt-2020: quantize png image

2 years agoluci-theme-openwrt-2020: quantize png image 6026/head
Rosen Penev [Fri, 14 Oct 2022 20:22:42 +0000 (13:22 -0700)]
luci-theme-openwrt-2020: quantize png image

Small size reduction.

From: 5908
To:   3896

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoluci-proto-vti: add vti protocol support 6025/head
Jaymin Patel [Fri, 14 Oct 2022 13:42:34 +0000 (19:12 +0530)]
luci-proto-vti: add vti protocol support

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2 years agoluci-proto-nebula: add nebula protocol support 6023/head
Stan Grishin [Fri, 14 Oct 2022 12:02:56 +0000 (12:02 +0000)]
luci-proto-nebula: add nebula protocol support

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2 years agoMerge pull request #6022 from pymumu/openwrt-master
Jo-Philipp Wich [Fri, 14 Oct 2022 10:53:02 +0000 (12:53 +0200)]
Merge pull request #6022 from pymumu/openwrt-master

luci-app-smartdns: remove unnecessary permissions

2 years agoluci-app-smartdns: remove unnecessary permissions 6022/head
Nick Peng [Fri, 14 Oct 2022 09:57:04 +0000 (17:57 +0800)]
luci-app-smartdns: remove unnecessary permissions

Signed-off-by: Nick Peng <pymumu@gmail.com>
2 years agoluci-app-xfrpc: add subdomain to http&https config 6021/head
Dengfeng Liu [Fri, 14 Oct 2022 08:29:27 +0000 (08:29 +0000)]
luci-app-xfrpc: add subdomain to http&https config

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2 years agoMerge pull request #5912 from stokito/example
Jo-Philipp Wich [Thu, 13 Oct 2022 11:50:37 +0000 (13:50 +0200)]
Merge pull request #5912 from stokito/example

luci-app-example: improve description

2 years agoluci-app-example: improve description 5912/head
Sergey Ponomarev [Thu, 13 Oct 2022 11:27:15 +0000 (14:27 +0300)]
luci-app-example: improve description

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2 years agoMerge pull request #6010 from neheb/apple
Jo-Philipp Wich [Thu, 13 Oct 2022 11:07:03 +0000 (13:07 +0200)]
Merge pull request #6010 from neheb/apple

luci-theme-openwrt-2020: add iOS icon support

2 years agoMerge pull request #6019 from ManuLinares/master
Jo-Philipp Wich [Thu, 13 Oct 2022 11:05:41 +0000 (13:05 +0200)]
Merge pull request #6019 from ManuLinares/master

luci-app-attendedsysupgrade: Fixed a typo, updated po/pot files

2 years agoluci-app-attendedsysupgrade: Fixed a typo, updated po/pot files 6019/head
Manu Linares [Wed, 12 Oct 2022 18:45:26 +0000 (15:45 -0300)]
luci-app-attendedsysupgrade: Fixed a typo, updated po/pot files

2 years agoMerge pull request #6006 from systemcrash/luci-app-wireguard-fix 5934/head
Jo-Philipp Wich [Tue, 11 Oct 2022 22:05:34 +0000 (00:05 +0200)]
Merge pull request #6006 from systemcrash/luci-app-wireguard-fix

luci-app-wireguard: trivial fix to separate a peer's multiple IPs

2 years agoMerge pull request #5999 from jcassette/issue-4926
Jo-Philipp Wich [Tue, 11 Oct 2022 22:04:49 +0000 (00:04 +0200)]
Merge pull request #5999 from jcassette/issue-4926

luci-app-ddns: fix creation of custom service (fix #4926)

2 years agoMerge pull request #6012 from pymumu/master
Jo-Philipp Wich [Tue, 11 Oct 2022 22:01:40 +0000 (00:01 +0200)]
Merge pull request #6012 from pymumu/master

luci-app-smartdns: Fix RPC error and add restart button

2 years agoluci-theme-openwrt-2020: add iOS webapp support 6010/head
Rosen Penev [Tue, 11 Oct 2022 21:50:40 +0000 (14:50 -0700)]
luci-theme-openwrt-2020: add iOS webapp support

This way instead of opening a Safari tab, it opens in its own instance.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoluci-theme-openwrt-2020: add iOS icon support
Rosen Penev [Mon, 10 Oct 2022 22:47:47 +0000 (15:47 -0700)]
luci-theme-openwrt-2020: add iOS icon support

Used when adding LuCI to Springboard. Image generated from logo.svg.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoluci-app-smartdns: Fix RPC error and add restart button 6012/head
Nick Peng [Tue, 11 Oct 2022 15:32:49 +0000 (23:32 +0800)]
luci-app-smartdns: Fix RPC error and add restart button

Signed-off-by: Nick Peng <pymumu@gmail.com>
2 years agoTranslated using Weblate (German)
Hosted Weblate [Mon, 10 Oct 2022 21:05:38 +0000 (23:05 +0200)]
Translated using Weblate (German)

Currently translated at 42.5% (46 of 108 strings)

Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/de/

Translated using Weblate (Italian)

Currently translated at 28.7% (19 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/it/

Translated using Weblate (Italian)

Currently translated at 11.9% (10 of 84 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/it/

Translated using Weblate (Italian)

Currently translated at 21.1% (11 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/it/

Translated using Weblate (Italian)

Currently translated at 18.8% (35 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/it/

Translated using Weblate (Italian)

Currently translated at 33.8% (21 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/it/

Translated using Weblate (Italian)

Currently translated at 13.0% (16 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/it/

Translated using Weblate (Italian)

Currently translated at 16.6% (10 of 60 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/it/

Translated using Weblate (Italian)

Currently translated at 22.3% (38 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (20 of 20 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (40 of 40 strings)

Translation: OpenWrt/LuCI/applications/clamav
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsclamav/it/

Translated using Weblate (Italian)

Currently translated at 65.4% (110 of 168 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/it/

Translated using Weblate (Italian)

Currently translated at 99.4% (195 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/it/

Translated using Weblate (Italian)

Currently translated at 22.5% (23 of 102 strings)

Translated using Weblate (Italian)

Currently translated at 22.9% (17 of 74 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Italian)

Currently translated at 12.8% (44 of 343 strings)

Translated using Weblate (Italian)

Currently translated at 47.0% (968 of 2059 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Co-authored-by: garis <garis94@gmail.com>
Signed-off-by: Steffen Möller <steffen_moeller@gmx.de>
Signed-off-by: garis <garis94@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/it/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/transmission

2 years agoTranslated using Weblate (German)
Hosted Weblate [Sun, 9 Oct 2022 16:45:07 +0000 (18:45 +0200)]
Translated using Weblate (German)

Currently translated at 100.0% (48 of 48 strings)

Translated using Weblate (German)

Currently translated at 100.0% (33 of 33 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/de/

Translated using Weblate (Russian)

Currently translated at 63.9% (71 of 111 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ru/

Translated using Weblate (German)

Currently translated at 100.0% (17 of 17 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/de/

Translated using Weblate (German)

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/de/

Translated using Weblate (German)

Currently translated at 100.0% (60 of 60 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/de/

Translated using Weblate (German)

Currently translated at 97.7% (43 of 44 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (2059 of 2059 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/

Translated using Weblate (Portuguese)

Currently translated at 89.9% (1852 of 2059 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/

Translated using Weblate (Romanian)

Currently translated at 100.0% (191 of 191 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/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% (36 of 36 strings)

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/

Translated using Weblate (Swedish)

Currently translated at 33.8% (63 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/sv/

Translated using Weblate (Spanish)

Currently translated at 96.3% (1984 of 2059 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Translated using Weblate (Swedish)

Currently translated at 30.1% (56 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/sv/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2059 of 2059 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% (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/

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: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Simona Iacob <s@zp1.net>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
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: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Simona Iacob <s@zp1.net>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/de/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/de/
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/watchcat
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard

2 years agoluci-app-wireguard: trivial fix to separate a peer's multiple IPs 6006/head
Paul Dee [Wed, 5 Oct 2022 13:18:01 +0000 (15:18 +0200)]
luci-app-wireguard: trivial fix to separate a peer's multiple IPs

Attempts to address issue #6003

Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2 years agoMerge pull request #6004 from stangri/master-luci-app-https-dns-proxy
Stan Grishin [Wed, 5 Oct 2022 06:41:15 +0000 (23:41 -0700)]
Merge pull request #6004 from stangri/master-luci-app-https-dns-proxy

luci-app-https-dns-proxy: update to 2021-11-22-7 (settings for Canary…

2 years agoluci-app-https-dns-proxy: update to 2021-11-22-7 (settings for Canary Domains) 6004/head
Stan Grishin [Tue, 4 Oct 2022 22:23:28 +0000 (22:23 +0000)]
luci-app-https-dns-proxy: update to 2021-11-22-7 (settings for Canary Domains)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2 years agoMerge pull request #5996 from janh/filterwin2k-description
Florian Eckert [Tue, 4 Oct 2022 05:40:25 +0000 (07:40 +0200)]
Merge pull request #5996 from janh/filterwin2k-description

luci-mod-network: improve description for filterwin2k option

2 years agoMerge pull request #6000 from weblate/weblate-openwrt-luci
Florian Eckert [Tue, 4 Oct 2022 05:40:08 +0000 (07:40 +0200)]
Merge pull request #6000 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoTranslated using Weblate (Greek) 6000/head
Hosted Weblate [Mon, 3 Oct 2022 08:35:08 +0000 (10:35 +0200)]
Translated using Weblate (Greek)

Currently translated at 4.7% (10 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/el/

Translated using Weblate (Greek)

Currently translated at 20.0% (5 of 25 strings)

Translation: OpenWrt/LuCI/applications/ksmbd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsksmbd/el/

Translated using Weblate (Greek)

Currently translated at 10.6% (10 of 94 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/el/

Translated using Weblate (Greek)

Currently translated at 16.1% (10 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/el/

Translated using Weblate (Greek)

Currently translated at 12.5% (3 of 24 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/el/

Translated using Weblate (Greek)

Currently translated at 10.0% (2 of 20 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/el/

Translated using Weblate (Greek)

Currently translated at 12.2% (6 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/el/

Translated using Weblate (Greek)

Currently translated at 3.0% (6 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/el/

Translated using Weblate (Greek)

Currently translated at 10.5% (19 of 180 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/el/

Translated using Weblate (Greek)

Currently translated at 12.2% (24 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/el/

Translated using Weblate (Greek)

Currently translated at 2.2% (1 of 44 strings)

Translated using Weblate (Greek)

Currently translated at 14.2% (7 of 49 strings)

Translated using Weblate (Greek)

Currently translated at 16.5% (35 of 212 strings)

Translated using Weblate (Greek)

Currently translated at 19.8% (68 of 343 strings)

Translated using Weblate (Greek)

Currently translated at 13.5% (5 of 37 strings)

Translated using Weblate (Greek)

Currently translated at 30.8% (632 of 2046 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/el/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: TakissX <pxatzidakis@gmail.com>
Signed-off-by: TakissX <pxatzidakis@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/el/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/upnp

2 years agoluci-app-ddns: fix creation of custom service (fix #4926) 5999/head
Julien Cassette [Sun, 2 Oct 2022 18:14:19 +0000 (20:14 +0200)]
luci-app-ddns: fix creation of custom service (fix #4926)

The `service_name` option must be empty for custom services,
otherwise an error is raised in `dynamic_dns_updater.sh`.

Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
2 years agoluci-base: sync translations 5996/head
Jan Hoffmann [Thu, 29 Sep 2022 16:35:15 +0000 (18:35 +0200)]
luci-base: sync translations

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2 years agoluci-mod-network: improve description for filterwin2k option
Jan Hoffmann [Thu, 29 Sep 2022 16:34:09 +0000 (18:34 +0200)]
luci-mod-network: improve description for filterwin2k option

Make it clear that this option also filters some not-so-useless queries.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2 years agoMerge pull request #5983 from librick/feature_sk_ecc
Jo-Philipp Wich [Fri, 30 Sep 2022 08:08:10 +0000 (10:08 +0200)]
Merge pull request #5983 from librick/feature_sk_ecc

luci-mod-system: allow ecdsa-sk and ed25519-sk key types

2 years agoluci-app-opkg: relax dependency parsing
Jo-Philipp Wich [Fri, 30 Sep 2022 07:59:39 +0000 (09:59 +0200)]
luci-app-opkg: relax dependency parsing

Align depdendency parse logic with opkg to properly process certain
malformed dependency specifications. In particular do not require a
depdendency specification to end after the closing paren of a version
constraint and perform non-greedy matching in order to extract the
first version constraint only.

Fixes: #5997
Ref: https://forum.openwrt.org/t/x/138328
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoluci.mk: refactor install recipe
Jo-Philipp Wich [Wed, 28 Sep 2022 07:17:06 +0000 (09:17 +0200)]
luci.mk: refactor install recipe

Detect the presence of directories using Make $(wildcard ...) and emit
plain install commands depending on the outcome instead of relying on
shell conditionals which impose syntax constraints on code outside of
the scope of the LuCI repo.

Fixes: #5936
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoTranslated using Weblate (Greek)
Hosted Weblate [Thu, 29 Sep 2022 15:20:14 +0000 (17:20 +0200)]
Translated using Weblate (Greek)

Currently translated at 19.2% (66 of 343 strings)

Translated using Weblate (Romanian)

Currently translated at 99.1% (2029 of 2046 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/

Translated using Weblate (Serbian)

Currently translated at 78.7% (270 of 343 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (84 of 84 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (191 of 191 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/tr/

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 (Turkish)

Currently translated at 100.0% (60 of 60 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (62 of 62 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/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% (36 of 36 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (82 of 82 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (82 of 82 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (2046 of 2046 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/

Co-authored-by: Alexey <agarkov.alexey.viktorovich@gmail.com>
Co-authored-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Leon Baždar <leon.bazdar@fer.hr>
Co-authored-by: TakissX <pxatzidakis@gmail.com>
Co-authored-by: semih <semiht@gmail.com>
Signed-off-by: CRISTIAN ANDREI <cristianvdr@gmail.com>
Signed-off-by: semih <semiht@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/tr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/el/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/sr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/tr/
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/watchcat

2 years agoMerge pull request #5992 from PolynomialDivision/luci-app-dawn-fix
Hannu Nyman [Tue, 27 Sep 2022 15:13:18 +0000 (18:13 +0300)]
Merge pull request #5992 from PolynomialDivision/luci-app-dawn-fix

luci-app-dawn: return 0 in case of weird frequency

2 years agoluci-app-dawn: return 0 in case of weird frequency 5992/head
Nick Hainke [Tue, 27 Sep 2022 07:30:15 +0000 (09:30 +0200)]
luci-app-dawn: return 0 in case of weird frequency

Sometimes 0 is passed to the frequency. Return 0 in that case.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoluci-app-adblock: remove stub lua controller
Dirk Brenken [Sat, 24 Sep 2022 17:10:24 +0000 (19:10 +0200)]
luci-app-adblock: remove stub lua controller

- remove the stub lua controller, as preparation for the forthcoming server side ucode transition

Signed-off-by: Dirk Brenken <dev@brenken.org>
2 years agoTranslated using Weblate (Dutch)
Hosted Weblate [Thu, 22 Sep 2022 11:25:29 +0000 (13:25 +0200)]
Translated using Weblate (Dutch)

Currently translated at 1.1% (2 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 57.1% (16 of 28 strings)

Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/nl/

Translated using Weblate (Dutch)

Currently translated at 12.8% (44 of 343 strings)

Translated using Weblate (Dutch)

Currently translated at 45.9% (17 of 37 strings)

Translated using Weblate (Dutch)

Currently translated at 8.3% (171 of 2046 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/nl/

Translated using Weblate (Russian)

Currently translated at 100.0% (82 of 82 strings)

Co-authored-by: Alexey <agarkov.alexey.viktorovich@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Raymond Minneboo <raymond@minneboo.net>
Signed-off-by: Raymond Minneboo <raymond@minneboo.net>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/nl/
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/statistics

2 years agoluci-mod-system: allow ecdsa-sk and ed25519-sk key types 5983/head
Eric McDonald [Wed, 21 Sep 2022 13:04:49 +0000 (09:04 -0400)]
luci-mod-system: allow ecdsa-sk and ed25519-sk key types

Allow adding ecdsa-sk and ed25519-sk SSH keys in LuCI
These key types can be generated via the -t flag in ssh-keygen and are
supported in recent versions of dropbear. As ssh-keygen ignores the -b
flag when generating ecdsa-sk and ed25519-sk keys, the curve field in
the objects returned by the decode function is set to fixed strings for
both ecdsa-sk and ed25519-sk public key strings. This is in contrast to
ecdsa keys for which various curves can be provided (e.g., NIST P-256,
NIST P-384, and NIST P-521).

Signed-off-by: Eric McDonald <ericmcdonald@protonmail.com>
2 years agoluci-mod-system: sshkeys.js: prevent XSS through pubkey comments
Jo-Philipp Wich [Wed, 21 Sep 2022 12:47:41 +0000 (14:47 +0200)]
luci-mod-system: sshkeys.js: prevent XSS through pubkey comments

Ensure to not display public key comments verbatim in order to prevent
injection of markup.

Reported-by: Eric McDonald <ericmcdonald@protonmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agoMerge pull request #5981 from weblate/weblate-openwrt-luci
Florian Eckert [Tue, 20 Sep 2022 06:08:19 +0000 (08:08 +0200)]
Merge pull request #5981 from weblate/weblate-openwrt-luci

Translations update from Hosted Weblate

2 years agoTranslated using Weblate (Czech) 5981/head
Hosted Weblate [Mon, 19 Sep 2022 22:26:54 +0000 (00:26 +0200)]
Translated using Weblate (Czech)

Currently translated at 60.9% (209 of 343 strings)

Translated using Weblate (Slovak)

Currently translated at 56.2% (9 of 16 strings)

Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/sk/

Translated using Weblate (Slovak)

Currently translated at 1.4% (3 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 34.0% (17 of 50 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/sk/

Translated using Weblate (Slovak)

Currently translated at 0.0% (0 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/sk/

Translated using Weblate (Slovak)

Currently translated at 3.5% (3 of 84 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/sk/

Translated using Weblate (Slovak)

Currently translated at 9.0% (4 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 15.1% (5 of 33 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/sk/

Translated using Weblate (Slovak)

Currently translated at 12.7% (12 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.6% (4 of 111 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 16.6% (3 of 18 strings)

Translation: OpenWrt/LuCI/applications/nextdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/sk/

Translated using Weblate (Slovak)

Currently translated at 13.4% (7 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/sk/

Translated using Weblate (Slovak)

Currently translated at 8.8% (3 of 34 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/sk/

Translated using Weblate (Slovak)

Currently translated at 13.7% (4 of 29 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/sk/

Translated using Weblate (Slovak)

Currently translated at 3.7% (7 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/sk/

Translated using Weblate (Slovak)

Currently translated at 17.6% (3 of 17 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/sk/

Translated using Weblate (Slovak)

Currently translated at 8.3% (16 of 191 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/sk/

Translated using Weblate (Slovak)

Currently translated at 6.3% (7 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 23.0% (3 of 13 strings)

Translation: OpenWrt/LuCI/applications/shairplay
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/sk/

Translated using Weblate (Slovak)

Currently translated at 12.5% (10 of 80 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/sk/

Translated using Weblate (Slovak)

Currently translated at 4.0% (5 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 14.5% (9 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 9.4% (16 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 10.4% (5 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 19.3% (6 of 31 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/sk/

Translated using Weblate (Slovak)

Currently translated at 1.7% (1 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/sk/

Translated using Weblate (Slovak)

Currently translated at 20.4% (40 of 196 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/sk/

Translated using Weblate (Slovak)

Currently translated at 23.0% (6 of 26 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/sk/

Translated using Weblate (Slovak)

Currently translated at 25.0% (3 of 12 strings)

Translation: OpenWrt/LuCI/applications/bcp38
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/sk/

Translated using Weblate (Slovak)

Currently translated at 4.1% (8 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/sk/

Translated using Weblate (Slovak)

Currently translated at 22.0% (37 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 24.4% (44 of 180 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/sk/

Translated using Weblate (Slovak)

Currently translated at 9.7% (11 of 113 strings)

Translated using Weblate (Slovak)

Currently translated at 5.2% (7 of 133 strings)

Translated using Weblate (Slovak)

Currently translated at 6.8% (7 of 102 strings)

Translated using Weblate (Slovak)

Currently translated at 47.8% (22 of 46 strings)

Translated using Weblate (Slovak)

Currently translated at 11.2% (22 of 195 strings)

Translated using Weblate (Slovak)

Currently translated at 10.4% (20 of 191 strings)

Translated using Weblate (Slovak)

Currently translated at 4.0% (3 of 74 strings)

Translated using Weblate (Slovak)

Currently translated at 62.2% (132 of 212 strings)

Translated using Weblate (Slovak)

Currently translated at 6.2% (1 of 16 strings)

Translated using Weblate (Slovak)

Currently translated at 65.8% (226 of 343 strings)

Translated using Weblate (Slovak)

Currently translated at 7.3% (6 of 82 strings)

Translated using Weblate (Slovak)

Currently translated at 6.8% (4 of 58 strings)

Translated using Weblate (Slovak)

Currently translated at 100.0% (25 of 25 strings)

Translated using Weblate (Slovak)

Currently translated at 36.8% (753 of 2046 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: Jose Riha <jose1711@gmail.com>
Signed-off-by: Jose Riha <jose1711@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsqos/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/cs/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/sk/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat/sk/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/minidlna
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/qos
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/transmission
Translation: OpenWrt/LuCI/applications/vnstat

2 years agoMerge pull request #5980 from pymumu/master
Jo-Philipp Wich [Mon, 19 Sep 2022 07:03:31 +0000 (09:03 +0200)]
Merge pull request #5980 from pymumu/master

luci-app-smartdns: fix redirect error message issue