Commit graph

185 commits

Author SHA1 Message Date
mhsanaei
b7e5264512 pageSize default to 50 2024-07-01 21:11:42 +02:00
mhsanaei
0ca12901f9 check error in remove by core-api
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-06-17 21:55:09 +02:00
mhsanaei
d5d53adc3c gopsutil v4 2024-06-17 21:48:49 +02:00
mhsanaei
bbf083d99b new - vCPUs 2024-05-28 15:11:46 +02:00
Maisam
6509fe255e Add CLI to set panel cert (#2305)
* Add webBasePath update feature to CLI

* Add certificate setting update to CLI

* Revert "Add certificate setting update to CLI"

This reverts commit 2a937d59d7.

* Add certificate setting update to CLI

(cherry picked from commit 2a937d59d7)
2024-05-25 11:35:27 +02:00
Maisam
069fa86097 Add webBasePath update feature to CLI (#2300) 2024-05-25 10:15:06 +02:00
Ahmad Thoriq Najahi
05469ce280 feat(tgbot): Add refresh button to server usage (#2253)
- Added a refresh button to the server usage interface to allow users to refresh the displayed information.
 - Updated the sendReport function to use the sendServerUsage function instead of getServerUsage to ensure consistency in functionality.

Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id>
2024-05-14 14:00:10 +02:00
Ahmad Thoriq Najahi
f2c2e281a8 feat(tgbot): Add xray-core version into server status (#2236)
Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id>
2024-04-29 08:44:16 +02:00
mhsanaei
a7a5c3a5f3 fix empty client ID on request
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-21 00:58:37 +03:30
somebodywashere
a24d7df229 Convert string tgId to int64 on Migrate 2024-04-05 12:24:18 +03:00
mhsanaei
ac1f4fb6a0 telego v0.29.2 2024-04-02 15:43:01 +03:30
mhsanaei
242041d56f tgbot - fix chatid 2024-04-02 15:04:44 +03:30
mhsanaei
71c4bb8551 avoid empty client id
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-01 12:08:25 +04:30
somebodywashere
e09ac1d74f Small fixes (#2106) 2024-03-21 10:21:12 +03:30
somebodywashere
f0ab31b5da Fixed unnecessary Xray restarts in Tgbot 2024-03-15 21:13:20 +03:00
Hamidreza
8970f8f1a6 [iplimit] fix access log path in settings service (#2044)
* [iplimit] fix access log path in settings service

better to avoid hardcoding the access log path to enhance flexibility. not all users prefer the default './access.log'

* [iplimit] fix iplimit
2024-03-13 11:24:41 +03:30
Alireza Ahmadi
81e20b6b8b ip limit only if log is available 2024-03-12 21:53:32 +01:00
MHSanaei
74e0cbe4b8 bug fix - remove secret 2024-03-12 20:45:44 +03:30
MHSanaei
0ac68d2c99 [subJson] add mux and direct
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-12 19:44:51 +03:30
MHSanaei
8fd7c18039 minor changes
Co-Authored-By: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
2024-03-12 17:51:45 +03:30
MHSanaei
e83de58528 avoid empty client id
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:52:28 +03:30
MHSanaei
7186d3cd75 [xray] add BurstObservatory + minor changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:46:54 +03:30
Hamidreza
d503bff637 Some fixes and improvements (#1997)
* [refactor] api controller

* [fix] access log path

better to not hardcode the access log path, maybe some ppl dont want to use the default ./access.log

* [fix] set select options from logs paths in xray settings

* [update] .gitignore

* [lint] all .go files

* [update] use status code for jsonMsg and 401 to unauthorize

* [update] handle response status code via axios

* [fix] set correct value if log paths is set to 'none'

we also use the default value for the paths if its set to none

* [fix] iplimit - only warning access log if f2b is installed
2024-03-11 01:01:24 +03:30
MHSanaei
68cf5e7349 default config domainStrategy 2024-03-11 00:08:57 +03:30
MHSanaei
5997b3484c Enhance CheckClientIpJob #1964 2024-03-02 21:16:28 +03:30
Ikko Eltociear Ashimine
8e338d2502 Update inbound.go (#1925)
Clinet -> Client
2024-02-27 15:03:37 +03:30
MHSanaei
34600e74f8 minor changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Co-Authored-By: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
2024-02-23 17:37:32 +03:30
MHSanaei
4146e72e9e bug fix #1595 2024-02-21 22:20:51 +03:30
MHSanaei
2dccd19dc9 [sub] json + fragment
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-02-21 14:17:52 +03:30
MHSanaei
755fea2f1c [xray] option error log 2024-02-18 01:13:39 +03:30
MHSanaei
38431ba9af minor changes 2024-02-18 01:11:43 +03:30
MHSanaei
0d9f0b4326 tgbot - Telegram api 7.1 changes 2024-02-17 21:15:53 +03:30
surbiks
3519fe657c add outbound traffic reset (#1767) 2024-02-07 11:25:31 +03:30
MHSanaei
dd50038568 xray config - statsOutbound 2024-02-04 13:02:28 +03:30
MHSanaei
d34e358c61 v2.1.3 2024-02-04 01:51:43 +03:30
MHSanaei
2495545cc5 Fix tgbot - document upload issue for empty ban logs 2024-02-04 01:50:14 +03:30
MHSanaei
77492579cc fix tgbot - no warning for empty socks5 2024-02-04 01:45:55 +03:30
MHSanaei
759234d0c5 new - select option for loglevel & access log 2024-02-04 01:45:55 +03:30
Saeid
23cf83c8f1 Show outbound traffic in outbounds table (#1711)
* store outbound traffic in database

* show outbound traffic in outbounds table

* add refresh button
2024-01-30 00:07:20 +03:30
MHSanaei
ae1062a02e bug fix - traffic limit tbbot 2024-01-29 23:36:03 +03:30
MHSanaei
fc7774cf08 unnecessary use of fmt.Sprintf 2024-01-26 17:06:54 +03:30
MHSanaei
690afb8142 fix - direct tag 2024-01-26 16:50:50 +03:30
MHSanaei
457d855107 [bug] avoid empty inbound
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-01-24 20:50:58 +03:30
Amin
dd8353f65a Fix inbounds with the same port and different IPs (#1595) 2024-01-17 16:21:28 +03:30
MHSanaei
513e8ebd53 WARP via wireguard
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-01-11 09:57:21 +03:30
Saeid
419493b71b socks5 proxy option added to telegram bot settings (#1500)
* socks5 option added to telegram bot settings

* update socks5 proxy settings translations
2024-01-03 16:29:29 +03:30
Ali Rahimi
9a6e9bd223 added Jalalian datepicker (shamsi) (#1460)
* added datepicker option in setting page
jalalian datepicker component was added
translate files for datepicker updated

* dark mode bug fixed
2024-01-02 12:02:21 +03:30
somebodywashere
071fd5d2ea Major changes to tgbot, also small changes for panel (#1463)
* Reduce outage time on Xray errors

* Improved logs clearing, added previous logs
File name change: 3xipl-access-persistent.log -> 3xipl-ap.log
All previous logs have .prev suffix

* Preparations for tgbot additions

* [tgbot] Improvements, Additions and Fixes
* Changed interaction with Expire Date for Clients
* Added more info and interactions with Online Clients
* Added a way to get Ban Logs (also added them to backup)
* Few fixes and optimizations in code
* Fixed RU translation

* [tgbot] More updates and fixes

* [tgbot] Quick Fix

* [tgbot] Quick Fix 2

* [tgbot] Big Updates
Added Notifications for Clients throught Tgbot (when Expire)
Added compability for Usernames both w/wo @
Added more buttons overall for admins

* [tgbot] Fixes

* [tbot] Fixes 2

* [tgbot] Removed usernames support for Notifications to work

* [tgbot] Fix

* [tgbot] Fix Notify

* [tgbot] small fixes

* [tgbot] replyMarkup only for last message on big messages

* [tgbot] Fixed last message is empty

* [tgbot] Fix messages split
2024-01-01 18:37:56 +03:30
Alireza Ahmadi
353fb7bde0 [xray] show xray errors #1300 2023-12-10 12:57:39 +01:00
Alireza Ahmadi
d647826eb7 remove xray embeded geo files #1300 2023-12-08 22:13:32 +01:00