Commit Graph

9 Commits

Author SHA1 Message Date
Teriuihi 0f9761da3a Refactor history APIs and integrate LiteBans database support
Redesigned history-related APIs to streamline handling of user and UUID punishments, moving from POST to GET endpoints. Added support for LiteBans database with mappers for retrieving punishment records by name and UUID, and implemented global exception handling for better error reporting. Updated schema paths and added enums (UserType, HistoryType) and a new Gradle dependency.
2025-04-11 01:12:46 +02:00
Teriuihi 43a5dafd82 Refactor API structure and update schema references
Moved API files from `sub_api` to `schemas` for better organization. Updated schema references to use `ApiError` instead of `Error`. Adjusted build configuration to include new schema folder in the API generation process.
2025-04-10 23:16:57 +02:00
Teriuihi 2b818fc297 Add removedReason field to bans API schema 2025-04-10 23:12:20 +02:00
Teriuihi 7fa84fec81 Add "removedBy" field to bans.yml
This new field captures the name of the staff member who removed a punishment. It provides additional traceability and accountability for punishment actions.
2025-04-10 22:55:53 +02:00
Teriuihi 1585011143 Refactor API structure and endpoints for history and team.
Updated API definitions and endpoints to better support punishment history and team queries. Introduced new parameters, schemas, and operations to improve functionality, and reorganized related controllers into appropriate packages.
2025-04-10 22:46:30 +02:00
Teriuihi 2137459e9b Refactor API structure and enhance logging/debugging.
Modularized OpenAPI definitions by splitting into dedicated files for teams, bans, and errors. Improved backend logging for database connections, CORS configuration, and debugging. Updated application properties to support environment-specific CORS origins and logging levels.
2025-04-10 21:45:00 +02:00
Teriuihi d5daa8458b Refactor database structure and improve player handling.
Reorganized database-related code into a dedicated module, added mappings for UUID handling, and updated SQL queries for clarity. Enhanced team members API to use player data directly, ensuring consistency and better handling of UUIDs. Introduced new database table for connection settings and adjusted Gradle configurations for modularization.
2025-04-10 01:22:19 +02:00
Teriuihi 67a3162ae3 Added backend and fixed openapi generation 2025-04-08 22:24:24 +02:00
Teriuihi eb1cb1076d Initial setup 2025-04-02 19:18:39 +02:00