luci-app-passwall: sync upstream

last commit: 887346777f
This commit is contained in:
gitea-action 2025-01-11 13:00:24 +08:00
parent 94b0b1423e
commit 1990f5d33b
2 changed files with 10 additions and 0 deletions

View File

@ -49,6 +49,12 @@ m = Map(appname)
s = m:section(TypedSection, "global_subscribe", "")
s.anonymous = true
function m.commit_handler(self)
self.uci:foreach(appname, "subscribe_list", function(e)
self:del(e[".name"], "md5")
end)
end
o = s:option(ListValue, "filter_keyword_mode", translate("Filter keyword Mode"))
o:value("0", translate("Close"))
o:value("1", translate("Discard List"))

View File

@ -50,6 +50,10 @@ s = m:section(NamedSection, arg[1])
s.addremove = false
s.dynamic = false
function m.commit_handler(self)
self:del(arg[1], "md5")
end
o = s:option(Value, "remark", translate("Subscribe Remark"))
o.rmempty = false