project/luci.git
4 weeks agotreewide: Backport translations - i18n
Hannu Nyman [Sat, 8 Nov 2025 15:29:31 +0000 (17:29 +0200)]
treewide: Backport translations - i18n

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <[email protected]>
4 weeks agoluci-base: don't render until luci-loaded is done
James Haggerty [Mon, 8 Apr 2024 02:37:42 +0000 (02:37 +0000)]
luci-base: don't render until luci-loaded is done

Because the setupDOM/initDOM methods do strange things related
to the old lua server rendered templates
(like remove all the elements currently hidden by dependencies...),
we want to be sure that these have finished before the view
itself renders.

This also ensures that any caching (e.g. from probeSystemFeatures)
is finished before the view render.

This feels like a hacky fix, but it's not clear to me what the best
one is.

Signed-off-by: James Haggerty <[email protected]>
(cherry picked from commit a2fce95248a260d9471efbff94ad0cde7a90700d)

4 weeks agoluci-app-travelmate: sync with update 2.2.1-4
Dirk Brenken [Thu, 6 Nov 2025 22:51:56 +0000 (23:51 +0100)]
luci-app-travelmate: sync with update 2.2.1-4

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 8ff0606a1842da672d3b22e0026db3030046fcef)

4 weeks agoluci-app-travelmate: fixes in station.js
Dirk Brenken [Thu, 6 Nov 2025 05:22:01 +0000 (06:22 +0100)]
luci-app-travelmate: fixes in station.js

Fixes errors in the display/workflow of scan results:
- Display of stations with a strength of "100"
- Display/Workflow of "hidden" SSIDs

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 14e40ca01ade6edde7ba3970796d25d20b4b8493)

4 weeks agoluci-base: shell quote package name variable to prevent command injection
Paul Donald [Wed, 5 Nov 2025 21:10:48 +0000 (22:10 +0100)]
luci-base: shell quote package name variable to prevent command injection

Do not export the function for use elsewhere - it shall only be used within
the luci script (to determine netifd version).

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 89b55a7ae09796d360c64fb930189d0af74ce813)

4 weeks agoluci-mod-network: hint that property belongs to mesh
Paul Donald [Mon, 3 Nov 2025 21:44:40 +0000 (22:44 +0100)]
luci-mod-network: hint that property belongs to mesh

Hint also units with dBm.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit c935260b3026d805dd414bd266884cfe0600d03a)

4 weeks agoluci-mod-network: dynamically find mode and bssid positions
Paul Donald [Mon, 3 Nov 2025 21:34:08 +0000 (22:34 +0100)]
luci-mod-network: dynamically find mode and bssid positions

Dynamically find the mode and bssid position assignments in case their position
should change later.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit fd96244e7977c4fb3dc410957f5d634f8561ce05)

4 weeks agoluci-mod-network: implement checks for mesh capabilities
Paul Donald [Mon, 3 Nov 2025 21:32:33 +0000 (22:32 +0100)]
luci-mod-network: implement checks for mesh capabilities

802.11s i.e. mesh mode value is now gated behind a check for the capability.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 13f9f6f010decfd0016beb659978b4b8d4895a1c)

4 weeks agoluci-base: extend luci WiFi features checks
Paul Donald [Mon, 3 Nov 2025 21:38:52 +0000 (22:38 +0100)]
luci-base: extend luci WiFi features checks

sort list
include mesh

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 92934332129f2921597dd53c363d778270260ada)

4 weeks agoluci-mod-system: file naming improvement for repo key management
Paul Donald [Sun, 2 Nov 2025 17:33:44 +0000 (18:33 +0100)]
luci-mod-system: file naming improvement for repo key management

When downloading a key, try to get the filename of the key. opkg expects it to
match the key fingerprint when verifying .sig files. apk not so.

Try to save the public key file with the name from the provided URL, so it is
not named "key_blah" which won't match its fingerprint.

The alternative would be to call usign with the public key file as input, and
then rename it to its fingerprint. This is only necessary for opkg which is on
the way out.

If the public key file at the remote resource is not named according to its
fingerprint, that's on the repo owner.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 12995312420bbe32d7327beac30e8b52243732b4)

5 weeks agoluci-mod-system: give repokeys the ability to fetch keys from a remote URL
Paul Donald [Sat, 25 Oct 2025 20:46:20 +0000 (22:46 +0200)]
luci-mod-system: give repokeys the ability to fetch keys from a remote URL

Simply paste in an http(s) URL e.g.

https://example.com/releases/SNAPSHOT/publickey.pub

and press Add Key.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit bd5650565a57c49be22eb2706a1823112e7be88d)

5 weeks agoluci-app-attendedsysupgrade: do major cleanup of error handler
Eric Fahlgren [Wed, 29 Oct 2025 00:39:54 +0000 (17:39 -0700)]
luci-app-attendedsysupgrade: do major cleanup of error handler

Extract and isolate the forum-specific constants and formats to
a location that is easily modified.  Factor out a lot of common
code and simply make everything much cleaner and more readable.

Output to the "Request Data" block was augmented to contain the
system board info, and was reordered to put more important data
earlier in the output.

Also fix a potential bug in construction of the error html, where
the final step was coercing everything to a string prematurely.

Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit cf868f439855534f62f2cfbd2732811d53a26c25)

5 weeks agoluci-mod-network: move max_{preferred,valid}_lifetime to IPv6-RA tab
Tianling Shen [Tue, 28 Oct 2025 08:50:57 +0000 (16:50 +0800)]
luci-mod-network: move max_{preferred,valid}_lifetime to IPv6-RA tab

