Commit graph

25 commits

Author SHA1 Message Date
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