update 2026-09-20 10:58:36
No files matched your search
|
Before Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 319 KiB |
|
Before Width: | Height: | Size: 389 KiB |
|
After Width: | Height: | Size: 640 KiB |
|
After Width: | Height: | Size: 550 KiB |
|
After Width: | Height: | Size: 547 KiB |
|
After Width: | Height: | Size: 659 KiB |
|
After Width: | Height: | Size: 650 KiB |
@@ -9,9 +9,9 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://gn.googlesource.com/gn.git
|
||||
PKG_SOURCE_DATE:=2026-09-11
|
||||
PKG_SOURCE_VERSION:=cfcd774b98f3433e18b722f9a7ff06119825b8eb
|
||||
PKG_MIRROR_HASH:=d8bea9ac89f9e87f36874601588f0d8d32221bf1ad8488f2fd9775abcddf4860
|
||||
PKG_SOURCE_DATE:=2026-09-17
|
||||
PKG_SOURCE_VERSION:=127dd2a6d582528d6d61c4d838dc17385ef31abd
|
||||
PKG_MIRROR_HASH:=932ef98a571d8bef6b26aca792154d989863a5746e4ceded2d37c9190793d1a0
|
||||
|
||||
PKG_LICENSE:=BSD 3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef OUT_LAST_COMMIT_POSITION_H_
|
||||
#define OUT_LAST_COMMIT_POSITION_H_
|
||||
|
||||
#define LAST_COMMIT_POSITION_NUM 2563
|
||||
#define LAST_COMMIT_POSITION "2563 (cfcd774b98f3)"
|
||||
#define LAST_COMMIT_POSITION_NUM 2575
|
||||
#define LAST_COMMIT_POSITION "2575 (127dd2a6d582)"
|
||||
|
||||
#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
|
||||
o:value(v[".name"], v.username)
|
||||
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 = "socks" })
|
||||
o:depends({ protocol = "http" })
|
||||
|
||||
@@ -76,21 +76,6 @@ o = s:option(DynamicList, "users", translate("User"))
|
||||
for i, v in ipairs(user_list) do
|
||||
o:value(v[".name"], v.username)
|
||||
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 = "socks" })
|
||||
o:depends({ protocol = "shadowsocks" })
|
||||
|
||||
@@ -50,21 +50,6 @@ for i, v in ipairs(user_list) do
|
||||
o:value(v[".name"], v.username)
|
||||
end
|
||||
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.default = "0"
|
||||
|
||||
@@ -3,13 +3,6 @@ local map = self.map
|
||||
local api = map.api
|
||||
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">
|
||||
//<![CDATA[
|
||||
function server_update_config(cfgid, data, redirect_url) {
|
||||
|
||||
@@ -1640,9 +1640,6 @@ msgstr "用户管理"
|
||||
msgid "User Config"
|
||||
msgstr "用户配置"
|
||||
|
||||
msgid "Please configure user info on the User Management page."
|
||||
msgstr "请在用户管理页设置用户信息。"
|
||||
|
||||
msgid "Logs"
|
||||
msgstr "日志"
|
||||
|
||||
|
||||
@@ -15,6 +15,17 @@ add_wizard() {
|
||||
local device ipv6 old_ipv6 wifi_ssid wifi_key old_wifi_ssid old_wifi_key
|
||||
|
||||
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)
|
||||
case "${wan_proto}" in
|
||||
@@ -63,18 +74,6 @@ add_wizard() {
|
||||
uci -q set wizard.default.old_network_device="$WAN"
|
||||
;;
|
||||
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" ] && {
|
||||
[ "$(uci -q get dhcp.@dnsmasq[0].noresolv)" == 1 ] && {
|
||||
|
||||