feat(auth): implement all 16 homepage/login/register review items

- add countArticles() (published-only, mirrors news-list) and warm total_articles
- localize homepage metadata; bind articleCount to both stats; unique photo alts
- drop duplicate news date and the mascot preload priorities
- extract shared AuthPageFrame/AuthUsersCards used by /login and /register
- login: localized noindex metadata, session redirect via safeRedirectPath,
  ?from passthrough from proxy, unified auth roster cache keys, registered notice
- register: localized metadata, session redirect to /me, unified cache keys
- add resend-verification flow on /verify with rate-limited non-enumerable action
- add safeRedirectPath() with unit tests
- register form: live requirements checklist + password mismatch guard
- login form: unverified state with resend-link CTA
- honour prefers-reduced-motion in TypewriterText
- add 6 translations across all 25 locales
This commit is contained in:
openhands committed 2026-10-08 18:49:27 +02:00
1 parent 8561c3f85e
commit 3933214953
43 files changed
+1037 -490

No files matched your search

+8 -2
View File
@@ -847,7 +847,9 @@
"username": "Nazwa użytkownika",
"password": "Hasło",
"showPassword": "Pokaż",
"hidePassword": "Ukryj"
"hidePassword": "Ukryj",
"registeredSuccess": "Konto utworzone — sprawdź skrzynkę odbiorczą, aby znaleźć link weryfikacyjny, a następnie zaloguj się.",
"verifyEmailCta": "Poproś o nowy link weryfikacyjny"
},
"register": {
"title": "Utwórz konto",
@@ -947,7 +949,11 @@
"invalidTitle": "Weryfikacja e-mailowa",
"invalidSubtitle": "Nieprawidłowy lub wygasły link",
"invalidBody": "Ten link weryfikacyjny jest nieprawidłowy. Upewnij się, że otworzyłeś cały link z e-maila lub poproś o nowy.",
"backToLogin": "Powrót do logowania"
"backToLogin": "Powrót do logowania",
"resendEmail": "Adres e-mail",
"resendButton": "Wyślij nowy link",
"resendSent": "Jeśli ten adres ma konto, nowy link weryfikacyjny jest już w drodze — sprawdź skrzynkę odbiorczą.",
"resendFailed": "Nie udało się wysłać nowego linku. Spróbuj ponownie za kilka minut."
},
"banned": {
"title": "Masz zakaz",