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-05-05ws/inbounds: realtime fixes + perf for 10k+ client inbounds (#4123)HEADmainlolka1333
* ws/inbounds: realtime fixes + perf for 10k+ client inbounds - hub: dedup, throttle, panic-restart, deadlock fix, race tests - client: backoff cap + slow-retry instead of giving up - broadcast: delta-only payload, count-based invalidate fallback - filter: fix empty online list (Inbound has no .id, use dbInbound.toInbound) - perf: O(N²)→O(N) traffic merge, bulk delete, /setEnable endpoint - traffic: monotonic all_time + UI clamp + propagate in delta handler - session: persist on update/logout (fixes logout-after-password-change) - ui: protocol tags flex, traffic bar normalize * Remove hub_test.go file * fix: ws hub, inbound service, and frontend correctness - propagate DelInbound error on disable path in SetInboundEnable - skip empty emails in updateClientTraffics to avoid constraint violations - use consistent IN ? clause, drop redundant ErrRecordNotFound guards - Hub.Unregister: direct removeClient fallback when channel is full - applyClientStatsDelta: O(1) email lookup via per-inbound Map cache - WS payload size check: Blob.size instead of .length for real byte count * fix: chunk large IN ? queries and fix IPv6 same-origin check * fix: chunk large IN ? queries and fix IPv6 same-origin check * fix: unify clientStats cache, throttle clarity, hub constants * fix(ui): align traffic/expiry cell columns across all rows * style(ui): redesign outbounds table for visual consistency * style(ui): redesign routing table for visual consistency * fix: * fix: * fix: * fix: * fix: * fix: font * refactor: simplify outbound tone functions for consistency and maintainability --------- Co-authored-by: lolka1333 <test123@gmail.com>
2026-04-20Centralize session options and adjust cookiesMHSanaei
Configure session cookie options centrally in initRouter and remove per-login MaxAge handling. Deleted SetMaxAge helper and its use in the login flow; session.Options are now applied once using basePath with HttpOnly and SameSite defaults, and MaxAge is set only when the stored setting is available and >0. Also make CookieManager.setCookie treat exdays as optional (only add expires when provided) and stop using a hardcoded 150-day expiry for the lang cookie in the JS language manager. Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2026-03-18Add Go code analyzer workflowMHSanaei
2026-03-04feat: mask password in telegram notification on 2FA failure (#3884)Aleksei Sidorenko
2025-09-24minor changesmhsanaei
2025-09-20docs: add comments for all functionsmhsanaei
2025-09-19go package correction v2mhsanaei
2025-09-19go package correctionmhsanaei
2025-05-08chore: implement 2fa auth (#2968)Shishkevich D.
* 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
2024-12-16fix sessionMHSanaei
twice set-cookie bug fixed
2024-12-04show IP on warning log when user pass is not correct (#2607)lexnake3
2024-09-12Session - default 60 minute (minimum)mhsanaei
2024-08-06fix sessionmhsanaei
2024-07-15safe loginmhsanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-07-09improved - message logsmhsanaei
2024-07-05change session namemhsanaei
2024-07-04some changesmhsanaei
2024-07-03tgbot - login notify (show password for failed login)mhsanaei
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
2023-06-16new - loglevel (#612)Ho3ein
2023-05-21rename I18n to I18nWebHamidreza Ghavami
2023-05-20update to use WebI18n funcHamidreza Ghavami
2023-05-20some fix and prune for tgbotHamidreza Ghavami
2023-05-13Set session max-age to default if defined zeroMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-12Change route path '/xui' to '/panel'Hamidreza Ghavami
2023-05-12add searchDatafiles routeHamidreza Ghavami
2023-04-26bug fixMHSanaei
2023-04-25[feature] add login session timeoutMHSanaei
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-21secret token thanks to @HarlyquinForestMHSanaei
2023-03-17alirezaMHSanaei
2023-02-18update pack 2MHSanaei
2023-02-093x-uiMHSanaei