💋 Sync 2026-07-17 20:28:39

This commit is contained in:
github-actions[bot] 2026-07-17 20:28:40 +08:00
parent 61d3d99397
commit c9f61fb0cc
8 changed files with 29 additions and 37 deletions

View File

@ -5,10 +5,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dae
PKG_VERSION:=2026.07.08
PKG_RELEASE:=17
PKG_VERSION:=2026.07.17
PKG_RELEASE:=18
PKG_SOURCE:=dae-src-2026.07.08-1363b1a83f0b.tar.gz
PKG_SOURCE:=dae-src-2026.07.17-a6c87279b3bf.tar.gz
PKG_SOURCE_URL:=https://github.com/kenzok8/openwrt-daede/releases/download/dae-src
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_HASH:=skip

View File

@ -5,10 +5,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=daed
PKG_VERSION:=2026.07.08
PKG_RELEASE:=23
PKG_VERSION:=2026.07.17
PKG_RELEASE:=24
PKG_SOURCE:=daed-src-2026.07.08-68c0e0ce3077.tar.gz
PKG_SOURCE:=daed-src-2026.07.17-1e3ce69d866f.tar.gz
PKG_SOURCE_URL:=https://github.com/kenzok8/openwrt-daede/releases/download/daed-src
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_HASH:=skip

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall
PKG_VERSION:=26.7.16
PKG_RELEASE:=181
PKG_RELEASE:=182
PKG_PO_VERSION:=$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \

View File

@ -9,6 +9,8 @@ local gfwlist_path = "/usr/share/passwall/rules/gfwlist"
local chnlist_path = "/usr/share/passwall/rules/chnlist"
local chnroute_path = "/usr/share/passwall/rules/chnroute"
api.set_default_cbi()
m = Map(appname)
api.set_apply_on_parse(m)
@ -335,4 +337,4 @@ m.on_before_save = function(self)
m:set("@global[0]", "flush_set", "1")
end
return m
return api.return_map(m)

View File

@ -1541,9 +1541,6 @@ function set_apply_on_parse(map)
if old then old(self) end
map:set("@global[0]", "timestamp", os.time())
end
-- 优化页面
local cbi = require "luci.cbi"
map:append(cbi.Template(appname .. "/cbi/optimize_cbi_ui"))
end
end

View File

@ -1 +1,18 @@
<!-- map footer -->
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
setTimeout(updateElements, 200);
function updateElements() {
//删除value控件和描述之间多余换行
document.querySelectorAll("div.cbi-value-description").forEach(function(descDiv) {
var prev = descDiv.previousSibling;
while (prev && prev.nodeType === Node.TEXT_NODE && prev.textContent.trim() === "") {
prev = prev.previousSibling;
}
if (prev && prev.nodeType === Node.ELEMENT_NODE && prev.tagName === "BR") {
prev.remove();
}
});
}
});
</script>

View File

@ -1,24 +0,0 @@
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
setTimeout(updateElements, 200);
function updateElements() {
//修正上移、下移按钮名称
document.querySelectorAll("input.btn.cbi-button.cbi-button-up").forEach(function(btn) {
btn.value = "<%:Move up%>";
});
document.querySelectorAll("input.btn.cbi-button.cbi-button-down").forEach(function(btn) {
btn.value = "<%:Move down%>";
});
//删除控件和说明之间的多余换行
document.querySelectorAll("div.cbi-value-description").forEach(function(descDiv) {
var prev = descDiv.previousSibling;
while (prev && prev.nodeType === Node.TEXT_NODE && prev.textContent.trim() === "") {
prev = prev.previousSibling;
}
if (prev && prev.nodeType === Node.ELEMENT_NODE && prev.tagName === "BR") {
prev.remove();
}
});
}
});
</script>

View File

@ -8,12 +8,12 @@ PKG_NAME:=alwaysonline
PKG_UPSTREAM_VERSION:=1.2.1
PKG_UPSTREAM_GITHASH:=206292ca68e4d6c81b215163a7bbd0cd2eb36860
PKG_VERSION:=$(PKG_UPSTREAM_VERSION)~$(call version_abbrev,$(PKG_UPSTREAM_GITHASH))
PKG_RELEASE:=9
PKG_RELEASE:=10
UCI_VERSION:=0.2025.01.25
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/Jamesits/alwaysonline.git
PKG_SOURCE_VERSION:=e5f20a72c8cf6a9ce0c5901e84dff18e96df5812
PKG_SOURCE_VERSION:=50198a45c01e688c49bf2809709f5e817cf2560b
PKG_MIRROR_HASH:=skip
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_UPSTREAM_VERSION)