Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-01-16 00:17:21 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-01-16 01:07:50 +0300
commit61e068ab4041d2f117ed0d75ca7e5b90e0080a12 (patch)
tree79a495a05e34ce7033c77aa843bd6c92f3978a31
parentfc56a1acac52e5f889d5141b78be54e21da0ae12 (diff)
v2.1.0v2.1.0
-rw-r--r--README.md2
-rw-r--r--config/version2
-rw-r--r--web/html/xui/warp_modal.html10
-rw-r--r--web/html/xui/xray.html5
4 files changed, 8 insertions, 11 deletions
diff --git a/README.md b/README.md
index 9ecf147e..ed7f780c 100644
--- a/README.md
+++ b/README.md
@@ -135,7 +135,7 @@ systemctl restart x-ui
- Search within all inbounds and clients
- Dark/Light theme
- Supports multi-user and multi-protocol
-- Supports protocols, including VMess, VLESS, Trojan, Shadowsocks, Dokodemo-door, Socks, HTTP
+- Supports protocols, including VMess, VLESS, Trojan, Shadowsocks, Dokodemo-door, Socks, HTTP, wireguard
- Supports XTLS native Protocols, including RPRX-Direct, Vision, REALITY
- Traffic statistics, traffic limit, expiration time limit
- Customizable Xray configuration templates
diff --git a/config/version b/config/version
index f93ea0ca..50aea0e7 100644
--- a/config/version
+++ b/config/version
@@ -1 +1 @@
-2.0.2 \ No newline at end of file
+2.1.0 \ No newline at end of file
diff --git a/web/html/xui/warp_modal.html b/web/html/xui/warp_modal.html
index c9f86603..d1663df0 100644
--- a/web/html/xui/warp_modal.html
+++ b/web/html/xui/warp_modal.html
@@ -76,7 +76,7 @@
</table>
<a-divider style="margin: 10px 0;">WARP {{ i18n "pages.xray.rules.outbound" }}</a-divider>
<a-form :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label="{{ i18n "status" }}">
+ <a-form-item label='{{ i18n "status" }}'>
<template v-if="warpOutboundIndex>=0">
<a-tag color="green">{{ i18n "enabled" }}</a-tag>
<a-button @click="resetOutbound" :loading="warpModal.confirmLoading">{{ i18n "reset" }}</a-button>
@@ -113,7 +113,7 @@
},
async getData(){
this.loading(true);
- const msg = await HttpUtil.post('/xui/xray/warp/data');
+ const msg = await HttpUtil.post('/panel/xray/warp/data');
this.loading(false);
if (msg.success) {
this.warpData = msg.obj.length>0 ? JSON.parse(msg.obj): null;
@@ -152,7 +152,7 @@
async register(){
warpModal.loading(true);
keys = Wireguard.generateKeypair();
- const msg = await HttpUtil.post('/xui/xray/warp/reg',keys);
+ const msg = await HttpUtil.post('/panel/xray/warp/reg',keys);
if (msg.success) {
resp = JSON.parse(msg.obj);
warpModal.warpData = resp.data;
@@ -163,7 +163,7 @@
},
async updateLicense(l){
warpModal.loading(true);
- const msg = await HttpUtil.post('/xui/xray/warp/license',{license: l});
+ const msg = await HttpUtil.post('/panel/xray/warp/license',{license: l});
if (msg.success) {
warpModal.warpData = JSON.parse(msg.obj);
warpModal.warpConfig = null;
@@ -173,7 +173,7 @@
},
async getConfig(){
warpModal.loading(true);
- const msg = await HttpUtil.post('/xui/xray/warp/config');
+ const msg = await HttpUtil.post('/panel/xray/warp/config');
warpModal.loading(false);
if (msg.success) {
warpModal.warpConfig = JSON.parse(msg.obj);
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index ff9eb2a9..54d40993 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -228,6 +228,7 @@
<setting-list-item type="switch" title='{{ i18n "pages.xray.NetflixWARP"}}' desc='{{ i18n "pages.xray.NetflixWARPDesc"}}' v-model="NetflixWARPSettings"></setting-list-item>
<setting-list-item type="switch" title='{{ i18n "pages.xray.SpotifyWARP"}}' desc='{{ i18n "pages.xray.SpotifyWARPDesc"}}' v-model="SpotifyWARPSettings"></setting-list-item>
</template>
+ <a-button v-else style="margin: 10px 0;" @click="showWarp">WARP {{ i18n "pages.xray.rules.outbound" }}</a-button>
</a-collapse-panel>
</a-collapse>
</a-tab-pane>
@@ -1141,10 +1142,6 @@
get: function () { return JSON.stringify(this.ipv4Domains, null, 2); },
set: debounce(function (value) { this.ipv4Domains = JSON.parse(value); }, 1000)
},
- manualWARPDomains: {
- get: function () { return JSON.stringify(this.warpDomains, null, 2); },
- set: debounce(function (value) { this.warpDomains = JSON.parse(value); }, 1000)
- },
torrentSettings: {
get: function () {
return doAllItemsExist(this.settingsData.protocols.bittorrent, this.blockedProtocols);