This PR introduces multiple enhancements and refactorings in the expense module:#7
Open
sagarboyal wants to merge 103 commits into
Open
This PR introduces multiple enhancements and refactorings in the expense module:#7sagarboyal wants to merge 103 commits into
sagarboyal wants to merge 103 commits into
Conversation
adding expenses according to the user who has logged in! and added ApiException for custom error handled message!
…deps! updating expenses according to the user who has logged in! and added MethodArgumentException for custom validation thrown from ExpenseDTO!
-> added authUtil for repetitive @AuthenticationPrinciple. -> Rename Expense and Category Response to PagedResponse! -> Added ExpenseResponse for efficient data retrieval. -> new field added status and message! -> remove status form user!
-> added authUtil for repetitive @AuthenticationPrinciple. -> Rename Expense and Category Response to PagedResponse! -> Added ExpenseResponse for efficient data retrieval. -> new field added status and message! -> remove status form user!
-> added ApprovalRequest, ExpenseUpdateRequest, UserUtils. -> added approve expense based on user logged in! -> added new default login info for employer and manager!
-> added Admin Controller for admin related stuff! -> added ExpenseSpecification for dynamic filter! -> updated some path!
…r for role base authentication!
…eric class to handle all page related data!
-> register user functionality updated through payload -> add to track total spend in expenses added a query in ExpenseRepository
-> Updated User Update Methods for email and fullName or PassWord Change! -> added an endpoint for handling promotion and demotion roles which can access only admins! -> added end point that returns loggedIn user Profile!
-> added dynamic filtering in audit-log! -> added pagination also! -> removed unused imports!
-> cors config added! -> in token roles also assigned!
…ity and fixed lombok issue for maven build
- Added ContactRequest entity and repository - Implemented service for saving and retrieving contact requests - Exposed REST endpoint for submitting contact requests - Timestamp autopopulated on creation
…ashboard analytics, and add docker compose for postgres/pgadmin - restructure packages into catalog, expense, identity, notification, shared, and support modules - move analytics into a dedicated expense dashboard section with its own service/controller - keep dashboard endpoints compatible via /api/dashboard and existing /api/analytics paths - add docker compose for postgres and pgadmin - update docker/docs for local development
…equest context issues - Publish domain events via ApplicationEventPublisher instead of calling UserEventListener directly to ensure @async and @TransactionalEventListener proxy behavior is respected. - Add @JsonManagedReference/@JsonBackReference on User <-> PersonalUser and User <-> BusinessUser to break infinite recursion during serialization. - Replace raw User entity serialization in event listener with a safe flat snapshot map to avoid bidirectional JPA relation loops. - Capture client IP on the request thread before async handoff by injecting. - Add clientIp field to UserCreatedEvent and OAuthUserCreatedEvent records.
develop
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.
PageResponseclasses into one generic pagination handler.Notes
Let me know if you want a shorter or more informal version, too!