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.
This commit is contained in:
auto committed 2025-04-11 01:12:46 +02:00
1 parent 43a5dafd82
commit 0f9761da3a
12 files changed
+475 -65

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ dependencies {
implementation("org.mybatis:mybatis:3.5.13")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
implementation("org.springframework.boot:spring-boot-configuration-processor")
implementation("org.springframework.boot:spring-boot-starter-hateoas")
}
tasks.withType<Test> {