Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-21feat: Add MySQL database support (#3024)MySQL-databasesAli Golzar
* feat: Add MySQL database support - Add MySQL database support with environment-based configuration - Fix MySQL compatibility issue with 'key' column name - Maintain SQLite as default database - Add proper validation for MySQL configuration - Test and verify compatibility with existing database - Replaced raw SQL queries using JSON_EACH functions with standard GORM queries - Modified functions to handle JSON parsing in Go code instead of database since JSON_EACH is not available on MySQL or MariaDB: - getAllEmails() - GetClientTrafficByID() - getFallbackMaster() - MigrationRemoveOrphanedTraffics() The system now supports both MySQL and SQLite databases, with SQLite remaining as the default option. MySQL connection is only used when explicitly configured through environment variables. * refactor: prefix env variables of database with XUI_ to support direct environment usage without .env file All database configuration environment variables now start with the XUI_ prefix to avoid conflicts and allow configuration via system-level environment variables, not just the .env file.
2025-05-06Added 3 new buttons to telegram bot (#2965)nistootsin
* 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-03-12Refactor: Use any instead of interface{}mhsanaei
2024-11-16fix core restart on client change (#2603)Alireza Ahmadi
2024-10-15fix core restart on traffic reset of disabled clientMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-10-10[bug] fix restarting core on disabling depleted userAlireza Ahmadi
2024-10-10[refactor] email verification methodAlireza Ahmadi
2024-10-09validate Email - non-English Patternmhsanaei
2024-09-16New - Allocatemhsanaei
2024-09-12Email Validation - new patternmhsanaei
@ included
2024-09-05Update Email Validationmhsanaei
2024-09-02fix restart after enabling usermhsanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-08-11new - vmess security (inbound client side - outbound)mhsanaei
2024-07-23API - Get client's traffic By IDmhsanaei
Co-Authored-By: Hassan Ali Gilani <mr.ajaxian@gmail.com>
2024-07-09improved - message logsmhsanaei
2024-07-07Typo fixedmhsanaei
2024-07-04unnecessary logmhsanaei
2024-07-04typomhsanaei
2024-06-17check error in remove by core-apimhsanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-21fix empty client ID on requestmhsanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-05Convert string tgId to int64 on Migratesomebodywashere
2024-04-02tgbot - fix chatidmhsanaei
2024-04-01avoid empty client idmhsanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-15Fixed unnecessary Xray restarts in Tgbotsomebodywashere
2024-03-12minor changesMHSanaei
Co-Authored-By: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
2024-03-11avoid empty client idMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11[xray] add BurstObservatory + minor changesMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11Some fixes and improvements (#1997)Hamidreza
* [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-02-27Update inbound.go (#1925)Ikko Eltociear Ashimine
Clinet -> Client
2024-02-23minor changesMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com> Co-Authored-By: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
2024-02-21bug fix #1595MHSanaei
2024-01-29Show outbound traffic in outbounds table (#1711)Saeid
* store outbound traffic in database * show outbound traffic in outbounds table * add refresh button
2024-01-24[bug] avoid empty inboundMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-01-17Fix inbounds with the same port and different IPs (#1595)Amin
2024-01-01Major changes to tgbot, also small changes for panel (#1463)somebodywashere
* Reduce outage time on Xray errors * Improved logs clearing, added previous logs File name change: 3xipl-access-persistent.log -> 3xipl-ap.log All previous logs have .prev suffix * Preparations for tgbot additions * [tgbot] Improvements, Additions and Fixes * Changed interaction with Expire Date for Clients * Added more info and interactions with Online Clients * Added a way to get Ban Logs (also added them to backup) * Few fixes and optimizations in code * Fixed RU translation * [tgbot] More updates and fixes * [tgbot] Quick Fix * [tgbot] Quick Fix 2 * [tgbot] Big Updates Added Notifications for Clients throught Tgbot (when Expire) Added compability for Usernames both w/wo @ Added more buttons overall for admins * [tgbot] Fixes * [tbot] Fixes 2 * [tgbot] Removed usernames support for Notifications to work * [tgbot] Fix * [tgbot] Fix Notify * [tgbot] small fixes * [tgbot] replyMarkup only for last message on big messages * [tgbot] Fixed last message is empty * [tgbot] Fix messages split
2023-12-08import-export inbound #1300Alireza Ahmadi
2023-12-08small fixes #1300Alireza Ahmadi
2023-12-08Expand multiDomain to externalProxy #1300Alireza Ahmadi
2023-12-05xray setting enhancements #1286Alireza Ahmadi
2023-12-04auto renew feature #1286Alireza Ahmadi
2023-12-04online users backend #1286Alireza Ahmadi
2023-11-20[bot] Some new features for telegram bot (#1241)Masoud Hidden
* [bot] Some new features for telegram bot +Ability to set traffic limit for client. +Custom input for reset expire days. +Custom input for reset IP limit. +Added refresh time to the client ip log message. * [bot] fix translations
2023-08-26[db] Enbancement add traffic fully transactionalMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-07-31fix logs in apiMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-07-27full multiuser shadowsocksMHSanaei
full multiuser shadowsocks + fix logs after api changes Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-07-18[feature] using xray API for inboundMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-07-01🚀 Some improvements for x-ui.sh and ip job (#665)Hamidreza
2023-06-13removed - alterIdMHSanaei
https://github.com/XTLS/Xray-core/pull/2199 https://github.com/XTLS/Xray-core/commit/9112cfd39c2105d5b513275f9659b26e92fa7b67
2023-06-07random sub IdMHSanaei
optimize utils trojan short id fix index page better view
2023-06-05[feature] using xray api and moreMHSanaei
Improve DB performance [api] backward compatibility: add client by update Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>