Skip to content

[WIP] Implement Email Format Validation - #18

Draft
Vuk7912 wants to merge 9 commits into
NicolaFattore:f29f55ba-dc41-4222-9358-a90ec78f48aefrom
Vuk7912:feature-email-format-validation-1747221983
Draft

[WIP] Implement Email Format Validation#18
Vuk7912 wants to merge 9 commits into
NicolaFattore:f29f55ba-dc41-4222-9358-a90ec78f48aefrom
Vuk7912:feature-email-format-validation-1747221983

Conversation

@Vuk7912

@Vuk7912 Vuk7912 commented May 14, 2025

Copy link
Copy Markdown

Implement Email Format Validation

Description

Task

Implement Email Format Validation

Acceptance Criteria

  • Implement RFC 5322 standard email format validation regex
    Ensure email validation prevents registration with invalid email formats
    Add database-level unique constraint on email field
    Create unit tests covering at least 10 different email format scenarios (valid and invalid)
    Implement case-insensitive email uniqueness check

Summary of Work

This pull request adds email format validation to improve user input quality and ensure data integrity across the application.

Key objectives:

  • Create a robust email validation mechanism
  • Implement client-side and potentially server-side email format checks
  • Provide clear and user-friendly error feedback for invalid email formats

Planned changes:

  • Add email validation utility function
  • Update relevant form components to integrate email validation
  • Implement validation logic with support for common email formats
  • Ensure consistent error handling and user experience

Changes Made

  • Create email validation utility function
  • Update form input validation logic
  • Add email format error handling

Tests

  • Verify email validation for valid email formats
  • Verify email validation for invalid email formats
  • Ensure error messages are clear and descriptive

Signatures

Staking Key

3oBzgQ4y8YtmkxYGkse1fKKefi25twpMKU9BBdsYtjDQ: 6W7fbWesrLeLdCvY6gsvgDM2ZgBViHNLzAnMmWFhowCgukaGX1amxaZQMz2kQRuxX6Zy7qA7HXuoSPjoFEGh7SM6wdDZpaAMFMbEKAFsVZaV5SQddCtZmD2LYuhDPg1ZQoWLTn6sb55xsKwmKBmZKhqcRAa6xisgs3KzdaDAEETau8mzbuBBQGcGgH2rKEV3SFKdhMkQF2TbCDkSpqLTzLaoZXUi51MytDEUxFoUPG5NmU3DLm9U2CyjqZik1vFg3BaUK7XZPPgbRC25NbGL8do5YY8gZ7ffE19sAAN2FEZ6e4x1gUf4SXQMFWQRwRWWWiDbhfcB3RvVgA6599rmucvKSGHJsZdxHNDtZMKxNDAbokxRzGpiBgubw7it6s2fo1apwcLKDtH5H23hEUamBnMSUsbwFGG

Public Key

4WA5vRJLthsg6sJqVc6DQuRkGzvoxZ11SkqzwbqxCo2V: 25X4o2azGqFe3H6PLd24KxnTAQeSsMq5xoTkREQxiAXJumVxLY3XjoduTuNCJE1ggWmagwGZQhksUyuyVQwEoZUSD5EY9cuGpcRwo4gU2iPZYPGT39LdpExcpebiQ9sR8Ah6ckYCcmEKnBMQdzJxJhWE8MjKhwLF8ux2eSTNQzexHCsHmBo7jikn4AYo91KCogNHVV47Twc3DsvNUQAAYMRZWXwb9FdktMUiNNewXJ4yLiFWWdmm6HgPpunz9CsUCsFteLzKwAYEVNYcBCKgXyLDt1pqXMq7G4rGnxJuiL3HeCuK9uNCFycju3YZtjW5kYeKAK7ZDcZCWXADG2rJaHNWKf9GSTKyLUup3BChzbaYVLi3cQtjTnuyR9ewF9QvTFwqvZ8yp7mmSaw4rud1WGJofAyTujet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant