From cb22b4ad47816742e7eaa9b9f46f11530b0aae8e Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Wed, 18 Jun 2025 23:24:18 +0700 Subject: chore: add new dns features from v25.6.8 * chore: add new dns params * chore: add `DNS Presets` modal * chore: edit file names --- web/html/modals/dns_modal.html | 114 ---------------------------- web/html/modals/dns_presets_modal.html | 110 +++++++++++++++++++++++++++ web/html/modals/fakedns_modal.html | 57 -------------- web/html/modals/xray_dns_modal.html | 127 ++++++++++++++++++++++++++++++++ web/html/modals/xray_fakedns_modal.html | 56 ++++++++++++++ web/html/settings/xray/basics.html | 14 +--- web/html/settings/xray/dns.html | 19 ++++- web/html/xray.html | 51 ++++++------- web/translation/translate.ar_EG.toml | 10 ++- web/translation/translate.en_US.toml | 10 ++- web/translation/translate.es_ES.toml | 10 ++- web/translation/translate.fa_IR.toml | 10 ++- web/translation/translate.id_ID.toml | 9 ++- web/translation/translate.ja_JP.toml | 10 ++- web/translation/translate.pt_BR.toml | 10 ++- web/translation/translate.ru_RU.toml | 20 ++--- web/translation/translate.tr_TR.toml | 10 ++- web/translation/translate.uk_UA.toml | 10 ++- web/translation/translate.vi_VN.toml | 10 ++- web/translation/translate.zh_CN.toml | 10 ++- web/translation/translate.zh_TW.toml | 10 ++- 21 files changed, 419 insertions(+), 268 deletions(-) delete mode 100644 web/html/modals/dns_modal.html create mode 100644 web/html/modals/dns_presets_modal.html delete mode 100644 web/html/modals/fakedns_modal.html create mode 100644 web/html/modals/xray_dns_modal.html create mode 100644 web/html/modals/xray_fakedns_modal.html diff --git a/web/html/modals/dns_modal.html b/web/html/modals/dns_modal.html deleted file mode 100644 index e6266c06..00000000 --- a/web/html/modals/dns_modal.html +++ /dev/null @@ -1,114 +0,0 @@ -{{define "modals/dnsModal"}} - - - - - - - - - - - - [[ l ]] - - - - - - - - - - - - -{{end}} \ No newline at end of file diff --git a/web/html/modals/dns_presets_modal.html b/web/html/modals/dns_presets_modal.html new file mode 100644 index 00000000..010b973a --- /dev/null +++ b/web/html/modals/dns_presets_modal.html @@ -0,0 +1,110 @@ +{{define "modals/dnsPresetsModal"}} + + + + + + + [[ dns.name ]] + [[ dns.family ? '{{ i18n "pages.xray.dns.dnsPresetFamily" }}' : 'DNS' ]] + + + + {{ i18n "install" }} + + + + + + + + + +{{end}} \ No newline at end of file diff --git a/web/html/modals/fakedns_modal.html b/web/html/modals/fakedns_modal.html deleted file mode 100644 index 8e554ac0..00000000 --- a/web/html/modals/fakedns_modal.html +++ /dev/null @@ -1,57 +0,0 @@ -{{define "modals/fakednsModal"}} - - - - - - - - - - - -{{end}} diff --git a/web/html/modals/xray_dns_modal.html b/web/html/modals/xray_dns_modal.html new file mode 100644 index 00000000..484bd2f8 --- /dev/null +++ b/web/html/modals/xray_dns_modal.html @@ -0,0 +1,127 @@ +{{define "modals/dnsModal"}} + + + + + + + + + + + [[ l ]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{{end}} \ No newline at end of file diff --git a/web/html/modals/xray_fakedns_modal.html b/web/html/modals/xray_fakedns_modal.html new file mode 100644 index 00000000..f1f4429c --- /dev/null +++ b/web/html/modals/xray_fakedns_modal.html @@ -0,0 +1,56 @@ +{{define "modals/fakednsModal"}} + + + + + + + + + + + +{{end}} \ No newline at end of file diff --git a/web/html/settings/xray/basics.html b/web/html/settings/xray/basics.html index 374cb7dd..71aa0d7c 100644 --- a/web/html/settings/xray/basics.html +++ b/web/html/settings/xray/basics.html @@ -135,7 +135,7 @@ - + - + - - - - - - - - diff --git a/web/html/xray.html b/web/html/xray.html index e051ce15..eb99b794 100644 --- a/web/html/xray.html +++ b/web/html/xray.html @@ -128,6 +128,7 @@ {{template "modals/reverseModal"}} {{template "modals/balancerModal"}} {{template "modals/dnsModal"}} +{{template "modals/dnsPresetsModal"}} {{template "modals/fakednsModal"}} {{template "modals/warpModal"}}