Commit Graph

19151 Commits

Author SHA1 Message Date
Andy Chiang 6f849a7ffa luci-app-ddns: fix syntax error
fix syntax error

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-05-28 20:30:40 +03:00
Eric Fahlgren 3fe51f362d luci-app-attendedsysupgrade: filemode should be octal
Fix decimal "600" file mode that should have octal prefix.

Link: #8650
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2026-05-28 16:00:35 +03:00
Jo-Philipp Wich a31eccfa14 luci-base: extend String.format() with named placeholder support
Support for %{key} and %{key:fmt} named placeholders in String.format().
The key is looked up in any plain-object argument passed to format(); the
argument list is scanned left-to-right and the first object containing the
key wins, allowing mixing of positional and named substitutions, e.g.:

  '%s test %{foo:s}'.format('blah', {bar: true}, {foo: 123})
     => 'blah test 123'

Ref: https://github.com/openwrt/luci/issues/8603#issuecomment-4554956879

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 09:01:19 +02:00
Paul Donald f699752316 luci-base: correctness fixes: partial revert
This reverts problematic parts of commit
a818ac89bb.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-28 01:32:16 +03:00
Paul Donald 6a86077789 github: relax commit body restrictions
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 18:49:12 +03:00
Paul Donald 98fefa8b5b luci-mod-network: convert tag strings i18n
follow-up to 8553ba3f6e

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 16:40:44 +03:00
Paul Donald 8553ba3f6e luci-mod-network: convert tag strings i18n
settags

closes #8603

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 16:25:08 +03:00
Paul Donald ad487f931f luci-mod-network: convert tag strings i18n
matchtags

closes #8603

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 16:25:02 +03:00
Paul Donald 314307ed2d luci-mod-dsl: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
Paul Donald 4a1a6bdf82 luci-app-vnstat2: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-27 15:49:47 +03:00
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