Commit graph

248 commits

Author SHA1 Message Date
Gapord
15b4ae9be6 test 2025-07-27 12:49:45 +03:00
Azavax
0216dfd1c4 Endpoint for updating client traffic by email (#3259)
* Update api.go

* Update inbound.go

* Update inbound.go
2025-07-22 23:43:48 +02:00
mhsanaei
7c0fce2b91 new alternative to get public IP address 2025-07-06 20:45:58 +02:00
Shishkevich D.
0994dea15c chore: reset two-factor authentication after changing admin credentials (#3029)
* chore: add `resetTwoFactor` argument for main.go

fixes #3025

* chore: reset two-factor authentication after changing admin credentials

* chore: reset two-factor authentication after changing admin credentials

---------

Co-authored-by: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2025-07-02 11:25:25 +02:00
Shishkevich D.
f6ae36571c chore: up minimal xray-core version to v25.6.8 2025-06-16 12:22:56 +07:00
rammiah
abc5d4ff89 feat: support metrics config 2025-06-11 18:42:41 +08:00
spatiumstas
42a3fee406 feat: add command list in telegram bot (#3027) 2025-05-28 15:26:29 +07:00
Columbiysky
9c717848f2 fix: Restore from .db file fails (#2988)
* fix: issue 2953. Restore from .db file fails because

* Update server.go
2025-05-14 17:35:53 +02:00
Shishkevich D.
31f9be62b5 chore: implement 2fa auth (#2968)
* chore: implement 2fa auth

from #2786

* chore: format code

* chore: replace two factor token input with qr-code

* chore: requesting confirmation of setting/removing two-factor authentication

otpauth library was taken from cdnjs

* chore: revert changes in `ClipboardManager`

don't need it.

* chore: removing twoFactor prop in settings page

* chore: remove `twoFactorQr` object in `mounted` function
2025-05-08 16:20:58 +02:00
nistootsin
b0b72fd5c8 Added 3 new buttons to telegram bot (#2965)
* Add a new button to but : Reset All Clients

* handel translation for `Reset All Clients` button

* refactoring

* add a new button to telegram bot >> `Sorted Traffic Usage Report`

* - refactoring

* add ip limit conifg on new client adding time
2025-05-06 18:27:17 +02:00
Shishkevich D.
b9e0781f52 feat: implement geofiles update in panel (#2971)
solves #2672

Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2025-05-06 18:10:58 +02:00
Columbiysky
b7be30dccc feat: hashing user passwords
solves problems #2944, #2783
2025-05-03 16:27:53 +07:00
nistootsin
cd295775f2 feat: add Submit As Enable in telegram bot 2025-04-16 15:16:55 +07:00
mhsanaei
d77d5f0152 minor changes 2025-04-07 00:45:52 +02:00
nistootsin
23a554a5aa Add Admin-Controlled Client Management to Telegram Bot (#2788)
* Add feature to add clients to inbound:
- Implement buttons for adding new clients
- Handle client addition process (submission remains to be completed)
- Support for multiple languages

* update the go.mod

* feat: complete submission process for adding a client to inbounds

* - Add client variables: client_method, client_sh_password, client_tr_password
- Exclude specific inbound protocols (HTTP, WireGuard, Socks, DOKODEMO) from addclient inline button

* - customize the add client message and json for each protocol

* - handle password input rather than id for shadow and trojan protocols

* - remove add_client_as_enable button in bot

* restructrure the add client bot feature

* update all files in web/translation/

* Refactoring

* - add traffic button to add client bot feature

* - fix a mistake in the email prompt message

* - add expire data button to add client telegram process.

* Refactroring

* remove refresh button in add client

* - delete message after cancel

* - uptimize the process of adding client by deleting main message on
  getting text inputs.
2025-03-26 19:16:35 +01:00
Ilya Afanasov
2d5da560f9 feat: custom subscription title in panel (#2773)
* feat: custom subscription title in panel

* feat: added translations
2025-03-15 08:16:59 +01:00
mhsanaei
1c452cb40e Refactor: Use any instead of interface{} 2025-03-12 20:43:43 +01:00
mhsanaei
5c7514b585 warp - optimize utility code 2025-03-12 19:27:19 +01:00
mhsanaei
714f39509e fix - public IP #2763 2025-03-12 19:20:13 +01:00
mhsanaei
f31304a9a3 tgbot - restart
change restart force to restart
2025-03-08 23:08:04 +01:00
mhsanaei
70ceee75ac Xray core v25.3.3 2025-03-04 09:54:10 +01:00
mhsanaei
c27b7c8ee3 fix mistake 2025-03-01 10:19:52 +01:00
mhsanaei
5db945c758 Xray core buggy version removed 2025-02-27 13:40:56 +01:00
mhsanaei
e21716763f bug fix #2660 2025-02-22 14:31:08 +01:00
AAA
6f3856211e feat(externalTrafficJob): External Traffic Inform (#2660)
* Add Setting entity + GUI field in panel settings

* Add a missing 'Traffic' in InformEnabale field

* Add ExternalTrafficURL Post request call

* Add translation + cleanup

* Move options to General tab

---------

Co-authored-by: root <root@vm3562019.stark-industries.solutions>
Co-authored-by: root <root@vm3688062.stark-industries.solutions>
2025-02-22 10:45:14 +01:00
Sanaei
7e64355f51 revert group management (#2656)
* Revert "json post base path bug fixed (#2647)"

This reverts commit 2c88e53ba0.

* Revert "Group Management of Subscription Clients"

* Revert "fix getSubGroupClients for enable/disable and edit clients."

* Revert "Enhance database initialization in db.go (#2645)"

This reverts commit fc8cce9f90.

* Revert "Add checkpoint handling in CloseDB function (#2646)"

This reverts commit 13b1e4c7e6.

* Revert "Improved database model migration and added indexing (#2655)"

This reverts commit cb6ba20865.
2025-02-04 11:27:58 +01:00
mhsanaei
4f3d530874 outbound Traffic - default false
if you need it you need to change it manually to true
2025-01-26 11:22:42 +01:00
Ali Rahimi
661ae0e671 Group Management of Subscription Clients (#2644)
* add group user with the same subscription id to all inbounds

* code format compare

* add await for reset client traffic

* en language changed

* added client traffic syncer job

* handle exist email duplicate in sub group

* multi reset and delete request for clients group

* add client traffic syncer setting option

* vi translate file updated

* auto open qr-modal bug fixed
2025-01-21 03:01:54 +01:00
mhsanaei
573afb1f0a time Location - local 2025-01-11 15:13:49 +01:00
mhsanaei
2ab8de711c Xray core buggy version removed
v1.8.24 and
major >=25.1.1
2025-01-01 18:36:46 +01:00
mhsanaei
5f97663e30 Xray core buggy version removed
accept >= v24.11.30 or v1.8.24
2024-12-05 20:17:47 +01:00
mhsanaei
665154fbdf [warp] report error in change license
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-12-03 23:01:32 +01:00
mhsanaei
16cb0c9973 AsIs - freedom DS 2024-11-21 00:31:45 +03:30
Alireza Ahmadi
0431bb113e fix core restart on client change (#2603) 2024-11-16 17:05:23 +03:30
mhsanaei
0fd0843b56 Xray core buggy version removed
accept >= v24.11.11 or v1.8.24
2024-11-12 12:13:10 +03:30
mhsanaei
9143b14a59 bash - set or reset listenIP
we need this if we want to add SSH port forwarding
2024-10-30 16:35:36 +01:00
mhsanaei
17b78ebcdd Xray core buggy version removed
only v24.10.16 or newer and v1.8.24
2024-10-29 14:56:30 +01:00
MadrinX
d670a70ee0 feat(tgbot): Add the option to change the telegram API server (#2584) 2024-10-17 10:59:42 +02:00
mhsanaei
c6d6a89273 freedom - default settings 2024-10-17 10:36:05 +02:00
Ahmad Thoriq Najahi
42ee6d7a10 feat(tgbot): Allow restart core via telegram bot (#2581) 2024-10-16 14:39:25 +02:00
MHSanaei
e0189ddc9c fix core restart on traffic reset of disabled client
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-10-15 20:54:23 +02:00
Alireza Ahmadi
10062a1357 [bug] fix restarting core on disabling depleted user 2024-10-10 17:37:06 +02:00
Alireza Ahmadi
9ac3537370 [refactor] email verification method 2024-10-10 17:32:50 +02:00
mhsanaei
aa0031b22a validate Email - non-English Pattern 2024-10-09 10:49:05 +02:00
mhsanaei
3ee55a4727 add or remove noise 2024-09-24 11:38:10 +02:00
mhsanaei
f1086b6460 update noise to noises
+ type
2024-09-17 09:51:57 +02:00
mhsanaei
72bf4b3f29 New - Allocate 2024-09-16 11:41:21 +02:00
mhsanaei
2a4bb93ead Email Validation - new pattern
@ included
2024-09-12 10:07:53 +02:00
mhsanaei
ac33b38c38 Session - default 60 minute (minimum) 2024-09-12 09:41:24 +02:00
mhsanaei
8a48cd574b Update Email Validation 2024-09-05 15:16:15 +02:00