After a successful password change, users are now logged out and redirected to the login page instead of updating credentials in local storage. Also removed unused password hints and user info text from the reset password modal, and updated the error message for duplicate user IDs in the English translations.
Added validation error messages for required date fields and invalid date ranges in the logging search form. Updated the export to Excel functionality to mask passwords in request bodies. Adjusted date validator to only flag errors when fromDate is strictly after toDate.
Wrapped date input fields in a new container and added FontAwesome calendar icons for better UI clarity. Updated SCSS to style the date input wrappers and position the icons appropriately.
Replaced user ID input with a dropdown in the reset password form and loaded users dynamically. Added 'resetPasswordButton' permission to side menu and conditionally displayed the reset password button
Introduced a new ResetPasswordModalComponent for resetting user passwords from the setup user page. Updated the setup-user component and template to include a reset password button and modal, and refactored password-hide-show to support resetting its state. Also adjusted reset-password component to enable userId input.
Introduces the SUPER_ADMIN role in enums, updates admin check logic to include SuperAdmin, and adds SuperAdmin to the role options in the setup user component.
Refactored AppComponent initialization to set default language and direction, handle user authentication state, and redirect accordingly. Added removeItem method to StorageService for item removal. Also removed an unused import from authentication.guard.ts.
Simplified and modernized the logging.component.html layout, replacing nested cards and redundant markup with a cleaner structure. Refactored logging.component.ts to improve data flow: search, filtering, and pagination are now handled in the component instead of the template pipe. Updated page size options in app.constants.ts for better usability. Minor cleanup in setup-user.component.ts.
Changed the change password API endpoint to use FIRST_LOGIN_URI instead of CHANGE_PASSWORD_URI. Added FIRST_LOGIN_URI to URI enums and app.uri.json. Improved the toDateAfterFromDateValidator to normalize dates, enforce fromDate < toDate, and disallow future dates.
Added new fields (crPcaglacode, drPcaGlacode, amount, paymentMode) to the TransactionLog model and updated the transaction logs table to display these fields. Improved user permissions UI with better styling, scrollable tables, and enhanced ng-select options. Updated user setup to use a more descriptive placeholder and added a confirmation dialog for user deletion. Also improved i18n translations for new fields and cleaned up validation and error messages.
bugs resolved:
Setup User: No validation applied; the form saves with empty inputs. User ID length validation is not implemented. The role column is not displayed in the table.
Reset Password: No success message is shown after password update. Strong password validation is not applied.
Change Password: No success message is shown after password update. Strong password validation is not applied. Validation to prevent using the same value for old and new passwords is not implemented.