These options are RA configuration so they should be put under the
IPv6-RA tab instead of the "generic" IPv6 tab.
Also make them depend on RA server/hybrid mode as these values are
pointless without RA server enabled.

Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 4b17392e5fe5dfcd742a7dc0b26322690a61b636)

5 weeks agoluci-mod-network: adjust IPv6 options for most recent odhcpd updates
Paul Donald [Mon, 29 Sep 2025 19:07:54 +0000 (21:07 +0200)]
luci-mod-network: adjust IPv6 options for most recent odhcpd updates

Notably: openwrt/odhcpd@86c0200 removes:
ra_useleasetime
preferred_lifetime

adds:
max_preferred_lifetime
max_valid_lifetime

changes:
ra_lifetime default to 2700

Closes #7970

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 62b66a98e63a6b1373ef85d02918ec0522318c10)

5 weeks agoluci-mod-network: add DNR (RFC9463) support
David Härdeman [Wed, 10 Sep 2025 21:41:30 +0000 (23:41 +0200)]
luci-mod-network: add DNR (RFC9463) support

odhcpd has had support for Discovery of Network-designated Resolvers
(DNR, RFC9463), which allows allows devices on the network to discover
encrypted DNS resolvers, since December 2024 [1].

This patch adds a basic luci interface to configure DNR records. odhcp
actually supports DNR records via DHCPv4, DHCPv6 and RA, but since it's
typically only used for the latter two, stashing the option next to IPv6
DNS server options seems reasonable.

Patch v2: long help string broken into multiple strings, "Format: ..."
changed to "Syntax: ...".

Patch v3: add a note on the _lifetime=<seconds> parameter, add a RA
<abbr> stanza.

Patch v4: change title to "Announce encrypted DNS servers", change IPv6
example address to the IANA documentation address space, add a blurb
about IPv4 address support (only when odhcpd is used for DHCPv4).

[1] https://github.com/openwrt/odhcpd/commit/6d342cc03bf72f27d0838942d009bf1c5df4f954

Signed-off-by: David Härdeman <[email protected]>
(cherry picked from commit b4965119bc213b756af442a395514afce5a8bdeb)

5 weeks agoluci-app-attendedsysupgrade: improve ux during install and reboot
Eric Fahlgren [Tue, 28 Oct 2025 16:07:03 +0000 (09:07 -0700)]
luci-app-attendedsysupgrade: improve ux during install and reboot

During the sysupgrade image installation and reboot process, it
is possible for LuCI to reconnect before the device is rebooted.
This leads to confusion and possible danger of changes being made
that will damage the device.

We set expectations as to what will happen during the installation
process with better wording in the spin dialog, and also "lock up"
the interface for 10s, allowing sysupgrade to do its job and avoid
reconnecting too early

Link: https://forum.openwrt.org/t/luci-attended-sysupgrade-support-thread/230552/268
Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit 3dced05aa2b28685335762656702be0fb8ff3937)

5 weeks agoluci-app-attendedsysupgrade: reorder and reword error instructions
Eric Fahlgren [Tue, 23 Sep 2025 14:35:36 +0000 (07:35 -0700)]
luci-app-attendedsysupgrade: reorder and reword error instructions

Many users have been posting incomplete error information to the
forum and in git issues.  They'll not report important information
that is above the paragraph indicating where to report it, only
the partial information below it.

Remedy this by putting the reporting instructions first, and make
explicit that everything below is needed.  Add a new button that
creates a report appropriate for a forum post and saves it to the
clipboard.

Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit e2f02198f9010152022ad15ffe2635fc490bf96a)

5 weeks agoluci-app-adblock: fix faulty template/function reference
Dirk Brenken [Tue, 28 Oct 2025 17:31:39 +0000 (18:31 +0100)]
luci-app-adblock: fix faulty template/function reference

Signed-off-by: Dirk Brenken <[email protected]>
5 weeks agoluci-app-banip: use separate log viewer template
Dirk Brenken [Sun, 26 Oct 2025 19:46:42 +0000 (20:46 +0100)]
luci-app-banip: use separate log viewer template

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 0f97532791ac8b3dd4cba0559bdf1dcce99cfd26)
Signed-off-by: Dirk Brenken <[email protected]>
5 weeks agoluci-app-adblock: use separate log viewer template
Dirk Brenken [Sun, 26 Oct 2025 18:59:53 +0000 (19:59 +0100)]
luci-app-adblock: use separate log viewer template

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 3fb12ab7d7604d25facb8a80afbc0f89af9bf28a)
Signed-off-by: Dirk Brenken <[email protected]>
5 weeks agobuild: Fix variable usage in i18n-update.pl
Hannu Nyman [Sun, 26 Oct 2025 13:31:59 +0000 (15:31 +0200)]
build: Fix variable usage in i18n-update.pl

Use 'file' instead of 'cmd' to show the failed file name more clearly.

Fixes: 6e9a7e1 "build: set i18n-update.pl to break at .po error"
Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit ab7018cd6eacaf5f9c495bec06a89ea060eea328)

5 weeks agoluci-app-keepalived: backport fixed translation
Hannu Nyman [Sun, 26 Oct 2025 08:07:15 +0000 (10:07 +0200)]
luci-app-keepalived: backport fixed translation

Backport translation from master.

Signed-off-by: Hannu Nyman <[email protected]>
5 weeks agoluci-base: backport translations from master
Hannu Nyman [Sun, 26 Oct 2025 07:51:06 +0000 (09:51 +0200)]
luci-base: backport translations from master

