Commit Graph

19141 Commits

Author SHA1 Message Date
Paul Donald 91e7fa8465 luci-app-radicale3: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald 3c872414bb luci-theme-material: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald b5e99ae0b4 luci-proto-yggdrasil: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald 27ab16d89c luci-proto-wireguard: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald 04063aed3a luci-proto-vxlan: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald 1c26902888 luci-proto-openfortivpn: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald a4166b1e88 luci-app-frpc: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald 64c74b06c6 luci-app-mwan3: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald 7e0faa81d2 luci-app-wol: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald e581262ba8 luci-app-lldpd: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald ef94e6827f luci-proto-openconnect: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald f4b13f51ef luci-proto-modemmanager: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald bd19e6b868 luci-proto-mbim: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald c3b03826fa luci-mod-system: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald 0b9e8b4f52 luci-mod-status: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald 2708c78089 luci-mod-network: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald d070b1db61 luci-mod-dashboard: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:46 +03:00
Paul Donald a90676336d luci-app-statistics: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 0b93761a38 luci-app-olsr: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 177cf48dca luci-app-filemanager: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 8c67784564 luci-app-ddns: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 1e9736e090 luci-mod-battstatus: interpolate
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald d908890ed7 luci-app-keepalived: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald ca2a549bce luci-app-eoip: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 958ef1439f luci-app-email: remove dupe code
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 79e8d8b5b6 luci-app-unbound: correctness fixes
follow-up to 5780be0beb

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 46587bb1e8 luci-proto-batman-adv: corrected function name
follow-up to d81b7fa81d

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald 395a7a8b96 luci-app-snmpd: code fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:45 +03:00
Paul Donald a818ac89bb luci-base: correctness fixes
validation:

use correct argument position for apply

network:

spec.need_tag -> port.need_tag agrees with old lua compat

widgets:

rv.length is undefined, use firstChild

form:

Follow-up to 315dbfc749
checkDepends recursion fix and implement cache lookup

uci:

improve timeout and Promise handling

ui:

follow-up to 92381c3ca2
renderListing sort: put directories first
getActiveTabId: check isNaN for tab state
getScrollParent: fix evaluation logic
fadeOutNotification: implement immediate timeout
openDropdown: accelerate draw via getBoundingClientRect

form:
ensure FlagValue parse always resolves

fs:
parse all 'expect' keys in RpcReply

luci:

Use the same source of truth in both the check and the dispatch
for flushRequestQueue

string check for dom string additions

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:44 +03:00
Paul Donald 4a63b98525 luci-app-dockerman: correctness fixes
follow-up to baa0f16bb3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:44 +03:00
Paul Donald adf5f6d492 luci-proto-ipv6: 6to4 fix
This hasn't knowingly caused problems before now, an indicator
that it goes lesser or unused hitherto.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:44 +03:00
Paul Donald 014c74ce88 luci-proto-xfrm: ensure stub function getDevices() returns null
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:44 +03:00
Paul Donald a78dc22451 luci-proto-openvpn: remove duplicate entries
harmless

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:44 +03:00
tokisaki galaxy b1a20c42bd luci-app-tailscale: add switch DNSmode, fw set
add switch DNSMode
add fw now donot duplicate
fw remove WAN-> TAILSCALE FORWARD CHAIN

Signed-off-by: tokisaki galaxy <moebest@outlook.jp>
2026-05-27 15:29:01 +03:00
Paul Donald f964bbed0f github: relax commit subject restrictions
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 14:39:37 +03:00
Andy Chiang 7de5152faf luci-app-firewall: keep values in config file
add `rmempty` to keep values in config file

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-27 14:32:38 +03:00
Andy Chiang 0df858d63c luci-mod-network: keep steering_flows in config file
remove `o.default` to keep steering_flows in config file

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-27 14:32:38 +03:00
Andy Chiang b004197a27 luci-app-ddns: add rmempty for interface
ddns-scripts's hotplug script need "interface" value, so keep it in ddns config file

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-27 14:32:38 +03:00
Andy Chiang c1a2e28f9d luci-mod-network: dhcpv4 option uses '' instead of "disabled"
"disabled" is the default dhcpv4 option in odhcpd.
Which has the same effect as not defining it.
Using '' will prevent unnecessary parameters from being written to the flash.

Link https://github.com/openwrt/odhcpd/blob/master/README.md

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-27 14:32:38 +03:00
Andy Chiang bfcfec76ae Revert "luci-mod-network: ra_preference option uses '' instead of "medium""
This reverts commit 6bcdc18d65.

