Muhammad Eko
60d861b413
ci/cd
Deploy Application / deploy (push) Successful in 18s
Details
2025-10-23 11:15:20 +07:00
Muhammad Eko
b9585169b2
update
2025-10-23 10:27:45 +07:00
Habib Fatkhul Rohman
2546a094a3
feat: Revamp logs page with new HTML structure and styles
...
- 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.
2025-10-23 00:17:07 +07:00
Habib Fatkhul Rohman
80825a70af
feat: Enhance role and user role management with new endpoints and DTOs for assigning/removing roles and permissions
2025-10-22 15:29:42 +07:00
Habib Fatkhul Rohman
b4554ff5f2
feat: Add maintenance groups and roles with corresponding seeders and migrations
2025-10-22 10:13:24 +07:00
Habib Fatkhul Rohman
04cfb9719b
feat: Add many-to-many relationship between menus and clients with seeder support
2025-10-21 20:23:16 +07:00
Habib Fatkhul Rohman
7fa3971c70
feat: Add role-menu seeder and remove redundant ID field from M_Role_Menu
2025-10-21 20:11:40 +07:00
Habib Fatkhul Rohman
37d656999e
feat: Implement seeders for menus, permissions, and role-permission associations
2025-10-21 20:05:14 +07:00
Habib Fatkhul Rohman
bd93da6264
refactor: Clean up imports and update route registrations in main.go
2025-10-21 15:08:35 +07:00
Habib Fatkhul Rohman
d3f0fdb315
feat: Add role-based middleware for SuperAdmin and generic role checking
2025-10-21 15:08:29 +07:00
Habib Fatkhul Rohman
8789d2c72b
refactor: Clean up unused imports and update service/controller references in core.go
2025-10-21 15:08:15 +07:00
Habib Fatkhul Rohman
8481397014
fix: Update executable names to include .exe extension and adjust related commands
2025-10-21 15:07:23 +07:00
Habib Fatkhul Rohman
e33a6f3ee0
fix: Update PostgreSQL port mapping in docker-compose.yml
2025-10-21 15:07:01 +07:00
Habib Fatkhul Rohman
465908965e
feat: Add new entities for maintenance management and user roles
...
- 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.
2025-10-21 15:06:43 +07:00
Habib Fatkhul Rohman
3cf87f7527
Update Dockerfile to run migrations and seed data; add Nginx route for log retrieval
2025-10-21 15:05:49 +07:00
Habib Fatkhul Rohman
3ea963bd9e
Add logs controller and routes for log retrieval by month
2025-10-21 15:05:22 +07:00
Habib Fatkhul Rohman
fb49163803
Enhance JWT service to include role ID in access token generation and user token info
2025-10-21 15:05:10 +07:00
Habib Fatkhul Rohman
4bd48c3bca
Add role management module with controller, service, repository, DTOs, and routes
2025-10-21 15:04:58 +07:00
Habib Fatkhul Rohman
f28b3a5244
Implement user role management and update user response structure to include roles
2025-10-21 15:04:34 +07:00
Habib Fatkhul Rohman
8357303237
Remove product and tenant modules, including controllers, services, repositories, DTOs, queries, and routes for a cleaner codebase.
2025-10-21 15:03:53 +07:00
Habib Fatkhul Rohman
2c84dd0ab6
Update .gitignore and go.mod to include log files and add logrus dependency
2025-10-15 21:15:05 +07:00
Habib Fatkhul Rohman
816ea1610e
Add utility functions for password hashing and data validation
2025-10-15 21:14:40 +07:00
Habib Fatkhul Rohman
1b490d8770
Refactor migration and seeder files to remove Tenant and Product references, ensuring consistency with updated entity structures
2025-10-15 21:14:28 +07:00
Habib Fatkhul Rohman
3497f4e540
Refactor common.go to add soft delete and audit functionality with appropriate struct definitions
2025-10-15 21:14:09 +07:00
Habib Fatkhul Rohman
d1f0d2000e
Remove TenantID references from RefreshToken entity for consistency
2025-10-15 21:13:57 +07:00
Habib Fatkhul Rohman
e27712ab18
Refactor RefreshToken entity to replace TenantID with ClientID for consistency
2025-10-15 21:13:27 +07:00
Habib Fatkhul Rohman
9fc51fdefa
Refactor main.go to improve logging setup and remove unused imports
2025-10-15 21:13:11 +07:00
Habib Fatkhul Rohman
1a965282cd
Add client and user seeders with updated structure and data
2025-10-15 21:12:30 +07:00
Habib Fatkhul Rohman
7e80599a45
Replace TenantID with ClientID in authentication middleware for consistency
2025-10-15 21:11:16 +07:00
Habib Fatkhul Rohman
6aa45f1522
Refactor JWT service and token DTO to replace TenantID with ClientID for improved clarity and consistency
2025-10-15 21:10:56 +07:00
Habib Fatkhul Rohman
2d20f892e7
Refactor user module to support ClientID and enhance user management features
2025-10-15 21:10:13 +07:00
Habib Fatkhul Rohman
cdd940463d
Update Dockerfile to use Go 1.25-alpine for improved performance and compatibility
2025-09-22 16:04:01 +07:00
Habib Fatkhul Rohman
4119431e61
Add scheduler module to handle daily user verification updates
2025-09-22 16:03:54 +07:00
Habib Fatkhul Rohman
d1e14db639
Add cron library for scheduling tasks
2025-09-22 16:03:21 +07:00
Habib Fatkhul Rohman
f9f720c165
Implement product module with CRUD operations and integrate with multi-tenant architecture
2025-09-16 12:05:24 +07:00
Habib Fatkhul Rohman
5b9ea46e20
Add TenantID support to user filtering and authentication middleware
2025-09-16 11:02:05 +07:00
Habib Fatkhul Rohman
dae2c0daa9
Add Product entity, migration, seeder, and JSON data for multi-tenant support
2025-09-16 11:01:46 +07:00
Habib Fatkhul Rohman
cc66c9c251
Add support for fresh migrations in command script
2025-09-16 11:01:13 +07:00
Habib Fatkhul Rohman
a2790436d2
Add TenantID filter to TenantFilter for querying by tenant
2025-09-15 11:35:34 +07:00
Habib Fatkhul Rohman
44ba63410e
Refactor JWT service to include TenantID in token handling and update user service methods to accommodate multi-tenant architecture
2025-09-15 11:35:26 +07:00
Habib Fatkhul Rohman
630c2881c5
Add TenantID to User and RefreshToken entities, update migrations and seeders
2025-09-15 11:34:54 +07:00
Habib Fatkhul Rohman
86f51ce390
Implement Tenant module with controller, service, repository, DTOs, and routes
2025-09-11 11:59:59 +07:00
Habib Fatkhul Rohman
5a6b85ec18
Add Tenant entity, migration, seeder, and JSON data for tenants
2025-09-11 10:39:43 +07:00
Habib Fatkhul Rohman
87d28fffee
Initial commit
2025-09-10 14:38:44 +07:00