luci-app-homeproxy: sync upstream

last commit: 7d248b840f
This commit is contained in:
gitea-action 2024-11-21 15:30:19 +08:00
parent abf8bf3c68
commit 9f6444824e
3 changed files with 1108 additions and 985 deletions

View File

@ -480,10 +480,11 @@ return view.extend({
so = ss.taboption('field_other', form.MultiValue, 'protocol', _('Protocol'), so = ss.taboption('field_other', form.MultiValue, 'protocol', _('Protocol'),
_('Sniffed protocol, see <a target="_blank" href="https://sing-box.sagernet.org/configuration/route/sniff/">Sniff</a> for details.')); _('Sniffed protocol, see <a target="_blank" href="https://sing-box.sagernet.org/configuration/route/sniff/">Sniff</a> for details.'));
if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0) { if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0)
so.value('bittorrent', _('BitTorrent')); so.value('bittorrent', _('BitTorrent'));
so.value('dns', _('DNS'));
if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0)
so.value('dtls', _('DTLS')); so.value('dtls', _('DTLS'));
}
so.value('http', _('HTTP')); so.value('http', _('HTTP'));
so.value('quic', _('QUIC')); so.value('quic', _('QUIC'));
if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0) { if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0) {
@ -955,7 +956,7 @@ return view.extend({
so.modalonly = true; so.modalonly = true;
if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0) { if (features.version.localeCompare('1.10.0', undefined, { numeric: true, sensitivity: 'base' }) >= 0) {
so = ss.taboption('field_other', form.Flag, 'rule_set_ip_cidr_accept_empty', _('Accept empty query response.'), so = ss.taboption('field_other', form.Flag, 'rule_set_ip_cidr_accept_empty', _('Accept empty query response'),
_('Make IP CIDR in rule-sets accept empty query response.')); _('Make IP CIDR in rule-sets accept empty query response.'));
so.default = so.disabled; so.default = so.disabled;
so.modalonly = true; so.modalonly = true;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff