- Removed the deprecated /example/helloworld endpoint from Swagger.
- Updated the /roles endpoint to include GET and POST methods for retrieving and creating roles.
- Added detailed documentation for role-related endpoints including assigning and removing permissions, and managing roles for users.
- Introduced new DTOs for role creation, updating, and permission management.
- Updated response schemas to ensure consistency across role management operations.
- Enhanced validation requirements for role and permission requests.
Deploy Application / deploy (push) Successful in 19sDetails
- Added new DTO definitions for AssignMenusToClientRequest, MaintGroupCreateRequest, MaintGroupUpdateRequest, and related entities in swagger.yaml.
- Implemented CRUD operations for clients, including creating, updating, deleting, and retrieving clients with detailed API documentation.
- Introduced endpoints for assigning and removing menus from clients with appropriate request bodies.
- Enhanced maintenance group management with endpoints for creating, updating, deleting, and retrieving maintenance groups.
- Updated menu management with endpoints for creating, updating, deleting, and retrieving menus, including filtering and sorting capabilities.
- Refactored user-related endpoints to return a consistent response structure using utils.Response.
- Updated logs.html to include a modern design with Tailwind CSS.
- Added a login section for admin access to logs.
- Implemented JavaScript functions for login, log retrieval, and month selection.
- Enhanced user experience with loading indicators and error handling.
feat: Add ServeLogsPage method to LogsController
- Introduced ServeLogsPage method to serve the logs HTML page.
- Configured to respond with HTML when the Accept header is text/html.
refactor: Update logs routes to serve HTML page
- Modified routes to serve the logs HTML page without authentication.
- Adjusted protected routes for log retrieval to use API versioning.
docs: Add API documentation for user and role controllers
- Added Swagger documentation comments for user and role controller methods.
- Documented endpoints for user registration, login, and email verification.
- Created M_Location, M_MaintenanceGroup, M_MaintenanceGroupRole, M_MaintenanceGroupUser, M_MaintenanceScheduleHeader, M_MaintenanceScheduleLine, M_MaintenanceStaff, M_Menu_Client, M_Menu, M_Permissions, M_Role, M_Role_Menu, M_Role_Permission, M_User, M_User_Role entities.
- Implemented relationships and foreign keys for user roles and permissions.
- Added JSON seed files for roles and user roles, along with corresponding seed functions.
- Updated migration and seeder files to include new entities and ensure proper database setup.
- Commented out legacy product and tenant entities and their seed functions for future reference.