Commit Graph

6 Commits

Author SHA1 Message Date
Habib Fatkhul Rohman 27c465342d feat: integrate RabbitMQ for logging and enhance logger with RabbitMQ hook
Deploy Application / deploy (push) Failing after 6s Details
2025-12-02 15:00:19 +07:00
Habib Fatkhul Rohman 21d1b3d6ba Update go.sum to remove unused dependencies and update existing ones
- Removed dependencies: PuerkitoBio/purell, PuerkitoBio/urlesc, bytedance/sonic (v1.13.1), cloudwego/base64x (v0.1.5), gabriel-vasile/mimetype (v1.4.8), gin-contrib/sse (v1.0.0), go-openapi/swag (v0.25.1), go-playground/validator/v10 (v10.25.0), google/go-cmp (v0.6.0), josharian/intern, mailru/easyjson (v0.9.1), ugorji/go/codec (v1.2.12), golang.org/x/arch (v0.15.0), golang.org/x/crypto (v0.36.0), golang.org/x/net (v0.37.0), golang.org/x/sync (v0.12.0), golang.org/x/sys (v0.31.0), google.golang.org/protobuf (v1.36.5).
- Updated dependencies: bytedance/sonic (to v1.14.1), cloudwego/base64x (to v0.1.6), gabriel-vasile/mimetype (to v1.4.10), gin-contrib/sse (to v1.1.0), go-openapi/swag (to v0.19.15), google/go-cmp (to v0.7.0), golang.org/x/arch (to v0.22.0), golang.org/x/crypto (to v0.43.0), golang.org/x/net (to v0.46.0), golang.org/x/sync (to v0.17.0), golang.org/x/sys (to v0.37.0), google.golang.org/protobuf (to v1.36.10), gopkg.in/yaml.v2 (to v2.4.0).
2025-11-03 11:40:21 +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 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 d1e14db639 Add cron library for scheduling tasks 2025-09-22 16:03:21 +07:00
Habib Fatkhul Rohman 87d28fffee
Initial commit 2025-09-10 14:38:44 +07:00