Backport translations from master.

Signed-off-by: Hannu Nyman <[email protected]>
5 weeks agobuild: set i18n-update.pl to break at .po error
Hannu Nyman [Sun, 26 Oct 2025 07:36:05 +0000 (09:36 +0200)]
build: set i18n-update.pl to break at .po error

Add logic into i18n-update.pl to break on noticing a fatal error
in the .po file. That is needed especially for syncing with
i18n-sync script, where possibly all modules and applications are synced
and errors easily disappear from screen.

Example:

Updating ./applications/luci-app-keepalived/po/de/keepalived.po./applications/luci-app-keepalived/po/de/keepalived.po:928:40: invalid control sequence
./applications/luci-app-keepalived/po/de/keepalived.po:928:51: invalid control sequence
msgmerge: found 2 fatal errors
./build/i18n-update.pl: [] failed: 256

and

Updating modules/luci-base/po/zh_Hant/base.po    modules/luci-base/po/zh_Hant/base.po:1169: duplicate message definition...
modules/luci-base/po/zh_Hant/base.po:1129: ...this is the location of the first definition
modules/luci-base/po/zh_Hant/base.po:1173: duplicate message definition...
modules/luci-base/po/zh_Hant/base.po:1133: ...this is the location of the first definition
msgmerge: found 2 fatal errors
./build/i18n-update.pl: [] failed: 256

Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit 6e9a7e12ca7ff7652bc3c0fda367134cf5c04d55)

5 weeks agoluci-app-attendedsysupgrade: use the same logic as the main build when requesting...
Lili González [Sat, 25 Oct 2025 00:23:49 +0000 (18:23 -0600)]
luci-app-attendedsysupgrade: use the same logic as the main build when requesting rebuilds

When initiating a build the requests were build differently
between main and rebuild servers leading to the latter using
only POST request instead of the POST->GET flow. This led to
incorrect tracking of builds in the target ASU server due to
each request being classified unique.

This is fixed by switching rebuild requests to the POST->GET
flow and storing each server's request hash in a map and using
it regardless if it is the main or a rebuild server handling
the request.

Fixes: openwrt/asu#1526
Signed-off-by: Lili González <[email protected]>
(cherry picked from commit 31fb9ce1967ee5650777588efaa167a6ac076417)

6 weeks agotreewide: Backport translations from master
Hannu Nyman [Fri, 24 Oct 2025 19:37:44 +0000 (22:37 +0300)]
treewide: Backport translations from master

Backport. Sync.

Signed-off-by: Hannu Nyman <[email protected]>
6 weeks agoluci-app-travelmate: sync with update 2.2.1-3
Dirk Brenken [Wed, 22 Oct 2025 19:02:44 +0000 (21:02 +0200)]
luci-app-travelmate: sync with update 2.2.1-3

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 8c07e199e1b71bf6b47c652015a333f8a9ce2b52)

6 weeks agoluci-app-travelmate: sync with update 2.2.1-2
Dirk Brenken [Sun, 19 Oct 2025 18:23:36 +0000 (20:23 +0200)]
luci-app-travelmate: sync with update 2.2.1-2

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit f67c6769ed966eb2f32674f83909377457ab87cb)

6 weeks agoluci-app-travelmate: sync with release 2.2.1
Dirk Brenken [Sat, 18 Oct 2025 20:02:58 +0000 (22:02 +0200)]
luci-app-travelmate: sync with release 2.2.1

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 7405bb1770bb104aa8090576d393114e31796bfc)

6 weeks agoluci-app-travelmate: sync with release 2.2.0
Dirk Brenken [Tue, 14 Oct 2025 20:14:47 +0000 (22:14 +0200)]
luci-app-travelmate: sync with release 2.2.0

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 4b49999f937e66debe6d4e295c65b2ee02338b7e)

7 weeks agoluci-mod-system: minor code fixes for repokeys and sshkeys
Paul Donald [Mon, 13 Oct 2025 12:33:23 +0000 (14:33 +0200)]
luci-mod-system: minor code fixes for repokeys and sshkeys

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 850867b6e4ebe437889f6e6ef630b6a6e6c033b7)

7 weeks agobuild: fix Traditional Chinese name
Andy Chiang [Sat, 11 Oct 2025 17:18:46 +0000 (00:18 +0700)]
build: fix Traditional Chinese name

fix Chinese name for 24.10 branch after master branch has been merged.

Signed-off-by: Andy Chiang <[email protected]>
8 weeks agoMerge pull request #7992 from stangri/openwrt-24.10-luci-app-pbr
Stan Grishin [Fri, 10 Oct 2025 23:35:18 +0000 (16:35 -0700)]
Merge pull request #7992 from stangri/openwrt-24.10-luci-app-pbr

[24.10] luci-app-pbr: update to 1.2.0-r2

8 weeks agoMerge pull request #7994 from stangri/openwrt-24.10-luci-app-https-dns-proxy
Stan Grishin [Thu, 9 Oct 2025 18:26:48 +0000 (11:26 -0700)]
Merge pull request #7994 from stangri/openwrt-24.10-luci-app-https-dns-proxy

[24.10] luci-app-https-dns-proxy: update to 2025.10.07-r1

8 weeks agoMerge pull request #7990 from stangri/openwrt-24.10-luci-app-adblock-fast
Stan Grishin [Wed, 8 Oct 2025 19:10:16 +0000 (12:10 -0700)]
Merge pull request #7990 from stangri/openwrt-24.10-luci-app-adblock-fast

