Commit Graph

58 Commits (osho-marka)

Author SHA1 Message Date
Naeem Ullah c969d35b26 Prevent reuse of old password during password change
Added NewPasswordException and updated UserService to throw this exception if the new password matches the current password. Introduced a new error code ERR_SEC_0007 for this scenario and added a matches method to PasswordEncryptionService for password comparison.
6 days ago
Naeem Ullah 3753918526 Update TransactionLogService.java 6 days ago
Wasiullah Khan ad3d9e645b Document Upload
Document Uploading for CRM and Deposit
1 week ago
Naeem Ullah 25fd316087 Exceptions added
Exceptions added
1 week ago
Naeem Ullah b5e4115227 Update UserService.java 1 week ago
Naeem Ullah 253005a9ab Update UserDTOs.java 1 week ago
Naeem Ullah 73ab08e9c5 Add SUPERADMIN role and update user handling logic
Introduces a new SUPERADMIN role in the Role enum. Updates UserService to handle SUPERADMIN users by setting firstLogin to false upon creation and excluding SUPERADMIN users from the getAllUsers() result. Also removes some fields from the mapToResponseDTO method.
1 week ago
Wasiullah Khan bf8fca0b7e Get All Pending Bussiness Deposit
Get All Pending Bussiness Deposit and Get Single Pending Bussiness Deposit
1 week ago
Mazdak Gibran 62393c761f Filter inactive users from getAllUsers result
Updated the getAllUsers method to exclude users who are not active, in addition to excluding admin users. This ensures only active, non-admin users are returned.
1 week ago
Wasiullah Khan 8d7386e863 Fetch Single Bussiness CRM Application 2 weeks ago
Naeem Ullah 3ab6295f52 Add transactionCode to TransactionLog model and service
Introduces a new transactionCode field to the TransactionLog entity and updates TransactionLogService to set this field when creating transaction logs. Also adds TRANSACTION_CODE constant to FieldNameLength for column definition.
2 weeks ago
Naeem Ullah 53349ffadc Add transaction URI to logs and update deposit approval endpoints
Introduced a transactionUri field to TransactionLog and updated TransactionLogService methods to accept and store the URI. Refactored deposit approval endpoints in DepositAccountController to use new URIs and updated AconnectURI and TokenBypassURI constants accordingly for individual and business deposit approvals.
2 weeks ago
Naeem Ullah 8c762ae636 Add business CRM approval endpoints and services
Introduced separate endpoints and service methods for approving individual and business CRM applications. Updated URI constants and token bypass lists to support business CRM approval. Also added endpoint to check individual CRM applications by workflow reference.
2 weeks ago
Naeem Ullah 910e185430 Add PendingLoanApplication controller and service
Introduced PendingLoanApplicationController and PendingLoanApplicationService classes as part of the client module. These provide the initial structure for handling pending loan application logic.
2 weeks ago
Naeem Ullah b05d363cb2 Rename and update InProcessDepositApplicationsController
Renamed InProcessDepositApplicationsController to PendingDepositApplicationsController and updated references from InProcessDepositApplicationsService to PendingDepositApplicationsService to reflect the new naming convention.
2 weeks ago
Naeem Ullah 75ac6fa9ed updated 2 weeks ago
Wasiullah Khan cafa60ab7f Merge branch 'dev-pending-20-01-2026' into Wasi/BS-2185-osho 2 weeks ago
Wasiullah Khan 5037065d09 Update PendingCRMApplicationsController.java 2 weeks ago
Wasiullah Khan 519f59f5db get Deposit Pending Applications 2 weeks ago
Naeem Ullah e07a74565d Refactor CRM application controllers and services
Replaced InProcessApplicationsController with PendingCRMApplicationsController to handle individual and business pending CRM applications. Updated InProcessApplicationsService to separate logic for individual and business workflows, adding new methods for pending CRM retrieval. Adjusted AconnectURI and TokenBypassURI constants to support new endpoints.
2 weeks ago
Naeem Ullah 393fa16fa3 Add first login password change endpoint
Introduced a new /first-login endpoint in AuthenticationController to handle password changes on first login. Added corresponding constant in SecurityURI and implemented firstLogin method in UserService to update password and firstLogin status.
2 weeks ago
Naeem Ullah 53866feb45 Merge pull request 'Fetch pending CRM applications' (#8) from Wasi/BS-2194 into dev-pending-20-01-2026
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/8
2 weeks ago
Wasiullah Khan 6aa0454e3a Fetch pending CRM applications
Fetch Single CRM Application By WorkFlowRefNum
2 weeks ago
Naeem Ullah d304477b8c Implement soft delete for User entity
Added an isDeleted field to the User model and updated the deleteUser method in UserService to perform a soft delete by setting isDeleted to true and isActive to false. Updated UserRepository with methods to filter out deleted users and adjusted getAllUsers to exclude admin roles.
2 weeks ago
Naeem Ullah 72180528de Merge branch 'dev-pending-20-01-2026' into Naeem-PRE-PRODUCTION-26 2 weeks ago
Naeem Ullah e5fbba3728 Add individual loan approval endpoint and service
Introduced a new endpoint and service method for individual loan approval. Updated AconnectURI and TokenBypassURI to include the new approval URI, and implemented the approval logic in LoanAccountService and LoanAccountController.
2 weeks ago
Naeem Ullah 22c1ce530a added
added
2 weeks ago
Naeem Ullah 5388b85261 added validations
added validations
2 weeks ago
Naeem Ullah 49f1a5b503 Merge pull request 'CRM Workflow Creation' (#7) from Wasi/BS-2086 into dev-pending-20-01-2026
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/7
2 weeks ago
Naeem Ullah ad1057474b Add validation for credit and debit amounts in transactions
Introduced checks to ensure credit and debit amounts are present and greater than zero in transaction-related methods. Returns appropriate error responses if validation fails, improving input validation and error handling.
2 weeks ago
Wasiullah Khan 5e5512da67 CRM Workflow Creation
CRM Workflow Creation
2 weeks ago
Naeem Ullah 70244da27b validations 2 weeks ago
Naeem Ullah f9bead4543 Approval DTO 2 weeks ago
Naeem Ullah a4a94da20b Update TransactionService.java 3 weeks ago
Naeem Ullah b12c933b41 validation 3 weeks ago
Naeem Ullah 2ed521330c CMB_ORGA_CODE
CMB_ORGA_CODE
4 weeks ago
Naeem Ullah e806389b9d CIIHIVE_API_BASE_URL
CIIHIVE_API_BASE_URL
4 weeks ago
Naeem Ullah bae66d70f9 Added ENV 4 weeks ago
Naeem Ullah 405e8dc53c Revert "Profile for PROD"
This reverts commit c2156ce962.
4 weeks ago
Naeem Ullah c2156ce962 Profile for PROD
Profile for PROD
4 weeks ago
Naeem Ullah c088501ec3 Added CiiHive Base URL
Added CiiHive Base URL
4 weeks ago
Naeem Ullah d6f656cda5 Transaction Logs
Transaction Logs
4 weeks ago
Naeem Ullah 1639058e20 Add reset password endpoint and DTO
Introduces a new /reset-password endpoint in AuthenticationController, a ResetPasswordDTO for request payload, and a resetPassword method in UserService to handle password resets. Also updates SecurityURI with the new endpoint constant.
4 weeks ago
Naeem Ullah 44707f34c2 Fix password verification logic in UserService
Corrects the password verification by comparing the provided old password with the user's actual stored password instead of the new password.
4 weeks ago
Naeem Ullah 5e85a32f61 Add password change and user uniqueness validation
Introduced ChangePasswordDTO and implemented password change functionality in UserService and AuthenticationController. Added custom exceptions for existing email, username, and incorrect old password. Updated User entity and DTOs to include porOrgacode, and enforced uniqueness checks for userId and email. Enhanced ERRCode with new error codes and improved boolean field handling in User entity.
4 weeks ago
Naeem Ullah a1f993bfd4 Comment out SubscriptionFilter implementation
The SubscriptionFilter class and its contents have been fully commented out, effectively disabling its functionality. This change may be for debugging, refactoring, or temporary removal pending future updates.
4 weeks ago
Naeem Ullah 8507141d9e Add TransactionLog entity and field constants
Introduced the TransactionLog JPA entity for transaction logging. Added FieldNameConstant and DBFieldNameConstant enums for standardized field names, and expanded FieldNameLength with additional constants. Updated SecurityURI and AuthenticationController to support password change endpoint. Commented out request limiting logic in SubscriptionFilter.
4 weeks ago
Naeem Ullah ea9abc99c8 Add TransactionLog entity and field constants
Introduced the TransactionLog entity for transaction logging. Added FieldNameConstant and DBFieldNameConstant enums for standardized field names, and expanded FieldNameLength with additional constants. Updated SecurityURI and AuthenticationController to support password change endpoint. Fixed PermissionService to use the correct repository for user permission updates.
4 weeks ago
Naeem Ullah 6225454d51 Add PermissionRepository and update PermissionService
Introduced PermissionRepository for managing User entities and refactored PermissionService to use this new repository instead of UserRepository. This change streamlines permission-related operations and improves code organization.
4 weeks ago
Naeem Ullah cf224e3f85 Refactor user permissions to dedicated service and controller
Moved user permission management logic from UserService and UserController to new PermissionService and PermissionController classes. This improves separation of concerns and code organization. Also removed unused findByEmail method from UserRepository.
4 weeks ago