update 2026-09-20 10:58:36

This commit is contained in:
action committed 2026-09-20 10:58:36 +08:00
1 parent c143b3d5f5
commit 4dd6850a75
16 files changed
+16 -72

No files matched your search

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 550 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 547 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 659 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 650 KiB

+3 -3
View File
@@ -9,9 +9,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gn.googlesource.com/gn.git PKG_SOURCE_URL:=https://gn.googlesource.com/gn.git
PKG_SOURCE_DATE:=2026-09-11 PKG_SOURCE_DATE:=2026-09-17
PKG_SOURCE_VERSION:=cfcd774b98f3433e18b722f9a7ff06119825b8eb PKG_SOURCE_VERSION:=127dd2a6d582528d6d61c4d838dc17385ef31abd
PKG_MIRROR_HASH:=d8bea9ac89f9e87f36874601588f0d8d32221bf1ad8488f2fd9775abcddf4860 PKG_MIRROR_HASH:=932ef98a571d8bef6b26aca792154d989863a5746e4ceded2d37c9190793d1a0
PKG_LICENSE:=BSD 3-Clause PKG_LICENSE:=BSD 3-Clause
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
+2 -2
View File
@@ -3,7 +3,7 @@
#ifndef OUT_LAST_COMMIT_POSITION_H_ #ifndef OUT_LAST_COMMIT_POSITION_H_
#define OUT_LAST_COMMIT_POSITION_H_ #define OUT_LAST_COMMIT_POSITION_H_
#define LAST_COMMIT_POSITION_NUM 2563 #define LAST_COMMIT_POSITION_NUM 2575
#define LAST_COMMIT_POSITION "2563 (cfcd774b98f3)" #define LAST_COMMIT_POSITION "2575 (127dd2a6d582)"
#endif // OUT_LAST_COMMIT_POSITION_H_ #endif // OUT_LAST_COMMIT_POSITION_H_
@@ -83,21 +83,6 @@ o = s:option(DynamicList, "users", translate("User"))
for i, v in ipairs(user_list) do for i, v in ipairs(user_list) do
o:value(v[".name"], v.username) o:value(v[".name"], v.username)
end end
o.validate = function(self, value, t)
if type(value) == "string" then value = {value} end
if type(value) == "table" then
for _, u in ipairs(value) do
local found = false
for _, v in ipairs(user_list) do
if u == v[".name"] then found = true; break end
end
if not found then
return nil, translate("Please configure user info on the User Management page.")
end
end
end
return value
end
o:depends({ protocol = "mixed" }) o:depends({ protocol = "mixed" })
o:depends({ protocol = "socks" }) o:depends({ protocol = "socks" })
o:depends({ protocol = "http" }) o:depends({ protocol = "http" })
@@ -76,21 +76,6 @@ o = s:option(DynamicList, "users", translate("User"))
for i, v in ipairs(user_list) do for i, v in ipairs(user_list) do
o:value(v[".name"], v.username) o:value(v[".name"], v.username)
end end
o.validate = function(self, value, t)
if type(value) == "string" then value = {value} end
if type(value) == "table" then
for _, u in ipairs(value) do
local found = false
for _, v in ipairs(user_list) do
if u == v[".name"] then found = true; break end
end
if not found then
return nil, translate("Please configure user info on the User Management page.")
end
end
end
return value
end
o:depends({ protocol = "http" }) o:depends({ protocol = "http" })
o:depends({ protocol = "socks" }) o:depends({ protocol = "socks" })
o:depends({ protocol = "shadowsocks" }) o:depends({ protocol = "shadowsocks" })
@@ -50,21 +50,6 @@ for i, v in ipairs(user_list) do
o:value(v[".name"], v.username) o:value(v[".name"], v.username)
end end
o:depends({ custom = false }) o:depends({ custom = false })
o.validate = function(self, value, t)
if type(value) == "string" then value = {value} end
if type(value) == "table" then
for _, u in ipairs(value) do
local found = false
for _, v in ipairs(user_list) do
if u == v[".name"] then found = true; break end
end
if not found then
return nil, translate("Please configure user info on the User Management page.")
end
end
end
return value
end
o = s:option(Flag, "realms", translate("Realms")) o = s:option(Flag, "realms", translate("Realms"))
o.default = "0" o.default = "0"
@@ -3,13 +3,6 @@ local map = self.map
local api = map.api local api = map.api
local section = self.section local section = self.section
-%> -%>
<style>
[id*="_users"] .cbi-dropdown li[data-value="-"],
[id*="_users"] .cbi-dropdown input[type="text"],
[id*="_users"] .cbi-dropdown .preview li[data-value="-"] {
display: none !important;
}
</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
function server_update_config(cfgid, data, redirect_url) { function server_update_config(cfgid, data, redirect_url) {
-3
View File
@@ -1640,9 +1640,6 @@ msgstr "用户管理"
msgid "User Config" msgid "User Config"
msgstr "用户配置" msgstr "用户配置"
msgid "Please configure user info on the User Management page."
msgstr "请在用户管理页设置用户信息。"
msgid "Logs" msgid "Logs"
msgstr "日志" msgstr "日志"
+11 -12
View File
@@ -15,6 +15,17 @@ add_wizard() {
local device ipv6 old_ipv6 wifi_ssid wifi_key old_wifi_ssid old_wifi_key local device ipv6 old_ipv6 wifi_ssid wifi_key old_wifi_ssid old_wifi_key
config_get wan_proto "$cfg" wan_proto config_get wan_proto "$cfg" wan_proto
config_get lan_gateway "$cfg" lan_gateway
config_get dhcp "$cfg" dhcp
config_get lan_dns "$cfg" lan_dns
config_get ipv6 "$cfg" ipv6
config_get old_ipv6 "$cfg" old_ipv6
config_get lan_ipaddr "$cfg" lan_ipaddr
config_get autoupgrade_pkg "$cfg" autoupgrade_pkg
test -n "${lan_ipaddr}" && {
uci set network.lan.ipaddr="${lan_ipaddr}"
}
device=$(uci -q get network.wan.device || uci -q get wizard.default.old_network_device) device=$(uci -q get network.wan.device || uci -q get wizard.default.old_network_device)
case "${wan_proto}" in case "${wan_proto}" in
@@ -63,18 +74,6 @@ add_wizard() {
uci -q set wizard.default.old_network_device="$WAN" uci -q set wizard.default.old_network_device="$WAN"
;; ;;
esac esac
config_get lan_ipaddr "$cfg" lan_ipaddr
test -n "${lan_ipaddr}" && {
uci set network.lan.ipaddr="${lan_ipaddr}"
}
config_get lan_gateway "$cfg" lan_gateway
config_get dhcp "$cfg" dhcp
config_get lan_dns "$cfg" lan_dns
config_get ipv6 "$cfg" ipv6
config_get old_ipv6 "$cfg" old_ipv6
config_get autoupgrade_pkg "$cfg" autoupgrade_pkg
[ -n "$lan_dns" ] && { [ -n "$lan_dns" ] && {
[ "$(uci -q get dhcp.@dnsmasq[0].noresolv)" == 1 ] && { [ "$(uci -q get dhcp.@dnsmasq[0].noresolv)" == 1 ] && {