[24.10] luci-app-adblock-fast: update to 1.2.0-r20

8 weeks agoluci-app-https-dns-proxy: update to 2025.10.07-r1
Stan Grishin [Tue, 7 Oct 2025 22:42:40 +0000 (22:42 +0000)]
luci-app-https-dns-proxy: update to 2025.10.07-r1

* sync with principal package

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit 3101545acf2a42b74163f7d899038194d18bb639)

8 weeks agoluci-app-pbr: update to 1.2.0-r2
Stan Grishin [Tue, 7 Oct 2025 22:40:15 +0000 (22:40 +0000)]
luci-app-pbr: update to 1.2.0-r2

* sync with principal package

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit dc279c566d630329d2625e6085ba3f2f2e508de8)

8 weeks agoluci-app-adblock-fast: update to 1.2.0-r20
Stan Grishin [Tue, 7 Oct 2025 22:37:15 +0000 (22:37 +0000)]
luci-app-adblock-fast: update to 1.2.0-r20

* sync version with principal package

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit b9c9b470ec02749e90113a46f93005e5e4ad20db)

8 weeks agoluci-base: replace css right class with button-row
Florian Eckert [Thu, 6 Mar 2025 09:32:56 +0000 (10:32 +0100)]
luci-base: replace css right class with button-row

These were forgotten when refactoring and should also get the css class
'button-row'

Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit 959fd4479580ddbe0f86de351d06226027a351a0)

8 weeks agoluci-base: standards compliant dropdown fix for mobile keyboards
TGSAN [Sat, 6 Sep 2025 11:55:09 +0000 (19:55 +0800)]
luci-base: standards compliant dropdown fix for mobile keyboards

Signed-off-by: TGSAN <[email protected]>
(cherry picked from commit 77e01d3d8cf9d2cf66368f4dd02ab691d67654ba)

8 weeks agoluci-base: allow submitting new value in android chromium
Ramon Van Gorkom [Fri, 25 Jul 2025 19:32:52 +0000 (21:32 +0200)]
luci-base: allow submitting new value in android chromium

Update ui.js to allow submitting from dropdown on android chromium.

Signed-off-by: Ramon Van Gorkom <[email protected]>
(cherry picked from commit 5cb2eb619e16e8de247c193ab7d320743491107e)

8 weeks agoluci: Make password reveal work with passsword managers
Andrew Dodd [Tue, 17 Dec 2024 01:37:35 +0000 (12:37 +1100)]
luci: Make password reveal work with passsword managers

Password managers (like LastPass etc) tend to add additional elements
into the DOM for their own context menus. If this happens between the
hide/reveal button and the password input, then the logic to reveal the
password breaks.

This change updates the onclick handler to look for the first `<input>`
element with the class `password-input` that is under the parent of the
toggle button, and then to toggle the password/text type on that
element.

This change deliberately only updates the main ui.js file, not any
application files.

Signed-off-by: Andrew Dodd <[email protected]>
(cherry picked from commit fc8ad20bbb7d7df16aeda37e8c3bf8495bedc6c3)

8 weeks agoluci-app-package-manager: fix 'autoremove' checkbox uneditable
Liangbin Lian [Thu, 26 Jun 2025 09:09:01 +0000 (17:09 +0800)]
luci-app-package-manager: fix 'autoremove' checkbox uneditable

In HTML, the following lines of code are equivalent:
```
<input disabled />
<input disabled="true" />
<input disabled="false" />
<input disabled="any" />
```
If you want to cancel the 'disabled' flag, you must completely remove it from the HTML instead of assigning a value.

Signed-off-by: Liangbin Lian <[email protected]>
(cherry picked from commit 8b5dfabdf3b4f929ea5e4bbd9350e930c10e8ad3)

2 months agotreewide: Backport i18n translations
Hannu Nyman [Sun, 5 Oct 2025 16:32:52 +0000 (19:32 +0300)]
treewide: Backport i18n translations

Backport translations. Sync.

Signed-off-by: Hannu Nyman <[email protected]>
2 months agoluci-mod-network: add RFC details for NAT64 option
Paul Donald [Tue, 30 Sep 2025 17:43:08 +0000 (19:43 +0200)]
luci-mod-network: add RFC details for NAT64 option

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 325286a3b9fc6d1203596c3d052b1d81d4dd33e9)

2 months agoluci-mod-network: expose IPv6 RA reachability and retransmission timers
Paul Donald [Tue, 30 Sep 2025 17:29:31 +0000 (19:29 +0200)]
luci-mod-network: expose IPv6 RA reachability and retransmission timers

These timers are configurable for many years and allow control of node
timers.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 2c0730c96609b875eb02604eb9429c1198186b67)

2 months agoluci-mod-network: Correctly encode/decode ech field in HTTPS record
Anya Lin [Thu, 25 Sep 2025 16:59:01 +0000 (00:59 +0800)]
luci-mod-network: Correctly encode/decode ech field in HTTPS record

Signed-off-by: Anya Lin <[email protected]>
(cherry picked from commit 39637490aeb36be47265abb83321a5d36fbb9f33)

2 months agoluci-mod-status: give kernel log view filtering capability
Paul Donald [Sun, 29 Jun 2025 13:38:40 +0000 (15:38 +0200)]
luci-mod-status: give kernel log view filtering capability

Simple text-based search to filter in or out kernel log lines.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit f62f31ca7085e6b9bd71a2d23f1c07445dc43992)

