Kirill
09c5e0cd50
ыввы
2026-05-25 21:14:19 +05:00
Kirill
88fedd675a
пва
2026-05-24 15:10:24 +05:00
Kirill
d0d7eab77e
пва
2026-05-23 18:47:35 +05:00
Kirill
20e4b1e0ab
feat: latin-only slugs, server-side avatar generation, remove unused User fields
2026-05-22 19:32:30 +05:00
Kirill
49f24d7482
split auth.js into focused modules (Task 3)
...
- auth-session.js: GET /api/me, GET /api/me/auth-methods
- auth-password.js: POST /api/me/password, POST /api/me/change-password
- auth-oauth.js: DELETE /api/me/oauth/:provider
- auth.js: kept only /api/auth/* routes + /api/me/profile
- api.js: registers new auth route modules
- tests split to separate files per module
2026-05-22 15:19:30 +05:00
Kirill
d79d02d5d1
refactor: remove email change functionality
2026-05-22 14:20:11 +05:00
Kirill
ad43ff98b6
feat: add password change and reset via email code
2026-05-22 14:12:29 +05:00
Kirill
abb14a49e0
feat(server): add auth-methods, set-password, unlink-oauth endpoints
2026-05-22 11:47:46 +05:00
Kirill
bb7b40ac45
fix(server): remove all avatarType references after DB column drop
2026-05-22 11:36:11 +05:00
Kirill
c3e4f5bdd2
feat(server): add POST /api/auth/register and /api/auth/login
...
- Add register endpoint with email/password validation, bcrypt hashing
- Add login endpoint with rate limiting per IP (5 attempts/min)
- Add helper functions: validatePassword, hashPassword, comparePassword, isAdminEmail
- Add checkLoginRateLimit for brute-force protection
- Add bcrypt dependency
- Remove avatarType column from User (migration)
2026-05-22 11:26:00 +05:00
Kirill
47124a01a7
test commit
2026-05-21 14:22:03 +05:00
Kirill
058fa26e12
test commit
2026-05-21 13:39:45 +05:00
Kirill
c32d5e6aff
fix: use sx for justifyContent in OAuthButtons, fix import order in test
2026-05-20 11:14:36 +05:00
Kirill
ce49f75100
feat: use displayName in mapUserForClient and profile update
2026-05-20 10:46:31 +05:00
Kirill
5adbe9baa7
test commit
2026-05-19 11:25:23 +05:00
Kirill
2f67c37502
test commit
2026-05-18 13:54:05 +05:00
Kirill
84cdccaa17
feat: emit notification events from existing routes
2026-05-18 11:39:02 +05:00
@kirill.komarov
a06f9cf2c4
Merge branch 'refactor'
2026-05-13 22:07:46 +05:00
@kirill.komarov
4eda6d0f81
deploy
2026-05-11 15:14:35 +05:00
@kirill.komarov
517cd23a55
deploy
2026-05-10 17:15:56 +05:00
@kirill.komarov
5ddde15fd3
base commit
2026-05-10 14:28:35 +05:00
@kirill.komarov
97537a8717
base commit
2026-05-10 13:50:44 +05:00
@kirill.komarov
fe10f25b8c
base commit
2026-05-03 19:57:12 +05:00
@kirill.komarov
9139a24093
base commit
2026-04-30 22:34:55 +05:00
@kirill.komarov
123d86091d
base commit
2026-04-29 20:23:30 +05:00
@kirill.komarov
bfc9661d22
base commit
2026-04-29 19:14:34 +05:00
@kirill.komarov
326521c9e6
base commit
2026-04-29 18:34:25 +05:00
@kirill.komarov
2148fd7a12
base commit
2026-04-28 21:36:30 +05:00