Commit graph

18 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
1516c14596 Refactor database initialization 2024-07-14 01:22:51 +02:00
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
Alireza Ahmadi
5cd8ce285c Update DB WAL before backup #1300 2023-12-08 20:35:10 +01:00
Hamidreza
b0209fb0f9 🚀 Some improvements for x-ui.sh and ip job (#665) 2023-07-01 15:56:43 +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
692d5fb588 ip limit + export links 2023-02-28 23:24:29 +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