2 months agoluci-app-natmap: sync with natmap package
Ray Wang [Sat, 23 Aug 2025 04:01:56 +0000 (12:01 +0800)]
luci-app-natmap: sync with natmap package

Signed-off-by: Ray Wang <[email protected]>
(cherry picked from commit a610677fae828e1377d53354d9d2a95f23c6574e)

2 months agoluci-mod-status: fix syslog warning (4) log level filter
Paul Donald [Mon, 29 Sep 2025 14:00:57 +0000 (16:00 +0200)]
luci-mod-status: fix syslog warning (4) log level filter

Closes #7967

the warning syslog level is internally denoted as 'warn'.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit f53e99d2299f118df5a6eff60d101414d69d4912)

2 months agoMerge pull request #7962 from stangri/openwrt-24.10-luci-app-adblock-fast
Stan Grishin [Sun, 28 Sep 2025 18:37:41 +0000 (11:37 -0700)]
Merge pull request #7962 from stangri/openwrt-24.10-luci-app-adblock-fast

[24.10] luci-app-adblock-fast: update to 1.2.0

2 months agoluci-app-keepalived: fix typo in option name: fail -> fall
Hannu Nyman [Sun, 28 Sep 2025 06:32:20 +0000 (09:32 +0300)]
luci-app-keepalived: fix typo in option name: fail -> fall

Fix typo in the option name: 'fall' instead of 'fail'
Fixes #7965

Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit f51492d61038ed18ceccdfd5672da80515a0b0d3)

2 months agoluci-app-adblock-fast: update to 1.2.0
Stan Grishin [Fri, 26 Sep 2025 22:08:47 +0000 (22:08 +0000)]
luci-app-adblock-fast: update to 1.2.0

* version sync with principal package
* remove empty led option

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit c7e9948dcb08370f4c447ba42233e95987c203a3)

2 months agoChanged Irish lang name
Aindriú Mac Giolla Eoin [Sun, 21 Sep 2025 19:48:21 +0000 (22:48 +0300)]
Changed Irish lang name

(cherry picked from commit 72c06bcdf0b979a8defd632dda701729c8d24166)

2 months agobuild: enable packaging of Gaelic (Irish) and Tamil translations
Hannu Nyman [Sun, 21 Sep 2025 19:48:04 +0000 (22:48 +0300)]
build: enable packaging of Gaelic (Irish) and Tamil translations

Gaelic and Tamil have been translated for luci-base,
so enable them for building.

Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit 670c5592d10bbd68ede716a5f3ce8bfc2d8a6f22)

2 months agotreewide: Backport and sync translations
Hannu Nyman [Sun, 21 Sep 2025 19:44:40 +0000 (22:44 +0300)]
treewide: Backport and sync translations

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <[email protected]>
2 months agotreewide: backport translations - i18n
Hannu Nyman [Sun, 7 Sep 2025 16:57:19 +0000 (19:57 +0300)]
treewide: backport translations - i18n

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <[email protected]>
3 months agoluci-base: fix table option does not show in non-Bootstrap themes when it has depends
Joseph Mory [Fri, 30 May 2025 12:32:47 +0000 (20:32 +0800)]
luci-base: fix table option does not show in non-Bootstrap themes when it has depends

Signed-off-by: Joseph Mory <[email protected]>
(cherry picked from commit 55c93e60b4e598e81eeb1774d5d83ac32b245016)

3 months agoluci-mod-network: Change cache placeholder to internal default 150
Paul Donald [Tue, 2 Sep 2025 13:14:58 +0000 (15:14 +0200)]
luci-mod-network: Change cache placeholder to internal default 150

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit a2d0f5e2b3fdaca37cc088e40f4cfcb67b23cffe)

3 months agoMerge pull request #7924 from stangri/openwrt-24.10-luci-app-adblock-fast
Stan Grishin [Fri, 29 Aug 2025 17:53:18 +0000 (10:53 -0700)]
Merge pull request #7924 from stangri/openwrt-24.10-luci-app-adblock-fast

[24.10] luci-app-adblock-fast: update to 1.1.4-r12

3 months agoluci-app-adblock-fast: update to 1.1.4-r12
Stan Grishin [Tue, 26 Aug 2025 03:49:08 +0000 (03:49 +0000)]
luci-app-adblock-fast: update to 1.1.4-r12

* update to keep in sync with principal package

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit 68f9e6743219c0e476f5ce9decbf004d9d4b5772)

3 months agoMerge pull request #7911 from stangri/openwrt-24.10-luci-app-advanced-reboot
Stan Grishin [Tue, 19 Aug 2025 17:05:34 +0000 (10:05 -0700)]
Merge pull request #7911 from stangri/openwrt-24.10-luci-app-advanced-reboot

[24.10] luci-app-advanced-reboot: update to 1.1.0-1

3 months agoluci-app-advanced-reboot: update to 1.1.0-1
Stan Grishin [Tue, 12 Aug 2025 08:31:10 +0000 (08:31 +0000)]
luci-app-advanced-reboot: update to 1.1.0-1

Makefile:
- update SPDX license identified and copyright
- update documentation link

README:
- add short README with the link to full documentation

System View javascript:
- switch from single to double quotes
- update documentation link
- more readable translateTable
- better code readability for
  - callPowerOff
  - handlePowerOff
  - handleReboot
  - handleTogglePartition
  - handleAlternativeReboot
  - parsePartitions
  - some visual elements

RPCD Script:
- more resilient to unexpected CLI output
- add debugger function to ease development/debugging
- better check if `/var/alt_rom` is mounted before calling umount
- better handling of MTD indices

