Skip to content

Commit d2cae1b

Browse files
committed
chore: delete ConnersHua rules
1 parent 50ef8b8 commit d2cae1b

19 files changed

+51
-8168
lines changed

luci-app-openclash/luasrc/model/cbi/openclash/config-overwrite.lua

-4
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,6 @@ o = ss:option(DummyValue, "rule_name", translate("Other Rules Name"))
572572
function o.cfgvalue(...)
573573
if Value.cfgvalue(...) == "lhie1" then
574574
return translate("lhie1 Rules")
575-
elseif Value.cfgvalue(...) == "ConnersHua" then
576-
return translate("ConnersHua(Provider-type) Rules")
577-
elseif Value.cfgvalue(...) == "ConnersHua_return" then
578-
return translate("ConnersHua Return Rules")
579575
else
580576
return translate("None")
581577
end

luci-app-openclash/luasrc/model/cbi/openclash/other-rules-edit.lua

-9
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,9 @@ if groupnames ~= nil and filename ~= nil then
7272
o = s:option(ListValue, "rule_name", translate("Other Rules Name"))
7373
o.rmempty = true
7474
o:value("lhie1", translate("lhie1 Rules"))
75-
o:value("ConnersHua", translate("ConnersHua(Provider-type) Rules"))
76-
o:value("ConnersHua_return", translate("ConnersHua Return Rules"))
7775

7876
o = s:option(ListValue, "GlobalTV", translate("GlobalTV"))
7977
o:depends("rule_name", "lhie1")
80-
o:depends("rule_name", "ConnersHua")
8178
o.rmempty = true
8279
for groupname in string.gmatch(groupnames, "([^'##\n']+)##") do
8380
if groupname ~= nil and groupname ~= "" then
@@ -89,7 +86,6 @@ o:value("REJECT")
8986

9087
o = s:option(ListValue, "AsianTV", translate("AsianTV"))
9188
o:depends("rule_name", "lhie1")
92-
o:depends("rule_name", "ConnersHua")
9389
o.rmempty = true
9490
for groupname in string.gmatch(groupnames, "([^'##\n']+)##") do
9591
if groupname ~= nil and groupname ~= "" then
@@ -101,8 +97,6 @@ o:value("REJECT")
10197

10298
o = s:option(ListValue, "Proxy", translate("Proxy"))
10399
o:depends("rule_name", "lhie1")
104-
o:depends("rule_name", "ConnersHua")
105-
o:depends("rule_name", "ConnersHua_return")
106100
o.rmempty = true
107101
for groupname in string.gmatch(groupnames, "([^'##\n']+)##") do
108102
if groupname ~= nil and groupname ~= "" then
@@ -389,7 +383,6 @@ o:value("REJECT")
389383

390384
o = s:option(ListValue, "Domestic", translate("Domestic"))
391385
o:depends("rule_name", "lhie1")
392-
o:depends("rule_name", "ConnersHua")
393386
o.rmempty = true
394387
for groupname in string.gmatch(groupnames, "([^'##\n']+)##") do
395388
if groupname ~= nil and groupname ~= "" then
@@ -401,8 +394,6 @@ o:value("REJECT")
401394

402395
o = s:option(ListValue, "Others", translate("Others"))
403396
o:depends("rule_name", "lhie1")
404-
o:depends("rule_name", "ConnersHua")
405-
o:depends("rule_name", "ConnersHua_return")
406397
o.rmempty = true
407398
o.description = translate("Choose Proxy Groups, Base On Your Config File").." ( "..font_green..bold_on..filename..bold_off..font_off.." )"
408399
for groupname in string.gmatch(groupnames, "([^'##\n']+)##") do

luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-manage.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ local fs = require "luci.openclash"
1010
local uci = require "luci.model.uci".cursor()
1111

1212
m = SimpleForm("openclash", translate("Other Rule Providers List"))
13-
m.description=translate("Rule Project:").." ConnersHua ( https://github.com/DivineEngine/Profiles )<br/>"..
14-
translate("Rule Project:").." lhie1 ( https://github.com/dler-io/Rules )<br/>"..
13+
m.description=translate("Rule Project:").." lhie1 ( https://github.com/dler-io/Rules )<br/>"..
1514
translate("Rule Project:").." ACL4SSR ( https://github.com/ACL4SSR/ACL4SSR/tree/master )"
1615
m.reset = false
1716
m.submit = false

luci-app-openclash/root/etc/openclash/rule_provider/Anti_IP

-130
This file was deleted.

luci-app-openclash/root/etc/openclash/rule_provider/ChatGPT

-3
This file was deleted.

0 commit comments

Comments
 (0)