Since the bug where a write operation is executed when the input
matches the default has been fixed in form.js, this workaround
is no longer needed and is being reverted.

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-27 14:32:38 +03:00
Andy Chiang 974b5864e0 luci-base: fix uci write bug when input value equals default
Avoid executing unnecessary write operations to flash/UCI when the
user's form selection or input exactly matches the component's
`default` configuration.

Previously, if a field had a valid value identical to its default,
it would bypass the empty check and trigger a `write()` call, leading
to configuration bloating. This change ensures that such values are
correctly intercepted and handled via `this.remove()` to keep the
underlying configuration file clean and precise.

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-27 14:32:38 +03:00
Shannon Barber 54338546bc luci-theme-material: add dark mode support
Add dark mode following the luci-theme-bootstrap pattern: auto-detect
via prefers-color-scheme, with forced MaterialDark/MaterialLight
variants. Replace ~60 hardcoded colors in cascade.css with CSS
variables and override them in a :root[data-darkmode="true"] block.

Signed-off-by: Shannon Barber <sgbarber@gmail.com>
2026-05-27 14:29:01 +03:00
Dirk Brenken fdc8eb01d0 luci-app-lxc: fix authenticated path traversal and ACL bypass (host root)
* ucode fixes:
  - tighten `is_valid_lxc_name` regex to `^[A-Za-z0-9_][A-Za-z0-9_-]{0,63}$`
  - apply the validator in `lxc_configuration_get` and `lxc_configuration_set` before any filesystem access
  - reject the `'lxc error: …'` sentinel string returned by `lxc_get_config_path()` on failure,
    rather than concatenating it into a path.
  - shellquote `LXC_URL` in `lxc_get_downloadable` and `lxc_create`
* ACL fix: add `depends.acl = ["luci-app-lxc"]` to each of the five backend entries,
   so the routes share the same authorization gate as the view

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-05-27 14:21:12 +03:00
Bruxism 63ed3e6388 luci-app-attendedsysupgrade: rewrite README.md
README.md rewritten for improvements to spelling, grammar, and clarity.

Signed-off-by: Bruxism <Bruxiandee@gmail.com>
2026-05-27 14:01:28 +03:00
Paul Donald f199b4f912 luci-mod-system: improve handling of absent plugins
add cleanup functionality; remove orphaned config for absent plugins
render placeholder title when plugin is absent

follow-up to 617f364333

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 13:41:14 +03:00
Dirk Brenken 5f6b5f97f4 luci-app-adblock: update 4.5.5-6
* sync with base package

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-05-26 17:20:55 +02:00
Christian Korber cfc2c47b75 luci-base: remove unnecessary constraint
This constraint didn't interfere with the clone bug(#8613) and is
therefore removed.

Signed-off-by: Christian Korber <ckorber@tdt.de>
2026-05-26 11:42:29 +03:00
Xing-Kai Wang f6bbde5f8a luci-proto-openfortivpn: add realm parameter support
Add a 'realm' field in the advanced tab so users can easily pass this
parameter to the underlying netifd handler.

Signed-off-by: Xing-Kai Wang <my@xkwang.org>
2026-05-25 11:52:27 +03:00
Mario Andrés Pérez 3a3a3196aa luci-app-package-manager: handle versioned provides from apk query
'apk query --format json...' outputs the complete provides fields
including the version.
    ...
    "provides": [
      "firewall4-any",
      "uci-firewall=2025.03.17~b6e51575-r2"
    ],
    ...
Versus the previous 'apk info --full'
    ...
    Package: firewall4
    Version: 2025.03.17~b6e51575-r2
    Depends: kmod-nft-core, kmod-nft-fib, kmod-nft-nat, kmod-nft-offload, libc, nftables-json, ucode, ucode-mod-fs, ucode-mod-ubus, ucode-mod-uci
    Provides: firewall4-any, uci-firewall
    ...

Strip the '=<version>' suffix before gathering the providers chain.
This was causing some incorrent dependecy issues (ie. uci-firewall not
detected as satisfied) in the luci package-manager app.

Fixes: https://github.com/openwrt/luci/issues/8563
Fixes: https://github.com/openwrt/luci/issues/8581
Fixes: https://github.com/openwrt/openwrt/issues/23004
Fixes: https://github.com/openwrt/openwrt/issues/23136
Fixes: 1624418f64 ("package-manager: migrate to apk-tools JSON API")
Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com>
2026-05-25 11:48:47 +03:00
Christian Korber 0c98cce386 luci-app-firewall: keep enabled on cloning
In order to keep option enabled o.rmempty is set to false.

Signed-off-by: Christian Korber <ckorber@tdt.de>
2026-05-25 11:35:28 +03:00