Commit graph

19 commits

Author SHA1 Message Date
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
899536ef8f log level & syslog
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-07-31 20:11:47 +03:30
Ho3ein
eb92c3d14c new - loglevel (#612) 2023-06-16 18:25:33 +03:30
Hamidreza Ghavami
f748918a00 rename I18n to I18nWeb 2023-05-21 03:29:27 +04:30
Hamidreza Ghavami
d4c04188b8 update to use WebI18n func 2023-05-20 19:51:45 +04:30
MHSanaei
404d9d77ce security issue - CVE-2023-29401
Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function

References
gin-gonic/gin#3555
gin-gonic/gin#3556
https://pkg.go.dev/vuln/GO-2023-1737
2023-05-15 15:59:27 +03:30
Hamidreza Ghavami
06c8173595 update ImportDB and enhancement 2023-05-06 04:47:57 +04:30
Hamidreza Ghavami
7a26b0e93b fix import db and always restart xray 2023-05-06 02:22:45 +04:30
Hamidreza Ghavami
aca73054b9 add import db api route 2023-05-05 22:49:42 +04:30
MHSanaei
e8a017f9f8 improve reality setting
split xtls from tls - remove iran warp - remove old setting reality from franzkafka (it was a messy code) -and other improvement

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-18 21:34:06 +03:30
MHSanaei
0af3a89cce [backup] fix db name in we request
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-13 18:42:51 +03:30
MHSanaei
79799017a9 bug fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-11 15:41:04 +03:30
MHSanaei
e98a874ef1 alireza update pack
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-09 23:13:18 +03:30
MHSanaei
9c4c414e8e Revert "Add version and log"
This reverts commit 21605a8e8b.
2023-03-24 17:14:26 +03:30
MHSanaei
21605a8e8b Add version and log
TGBOT: Add xray config to backup
[TGBOT] add seach inbound
2023-03-24 17:13:31 +03:30
MHSanaei
7f9f0fd075 Add version and log 2023-03-24 17:08:30 +03:30
MHSanaei
d4b3a01b43 pack1 2023-03-17 01:31:14 +03:30
MHSanaei
b86a09f436 update pack 2 2023-02-18 16:07:32 +03:30
MHSanaei
b73e4173a3 3x-ui 2023-02-09 22:48:06 +03:30