Kirill
b2ccc2a256
chore: fix lint issues, remove unused hasAvatar
2026-05-22 12:27:20 +05:00
Kirill
be65f2330e
refactor(client): remove avatarType, add auth effects, simplify UserAvatar
2026-05-22 12:08:41 +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
f6729210db
feat: public admin avatar endpoint, real admin avatar in user chat
2026-05-21 21:50:07 +05:00
Kirill
44c95502f8
test commit
2026-05-21 21:17:16 +05:00
Kirill
d056399b3b
test commit
2026-05-21 14:32:45 +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
a176955521
test commit
2026-05-21 12:18:36 +05:00
Kirill
76cd19e3ab
test commit
2026-05-21 12:04:07 +05:00
Kirill
7117978800
Merge branch 'payd'
2026-05-21 12:03:23 +05:00
Kirill
41b95d7122
test commit
2026-05-21 12:03:07 +05:00
Kirill
1837b36b14
test commit
2026-05-21 12:02:29 +05:00
Kirill
dad644190a
fix: remove redundant index on yookassaPaymentId
2026-05-20 17:54:01 +05:00
Kirill
7bba78b4c0
feat: add Payment model for yookassa integration
2026-05-20 17:49:14 +05:00
Kirill
b06ba64365
test commit
2026-05-20 12:07:22 +05:00
Kirill
af5376d0e1
fix: rename name→displayName in remaining Prisma select clauses
2026-05-20 11:31:24 +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
36880c298c
feat: rename User.name→displayName, add firstName/lastName/gender/avatar
2026-05-20 10:39:01 +05:00
Kirill
cb4661dc13
test commit
2026-05-19 15:32:45 +05:00
Kirill
17b683f131
feat: remove InfoPageBlock model from Prisma schema
2026-05-19 15:14:38 +05:00
Kirill
5adbe9baa7
test commit
2026-05-19 11:25:23 +05:00
Kirill
d0b3c97803
feat: improve notifications - fix auth code tg duplicate, double order notify, add PAID label, expand text, add deliveryFeeAdjusted event
2026-05-18 14:48:54 +05:00
Kirill
4816d098da
feat: add notification system database models
2026-05-18 11:20:53 +05:00
Kirill
c8281a39e5
feat(db): add isResized to GalleryImage
2026-05-17 17:39:44 +05:00
Kirill
f855568687
refactor: simplify order status model — remove DELIVERY_FEE_ADJUSTMENT and PAYMENT_VERIFICATION
...
- Add deliveryFeeLocked field to Order model
- Remove DELIVERY_FEE_ADJUSTMENT and PAYMENT_VERIFICATION statuses (11→8)
- 3 order paths: delivery+online (locked→unlocked→paid), pickup+online (unlocked→paid), pickup+on_pickup (direct to in_progress)
- Update checkout to use PENDING_PAYMENT + deliveryFeeLocked
- Update payment flow to stay in PENDING_PAYMENT until admin confirms
- Update admin UI to use deliveryFeeLocked instead of status check
- Update client payment UI with new deliveryFeeLocked logic
2026-05-15 21:55:14 +05:00
Kirill
25901ae224
update goods
2026-05-15 14:23:54 +05:00
Kirill
89d605adf4
update goods
2026-05-15 12:50:39 +05:00
@kirill.komarov
7a92991cff
deploy
2026-05-11 20:15:01 +05:00
@kirill.komarov
4eda6d0f81
deploy
2026-05-11 15:14:35 +05:00
@kirill.komarov
20096c1eec
deploy
2026-05-10 17:38:04 +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
f6b6959268
base commit
2026-04-29 17:32:21 +05:00
@kirill.komarov
3f7fdb1e15
base commit
2026-04-28 22:15:12 +05:00
@kirill.komarov
2148fd7a12
base commit
2026-04-28 21:36:30 +05:00
@kirill.komarov
55480d4aa5
init project
2026-04-28 11:02:08 +05:00