feat(auth): implement all 16 homepage/login/register review items
Gitea Actions Runner Test / test-job (push) Successful in 1s
CI / check (push) Successful in 33s
CI / tests-integration (push) Successful in 1m42s
CI / tests-unit (push) Successful in 1m47s
CI / tests-ui (push) Successful in 2m30s
CI / preflight (push) Skipped
CI / deploy (push) Failing after 2m56s

- 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": "Nome de usuário",
"password": "Senha",
"showPassword": "Mostrar",
"hidePassword": "Ocultar"
"hidePassword": "Ocultar",
"registeredSuccess": "Conta criada — verifique a sua caixa de entrada para o link de confirmação e inicie sessão.",
"verifyEmailCta": "Pedir um novo link de verificação"
},
"register": {
"title": "Criar conta",
@@ -947,7 +949,11 @@
"invalidTitle": "Verificação de e-mail",
"invalidSubtitle": "Link inválido ou expirado",
"invalidBody": "Este link de verificação não é válido. Certifique-se de abrir o link completo do seu e-mail ou solicite um novo.",
"backToLogin": "Voltar ao login"
"backToLogin": "Voltar ao login",
"resendEmail": "Endereço de e-mail",
"resendButton": "Enviar novo link",
"resendSent": "Se esse endereço tiver uma conta, um novo link de verificação estará a caminho — confira a sua caixa de entrada.",
"resendFailed": "Não foi possível enviar um novo link. Tente novamente daqui a alguns minutos."
},
"banned": {
"title": "Você está banido",