heagbokat
e0247bc288
Fix case-insensitive auth and harden for production
...
- Fix login/register to treat usernames case-insensitively (HeagBoKaT == heagbokat) using LOWER() in SQL with JS .toLowerCase() for Unicode safety
- Add helmet for HTTP security headers and express-rate-limit on auth endpoints (20 req / 15 min) to prevent brute-force
- Lock CORS to ALLOWED_ORIGIN env var; warn if JWT_SECRET is the default dev key
- Serve built client/dist from Express so a single PM2 process handles everything
- Add deploy.sh, README.md with full first-run and auto-restart instructions, and server/.env.example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 23:29:06 +03:00
HeagBoKaT
68c17b16fe
Fix avatar picker modal: use createPortal to escape animated parent
2026-05-29 15:51:12 +03:00
HeagBoKaT
398f3225de
Fix modal: use createPortal to render outside transformed parent
2026-05-29 15:49:48 +03:00
HeagBoKaT
eea0fd716a
Fix modal: simple flex center, remove body position hacks
2026-05-29 15:30:53 +03:00
HeagBoKaT
2086483ede
Fix modal: position at 50vh with translate-y -50%
2026-05-29 15:22:13 +03:00
HeagBoKaT
40d3729a78
Fix modal offset: use overflow:hidden instead of position:fixed on body
2026-05-29 15:10:27 +03:00
HeagBoKaT
c0be9f6eb4
Fix modal: center on all screens, remove bottom-sheet that caused offset
2026-05-29 15:06:22 +03:00
HeagBoKaT
f043107f87
Fix modal scroll shift: add width:100% to body lock
2026-05-29 14:59:33 +03:00
HeagBoKaT
466cb97a4e
Fix likes batch route order, add profile links to all usernames
2026-05-29 14:46:18 +03:00
HeagBoKaT
025e52e6b1
Fix likes display, add avatar system (presets+upload), improve desktop layout, fix profile viewing
2026-05-29 14:21:40 +03:00
HeagBoKaT
3664b60f10
Fix mobile scroll jump, add comments, rename to Котограм
2026-05-29 13:58:42 +03:00
HeagBoKaT
4bf9ea22dd
UI: complete redesign — warm atelier style, Manrope font, burnt orange accent, shadow-based cards
2026-05-29 13:34:58 +03:00
HeagBoKaT
7fa7394739
UI: modern editorial redesign — stone palette, blue-purple gradient, clean typography
2026-05-29 13:19:05 +03:00
HeagBoKaT
cfc6001d62
Админ: управление caption, баллами, список постов
2026-05-29 12:43:37 +03:00
HeagBoKaT
12701ffbc2
Баллы +1 за загрузку, убраны из лайков. Админ-панель (admin/admin123)
2026-05-29 12:13:42 +03:00
HeagBoKaT
f8f220469c
UI: доработано оформление — тени, анимации, градиенты, iOS-стиль
2026-05-29 11:52:04 +03:00
HeagBoKaT
a67b8c3341
UI: полноценный красивый интерфейс, iOS-style дизайн, все страницы
2026-05-29 11:12:53 +03:00
HeagBoKaT
b277e0f177
UI: Telegram-стиль, синий акцент, bubble-карточки
2026-05-29 10:42:13 +03:00
HeagBoKaT
ea0df060e8
UI: тёплый современный дизайн + русификация
2026-05-29 10:38:01 +03:00
HeagBoKaT
e4b25fe4b7
first commit
2026-05-29 10:23:25 +03:00