Commit graph

1506 commits

Author SHA1 Message Date
MHSanaei 97925eeebe fix default language in initLocalizer
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-06-16 13:01:34 +03:30
MHSanaei 4cc755c883 fix warning when there is no access.log
after this
if limitip is 0 and there is no access.log on xray config you don't see this warning
access.log doesn't exist in your config.json
-------------
better view on ip log
-------------
update dependencies
2023-06-16 01:08:35 +03:30
somebodywashere 4e89c71095
Removed ipLimit from the panel, changed the code to work with fail2ban (#580)
* Logging for fail2ban service
Removed limitDevice and other unnecessary functions

* Logging for fail2ban service
Removed limitDevice and other unnecessary functions

* fixed shouldCleanLog

* last fix

* reduced ip limit detection frequency to 30 sec (less logging, more precise)
    changed maxretry in fail2ban jail config to 2 to fit above

* fixed check delay

* added 5 seconds delay before cleaning logs
2023-06-15 22:45:34 +03:30
MHSanaei d40e61fc45 fix and improve 2023-06-14 19:50:19 +03:30
MHSanaei c0f1a926e5 update - security "none"
security set to none when tls, reality, xtls are not set
its because when there is no security none on trojan link some app like v2rayn set tls for your config
2023-06-14 17:06:56 +03:30
MHSanaei ad9134bc1a removed - alterId
https://github.com/XTLS/Xray-core/pull/2199
9112cfd39c
2023-06-13 17:26:50 +03:30
MHSanaei dea61b839c new - acceptProxyProtocol for H2 and gRPC #581 2023-06-09 18:53:57 +03:30
MHSanaei 9063336778 new - Reject Unknown SNI - thanks to @sudospaes 2023-06-09 16:48:50 +03:30
MHSanaei 7fc3d37851 random password button for SS & more
crypto.getRandomValues for uuid
change name randomText to randomLowerAndNum
2023-06-09 16:04:57 +03:30
MHSanaei 81aa3ed10e mtproto removed 2023-06-09 15:58:47 +03:30
MHSanaei 29e40a0bce access.log #571
access.log will be clear only when limitip is not 0
2023-06-08 13:50:35 +03:30
MHSanaei 594d682e20 random sub Id
optimize utils
trojan short id fix
index page better view
2023-06-07 12:45:58 +03:30
MHSanaei 70f250dfe1 [feature] using xray api and more
Improve DB performance
[api] backward compatibility: add client by update

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-06-05 00:32:19 +03:30
MHSanaei fdc1124ea4 some changes
ip limit method back to v1.6.0 method
remove event on getDBClientIps
better show ip on log (",\n")
2023-06-03 18:59:32 +03:30
Tara Rostami 33a598366b
Update custom.css (#559) 2023-06-02 23:48:26 +03:30
somebodywashere c182f48079 [tgbot] - bugfix 2023-05-31 08:37:03 +00:00
Hamidreza d694e6eafc
FIX tgbot adminIds 2023-05-31 05:01:20 +03:30
Hamidreza Ghavami c565a429af
fix setting 2023-05-31 03:29:59 +04:30
Hamidreza Ghavami 6ae80fc992
add /id command to tgbot to get user id 2023-05-31 02:31:00 +04:30
Hamidreza Ghavami ef7b979d53
move manual list to new tab 2023-05-31 01:59:41 +04:30
Hamidreza Ghavami b203067dfd
fix urls + use the new buildURL func 2023-05-31 01:59:41 +04:30
Hamidreza Ghavami 1c9fc9422e
add buildURL func 2023-05-31 01:59:41 +04:30
Hamidreza Ghavami 6c26e40aea
fix qrModal.client is null 2023-05-31 01:59:12 +04:30
Hamidreza Ghavami fe963d91ef
some improvements 2023-05-31 01:31:56 +04:30
Hamidreza Ghavami c9461f1647
Update translations 2023-05-31 01:26:29 +04:30
Hamidreza Ghavami ea7fe09c27
use the middlewares 2023-05-31 01:24:18 +04:30
Hamidreza Ghavami 8170b65db4
add an option for webDomain 2023-05-31 01:21:14 +04:30
Hamidreza Ghavami a2d8c98b0d
create and move middlewares to seperate folder 2023-05-31 01:13:46 +04:30
somebodywashere 8442836512
[tgbot] - some fixes and improvments (#542) 2023-05-30 15:07:23 +03:30
Tara Rostami 2c233dffa5
Animated shadow (#540)
* Update antd.min.css

* Update settings.html

* Update custom.css

* Update custom.css
2023-05-27 14:14:35 +03:30
MHSanaei 31339d6bf8 v1.6.1 2023-05-25 19:16:09 +03:30
Tara Rostami 835deb77f4
Minor correction In UI (#537)
* Update antd.min.css

* Update settings.html

* Update custom.css
2023-05-25 16:21:29 +03:30
MHSanaei 6a7c3716ac fix MHz view 2023-05-25 16:13:54 +03:30
MHSanaei 15211f81b1 New - CPU Speed
logical Processors  removed
2023-05-25 15:48:23 +03:30
Tara Rostami b3f7a6572e
Minor changes in the UI (#535)
* Update antd.min.css

* Update settings.html
2023-05-25 13:15:24 +03:30
MHSanaei 6f28a3a2fe change blockedips to AllowedIps
now only those IPs that are allowed are able to establish a connection; other connections are dropped it will happen every 10 sec
after user offline that IPs will be removed from AllowedIps
2023-05-25 03:21:31 +03:30
MHSanaei 896cc5386c new - show cores, public ipv4 and ipv6
logical Processors
you can see them on first page
2023-05-25 03:11:09 +03:30
MHSanaei 526426e2dd Alireza 💯
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-23 17:55:42 +03:30
MHSanaei 2223a21cfc bug fix - limit ip 2023-05-23 17:54:15 +03:30
MHSanaei 47ccc7b501 [feature] fallback link calculation
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-23 03:15:34 +03:30
MHSanaei 783fa856c3 Fix deprecated gRPC Dial options for Insecure connections 2023-05-23 00:52:15 +03:30
MHSanaei 6139effb8a update - style
tcp,ws,tls
2023-05-22 22:36:15 +03:30
MHSanaei 8ae7f4a564 small fixes 2023-05-22 21:52:35 +03:30
Hamidreza Ghavami 3825e36ef7
FIX restart redirect :) 2023-05-22 22:30:35 +04:30
MHSanaei f6e0e1b3cf translate update
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-22 18:16:24 +03:30
MHSanaei 769590d779 [feature] separate subscription service
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-22 18:06:34 +03:30
MHSanaei 1fa9101b40 [feature] add multi domain tls (CDN ready)
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-22 17:31:41 +03:30
MHSanaei 3f2e1aede9 features - random ShortId button 2023-05-22 16:44:27 +03:30
MHSanaei 235e6880c1 update - utils 2023-05-22 16:41:41 +03:30
MHSanaei ffa23a43c6 update - URIComponent just for cookie value 2023-05-22 16:40:08 +03:30
MHSanaei 0938519f49 bug fix - KeyContent 2023-05-22 11:39:21 +03:30
Hamidreza Ghavami f82d0051b2
Update hashstorage functionality 2023-05-21 08:33:08 +04:30
Hamidreza Ghavami 76267b23a0
fix tgbot 2023-05-21 07:41:59 +04:30
Hamidreza Ghavami 3a835fbeb8
FIX ERROR 'msg and reply are same' in tgbot 2023-05-21 05:48:19 +04:30
Hamidreza Ghavami f6461b8386
FIX hashStorage remove expire job 2023-05-21 05:33:01 +04:30
Hamidreza Ghavami 586663c840
Update translations 2023-05-21 03:30:39 +04:30
Hamidreza Ghavami 82ead05093
Update tgbot locale + add I18nBot 2023-05-21 03:30:26 +04:30
Hamidreza Ghavami d9b1b200ce
rename I18n to I18nWeb 2023-05-21 03:29:27 +04:30
Hamidreza Ghavami 786a3ac992
FIX hashStorage 2023-05-20 21:46:42 +04:30
Hamidreza Ghavami 8c5648eb09
FIX callback query and BUTTON_DATA_INVALID error with hashStorage 2023-05-20 20:29:28 +04:30
Hamidreza Ghavami 4dfe527f20
init i18n in tgbot 2023-05-20 20:08:01 +04:30
Hamidreza Ghavami 980ebd99ca
add tgBot localizer 2023-05-20 19:59:04 +04:30
Hamidreza Ghavami 9b7cddbec7
update to use WebI18n func 2023-05-20 19:51:45 +04:30
Hamidreza Ghavami 2bd706aa92
update I18n function for controller 2023-05-20 19:49:39 +04:30
Hamidreza Ghavami 95e0d9a468
create LocalizerMiddleware func 2023-05-20 19:46:34 +04:30
Hamidreza Ghavami 4865754b3d
add localizer middleware to web.go 2023-05-20 19:46:05 +04:30
Hamidreza Ghavami 92eaff9608
replace new localizer to web.go 2023-05-20 19:43:59 +04:30
Hamidreza Ghavami 0b7aa8a9e0
Refactor i18n localizer 2023-05-20 19:41:08 +04:30
Hamidreza Ghavami 678962d4ca
some fix and prune for tgbot 2023-05-20 19:39:01 +04:30
Hamidreza Ghavami 795835c54f
Update translations 2023-05-20 19:21:10 +04:30
Hamidreza Ghavami 91360a3f49
add tgLang to settings 2023-05-20 19:20:54 +04:30
Hamidreza Ghavami 4831c2f1b2
Add tgLang option 2023-05-20 19:15:20 +04:30
Hamidreza Ghavami f50ccce9ec
Add manual list for ipv4 and warp and fixed it 2023-05-20 19:02:37 +04:30
Hamidreza Ghavami c7e300f14d
FIX redirect after restart panel 2023-05-20 18:58:51 +04:30
Hamidreza Ghavami 419a1938ee
update settings ui 2023-05-20 18:57:10 +04:30
Hamidreza Ghavami a48745cb3e
fix tls settings 2023-05-20 18:46:50 +04:30
Hamidreza Ghavami ac9408c37f
update sub remark for shadowsocks 2023-05-20 18:44:18 +04:30
Minobi fbd3772788
Updated Russian translation of the web UI (#478) 2023-05-19 06:45:33 +03:30
Mahdi Nemati 334b28cddc
Api for backup Telegram (#468) 2023-05-19 00:31:05 +03:30
MHSanaei 2fbfc88bc1 bug fix - xtls 2023-05-18 12:18:13 +03:30
MHSanaei f781979d38 update - config 2023-05-18 11:52:53 +03:30
mmrabbani 5f44c80cd5
Simplifying ad blocking syntax
I simplified the ad blocking syntax.
"category-ads-all" includes "category-ads". Also "category-ads" includes "google-ads" and "spotify-ads".
So if "category-ads-all" is blocked, there is no need to block 3 other lists (category-ads,google-ads,spotify-ads)

References:
https://github.com/v2fly/domain-list-community/blob/master/data/category-ads
https://github.com/v2fly/domain-list-community/blob/master/data/category-ads-all
2023-05-18 00:48:37 +03:30
MHSanaei 85d42ce94f bug fix - expiry Time 2023-05-17 18:57:34 +03:30
MHSanaei 7debf96610 fix bug - mobile view 2023-05-17 18:17:12 +03:30
MHSanaei f8eb548376 [feature] SpiderX for Reality
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 16:10:11 +03:30
MHSanaei 88fc4f81d4 [feature] filter inbound clients
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 15:57:47 +03:30
MHSanaei 911f2b0bb5 adguard Family protection 2023-05-17 03:05:36 +03:30
MHSanaei 2d16eabc6e [feature] interactive deplete soon
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 02:01:56 +03:30
MHSanaei be50be75fe [sub] add more headers
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 01:07:35 +03:30
MHSanaei 70e7987df5 [feature] multi cert per inbound
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 00:55:19 +03:30
MHSanaei 8ceeb454ee random - trojan password 2023-05-17 00:09:32 +03:30
MHSanaei f311bf1dbf update - ui 2023-05-16 23:40:27 +03:30
MHSanaei 837d7f77a1 update - xray configuration
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-16 23:39:59 +03:30
MHSanaei 1dc5452f1d security issue - CVE-2023-29401
Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function

References
gin-gonic/gin#3555
gin-gonic/gin#3556
https://pkg.go.dev/vuln/GO-2023-1737
2023-05-15 15:59:27 +03:30
Masoud Hidden a21bdc9396 [tgbot] Fix reply keyboard height 2023-05-14 22:55:01 +03:30
Masoud Hidden 4cf7f75749 [tgbot] Ability to remove telegram user from the client in the bot 2023-05-14 22:43:23 +03:30
Masoud Hidden bcdac5aad6 [tgbot] Ability to select telegram user for client from bot 2023-05-14 22:07:49 +03:30
Masoud Hidden 3d5f851fce [tgbot] Changed to telego 2023-05-14 18:50:01 +03:30
Hamidreza Ghavami 5a908b9f58
FIX redirect after restart panel 2023-05-14 06:19:18 +04:30
Hamidreza Ghavami 61288db11e
FIX siderDrawer button function 2023-05-14 06:08:49 +04:30
Hamidreza Ghavami 317f7fe9da
FIX sideBar style 2023-05-14 06:08:34 +04:30
Hamidreza Ghavami b1302c70fb
Merge branch 'main' of https://github.com/hamid-gh98/3x-ui into main 2023-05-14 02:32:17 +04:30
Hamidreza Ghavami addedb1adf
HOTFIX redirect middleware to add basePath 2023-05-14 02:31:23 +04:30
MHSanaei f4be9f234a lang show 2023-05-14 01:09:31 +03:30
MHSanaei 947129a62a update UI - calendar 2023-05-14 01:08:29 +03:30
Hamidreza Ghavami c2c61cdd5b
Add Redirect Middleware for Router 2023-05-14 01:42:08 +04:30
Hamidreza Ghavami b5ae580d12
Update '/xui/API' to new path '/panel/api' 2023-05-14 01:41:18 +04:30
MHSanaei a289ef5d10 bug fixed - random user pass 2023-05-13 19:06:16 +03:30
Ho3ein b5dd258074
Merge pull request #426 from hamid-gh98/main
FIX input bg color in login page
2023-05-13 18:15:39 +03:30
MHSanaei c855a292cb random sub button 2023-05-13 17:22:13 +03:30
Hamidreza Ghavami f2132c62e9
fix input style 2023-05-13 18:00:47 +04:30
Hamidreza Ghavami 94a3807353
fix input bg color in login page 2023-05-13 17:42:11 +04:30
MHSanaei 7cacfc074e remove duplicate random text gen
randomText by default
length set to 8
2023-05-13 15:42:46 +03:30
MHSanaei 9e8ac8a087 remove search Data files 2023-05-13 15:03:46 +03:30
MHSanaei e64a9eeee6 random UUID 2023-05-13 14:51:07 +03:30
MHSanaei a55a1a7102 fix 2023-05-13 13:53:17 +03:30
MHSanaei 46bc39c160 [bug] fix cloned inbound settings
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-13 13:33:13 +03:30
MHSanaei 2a182d8b9a [bug] fix login failure when tgbot is not active
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-13 13:31:46 +03:30
MHSanaei fd6a85afd9 Set session max-age to default if defined zero
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-13 13:26:04 +03:30
MHSanaei 9a89d7bfab spin only in reload time
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-13 13:24:44 +03:30
MHSanaei edd6b22109 remove duplicate remark assignments
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-13 13:21:27 +03:30
Hamidreza Ghavami 0cce35784e
FIX Login UI style 2023-05-13 00:52:12 +04:30
Hamidreza Ghavami b0871a6ef6
Change route path '/xui' to '/panel' 2023-05-12 22:45:32 +04:30
Hamidreza Ghavami 288374d5fa
Update README.md 2023-05-12 22:45:32 +04:30
Hamidreza Ghavami 251fd608df
update translation 2023-05-12 22:45:30 +04:30
Hamidreza Ghavami 456941323b
await secret status in login page 2023-05-12 22:45:30 +04:30
Hamidreza Ghavami a6a77688dc
Add block speedtest switch template 2023-05-12 22:45:29 +04:30
Hamidreza Ghavami 09cd2248dc
fix show client name in QR modal 2023-05-12 22:45:28 +04:30
Hamidreza Ghavami 8143379645
Add copy button for sub link 2023-05-12 22:45:28 +04:30
Hamidreza Ghavami 5bd6baa055
Fix darkClass in ThemeSwitcher 2023-05-12 22:45:27 +04:30
Hamidreza Ghavami 41e9290574
Show client email in QR Modal 2023-05-12 22:45:26 +04:30
Hamidreza Ghavami cf7d50617b
add service function to search data files 2023-05-12 22:45:26 +04:30
Hamidreza Ghavami 95e006963c
add searchDatafiles route 2023-05-12 22:45:25 +04:30
Hamidreza Ghavami 65588a4492
add check for geosite function 2023-05-12 22:45:24 +04:30
Hamidreza Ghavami d39c7e4ae3
only get enabled inbounds and clients 2023-05-12 22:45:24 +04:30
Tara Rostami 3bec9ee273
Minor changes in UI (#415)
* Update custom.css

* Update setting.html

* Update settings.html

* Update antd.min.css

* Update antd.min.css

* Update settings.html

* Update custom.css

* Update custom.css

* Update antd.min.css

* Update setting.html

* Update custom.css

* Update custom.css

* Update antd.min.css
2023-05-12 09:13:08 +03:30
Tara Rostami 7b3628d33b
Optimized Settings UI (#408)
* Update custom.css

* Update setting.html

* Update settings.html

* Update antd.min.css

* Update antd.min.css

* Update settings.html

* Update custom.css

* Update custom.css

* Update antd.min.css

* Update setting.html

* Update custom.css
2023-05-11 14:04:35 +03:30
Hamidreza Ghavami bb6e6861ca fix style bg :D 2023-05-08 20:19:11 +04:30
Hamidreza Ghavami 4c0e391597 update theme-switch 2023-05-08 19:44:18 +04:30
Hamidreza Ghavami 43c1fc9aad Merge branch 'main' of https://github.com/hamid-gh98/3x-ui into main 2023-05-08 19:41:14 +04:30
Hamidreza Ghavami 7a48cbb191 fix style login ui 2023-05-08 19:38:36 +04:30
Hamidreza Ghavami 004d69392b fix use password component 2023-05-08 19:26:01 +04:30
Hamidreza Ghavami fc0882805d update UI to use password-input component 2023-05-08 19:24:44 +04:30
Hamidreza Ghavami f553922d53 add password component 2023-05-08 19:21:58 +04:30
Hamidreza Ghavami 7b2764566c update login UI 2023-05-08 19:20:13 +04:30
Hamidreza Ghavami 55d38dfa48 [FIX] bug logout path 2023-05-08 19:15:33 +04:30
Hamidreza Ghavami 0e266b88f0 update UI to use themeSwitcher 2023-05-08 19:14:22 +04:30
MHSanaei 7bb3e517b2 update pic v1.4.1 2023-05-08 17:39:29 +03:30
Hamidreza Ghavami 7d0c3b6517 remove themeChanger from siderDrawer 2023-05-08 18:19:59 +04:30
Hamidreza Ghavami 67201fc678 create theme-switch component 2023-05-08 18:15:08 +04:30
Hamidreza Ghavami d137deccfa fix style height when rotating + move cookie util to their specific file 2023-05-08 18:04:12 +04:30
MHSanaei 00777e3a25 [feature] Russian lang 2023-05-08 14:43:02 +03:30
koid38 bcb2f125ff
Create translate.ru_RU.toml (#375)
ru translate
2023-05-08 14:05:16 +03:30
MHSanaei 37ab8f42e9 domain-list-community (category update)
add cn and ru regexp
2023-05-08 13:50:43 +03:30
MHSanaei d89e03023f + 2023-05-08 10:40:32 +03:30
Tara Rostami 5ec1559c7b
UI optimized by Tara (#370)
* Update antd.min.css

* Update custom.css

---------

Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
2023-05-08 10:32:51 +03:30
Mahbod 5e3e965647 add margin to .ant-modal 2023-05-08 03:36:52 +03:30
Mahbod 88cde18bb2 update .ant-modal ui 2023-05-08 02:55:06 +03:30
MHSanaei 7fd93e25fd only blake3-aes support multi-user 2023-05-07 23:57:59 +03:30
MHSanaei 9bbcb74db6 sni for xtls 2023-05-07 19:59:06 +03:30
MHSanaei 515e7f7fef client bulk bug fix 2023-05-07 19:58:56 +03:30
MHSanaei 87a5190b7d v1.4.0 2023-05-07 17:12:47 +03:30
MHSanaei 9d47d74a7a design update 2023-05-07 14:36:43 +03:30
Mahbod 867e5ea022 update tabs 2023-05-07 11:34:36 +03:30
Mahbod a24814104c update input 2023-05-07 11:33:52 +03:30
MHSanaei 024b65524d delayedStart 2023-05-06 20:33:56 +03:30
MHSanaei f22dd6b53d [feature] multi-user shadowsocks @alireza0
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-06 20:21:14 +03:30
MHSanaei 735df6bd4e [feature] inbounds manual refresh
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-06 19:20:42 +03:30
MHSanaei 0e77547e98 update translate 2023-05-06 16:25:41 +03:30
MHSanaei 747a1e1f60 ant design selected - active item menu - new update
https://ant.design/components/menu
2023-05-06 16:17:51 +03:30
Hamidreza Ghavami 83c853ffb6 update ImportDB and enhancement 2023-05-06 04:47:57 +04:30
Hamidreza 058ab5f901
Merge branch 'MHSanaei:main' into main 2023-05-06 03:37:04 +03:30
Masoud Hidden 7f8f0b0f2d Fix ability to use userId in tgId 2023-05-06 02:36:46 +03:30
Masoud Hidden 7b9e0b946e
Merge branch 'MHSanaei:main' into main 2023-05-06 01:36:22 +03:30
Hamidreza Ghavami 6c087ceb1a fix import db and always restart xray 2023-05-06 02:22:45 +04:30
Hamidreza Ghavami 26f160fb89 add MigrateDB func for a single source of truth 2023-05-06 00:22:39 +04:30
Hamidreza Ghavami 0a5811adf8 update style 2023-05-05 23:16:15 +04:30
Hamidreza Ghavami bed3cd445d update translation 2023-05-05 22:52:48 +04:30
Hamidreza Ghavami c8baf5ceee add modal and button for import/export db 2023-05-05 22:52:35 +04:30
Hamidreza Ghavami 85c715a2f6 update axios-init and db.go 2023-05-05 22:51:39 +04:30
Hamidreza Ghavami 55c1fe26fb add import db api route 2023-05-05 22:49:42 +04:30
Masoud Hidden 8d11f83ac7 Fix get client ips 2023-05-05 20:07:47 +03:30
Masoud Hidden d349bffcd6 Fix bot client enable button 2023-05-05 19:50:40 +03:30
Masoud Hidden 5856160c30 Added some new buttons to bot and ability to use userId in tgId 2023-05-05 18:20:56 +03:30
MHSanaei 3cd3693b2c setting style fix bug 2023-05-05 17:48:01 +03:30
Masoud Hidden bc3003be54 Change some InlineKeyboard data length 2023-05-05 16:02:16 +03:30
Ho3ein e53615d119
Merge pull request #336 from masoud-hidden/main
Buttons for the client report in the telegram bot
2023-05-05 14:41:19 +03:30
Mahbod fd40e97008 update ant-card 2023-05-05 13:44:09 +03:30
Mahbod 1598ad804d update ant-tabs 2023-05-05 13:43:21 +03:30
Mahbod c8e666d8ae update selected menu item 2023-05-05 13:42:04 +03:30
Mahbod e1533b9418 update menu background 2023-05-05 13:41:10 +03:30
Masoud Hidden a53d2b927f fix ResetClientExpiryTimeByEmail 2023-05-05 04:34:39 +03:30
Mahbod 146dc6ce4a improve circle bar ui 2023-05-05 03:54:32 +03:30
Mahbod e597ea5ab2 improve ant-tabs ui 2023-05-05 03:52:31 +03:30
Mahbod 3e833fca9b add custom scrollbar 2023-05-05 03:51:56 +03:30
Mahbod c96cf85619 improve .ant-card-dark ui 2023-05-05 03:51:24 +03:30
Mahbod 0a63c75138 improve menu ui 2023-05-05 03:46:57 +03:30
Masoud Hidden c6295085fe Fix restart service 2023-05-05 02:47:26 +03:30
Masoud Hidden 4b3bdebfa5 Fix typo 2023-05-05 02:14:56 +03:30
Masoud Hidden ff33539fba Refresh button for client report in telegram bot
Added unlimited button for expire days.
2023-05-05 01:48:37 +03:30
Masoud Hidden 961636b510 Client reset buttons for telegram bot 2023-05-05 01:16:43 +03:30
Hamidreza Ghavami 481d4beabb update translation 2023-05-04 22:22:54 +04:30
Hamidreza Ghavami 19c991014e updated settings.html UI 2023-05-04 21:34:15 +04:30
Hamidreza Ghavami 12ec487241 updated custom.css 2023-05-04 21:28:36 +04:30
Hamidreza Ghavami a18cbdcf11 changed number input tags to 'a-input-number' 2023-05-04 21:27:42 +04:30
Hamidreza Ghavami 4f8de18d1f renamed setting.html to settings.html and update its route name 2023-05-04 21:09:08 +04:30
Hamidreza Ghavami dbac48f05d updated sub remark to include inbound name 2023-05-04 20:58:16 +04:30
MHSanaei 6a33a48a9a logout after update your password or secret token 2023-05-02 16:19:49 +03:30
MHSanaei 1885a8c0bf fixed - set Default Cert for Xtls 2023-05-01 20:58:00 +03:30
MHSanaei f93d912644 primary type for setDefaultCert 2023-04-29 22:51:33 +03:30
MHSanaei ce8551b8c4 [darkmode] better colors + add sec to calendar
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-29 22:38:41 +03:30
MHSanaei d26c21d900 [feature] inbounds auto refresh option
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-29 22:33:45 +03:30
MHSanaei a0f5875cb3 [darkmode] fix UTLS - cipherSuites 2023-04-29 22:28:50 +03:30
MHSanaei c3ed8051f3 [feature] add sniffing DestOverride options #298
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-29 18:47:44 +03:30
MHSanaei d2cdc51c54 [feature] add quic to sniffingObject
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-29 16:26:39 +03:30
MHSanaei ee896662f5 remove favicon from web root
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-28 18:49:32 +03:30
MHSanaei 177bd036a3 [bug] fix GetClientTrafficByEmail
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-28 18:40:33 +03:30
MHSanaei 865e47e9a6 Update check_client_ip_job.go 2023-04-28 00:30:49 +03:30
MHSanaei 607c5d3598 [feature] add grpc multiMode 2023-04-28 00:15:06 +03:30
MHSanaei 8879541999 dark mode - default 2023-04-27 23:48:58 +03:30
MHSanaei 6f4a2809e2 tls for ss - remove unused 2023-04-27 19:25:48 +03:30
MHSanaei 103a26edb6 [migrate] remove orphaned traffics
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-27 19:05:36 +03:30
MHSanaei edabfad559 fix expiry time
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-26 12:57:49 +03:30
MHSanaei 46eb174af1 remove unused 2023-04-26 02:11:11 +03:30
MHSanaei e126095949 bug fix 2023-04-26 02:09:56 +03:30
MHSanaei 9f5ba0cf93 [bug] vision-udp443 only for client + Translation
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 21:43:29 +03:30
MHSanaei b5c5539501 add hostname to page title
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 20:29:13 +03:30
MHSanaei 252afe47c0 [api] support for delete depleted clients
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 18:46:09 +03:30
MHSanaei 379451135d [feature] delete depleted clients
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 18:43:37 +03:30
MHSanaei bc06dbab21 [migration] add fix for omitted traffics
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 18:36:06 +03:30
MHSanaei 6a71ea7f5e [feature] reset traffics of all client
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 17:23:38 +03:30
MHSanaei 942b9862d8 [feature] add login session timeout
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 15:00:21 +03:30
MHSanaei ae55fdc38a fix bug in http link without host
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 14:39:09 +03:30
MHSanaei cc3ff61ae2 update by client id
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 14:38:35 +03:30
MHSanaei 045717010a Revert "bug fix - h2 sub"
This reverts commit cd5ad78f56.
2023-04-25 14:21:57 +03:30
MHSanaei cd5ad78f56 bug fix - h2 sub 2023-04-25 01:19:07 +03:30
MHSanaei fca882ee31 sub - tg to inbound 2023-04-24 16:45:22 +03:30
MHSanaei 2832106bc6 v1.2.8 2023-04-24 16:04:01 +03:30
MHSanaei bf24838939 remove useless 2023-04-24 15:31:25 +03:30
MHSanaei 16e3107d23 Better client delete + api
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-24 15:07:11 +03:30
MHSanaei 262e3c0985 Add database migration
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-24 14:13:25 +03:30
MHSanaei 2b460bac1a Optimize database
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-24 14:04:05 +03:30
MHSanaei d1c4eb9b4c Update setting.html 2023-04-24 02:48:17 +03:30
MHSanaei dfa3d39ab3 fix flow view 2023-04-24 02:48:02 +03:30
MHSanaei f817f922fe add getClientTraffics api
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-21 19:06:59 +03:30
MHSanaei b0f974a94d secret token thanks to @HarlyquinForest 2023-04-21 19:00:14 +03:30
MHSanaei 6bebde4105 Merge branch 'main' of https://github.com/MHSanaei/3x-ui 2023-04-21 15:34:19 +03:30
Ho3ein fa4a63c958
Merge pull request #273 from ehsaninuc/patch-1
Update translate.en_US.toml
2023-04-21 02:08:06 +03:30
Ehsan Soltani Azad 513f87550a
Update translate.en_US.toml 2023-04-21 01:41:03 +03:30
Hamidreza Ghavami 81838b504c update iran.dat from xray zip 2023-04-21 02:14:00 +04:30
MHSanaei 4980744793 add reset traffic in edit
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-20 15:55:51 +03:30
MHSanaei 5ff6f4094e fix userinfo header
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-20 15:51:38 +03:30
MHSanaei c627227893 bug fixed 2023-04-19 15:37:24 +03:30
MHSanaei 2a8725a7a5 mistake 2023-04-19 13:26:35 +03:30
Ho3ein fa19649286
Merge pull request #269 from hamid-gh98/main
Add description for config groups
2023-04-19 11:56:46 +03:30
MHSanaei e1132a3f41 bug fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-19 11:55:38 +03:30
MHSanaei 4d479102ad reality link bug fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-19 11:55:31 +03:30
Hamidreza Ghavami e90c575bfd add description for config groups 2023-04-19 04:02:53 +04:30
MHSanaei 3e0faecaae improve reality setting
split xtls from tls - remove iran warp - remove old setting reality from franzkafka (it was a messy code) -and other improvement

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-18 21:34:06 +03:30
Hamidreza Ghavami dd8c763b21 update translation 2023-04-18 21:25:16 +04:30
Hamidreza Ghavami e0e7c102b8 update ui of setting.html + add russia setting 2023-04-18 21:24:32 +04:30
Hamidreza Ghavami f26a7df11b add reset default config function 2023-04-18 21:23:51 +04:30
Hamidreza Ghavami 72a1b1e3f3 update domain list of setting.html 2023-04-18 21:23:12 +04:30
Hamidreza Ghavami dfdb77c491 add func to setting service 2023-04-18 21:21:37 +04:30
Hamidreza Ghavami 846efe8eb4 add api route setting/getDefaultJsonConfig 2023-04-18 21:21:09 +04:30
Hamidreza Ghavami 672fd1da19 update translation 2023-04-18 11:26:51 +04:30
Hamidreza Ghavami f3fe866af2 change settings to use refactored function in setting.html 2023-04-18 11:23:43 +04:30
Hamidreza Ghavami 25e50aa6f1 Refactor a function for switching settings in setting.html 2023-04-18 11:23:15 +04:30
Hamidreza Ghavami ff3657e15a add default configs in setting.html 2023-04-18 11:22:44 +04:30
Hamidreza Ghavami 4af626bb4b update html of setting.html 2023-04-18 11:21:12 +04:30
Hamidreza Ghavami 936f2e6ec2 update config.json 2023-04-18 10:22:04 +04:30
MHSanaei 4fb060d25e fix typo 2 2023-04-14 17:22:49 +03:30
MHSanaei 3eff8022f2 fix typo 2023-04-14 16:14:57 +03:30
Ho3ein 19bb28cb26
Merge pull request #262 from MHSanaei/dev
alpn set by default + syntax fix
2023-04-14 15:22:33 +03:30
MHSanaei 1e72a22c96 syntax fix thanks to @lk29
Co-Authored-By: lk29 <12291632+lk29@users.noreply.github.com>
2023-04-14 01:28:08 +03:30
MHSanaei d695ea8192 edit name http to h2 2023-04-14 01:26:32 +03:30
MHSanaei b639a1bbd5 alpn set by default 2023-04-14 01:26:08 +03:30
Hamidreza Ghavami 81372de369 update en lang 2023-04-14 00:08:37 +04:30
Hamidreza Ghavami a3b170d6c4 update and rename client ip job file 2023-04-14 00:07:13 +04:30
MHSanaei c6b59f1ee3 [migration] Remove Orphaned Traffics
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-13 18:45:18 +03:30
MHSanaei b40759fe18 remove traffics of edited emails
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-13 18:44:56 +03:30
MHSanaei e6f08517a3 [backup] fix db name in we request
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-13 18:42:51 +03:30
Alireza Ahmadi c4162e3eb4 [sub] fix reality link 2023-04-12 10:44:07 +02:00
MHSanaei c38d75f3d9 reality for trojan 2023-04-11 22:30:24 +03:30
MHSanaei 4e7ad9e6de bug fix 2023-04-11 19:23:40 +03:30
MHSanaei 8c40e7281f bug fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-11 18:39:07 +03:30
MHSanaei 54946e725e xtls bug fix 2023-04-11 18:18:37 +03:30
MHSanaei 7412bf17a9 bug fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-11 15:41:04 +03:30
MHSanaei 519f2b462e reality sub 2023-04-11 15:40:45 +03:30
Ho3ein d74b39b9cf
API bug fixed 2023-04-10 20:33:19 +03:30
MHSanaei abb79bd978 Reality 2023-04-10 19:58:52 +03:30
MHSanaei 26a0481d82 http header bug fixed 2023-04-10 14:33:50 +03:30
MHSanaei 304510aefc Update index.html 2023-04-10 01:27:17 +03:30
MHSanaei de26dbbc96 fixed 2023-04-10 00:55:47 +03:30
MHSanaei e1da43053d alireza update pack
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-09 23:13:18 +03:30
mohammadmovaghari 9f18d60b9c
Merge branch 'MHSanaei:main' into api-fix 2023-04-04 17:14:40 +03:30
MHSanaei 72f868506d IPIfNonMatch 2023-04-03 23:28:26 +03:30
MHSanaei a784a94806 fixed login view - mobile 2023-04-03 23:19:55 +03:30
MHSanaei 472694a611 Add favicon 2023-04-03 19:55:30 +03:30
MHSanaei 7084812515 iran.dat:other 2023-04-03 02:09:22 +03:30
MHSanaei c07b2c73d7 enable firewall + open port + update geo files 2023-04-02 18:12:00 +03:30
mohammad movaghari nezhad 45469e9f64 fix api in net 3-xui panel 2023-04-02 02:30:15 +04:30
MHSanaei 87acb81496 translate improve 2023-04-01 17:19:01 +03:30
MHSanaei 16be454f6d translate 2023-03-31 20:32:17 +03:30
MHSanaei f2c28822c1 option - ban ir ip - ban ir domain 2023-03-31 00:52:48 +03:30
MHSanaei 48d6362a69 shadow socks base64 + new methods 2023-03-30 18:33:19 +03:30
MHSanaei 3f2adbd70a Update antd.min.css 2023-03-30 17:22:02 +03:30
MHSanaei 88744d92b3 new feature - reset traffic all inbound 2023-03-27 20:12:45 +03:30
MHSanaei 7b38d02ff0 new feature - clone inbound 2023-03-27 20:11:28 +03:30
MHSanaei 606360ae03 params.set xtls 2023-03-26 16:25:28 +03:30
MHSanaei e2fd84a6ae bug fixed (extra enter on client_email) 2023-03-25 20:05:46 +03:30
MHSanaei f56dd43999 "index out of range" fixed 2023-03-25 19:46:03 +03:30
MHSanaei f0f5163a83 typo fixed 2023-03-25 19:42:31 +03:30
MHSanaei 33db9d0f90 remove others 2023-03-24 20:37:44 +03:30
MHSanaei c9d768a086 Update index.html 2023-03-24 17:35:07 +03:30
MHSanaei 9c0718bc44 Revert "Add version and log"
This reverts commit 826c7264b5.
2023-03-24 17:14:26 +03:30
MHSanaei 826c7264b5 Add version and log
TGBOT: Add xray config to backup
[TGBOT] add seach inbound
2023-03-24 17:13:31 +03:30
MHSanaei 162349f8c8 [Bulk client] add option: without random email 2023-03-24 17:11:29 +03:30
MHSanaei a6dfdcdd31 Add version and log 2023-03-24 17:08:30 +03:30
MHSanaei 03a6c131f9 [infoModal] better display 2023-03-24 16:54:21 +03:30
MHSanaei 8dad9a4338 [tgbot] fix admins input 2023-03-24 16:51:43 +03:30
MHSanaei f0d4dbf838 [tgbot] fix exhausted report 2023-03-24 16:50:10 +03:30
MHSanaei 3152d5f191 Remove ugly-bugy qrCode footer 2023-03-24 16:47:14 +03:30
MHSanaei bbec13c0da [tgbot] fix client search 2023-03-24 16:40:56 +03:30
Alireza Ahmadi 0605221628 Enable fallback in xtls as well 2023-03-23 20:14:51 +01:00
Alireza Ahmadi 3856c4d0f9 Fix input-group darck-theme 2023-03-23 12:52:49 +01:00
Alireza Ahmadi 557a9d020a Fix TLS-ALPN + allowInsecure 2023-03-23 11:38:16 +01:00
Alireza Ahmadi 14d7cb812e Default tls version 1.0-1.2 2023-03-23 10:37:13 +01:00
MHSanaei fe7ce3f74b Update xray.js 2023-03-19 14:39:19 +03:30
MHSanaei 9a1cf70451 Update xray.js 2023-03-19 14:13:19 +03:30
MHSanaei e68317c6bd xtls bug fixed 2023-03-19 12:39:14 +03:30
MHSanaei b7f476568b bug fixed 2023-03-18 20:23:29 +03:30
MHSanaei 12828b6a15
Update xray.js 2023-03-18 00:01:20 +03:30
MHSanaei 430338f045 Update trojan.html 2023-03-17 23:05:33 +03:30
MHSanaei 74b14657cf remove useless code 2023-03-17 23:03:21 +03:30
Alireza Ahmadi 738a771b87 Fix delete bug 2023-03-17 19:29:08 +01:00
Alireza Ahmadi 025f559460 Fix clear IP affect in UI 2023-03-17 19:04:07 +01:00
Alireza Ahmadi baaa814a51 Fix del/update affects on clientIPs 2023-03-17 19:02:56 +01:00
MHSanaei 96786c9418 alireza 2023-03-17 19:37:49 +03:30
MHSanaei bc56e63737 pack1 2023-03-17 01:31:14 +03:30
MHSanaei 44b74224ab Update xray.js 2023-03-01 00:42:08 +03:30
MHSanaei 5317df21f3 ip limit + export links 2023-02-28 23:24:29 +03:30
MHSanaei d072db9659 edit type 2023-02-26 17:31:09 +03:30
MHSanaei ef3362464e Update inbounds_client_row.html 2023-02-23 13:28:08 +03:30
MHSanaei add853fada update pack 3
user pass will be generated randomly
upgrade all dependencies
move add client buttom
2023-02-20 20:59:55 +03:30
MHSanaei add95b0861
Update inbounds.html 2023-02-18 19:25:53 +03:30
MHSanaei b412df70f1 update pack 2 2023-02-18 16:07:32 +03:30
MHSanaei fe9844b51b update pack 2023-02-16 19:28:20 +03:30
MHSanaei ef656f7c3e stupid mistake 2023-02-12 17:54:02 +03:30
MHSanaei 6d28c39ae8 en lang edit, new designed 2023-02-12 17:20:09 +03:30
MHSanaei 920259b6f8 Client email as remark in multi-user 2023-02-12 13:45:43 +03:30
MHSanaei 56e8203a34 trojan grpc link fixed - some en lang edited
upgrade
text to v0.7.0
i18nv2 to v2.2.1
sqlite3 to v1.14.16
toml to v1.2.1

downgrade
sessions to v0.0.4
2023-02-11 23:52:24 +03:30
MHSanaei c1980277e1 fa,zh bug fixed - qrcode for trojan added 2023-02-10 18:49:31 +03:30
MHSanaei b9ac8d9ee3 bug fixed 2023-02-09 23:38:14 +03:30
MHSanaei d7ca8ee69d port change to 2053 2023-02-09 23:17:12 +03:30
MHSanaei b73e4173a3 3x-ui 2023-02-09 22:48:06 +03:30