Device Support:
- add Linksys MR7350 which slipped thru the cracks

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit a353d15b5592455e9efb95af290c036b780de31c)

3 months agotreewide: backport translations - i18n
Hannu Nyman [Sun, 10 Aug 2025 20:43:42 +0000 (23:43 +0300)]
treewide: backport translations - i18n

Backport from master. Sync.

Signed-off-by: Hannu Nyman <[email protected]>
3 months agoMerge pull request #7894 from stangri/openwrt-24.10-luci-app-https-dns-proxy
Stan Grishin [Sat, 9 Aug 2025 17:23:23 +0000 (10:23 -0700)]
Merge pull request #7894 from stangri/openwrt-24.10-luci-app-https-dns-proxy

[24.10] luci-app-https-dns-proxy: update to 2025.05.11-4

3 months agoMerge pull request #7892 from stangri/openwrt-24.10-luci-app-adblock-fast
Stan Grishin [Sat, 9 Aug 2025 17:23:16 +0000 (10:23 -0700)]
Merge pull request #7892 from stangri/openwrt-24.10-luci-app-adblock-fast

[24.10] luci-app-adblock-fast: update to 1.1.4-6

3 months agoluci-app-https-dns-proxy: update to 2025.05.11-4
Stan Grishin [Fri, 8 Aug 2025 20:38:28 +0000 (20:38 +0000)]
luci-app-https-dns-proxy: update to 2025.05.11-4

* update license ID and copyright in Makefile
* add a short README with link to full documentation
* switch doc link from melmac.net to melmac.ca
* add donate text/URL
* attempt to fix bootstrap DNS loading/saving from json
* add DNS4EU provider (thanks @rikroe)
* add OpenNameServer provider (thanks @Phoenix616)

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit 45e3d1ac1908509f4d5ec7d79d5723697667af36)

3 months agoluci-app-adblock-fast: update to 1.1.4-6
Stan Grishin [Fri, 8 Aug 2025 08:57:49 +0000 (08:57 +0000)]
luci-app-adblock-fast: update to 1.1.4-6

* add Donate section/URL to status
* improve visibility with the RPCD return variable names (thanks @systemcrash)
* improve LEDs detection in RPCD script

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit 68a315f5ad0bffce4ba708d942178281e7661441)

4 months agoMerge pull request #7882 from stangri/openwrt-24.10-luci-app-adblock-fast
Stan Grishin [Tue, 5 Aug 2025 16:16:06 +0000 (09:16 -0700)]
Merge pull request #7882 from stangri/openwrt-24.10-luci-app-adblock-fast

[24.10] luci-app-adblock-fast: sync with principal package

4 months agoMerge pull request #7883 from stangri/openwrt-24.10-luci-app-pbr
Stan Grishin [Tue, 5 Aug 2025 02:59:57 +0000 (19:59 -0700)]
Merge pull request #7883 from stangri/openwrt-24.10-luci-app-pbr

[24.10] luci-app-pbr: sync with principal package

4 months agoluci-app-adblock-fast: sync with principal package
Stan Grishin [Fri, 1 Aug 2025 01:42:12 +0000 (01:42 +0000)]
luci-app-adblock-fast: sync with principal package

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit c26b8f28fe5094eae882762c6323d981abde104c)

4 months agoluci-app-pbr: sync with principal package
Stan Grishin [Fri, 1 Aug 2025 01:40:51 +0000 (01:40 +0000)]
luci-app-pbr: sync with principal package

Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit 6b4d69723c311c3bfbfbc54c408e6fd71e5800d2)

4 months agoluci-proto-openconnect: bug fixes for cert read and write methods
Paul Donald [Fri, 25 Jul 2025 18:55:49 +0000 (20:55 +0200)]
luci-proto-openconnect: bug fixes for cert read and write methods

follow-up to: aa955d6465b4d0f00cc713904e2de7bfb0cbd062

Minor refactor of ucode, and some GUI fixes to ensure certificates are
written properly.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 58575727e58873eaea46d217e4ef6393543259a6)

4 months agotreewide: Backport translations
Hannu Nyman [Wed, 23 Jul 2025 12:54:20 +0000 (15:54 +0300)]
treewide: Backport translations

Backport from master. Sync.

Signed-off-by: Hannu Nyman <[email protected]>
4 months agoluci-app-ddns: fix cacert param write for all cases
Paul Donald [Wed, 23 Jul 2025 11:50:07 +0000 (13:50 +0200)]
luci-app-ddns: fix cacert param write for all cases

follow-up to 929c520def5dd1393f831befac1bf9dee9f9d796

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 8c473f99e2eb32ad2902619b6425856b7013e3a3)

4 months agoluci-app-strongswan-swanctl: prevent section name collisions
Paul Donald [Sat, 19 Jul 2025 17:15:11 +0000 (19:15 +0200)]
luci-app-strongswan-swanctl: prevent section name collisions

Named sections collide and overwrite each other when navigating the
GUI and repeating the same name, because uci does not allow multiple
named sections to share the same name. This at least forces users to
pick names so their resulting config works.

Closes #7159

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit eb66bdccf815797f6d1fa0cc0aed571319a2b980)

4 months agoluci-proto-vxlan: peers -> peer spelling fix
Paul Donald [Wed, 16 Jul 2025 14:08:57 +0000 (16:08 +0200)]
luci-proto-vxlan: peers -> peer spelling fix

follow-up to cbd37919aef5d895f10a90a35fb1a18610792bfb

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 1352d75f1aeb6f9a6745596361261667499f30ac)

