diff --git a/luci-app-nekobox/htdocs/nekobox/filekit.php b/luci-app-nekobox/htdocs/nekobox/filekit.php index ecce0590c..1c4902a4c 100644 --- a/luci-app-nekobox/htdocs/nekobox/filekit.php +++ b/luci-app-nekobox/htdocs/nekobox/filekit.php @@ -349,18 +349,15 @@ function searchFiles($dir, $term) {
diff --git a/luci-app-passwall/luasrc/controller/passwall.lua b/luci-app-passwall/luasrc/controller/passwall.lua
index f4c6393a8..2d62b8dcb 100644
--- a/luci-app-passwall/luasrc/controller/passwall.lua
+++ b/luci-app-passwall/luasrc/controller/passwall.lua
@@ -496,6 +496,27 @@ function delete_select_nodes()
uci:delete(appname, t[".name"], "to_node")
uci:delete(appname, t[".name"], "chain_proxy")
end
+ local list_name = t["urltest_node"] and "urltest_node" or (t["balancing_node"] and "balancing_node")
+ if list_name then
+ local nodes = uci:get_list(appname, t[".name"], list_name)
+ if nodes then
+ local changed = false
+ local new_nodes = {}
+ for _, node in ipairs(nodes) do
+ if node ~= w then
+ table.insert(new_nodes, node)
+ else
+ changed = true
+ end
+ end
+ if changed then
+ uci:set_list(appname, t[".name"], list_name, new_nodes)
+ end
+ end
+ end
+ if t["fallback_node"] == w then
+ uci:delete(appname, t[".name"], "fallback_node")
+ end
end)
if (uci:get(appname, w, "add_mode") or "0") == "2" then
local add_from = uci:get(appname, w, "add_from") or ""
diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_list.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_list.lua
index 0cd8ad95d..c1e6440c5 100644
--- a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_list.lua
+++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_list.lua
@@ -61,6 +61,37 @@ function s.remove(e, t)
m:set(s[".name"], "udp_node", "default")
end
end)
+ m.uci:foreach(appname, "nodes", function(s)
+ if s["preproxy_node"] == t then
+ m:del(s[".name"], "preproxy_node")
+ m:del(s[".name"], "chain_proxy")
+ end
+ if s["to_node"] == t then
+ m:del(s[".name"], "to_node")
+ m:del(s[".name"], "chain_proxy")
+ end
+ local list_name = s["urltest_node"] and "urltest_node" or (s["balancing_node"] and "balancing_node")
+ if list_name then
+ local nodes = m.uci:get_list(appname, s[".name"], list_name)
+ if nodes then
+ local changed = false
+ local new_nodes = {}
+ for _, node in ipairs(nodes) do
+ if node ~= t then
+ table.insert(new_nodes, node)
+ else
+ changed = true
+ end
+ end
+ if changed then
+ m.uci:set_list(appname, s[".name"], list_name, new_nodes)
+ end
+ end
+ end
+ if s["fallback_node"] == t then
+ m:del(s[".name"], "fallback_node")
+ end
+ end)
if (m:get(t, "add_mode") or "0") == "2" then
local add_from = m:get(t, "add_from") or ""
if add_from ~= "" then
diff --git a/xray-core/Makefile b/xray-core/Makefile
index 4d9dc20c3..eefd1d264 100644
--- a/xray-core/Makefile
+++ b/xray-core/Makefile
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=xray-core
-PKG_VERSION:=25.7.26
+PKG_VERSION:=25.8.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=99f9bc67fd22a6e4fde277a4ba05fd873146154851aeebb6b4f406a59d3b0bc3
+PKG_HASH:=a7d3785fdd46f1b045b1ef49a2a06e595c327f514b5ee8cd2ae7895813970b2c
PKG_MAINTAINER:=Tianling Shen