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
2026-01-03feat: Add WebSocket support for real-time updates and enhance VLESS settings ↵lolka1333
(#3605) * feat: add support for trusted X-Forwarded-For and testseed parameters in VLESS settings * chore: update Xray Core version to 25.12.8 in release workflow * chore: update Xray Core version to 25.12.8 in Docker initialization script * chore: bump version to 2.8.6 and add watcher for security changes in inbound modal * refactor: remove default and random seed buttons from outbound form * refactor: update VLESS form to rename 'Test Seed' to 'Vision Seed' and change button functionality for seed generation * refactor: enhance TLS settings form layout with improved button styling and spacing * feat: integrate WebSocket support for real-time updates on inbounds and Xray service status * chore: downgrade version to 2.8.5 * refactor: translate comments to English * fix: ensure testseed is initialized correctly for VLESS protocol and improve client handling in inbound modal * refactor: simplify VLESS divider condition by removing unnecessary flow checks * fix: add fallback date formatting for cases when IntlUtil is not available * refactor: simplify WebSocket message handling by removing batching and ensuring individual message delivery * refactor: disable WebSocket notifications in inbound and index HTML files * refactor: enhance VLESS testseed initialization and button functionality in inbound modal * fix: * refactor: ensure proper WebSocket URL construction by normalizing basePath * fix: * fix: * fix: * refactor: update testseed methods for improved reactivity and binding in VLESS form * logger info to debug --------- Co-authored-by: lolka1333 <test123@gmail.com>
2025-10-02DevToolsmhsanaei
2025-09-28feat: add ldap component (#3568)konstpic
* add ldap component * fix: fix russian comments, tls cert verify default true * feat: remove replaces go mod for local dev
2025-09-24fixmhsanaei
2025-09-24minor changesmhsanaei
2025-09-24bug fixmhsanaei
2025-09-20docs: add comments for all functionsmhsanaei
2025-09-19go package correction v2mhsanaei
2025-09-19go package correctionmhsanaei
2025-09-16vnext removedmhsanaei
2025-09-16feat: Simple periodic traffic reset (for Inbounds) – daily | weekly | ↵Vadim Iskuchekov
monthly (#3407) * Add periodic traffic reset feature model and ui with localization support * Remove periodic traffic reset fields from client * fix: add periodicTrafficReset field to inbound data structure * feat: implement periodic traffic reset job and integrate with cron scheduler * feat: enhance periodic traffic reset functionality with scheduling and inbound filtering * refactor: rename periodicTrafficReset to trafficReset and add lastTrafficResetTime field * feat: add periodic client traffic reset job and schedule tasks * Update web/job/periodic_traffic_reset_job.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update web/job/periodic_client_traffic_reset_job.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update web/service/inbound.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * refactor: rename periodicTrafficReset to trafficReset and add lastTrafficResetTime * feat: add last traffic reset time display and update logic in inbound service * fix: correct log message for completed periodic traffic reset * refactor: update traffic reset fields in Inbound model and remove unused client traffic reset job * refactor: remove unused traffic reset logic and clean up client model fields * cleanup comments * fix
2025-09-14v2.8.0v2.8.0mhsanaei
2025-09-12cookie: MaxAgemhsanaei
and minor changes
2025-09-09api (#3434)Sanaei
2025-02-04revert group management (#2656)Sanaei
* Revert "json post base path bug fixed (#2647)" This reverts commit 04cf250a547bb64265d256e7d15af7cea5ecfa67. * 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 66fe84181b9c4e2f6c6be943a7f486b4308c32ff. * Revert "Add checkpoint handling in CloseDB function (#2646)" This reverts commit 4dd40f6f192e3f94f2ea4fe9e942e6663b5a1527. * Revert "Improved database model migration and added indexing (#2655)" This reverts commit b922d986d6783ce28d00ca948024dee44a11f29e.
2025-01-21Group Management of Subscription Clients (#2644)Ali Rahimi
* add group user with the same subscription id to all inbounds * code format compare * add await for reset client traffic * en language changed * added client traffic syncer job * handle exist email duplicate in sub group * multi reset and delete request for clients group * add client traffic syncer setting option * vi translate file updated * auto open qr-modal bug fixed
2024-07-09improved - message logsmhsanaei
2024-07-07Typo fixedmhsanaei
2024-07-05change session namemhsanaei
2024-05-09[fix] always serve panel even if xray failed to run (#2248)Hamidreza
2024-04-21gin-contrib v1.0.0mhsanaei
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-25run panel on http if https failedMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
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-05[api] online usersMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-12-04gzip compressionMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-09-06move restart cron to web.goMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-08-26[db] Enbancement add traffic fully transactionalMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-08-24daily clear logs #952Hamidreza
2023-08-01IP Limit Tweaks to reduce false bans (#850)somebodywashere
* IP Limit Tweaks to reduce false bans 1) Check IPs every 10s instead of 20s 2) F2B jail: maxretry 3 -> 4, findtime 100 -> 60 * USERS SHOULD UPDATE BANTIME ONCE AFTER UPDATE to recreate jail for Ip Limit
2023-07-01🚀 Some improvements for x-ui.sh and ip job (#665)Hamidreza
2023-06-25change gin-contrib to CalidityMHSanaei
its just a fork for gin-contrib
2023-06-24Added IP Limit Management to x-ui menu, Tweaked IP Limit to check every 20s ↵somebodywashere
(#615) Co-authored-by: Hamidreza <70919649+hamid-gh98@users.noreply.github.com> Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
2023-06-15Removed ipLimit from the panel, changed the code to work with fail2ban (#580)somebodywashere
* Logging for fail2ban service Removed limitDevice and other unnecessary functions * Logging for fail2ban service Removed limitDevice and other unnecessary functions * fixed shouldCleanLog * last fix * reduced ip limit detection frequency to 30 sec (less logging, more precise) changed maxretry in fail2ban jail config to 2 to fit above * fixed check delay * added 5 seconds delay before cleaning logs
2023-05-30use the middlewaresHamidreza Ghavami
2023-05-22[feature] separate subscription serviceMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-21rename I18n to I18nWebHamidreza Ghavami
2023-05-20FIX callback query and BUTTON_DATA_INVALID error with hashStorageHamidreza Ghavami
2023-05-20init i18n in tgbotHamidreza Ghavami
2023-05-20add localizer middleware to web.goHamidreza Ghavami
2023-05-20replace new localizer to web.goHamidreza Ghavami
2023-05-20some fix and prune for tgbotHamidreza Ghavami
2023-05-14HOTFIX redirect middleware to add basePathHamidreza Ghavami
2023-05-14Add Redirect Middleware for RouterHamidreza Ghavami
2023-05-12Change route path '/xui' to '/panel'Hamidreza Ghavami
2023-04-28remove favicon from web rootMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-09alireza update packMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-03Add faviconMHSanaei
2023-03-17alirezaMHSanaei
2023-02-28ip limit + export linksMHSanaei