SashegDev
|
cdc81e4e8d
|
v1.0.16.13 — TSPU/SNI-obkhod: domain selection at login + dynamic mirrors
- add DomainSelector: probe every API candidate at launcher startup, pick
fastest reachable (primary api.zern.cc, legacy .ru/.online, geo pl/swe);
integrate into CLI start and JFX network init
- Config.setServerUrl() + persist chosen domain in launcher.properties
- ZHttpClient: default BASE_URL and ZERN_SERVER health-check follow the
selected domain (runtime failover instead of hardcoded api.zernmc.ru)
- server: LAUNCHER_MIRRORS main=api.zern.cc (primary), legacy .ru/.online,
geo-pl api.pl.zern.cc, geo-swe api.swe.zern.cc; /launcher/mirrors exposes them
- diag: check all TLD+geo API hosts (api.{pl,ru,swe}.zern.cc, .ru, .online)
for DNS/TCP/HTTP, known server IPs for all 4 geo nodes
- reverse-proxy geo boxes (pl, swe) -> main:1582 so clients bypass TSPU via
an unblocked SNI; ru left as-is (VLESS VPN box, not proxying API)
|
2026-08-18 22:19:55 +00:00 |
|
SashegDev
|
ce8cf32ddd
|
fix: preserve username case in register/login validators
|
2026-07-30 13:03:48 +00:00 |
|
SashegDev
|
ec7ef01760
|
иним чиним чиним чиним а так же новая система друзей и бутстраппера
|
2026-06-07 12:32:34 +00:00 |
|
SashegDev
|
c0310ed573
|
test(server): add comprehensive test suite (47 tests), fix DB lock and schema bugs
- Add pytest test suite: test_auth.py, test_admin.py, test_pass.py,
test_proxy.py, test_rate_limit.py, test_client_contract.py
- Fix SQLite 'database is locked' errors: moved log_audit() calls outside
with get_db() blocks in register, login, logout, refresh, activate_pass
- Enable WAL mode and busy_timeout in get_db() for concurrent access
- Fix /admin/me: removed non-existent 'email' column from query
- Fix /admin/users list: disambiguated activated_at column in JOIN query
- Fix /auth/refresh: now returns refresh_token + expires_in + username/uuid/role
to match AuthManager.AuthSession expectations; revokes old refresh token
- Fix conftest.py: unique usernames per test to avoid conflicts
- All 47 tests passing
|
2026-05-04 22:14:06 +00:00 |
|
SashegDev
|
c96b502ad4
|
fix(server,security): add ban check to validate_token, replace rate_limit DB with TTLCache
|
2026-05-04 21:12:35 +00:00 |
|
SashegDev
|
e347c042d5
|
feat(server): add /auth/pass/activate endpoint for pass code activation
|
2026-05-04 21:06:56 +00:00 |
|
SashegDev
|
6f53002266
|
fix(server): add role aliases in roles.py to fix broken admin_router imports
|
2026-05-04 21:04:44 +00:00 |
|
Sashegdev
|
10ec8625b9
|
The fuck was hapanned тут
|
2026-04-22 12:54:57 +00:00 |
|
Sashegdev
|
f24cc078c5
|
Merge branch 'main' into alpha
|
2026-04-22 15:26:39 +03:00 |
|
Sashegdev
|
adde40d921
|
Коммит, для того что бы если что роллбекать
|
2026-04-22 12:23:51 +00:00 |
|
Sashegdev
|
c6dd215e9b
|
рефакторинг + новая система модерации
|
2026-04-09 17:28:48 +00:00 |
|
Sashegdev
|
89c0057759
|
Server Fixes
|
2026-04-08 19:56:38 +00:00 |
|
Sashegdev
|
bf26baaf93
|
1.0.7 типоооо и фиксы
|
2026-04-08 19:45:15 +00:00 |
|
Sashegdev
|
9bee361ea4
|
Попытка добавления проходок, аккаунтов, а так же доработка прокси
|
2026-04-07 17:50:29 +00:00 |
|