Commit graph

30 commits

Author SHA1 Message Date
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
Columbiysky
b7be30dccc feat: hashing user passwords
solves problems #2944, #2783
2025-05-03 16:27:53 +07:00
mhsanaei
1c452cb40e Refactor: Use any instead of interface{} 2025-03-12 20:43:43 +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
Zahar Izmailov
cb6ba20865 Improved database model migration and added indexing (#2655) 2025-02-03 13:36:03 +01:00
Zahar Izmailov
13b1e4c7e6 Add checkpoint handling in CloseDB function (#2646)
* Add checkpoint handling in CloseDB function

---------

Co-authored-by: Zakhar Izmaylov <ptdev@kedruss.ru>
2025-01-21 22:55:21 +01:00
Zahar Izmailov
fc8cce9f90 Enhance database initialization in db.go (#2645)
- Updated GORM configuration to skip default transactions and prepare statements.
- Modified the database connection string to include caching and journal mode settings.
- Executed several PRAGMA statements to optimize SQLite performance and enable foreign key support.

These changes improve database handling and performance in the application.

Co-authored-by: Zakhar Izmaylov <ptdev@kedruss.ru>
2025-01-21 02:59:30 +01:00
mhsanaei
df98d80b91 Client: Comment
now you can add Comment and write anything you want to remember
2024-12-27 13:48:07 +01:00
mhsanaei
72bf4b3f29 New - Allocate 2024-09-16 11:41:21 +02:00
mhsanaei
0b783461c6 new - vmess security (inbound client side - outbound) 2024-08-11 00:47:44 +02:00
mhsanaei
1516c14596 Refactor database initialization 2024-07-14 01:22:51 +02:00
mhsanaei
9bf45ad930 minor changes 2024-05-28 16:28:20 +02:00
mhsanaei
242041d56f tgbot - fix chatid 2024-04-02 15:04:44 +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
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
Amin
dd8353f65a Fix inbounds with the same port and different IPs (#1595) 2024-01-17 16:21:28 +03:30
Alireza Ahmadi
5cd8ce285c Update DB WAL before backup #1300 2023-12-08 20:35:10 +01:00
Alireza Ahmadi
ea66a1b23c auto renew feature #1286 2023-12-04 19:20:16 +01:00
Hamidreza
b0209fb0f9 🚀 Some improvements for x-ui.sh and ip job (#665) 2023-07-01 15:56:43 +03:30
MHSanaei
5a7d090347 removed - alterId
https://github.com/XTLS/Xray-core/pull/2199
9112cfd39c
2023-06-13 17:26:50 +03:30
MHSanaei
7dc90c9e79 a lot of improvement 2023-05-23 02:43:15 +03:30
Hamidreza Ghavami
d96519c33d update axios-init and db.go 2023-05-05 22:51:39 +04:30
MHSanaei
b45f7f1a30 secret token thanks to @HarlyquinForest 2023-04-21 19:00:14 +03:30
MHSanaei
3f4821ff85 http header bug fixed 2023-04-10 14:33:50 +03:30
MHSanaei
e98a874ef1 alireza update pack
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-09 23:13:18 +03:30
MHSanaei
2d477ae45b alireza 2023-03-17 19:37:49 +03:30
MHSanaei
692d5fb588 ip limit + export links 2023-02-28 23:24:29 +03:30
MHSanaei
b86a09f436 update pack 2 2023-02-18 16:07:32 +03:30
MHSanaei
aca5dbf119 update pack 2023-02-16 19:28:20 +03:30
MHSanaei
b73e4173a3 3x-ui 2023-02-09 22:48:06 +03:30