fleencorp / fleen-feen

Fleen Feen connects you with the world
GNU General Public License v3.0
0 stars 1 forks source link

Implement SES Email Identity Verification and Various Enhancements #34

Closed aalamu closed 2 weeks ago

aalamu commented 2 weeks ago

Summary

This pull request introduces SES (Simple Email Service) functionality for sending and verifying email identities and incorporates several enhancements, bug fixes, and documentation updates across the application.

Key Changes

  1. SES Email Identity Verification:

    • Implemented SesService and SesController to manage sending and verifying email identity requests through AWS SES.
    • Added VerifyEmailIdentityDto and VerifyEmailIdentityResponse to facilitate the email identity verification process.
  2. Documentation Updates:

    • Added comprehensive and detailed documentation for AclRole and AclScopeType to improve code understanding and maintainability.
  3. Service Account Enhancements:

    • Integrated the service account delegated email address feature.
    • Updated calendar sharing functionality to include service account delegated authority email if the calendar creator is an internal member of the organization.
  4. Bug Fixes:

    • Resolved a sign-in bug in AuthenticationServiceImpl and CustomAuthenticationProvider.
    • Fixed an issue with creating default event attendees or guests based on organizer's details.
  5. Route and Request Updates:

    • Renamed {id} path variable in CalendarController routes to {calendarId} for clarity.
    • Modified ShareCalendarWithUserRequest to include the email address of the intended calendar creator.
    • Allowed empty array lists for CreateCalendarEventDto.eventAttendeesOrGuests.
    • Updated CreateCalendarRequest to include the creator's email address.
  6. Additional Enhancements:

    • Added Member.isInternalEmailOrEmailIsAnOriginEmail() method for verifying internal email addresses.
    • Enhanced localized responses for route handlers in ObjectController.
    • Introduced Oauth2AuthorizationTest for basic authorization testing to validate access tokens, oauth2AuthorizationId, and refresh tokens.

Technical Details

Testing

Related Commits

Checklist

Additional Notes

Please review the changes and test thoroughly to ensure all functionalities work as intended. Feedback and suggestions for further improvements are welcome.