Skip to content

Dev#30

Closed
hhadithya wants to merge 505 commits into
mainfrom
dev
Closed

Dev#30
hhadithya wants to merge 505 commits into
mainfrom
dev

Conversation

@hhadithya

Copy link
Copy Markdown
Member

This pull request introduces significant enhancements to the backend of the voluntrix-backend project, including dependency updates, new configurations, and the addition of multiple controllers to handle authentication, email, and event-related functionality. The changes improve modularity, security, and feature coverage.

Dependency and Configuration Updates:

  • Added new dependencies in pom.xml, including spring-boot-starter-validation, spring-boot-starter-aop, modelmapper, mockito-core, and junit-jupiter. Also updated the springdoc-openapi-starter-webmvc-ui dependency to version 2.7.0 and added runtime scope to the jjwt-jackson dependency. [1] [2] [3] [4] [5]
  • Enabled annotations such as @EnableJpaRepositories, @EnableWebMvc, @EnableTransactionManagement, and @EnableScheduling in VoluntrixBackendApplication.java. Also added a ModelMapper bean.

Security Enhancements:

  • Updated SecurityConfig.java to include JWT-based authentication, OAuth2 success handling, stateless session management, and a custom PasswordEncoder. Added new public endpoints for authentication and restricted /api/admin/** to the ADMIN role. [1] [2] [3]

New Features:

  • Introduced RoleBasedAccessAspect to enforce role-based access control using AOP.
  • Added AuthController to handle user signup, login, logout, email verification, and profile status retrieval.
  • Added EmailController to send HTML emails using the EmailService.
  • Added EventController to manage events, including CRUD operations, event filtering, and search functionality.

sanii13 and others added 30 commits April 28, 2025 19:18
hhadithya and others added 28 commits July 13, 2025 23:26
fix(auth): username mismatch issue resolved
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@hhadithya hhadithya closed this Jul 17, 2025
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.

5 participants