Fro 2 inscription utilisateur#25
Merged
pierrick-fonquerne merged 3 commits intodevelopfrom Jan 8, 2026
Merged
Conversation
- Add POST /api/auth/register endpoint with validation - Implement Argon2id password hashing (OWASP recommended) - Add password validation with CNIL rules (12+ chars, uppercase, lowercase, digit, special char) - Add password strength scoring (Faible/Moyen/Fort/Très fort) - Implement Result<T> pattern for clean error handling - Add UserRepository with email/pseudo uniqueness checks - Send welcome email on successful registration - Add SQL migration for user audit columns (created_at, updated_at) Unit tests: PasswordValidator, Argon2PasswordHasher, AuthService
Frontend: - Add RegisterPage with success state and navigation - Add RegisterForm with validation and API integration - Add PasswordStrengthIndicator with CNIL criteria - Add PasswordInput component with visibility toggle - Add passwordValidation utility aligned with backend - Add API client and authService - Update Header with registration link - Add CheckIcon and CircleIcon reusable components Backend: - Fix error response key (error -> message) - Add ILogger to AuthService for email logging - Fix pseudo MaxLength (50 -> 30) - Make Program class partial for integration tests - Add Microsoft.Extensions.Logging.Abstractions package Tests (227 total): - Add passwordValidation.test.ts (52 tests) - Add PasswordStrengthIndicator.test.tsx (16 tests) - Add RegisterForm.test.tsx (24 tests) - Add RegisterPage.test.tsx (13 tests) - Add AuthControllerIntegrationTests with Testcontainers (11 tests) - Add accessibility tests with jest-axe (RGAA/WCAG) - Update AuthServiceTests for fire-and-forget email Infrastructure: - Fix SQL scripts with plural table names - Update docker-compose with PostgreSQL volume mount - Update EmailTemplates with French text and gold color
- Replace basic light theme with immersive dark fantasy design - Add gradient backgrounds and gold accent colors (#D4AF37) - Include thematic emojis (castle, swords, shield icons) - Add decorative borders and shadow effects on CTA buttons - Translate all email content to French - Use table-based layout for maximum email client compatibility - Update unit tests to match French content
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.