4 months agoMerge pull request #7864 from champtar/mwan3-section-interfaces-24.10
Florian Eckert [Tue, 15 Jul 2025 13:36:21 +0000 (15:36 +0200)]
Merge pull request #7864 from champtar/mwan3-section-interfaces-24.10

[24.10] luci-app-mwan3: only request interfaces status

4 months agoluci-app-mwan3: only request interfaces status
Etienne Champetier [Mon, 30 Jun 2025 16:46:31 +0000 (12:46 -0400)]
luci-app-mwan3: only request interfaces status

Before mwan3 rpcd plugin optimisations, same change in
prometheus-node-exporter-lua changed request time from
1.9s to 1.3s.

Signed-off-by: Etienne Champetier <[email protected]>
(cherry picked from commit c358b34a53b53fa4d6310452848643daf4a192fb)

5 months agoluci-app-openlist: rescan translations
Tianling Shen [Sun, 29 Jun 2025 10:00:42 +0000 (18:00 +0800)]
luci-app-openlist: rescan translations

Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 94f42c6b9e5b2ac967d43bab135b4a7c8e0e6fa8)

5 months agoluci-app-openlist: rename from luci-app-alist
Tianling Shen [Sun, 29 Jun 2025 09:57:02 +0000 (17:57 +0800)]
luci-app-openlist: rename from luci-app-alist

See https://github.com/openwrt/packages/pull/26855 for more information.

Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 682a2b9525a1152916de874a2731d4b64972c5f7)

5 months agoluci-mod-network: Add HTTPS SVCB record en/decoding to DHCP
Paul Donald [Mon, 23 Jun 2025 00:43:17 +0000 (02:43 +0200)]
luci-mod-network: Add HTTPS SVCB record en/decoding to DHCP

This was a bit of code golf. Just for fun. Users seem to rely on HTTPS
record creation. The HTTPS record handling en/decodes compliant records
when tested against the RFC defined vectors, although there may exist
edge cases that are not compliant.

Escaped character encoding is not implemented (strict mode).

Any other arbitrary DNS record creation will be possible via the
addition of helper functions in this tools file.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 9aeb34549f76f7cccd836a27012e2c61ae33805a)

5 months agoluci-app-chrony: Add chrony
Paul Donald [Fri, 25 Apr 2025 02:21:38 +0000 (04:21 +0200)]
luci-app-chrony: Add chrony

This prefers the NTS version, and does not discern the non-NTS version,
since chronyd.init startup script doesn't either.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit df28a18166c330ef95cabd996297263c6f3a8713)

5 months agoluci-base: implement a range slider input/control
Paul Donald [Fri, 25 Apr 2025 18:24:17 +0000 (20:24 +0200)]
luci-base: implement a range slider input/control

This control is used to set values within a predefined range, and uses
the HTML 'input' element of type 'range' supported in all browsers.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 3c16c590075eb8bdc9f019258a2357160ac5a912)

5 months agoluci-app-uhttpd: bugfix
Ramon Van Gorkom [Sun, 22 Jun 2025 11:47:39 +0000 (13:47 +0200)]
luci-app-uhttpd: bugfix

bug fix luci-app-uhttpd
Signed-off-by: Ramon Van Gorkom <[email protected]>
(cherry picked from commit 855e38245eb49c5f54df35334f4221f33642bcbf)

5 months agoluci-app-usteer: Extra error checking
Ramon Van Gorkom [Sun, 22 Jun 2025 14:20:56 +0000 (16:20 +0200)]
luci-app-usteer: Extra error checking

Added extra error checking. When you directly load the usteer page "/cgi-bin/luci/admin/network/usteer"  then somehow the wifi networks do not get populated, this throws an error. Also fixed another console error related to the hostnames.

Signed-off-by: Ramon Van Gorkom <[email protected]>
(cherry picked from commit 59a1910b142cd1eedb2e0c782f7ed079a99f087e)

5 months agoluci-base: check for wifi system feature before Promise.all
Paul Donald [Sun, 22 Jun 2025 20:35:46 +0000 (22:35 +0200)]
luci-base: check for wifi system feature before Promise.all

Allows the hasSystemFeature call to complete before executing the
Promise bundle.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 9c0f071bbd1150b324a5c1b2f0e1f642da693128)

5 months agoluci-app-banip: sync with update 1.5.6-6
Dirk Brenken [Sat, 28 Jun 2025 20:15:44 +0000 (22:15 +0200)]
luci-app-banip: sync with update 1.5.6-6

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit fd4cce9b61588973a07d1ef2788419062d51445b)

5 months agoluci-mod-network: implement Virtual Routing and Forwarding (VRF) options
Paul Donald [Thu, 7 Nov 2024 20:21:07 +0000 (21:21 +0100)]
luci-mod-network: implement Virtual Routing and Forwarding (VRF) options

VRF in netifd is now in main. See:
https://github.com/openwrt/netifd/pull/38/
https://github.com/openwrt/openwrt/commit/15c2ca0a834752cc9505751fc6d2f51861d34dfd

VRF netifd management was added to 24.10 in
https://github.com/openwrt/openwrt/pull/19125

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 1349056112da56368e1eab7f9d724a70fc50943f)

5 months agoluci-base: implement Virtual Routing and Forwarding (VRF) options
Paul Donald [Thu, 7 Nov 2024 20:22:34 +0000 (21:22 +0100)]
luci-base: implement Virtual Routing and Forwarding (VRF) options

