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
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
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)
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)
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)
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]>
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)
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)
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)
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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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]>
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)
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)
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)
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)
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)
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)
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]>
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)
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)
Paul Donald [Tue, 27 May 2025 15:11:25 +0000 (17:11 +0200)]
luci-mod-system: Add repo key management
Simplifies adding third-party repos. Functions on both 24.10 (opkg) and
main (apk). Based loosely on sshkey management.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
acdffc3d1dd8a4a427a2c81d046eb38080127da4)
luci-mod-system: Add repo key management
follow-up fix to
acdffc3d1dd8a4a427a2c81d046eb38080127da4
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
cf1e61f10d31bedc4cdc9f70872bb8da383f6e62)
luci-mod-system: repo key management
Reject PEM in OPKG; reject non-PEM in APK
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
65bdfc61db169dcfbb81dae1d0df4ef7ddefe854)
Dirk Brenken [Mon, 9 Jun 2025 05:04:15 +0000 (07:04 +0200)]
luci-app-banip: sync with update 1.5.6-4
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
b27425edad8d5ab8cd4834b5b627ac6749edc9e2)
Eric Fahlgren [Thu, 29 May 2025 15:51:14 +0000 (08:51 -0700)]
luci-app-attendedsysupgrade: avoid redirects, handle redirect errors
When users add an extraneous slash to the server url, then the ASU
server redirects GET requests. But, this causes an error on POST
requests as the ASU server does not redirect those, so the LuCI
client failed inappropriately with an unhandled error.
Fix both of these by first trimming trailing slashes from the server
url as it is loaded to avoid the redirects. Then, also handle all
unexpected responses, instead of just a select few.
Links: efahl/owut@
724c990d6cc0
Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit
b98b525e165e5242627f515dfce8530cff7cbb9a)
Hannu Nyman [Sat, 7 Jun 2025 15:57:10 +0000 (18:57 +0300)]
treewide: Backport translations and sync
Backoprt translations.
Sync.
Signed-off-by: Hannu Nyman <[email protected]>
Guoxin Pu [Thu, 5 Jun 2025 10:40:00 +0000 (18:40 +0800)]
luci-app-ddns: no implicit interface when ip_source=interface
The DDNS service attribute "interface" is for hotplug.d hook to bring up
and down DDNS updater(s) on ifup and ifdown events for an OpenWrt
"interface", not to be confused with attribute "ip_interface" which defines
the physical interface to get IP from.
With this change, the DDNS configuration service.xxx.interface is no longer
derived from the physical interface name (duplicated from ip_interface to be
specific) when ip_source=interface, and as a result, the interface must be set
explicitly.
Signed-off-by: Guoxin Pu <[email protected]>
(cherry picked from commit
e6b26d1e07c41dfd520a2e8ef67ec14b6118f288)
Paul Donald [Fri, 6 Jun 2025 11:38:35 +0000 (13:38 +0200)]
luci-mod-network: wireless.js fixes
follow-up to
cdce600
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
8bab10f820d062c934f0b9d496d2e75984fadfec)
Dirk Brenken [Fri, 6 Jun 2025 05:03:36 +0000 (07:03 +0200)]
luci-app-adblock: optimizations & fixes
* optimized the button handling on the front page
* fixed a minor JS error on the DNS statistics page
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
b39bfe7522a7dbe6dbcc0b2fdb1de5aca04d3558)
Khachatryan Karen [Tue, 27 May 2025 18:53:04 +0000 (21:53 +0300)]
luci-app-antiblock: Disable routes without deleting
1) Added the ability to disable routes without deleting them.
Signed-off-by: Khachatryan Karen <[email protected]>
(cherry picked from commit
0a09ae1805f3e1184ad67ebb9a47b00c020c8b27)
Dirk Brenken [Sat, 31 May 2025 21:10:04 +0000 (23:10 +0200)]
luci-app-adblock: sync with update 4.4.2-2
* map improvements
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
740452bf1a0eae4d46c12a412debe8f2d2de67f2)
Dirk Brenken [Sat, 31 May 2025 20:14:41 +0000 (22:14 +0200)]
luci-app-banip: sync with update 1.5.6-3
* fixed #7772
* map improvements
* add a json reporting cache
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
242768d42c3f444383ca1734a79a41013ff30b03)
Eric Fahlgren [Wed, 28 May 2025 16:09:33 +0000 (09:09 -0700)]
luci-app-attendedsysupgrade: maintain value of owut.rootfs_size in LuCI app
If someone has used owut to install an image with a modified rootfs
partition size, then using LuCI Attended Sysupgrade would change
it back, causing either a build failure or loss of configuration.
We fix this by simply adding the value from the owut config to the
build request (or 'null' if it doesn't exist). The ASU server
then builds the image with the correct rootfs size, avoiding
these issues.
This value is not and should not be exposed in the LuCI app's
options, as it is quite advanced, very fragile and should only be
used by those who have researched the issues involved, typically
by reading the owut documentation and testing with owut first.
Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit
42d32dff7f718d27ae7ccc65ebc83d001ebf14e3)
Dirk Brenken [Fri, 30 May 2025 20:28:31 +0000 (22:28 +0200)]
luci-app-adblock: fix the report initialization
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
04d22e68a1f6b059f99ec8093c5a34ba2c7cd2fd)
Dirk Brenken [Fri, 30 May 2025 16:42:18 +0000 (18:42 +0200)]
luci-app-adblock: sync with update 4.4.2-1
Various fixes, a new modal reporting GeoIP map of blocked domains.
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
d971e88a0f7ab653d1bcf73dd4481e205c841c0b)
Nicolò Veronese [Sun, 4 May 2025 16:13:50 +0000 (18:13 +0200)]
luci-mod-network: fix default policy for bondig device
This fixes the missing policy option in UCI when selecting 'active-backup'
as the required policy.
This has been discussed on issue #7683.
Signed-off-by: Nicolò Veronese <[email protected]>
(cherry picked from commit
c996de5a82c3a13b57a593411f445a1d76cf90c4)
Stan Grishin [Tue, 13 May 2025 23:52:43 +0000 (16:52 -0700)]
Merge pull request #7775 from stangri/openwrt-24.10-luci-app-https-dns-proxy
[24.10] luci-app-https-dns-proxy: update to 2025.05.11
Stan Grishin [Mon, 12 May 2025 02:08:33 +0000 (02:08 +0000)]
luci-app-https-dns-proxy: update to 2025.05.11
* fixes https://github.com/openwrt/luci/issues/7763
* fixes https://github.com/stangri/luci-app-https-dns-proxy/issues/9
* fix README link
Signed-off-by: Stan Grishin <[email protected]>
(cherry picked from commit
bd5cb1dd66c5a79e36e7fd2960bfc70e73fad686)
Hannu Nyman [Sat, 10 May 2025 10:44:51 +0000 (13:44 +0300)]
treewide: Backport translations from master
Backport translations from master.
Signed-off-by: Hannu Nyman <[email protected]>
Dirk Brenken [Sat, 3 May 2025 12:43:28 +0000 (14:43 +0200)]
luci-app-adblock: sync with update 4.4.1-2
Small fixes, a uci-defaults script and wording improvements.
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
98f7f2a2cfa6e28bdc5e73de1bc5affac83c72b6)
Dirk Brenken [Tue, 29 Apr 2025 19:47:21 +0000 (21:47 +0200)]
luci-app-banip: sync with update 1.5.6-2
Small fixes, a uci-defaults script and wording improvements.
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
5f9ff73b60bb97f85b9edf9e41a6942e72b47ed6)
PeterK [Wed, 23 Apr 2025 10:14:38 +0000 (12:14 +0200)]
luci-app-banip: Trim() error fix.
Unable to open a banip Overview tab.
Update overview.js for the Trim() error fix.
Signed-off-by: PeterK <[email protected]>
(cherry picked from commit
05b8d9b1ee98c1bd73100f7b4f038dd6e94ff88b)
Hannu Nyman [Wed, 23 Apr 2025 20:43:29 +0000 (23:43 +0300)]
luci-base: Hardcode 'openwrt-24.10' as the branch name
Hardcode 'openwrt-24.10' release branch as the branch name to avoid
'LuCI (HEAD detached at
2ac26e56) branch' being shown as the branch.
Feeds are since March 2025 cloned shallow if cloned from a specific
commit, like done with a release tag. Change in OpenWrt:
https://github.com/openwrt/openwrt/commit/
32d0a57dc10811a24816e51f10e55963f40fe462
As the only cloned commit of a release tag is without history, the branch
can't be identified.
So, hardcode the branch name to get the proper branch name
'LuCI openwrt-24.10 branch'.
Fixes #7737
Signed-off-by: Hannu Nyman <[email protected]>
Paul Donald [Fri, 25 Apr 2025 15:17:51 +0000 (17:17 +0200)]
luci-base: override the load() function to return boolean for FlagValue
In the underlying uci system, all variables are effectively strings, so
for those configuration values which serve as 'boolean' flags, we need
to coerce the various forms into a real boolean. Only the following
string values result in true: 1|on|true|yes|enabled. Otherwise, false.
Checkboxes now fill correctly.
"Unchanged" configurations may write changed values as the Flag values
are coerced to '1' or '0' on write, but the configuration behaviour
remains synonymous.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
1355a6fa253d765140f5571354939d2e93e6d967)
Hannu Nyman [Thu, 24 Apr 2025 15:44:54 +0000 (18:44 +0300)]
treewide: Backport translations
Backport translations. Sync.
Signed-off-by: Hannu Nyman <[email protected]>
Paul Donald [Wed, 23 Apr 2025 22:13:26 +0000 (00:13 +0200)]
luci-mod-network: widgets shall show devices that are online as online
follow-up to
832680bb84d18132d04f424b7d70ce18d62e1150
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
f17ae7fd96f285aa564579f597f51e2679b27fd4)
Eric Fahlgren [Sun, 20 Apr 2025 23:12:00 +0000 (16:12 -0700)]
luci-app-attendedsysupgrade: change error reporting url
Direct error reports to a LuCI-ASU-app-specific thread on the forum, where
they'll get more attention and reduce clutter on the ASU server's github issues.
Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit
9fd692ab4402260bbbe5512cfeff6427c18d39b4)
Paul Donald [Wed, 23 Apr 2025 12:04:19 +0000 (14:04 +0200)]
luci-mod-network: wireless.js fixes
follow-up to
cdce600aaec66f762f18d608c74cbf3abcafe1c7
Fixes a const reassignment error
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
1e3aa83b449b17fb3a09441d1a6c837752718c59)
Paul Donald [Wed, 23 Apr 2025 12:04:12 +0000 (14:04 +0200)]
luci-base: prevent tools.widgets.ZoneSelect tracebacks
follow-up fix for
0be4ad51a0bea3e1e3e6cd7d646e11ec6c722540
It seems to have been this way for a while, for zone selections
involving the 'any' ('*') choice. firewall forwards.js has no
'this.allowany;' property on the widgets, so the any choice is absent,
leading to a traceback, caused by the 'src' widget, even though
this code block operates on the 'dst' value. Certain combinations of
'src' and 'dst' also triggered tracebacks.
This might not be the correct behaviour for this widget, but it does
prevent tracebacks caused by null values.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
aa6924cd4ce64cc6e4ced50b0603f9f34b3e619c)
Paul Donald [Wed, 23 Apr 2025 12:21:40 +0000 (14:21 +0200)]
luci-theme-*: ES6 refactor
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
9180f2a76219d44ea11bc37574627144d3ced167)
Paul Donald [Wed, 23 Apr 2025 12:03:57 +0000 (14:03 +0200)]
luci-theme: fix some dynamic layout issues
Implement a dynamic menu item width to allow item unwrapped and visible:
'min-width: max-content;' or 'max-width: max-content;'
Remove IE hacks and fix a console error for -webkit-scrollbar-thumb
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
91572540595dae9ea88ae5e38ce01847cb4c08e0)
Paul Donald [Wed, 23 Apr 2025 12:03:50 +0000 (14:03 +0200)]
luci-app-ddns: Fix multiple IP display bug
Occasionally, a DNS lookup returns multiple IPs, so the best thing to
do isn't to join them together as a unified string, but to separate
them with an HTML <br/>.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
54192d3b3659e0ef94c976c84f71f85efdb4528d)
Paul Donald [Wed, 23 Apr 2025 12:03:39 +0000 (14:03 +0200)]
luci-mod-network: widgets shall show devices that are online as online
Tunnel devices which are up, show as down, since the config being
enumerated does not have access to any device status. The 'device' being
enumerated is e.g. 'wireguard_wg0', a configuration for a tunnel
interface, whose parent is an 'ethernet' type.
That's a bug for another day. So they shall use parent device status.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
a288354e78d4dd5872dea52bcebf7d1f91fad3b1)
Paul Donald [Wed, 23 Apr 2025 12:03:28 +0000 (14:03 +0200)]
luci-base: widgets shall show devices that are online as online
Tunnel devices which are up, show as down, since they don't have access
to any device status. The 'device' being enumerated is e.g.
'wireguard_wg0', a configuration for a tunnel interface, whose parent
is an 'ethernet' type.
That's a bug for another day. So they shall get parent device status.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
832680bb84d18132d04f424b7d70ce18d62e1150)
Paul Donald [Mon, 21 Apr 2025 21:31:51 +0000 (23:31 +0200)]
luci-app-lldpd: fix 'redeclaration of s' error
follow-up to
279720fef7a540d52fa2b138aeef14ba3a4d5dee
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
e05852d9cfe454eb57cac57880dd5749c152a5a8)
Dirk Brenken [Thu, 10 Apr 2025 21:43:46 +0000 (23:43 +0200)]
luci-app-adblock: sync with release 4.4.0-1
* major LuCI frontend improvements, incl. Custom Feed Editor
* synchronized with the banIP front-end level
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
2967f2ccd8fd1582415a366462a2a1a224d203d8)
Andrew Robbins [Tue, 15 Apr 2025 06:13:06 +0000 (02:13 -0400)]
luci-lua-runtime: specify c17 standard
build was failing b/c gcc15 defaults to c23, which lemon is not written for (and errors with).
Signed-off-by: Andrew Robbins <[email protected]>
(cherry picked from commit
852fc23b12d4a701ba724a40b6afd4d40a4ad68d)
Andrew Robbins [Tue, 15 Apr 2025 05:38:35 +0000 (01:38 -0400)]
luci-base: specify c17 standard
build was failing b/c gcc15 defaults to c23, which lemon is not written for (and errors with).
Signed-off-by: Andrew Robbins <[email protected]>
(cherry picked from commit
7e6741fbae9b122545e80aad8b9e3a5529c442ce)
Jyn [Mon, 14 Apr 2025 07:43:51 +0000 (14:43 +0700)]
luci-theme-openwrt: zone-forwards wrap
Signed-off-by: Jyn <[email protected]>
(cherry picked from commit
97d6b5c5ee65a3e9ee7c9841b67dfdec0a3a296a)
Jyn [Mon, 14 Apr 2025 07:43:13 +0000 (14:43 +0700)]
luci-theme-openwrt-2020: zone-forwards wrap
Signed-off-by: Jyn <[email protected]>
(cherry picked from commit
d23bbd896b1d4207c928b98a8facc90b9d2d508a)
Jyn [Mon, 14 Apr 2025 07:41:59 +0000 (14:41 +0700)]
luci-theme-material: zone-forwards wrap
Signed-off-by: Jyn <[email protected]>
(cherry picked from commit
50677f9de558f0587166d22836dbf4a36a860050)
Jyn [Mon, 14 Apr 2025 07:40:40 +0000 (14:40 +0700)]
luci-theme-bootstrap: zone-forwards wrap
Signed-off-by: Jyn <[email protected]>
(cherry picked from commit
8f61f1616a4d34f2e17728c229f922f2d60d614c)
Oleg S [Mon, 14 Apr 2025 13:08:45 +0000 (16:08 +0300)]
luci-base: package update based cache-busting string
Problem:
After updating the JS-part of any package, the user is forced to clear
the browser cache.
Fix:
Each time a package is removed or installed, the contents of the
"/lib/apk/db/installed" file are changed.
This fix add the modification time of the "/lib/apk/db/installed" file
to the version of the main LuCI package (for each js-file).
Signed-off-by: Oleg S <[email protected]>
(cherry picked from commit
f6f82b52eb72726abc7732d21e54aa43dd8b5058)
this-username-has-been-taken [Sun, 13 Apr 2025 13:38:46 +0000 (16:38 +0300)]
luci-proto-wireguard: fixed incorrect peer name detection
Added the legacy peer name detection algorithm. If the new algorithm
fails to find a peer's name (e.g. when the IP address has been changed)
then the legacy value will be used.
Signed-off-by: Tom Haley <[email protected]>
(cherry picked from commit
8bff54dc47057e36c0ceb263efe4c82580003924)
Dirk Brenken [Fri, 11 Apr 2025 20:06:20 +0000 (22:06 +0200)]
luci-app-banip: sync with release 1.5.6-1
* small fixes & improvements
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
5ca9b36a3871e8e64fed4842b3342ee74f57b76a)
Paul Donald [Mon, 7 Apr 2025 18:16:04 +0000 (20:16 +0200)]
luci-app-ttyd: enable includeips for interface selection
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
9acbd00155245f2a5d00f1e0560c32d226ea69a7)
Paul Donald [Mon, 7 Apr 2025 18:15:28 +0000 (20:15 +0200)]
luci-base: CBIDeviceSelect includes each device IP when includeips=true
For use when daemons whose interface config paradigm accept IP also.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
5be4cd129ca1da95118cf5069b6d7a83f26fc28e)
Paul Donald [Sat, 5 Apr 2025 14:04:37 +0000 (16:04 +0200)]
luci-mod-network: wireless: add LDPC capability flags (X-Box compat)
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
65a80284cfc4cbef4d6d2dbc85423fef561ac0ea)
Paul Donald [Tue, 1 Apr 2025 12:28:03 +0000 (14:28 +0200)]
luci-mod-network: fix handleAdd in wireless.js
handleAdd did not work correctly for a while: some state was not cleaned
up (try: wireless -> add -> no changes -> click dismiss -> press save).
The state is now properly removed when pressing dismiss, by stashing
addedSection correctly under the map m and not in this.
Also requires a null check in render_modal_status.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
6c061b644c1380b841542f44179195756cc5a645)
Paul Donald [Tue, 1 Apr 2025 14:43:05 +0000 (16:43 +0200)]
luci-mod-network: give wireless.js ES2016 treatment and refactor
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
cdce600aaec66f762f18d608c74cbf3abcafe1c7)
luci-mod-network: give wireless.js ES2016 treatment and refactor
Follow-up fix for
cdce600aaec66f762f18d608c74cbf3abcafe1c7 when certain
elements are empty.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
27ebe8b6620070585d6f752c62d1ad577ba8e0ff)
luci-mod-network: give wireless.js ES2016 treatment and refactor
typo
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
0d610e7466b0d886bd9fd7b9495b8b2b65d7b15b)
Tobias Waldvogel [Sun, 5 Jan 2025 17:14:06 +0000 (18:14 +0100)]
luci: show wifi vlan in the associated wireless stations list
This patch adds a badge to the associated wireless stations with the vlan id
and name. It is displayed in the same color as the network, to which it is
bridged, so the color corresponds to the color in the network configuration
page.
Signed-off-by: Tobias Waldvogel <[email protected]>
(cherry picked from commit
29fe3f5fdad6bc7c72799adff22847a6e257f7c0)
Stefan Kleeschulte [Fri, 17 Jan 2025 12:42:34 +0000 (13:42 +0100)]
luci-mod-status: consider family when rendering chains and rules
There can be multiple tables with the same name but different family
attribute (inet, ip, ip6, ...). The same goes for chains. So the family
attribute needs to be considered when rendering chains and rules.
Signed-off-by: Stefan Kleeschulte <[email protected]>
(cherry picked from commit
e79e7022e50bd1782a528f8c8ddd16f340fbce35)
Paul Donald [Tue, 1 Apr 2025 16:12:39 +0000 (18:12 +0200)]
luci-app-lldpd: custom TLV handling
Depends on https://github.com/openwrt/openwrt/pull/14872
Custom TLV have been possible in lldpd; now the machinery is in openwrt
to use them. Extend GUI to enable their handling.
TLV apply either globally or to specific interfaces. The parsing of TLV
strings mirrors that of lldpd. For details see lldpd man page.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
279720fef7a540d52fa2b138aeef14ba3a4d5dee)
Khachatryan Karen [Fri, 4 Apr 2025 15:10:10 +0000 (18:10 +0300)]
luci-app-antiblock: Gateway selection bug fixed
1) Changed from "widgets.NetworkSelect" to "widgets.DeviceSelect"
Signed-off-by: Khachatryan Karen <[email protected]>
(cherry picked from commit
e6556e97fb7aa3dded50269a1f11e165cedf302b)
Khachatryan Karen [Fri, 21 Mar 2025 11:29:32 +0000 (14:29 +0300)]
luci-app-antiblock: Update luci-app-antiblock package
1) Added the ability to route different domains through different gateways, up to 32 routes.
2) The program has been switched from proxying mode to sniffer mode.
3) Blacklist has been added so that the specified subnets are not added to the routing table.
4) Added the logs and statistics tabs
5) The "output" option has been removed, it is now /tmp/antiblock
6) Bash backend removed, now only JS.
Signed-off-by: Khachatryan Karen <[email protected]>
(cherry picked from commit
601a69f2fef450db779b0c74667939202ff39362)
Paul Donald [Mon, 31 Mar 2025 19:41:11 +0000 (21:41 +0200)]
luci-app-firewall: repair handleAdd for rules.js
handleAdd did not work correctly for a while: the defaults were not
propagated, and some state was not cleaned up (try:
firewall rules -> add -> no changes -> click dismiss -> press save).
The state is now properly removed when pressing dismiss, by stashing
addedSection correctly under the map m and not in this.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
d356e30ac13cc1648045d8a0bcb5dd92630778f4)
Hannu Nyman [Sat, 29 Mar 2025 06:55:53 +0000 (08:55 +0200)]
treewide: Backport translations from master
Backport translations from master.
Sync.
Signed-off-by: Hannu Nyman <[email protected]>
Dirk Brenken [Fri, 28 Mar 2025 07:00:58 +0000 (08:00 +0100)]
luci-app-banIP: sync with release 1.5.5-1
* added a geoIP Map to show home IPs and potential attacker IPs on a leafletjs based map, see readme for details
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit
328282d3eefaa10131b083822e22918718efab90)
Hannu Nyman [Thu, 27 Mar 2025 19:02:14 +0000 (21:02 +0200)]
luci-base: update timezone data to 2025b
Update timezone data to 2025b.
https://lists.iana.org/hyperkitty/list/
[email protected]/thread/6JVHNHLB6I2WAYTQ75L6KEPEQHFXAJK3/
* New zone for Aysén Region in Chile which moves from -04/-03 to -03.
Also:
* Europe/Dublin corrected syntax
* Morocco string format change
Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit
05c7844389e36385aa64549a3cc449b9d1a552e7)
Paul Donald [Wed, 26 Mar 2025 21:40:01 +0000 (22:40 +0100)]
luci-proto-wireguard: add extra checks for hostname when building qr
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
4207c2c5d51470fd273441f92b0a2c104441454c)
Eric Fahlgren [Wed, 19 Mar 2025 21:15:04 +0000 (14:15 -0700)]
luci-app-attendedsysupgrade: add more robust handling of downloads
Check various aspects of the overview and revision downloads from
the sysupgrade site, giving the user better error messages when
things go wrong.
Partially addresses issue #7687 with respect to diagnosis, but not
root cause.
Signed-off-by: Eric Fahlgren <[email protected]>
(cherry picked from commit
51a8f8cd229cb95deb607422a43d570d2d90980e)
Paul Donald [Thu, 20 Mar 2025 16:20:08 +0000 (17:20 +0100)]
luci-base: ui: fix path handling in UIFileUpload
Browsing the root path was problematic and the breadcrumb links behaved
inconsistently, requiring a page reload to recover.
canonicalizePath(), splitPath() and renderListing() now handle any path
location properly, including root: '/', and clicks at any breadcrumb
correctly navigate.
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
5e39cf04c41e5a656e612aa36f75ce47211defee)
Florian Eckert [Wed, 19 Mar 2025 09:20:25 +0000 (10:20 +0100)]
luci-app-keepalived: do not restart keepalived on user notification change
The content of the file is executed at the next event, so it is not necessary
to reload keepalived if the user notification has changed.
Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit
af1064e927ed5b3b1bacea008495f814b9bd064c)
Florian Eckert [Wed, 19 Mar 2025 12:00:24 +0000 (13:00 +0100)]
luci-app-xinetd: do not show description on table overview
Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit
da878da40916cf5455525ffd52b0979623f247a0)
Florian Eckert [Wed, 19 Mar 2025 11:50:29 +0000 (12:50 +0100)]
luci-app-xinetd: make the server configuration option mandatory
Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit
790302ce856c1bf77d9e4e2d782a147fb48e1c7a)
Stan Grishin [Thu, 20 Mar 2025 01:42:39 +0000 (18:42 -0700)]
Merge pull request #7669 from stangri/openwrt-24.10-luci-app-advanced-reboot
[24.10] luci-app-advanced-reboot: update to 1.0.1-21
Stan Grishin [Mon, 17 Mar 2025 21:10:43 +0000 (14:10 -0700)]
Merge pull request #7684 from stangri/openwrt-24.10-luci-app-https-dns-proxy
[24.10] luci-app-https-dns-proxy: Update: ffmuc bootstrap_dns servers
Tobias [Mon, 10 Mar 2025 12:24:09 +0000 (13:24 +0100)]
luci-app-https-dns-proxy: Update: ffmuc bootstrap_dns servers
this updates the ffmuc bootstrap_dns to ffmuc dns servers instead of google or cloudflare dns
Signed-off-by: Tobias <[email protected]>
(cherry picked from commit
29187d4e2b3e184c9b0bd6baf343ec3d2a3b384d)
Aleksander Jan Bajkowski [Sat, 15 Mar 2025 16:29:02 +0000 (17:29 +0100)]
luci-mod-status: channel_analysis: fix 6 GHz support
This commit fixes wrong channel width in the 6 GHz band. Now all APs
don't show a 20 MHz channel width.
Tested on ZyXEL EX5601 with MT7921 USB adapter.
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
(cherry picked from commit
62c401ca24fe53d85fdbb7148f7ba14cc4ab4ca1)
Paul Donald [Thu, 13 Mar 2025 22:05:45 +0000 (23:05 +0100)]
luci-app-filemanager: amend pop() and add popTimeout()
popTimeout() utilizes addTimeLimitedNotification()
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
b0dc1e3913c5aeb6c78ae224a039819a1cd8c07f)