VRF in netifd is now in main. See:
https://github.com/openwrt/netifd/pull/38/
https://github.com/openwrt/openwrt/commit/15c2ca0a834752cc9505751fc6d2f51861d34dfd

VRF netifd management was added to 24.10 in
https://github.com/openwrt/openwrt/pull/19125

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit f5da7a6016f833ce81885c3daa66dfa52466be3c)

5 months agotreewide: Backport translations - i18n
Hannu Nyman [Wed, 25 Jun 2025 19:08:38 +0000 (22:08 +0300)]
treewide: Backport translations - i18n

Backport from master.
Sync.

Signed-off-by: Hannu Nyman <[email protected]>
5 months agoluci-app-attendedsysupgrade: add firmware upgrade check status include
Paul Spooren [Thu, 30 Jan 2025 23:36:34 +0000 (23:36 +0000)]
luci-app-attendedsysupgrade: add firmware upgrade check status include

The status include is named '11' so as to come immediately after
'10_system' (which displays the system properties). Its only permanent
addition to the status page is a checkbox for the user preference to
check for updates.

If the UCI luci core section contains the option:
  `check_for_newer_firmwares`
then upon load, the status page checks if the download server offers a
new(er) firmware compatible with the current device.

Signed-off-by: Paul Spooren <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit f746a52979141df8ffbf7c3774002fead7817724)

5 months agotreewide: vectorise iconography
Paul Donald [Fri, 25 Apr 2025 21:39:26 +0000 (23:39 +0200)]
treewide: vectorise iconography

Clear, crisp, resolution independent vector graphics replace the trusty
microscopic PNG. Some minor CSS changes were needed to constrain images
in some locations to make sure they don't consume too much space.

Iconography taken from Mate desktop theme with minor adjustments:

https://github.com/mate-desktop/mate-icon-theme/

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit ae5d91da903b6f1d3086d6082ca622231e34f555)

treewide: vectorise iconography

follow-up to ae5d91da903b6f1d3086d6082ca622231e34f555

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 85fde70cd212177c83456063f781c72589565c4c)

treewide: vectorise iconography

follow-up to ae5d91da903b6f1d3086d6082ca622231e34f555

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit fa6ca8a618f835bb890ba3c7d8adae631ca17321)

treewide: vectorise iconography

follow-up to ae5d91da903b6f1d3086d6082ca622231e34f555

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 1e3ebebad9bea734316b415ff0599cbc0deb8a39)

treewide: vectorise iconography

follow-up to ae5d91da903b6f1d3086d6082ca622231e34f555

tweaks to more closely resemble the old png iconography

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 22bcf11db7cb4292b87cfb69bb3e2759297068ca)

treewide: vectorise iconography

follow-up to ae5d91da903b6f1d3086d6082ca622231e34f555

tweaks to more closely resemble the old png iconography

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 750aa9e25b3fbdca2ad606413c214640bebf7a73)

5 months agoluci-mod-status: remove unused uci in syslog view
Paul Donald [Tue, 17 Jun 2025 13:59:35 +0000 (15:59 +0200)]
luci-mod-status: remove unused uci in syslog view

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 691574263356689912c5bd31984bb1b96417a847)

5 months agoluci-mod-status: add log filtering to syslog tab
Paul Donald [Sat, 19 Apr 2025 18:45:11 +0000 (20:45 +0200)]
luci-mod-status: add log filtering to syslog tab

Facility and severity filtering are based on a simple includes() search.
As such, false positives are possible. Although for the majority of
cases, this is still useful. Filtering using logread -z/Z is possible,
but not if a static log-file is configured. logread does not yet handle
severity either. 'not' checkboxes for each invert the respective search
filter.

A raw-text filter is also included as a bonus, whose meaning can be
inverted via the 'not' checkbox.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 16beffda15008bd9cb13ae051d43c281746e2d2e)

5 months agoluci-app-adblock: sync with adblock 4.4.2-3
Dirk Brenken [Sat, 14 Jun 2025 19:05:27 +0000 (21:05 +0200)]
luci-app-adblock: sync with adblock 4.4.2-3

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 74580723a32736f8900dbc35d5b64b70aa6d4e4c)

5 months agoluci-app-banip: sync with update 1.5.6-5
Dirk Brenken [Sat, 14 Jun 2025 17:50:04 +0000 (19:50 +0200)]
luci-app-banip: sync with update 1.5.6-5

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 2ac7444d33426d8483f57dc5efc5fa38d1491943)

5 months agoRevert "luci-base: override the load() function to return boolean for FlagValue"
Paul Donald [Thu, 12 Jun 2025 12:51:23 +0000 (14:51 +0200)]
Revert "luci-base: override the load() function to return boolean for FlagValue"

This reverts commit bedefb1803766f906ebb49d83740c10e9eb3db88.

Signed-off-by: Paul Donald <[email protected]>
5 months agoluci-app-rp-pppoe-server: remove uci menu requirement
Paul Donald [Tue, 10 Jun 2025 16:32:36 +0000 (18:32 +0200)]
luci-app-rp-pppoe-server: remove uci menu requirement

Prevents the uci menu items from appearing after installation

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 1719a4dd4c06e2d279fbabb409e78ad183849e79)

5 months agoluci-app-rp-pppoe-server: change interface handler to NetworkSelect
Paul Donald [Tue, 10 Jun 2025 16:31:12 +0000 (18:31 +0200)]
luci-app-rp-pppoe-server: change interface handler to NetworkSelect

Closes #7695

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 1cb4c8b976f6fe180eee46af08b900681934d368)