Commit Graph
173 Commits
Author SHA1 Message Date
anthorob a8b353ea73 Add OpenAPI-based API documentation and new endpoints
Integrated OpenAPI and Swagger plugins for comprehensive API documentation. Added new routes, including settings management (`/settings/*`), guild metadata endpoints (`/guilds/*`), and detailed action status handling. Updated database schema to support guild metadata persistence, revised command subcommand handling for better modularity, and enhanced API key-based authentication for all routes.
2026-09-29 10:32:28 -04:00
anthorob ffc15e8044 Remove outdated Udio plugin references and related code 2026-09-26 02:41:02 -04:00
anthorob bceab4b2b9 Refactor repository layer using Jakarta Data
Replaced custom repository logic with Jakarta Data interfaces to reduce boilerplate and enhance compile-time query validation. Removed `AbstractRepository` and introduced `TransactionRunner` for consistent transactional support. Updated all repository facades to delegate query operations to generated interfaces while retaining the same API, ensuring backward compatibility. Added dependencies for `jakarta.data-api` and Hibernate's `hibernate-processor` for annotation-based query generation. Verified functional parity and improved testability across the repository layer.
2026-09-25 12:48:48 -04:00
anthorob 677b3f8013 Remove JpaUtils and refactor repository access
Eliminated the static `JpaUtils` utility and transitioned to explicit repository management for improved modularity and testability. Updated `GuildService`, `TaskManagerImpl`, and related classes to use dependency-injected repositories. Simplified configuration by aligning repository definitions with existing service patterns and ensuring proper session handling through `SessionManager`. Verified that all affected components function as expected after refactoring.
2026-09-25 12:17:19 -04:00
anthorob 62de32ecfc Migrate from Gson and org.json to Jackson
Replaced Gson and org.json usage across the codebase with a unified Jackson-based implementation through a shared `Json` utility. Updated all JSON serialization and deserialization logic (`GsonJsonMapper`, HTTP client, task persistence, command handling, tests) to use Jackson's `ObjectMapper`. Removed the outdated dependencies from `pom.xml` and verified symmetry in payload serialization.
2026-09-25 08:18:43 -04:00
anthorob 36c4acb13a Upgrade to Javalin 7 and refactor route registration
Updated the dependency to Javalin v7.2.3 and refactored route registration to use the new `RoutesConfig` API. Adjusted `GuildRoutes`, `ActionRoutes`, and `WebApi` to align with updated conventions and centralized route definitions. Improved modularity, reduced redundancy, and ensured backward compatibility by migrating exception and error handler logic. Updated tests to comply with the refactored APIs and structure.
2026-09-25 06:36:00 -04:00
anthorob 4cf7c47645 Remove Lavaplayer and migrate to Lavalink
Replaced the bot's audio handling system by removing Lavaplayer dependencies and migrating to a Lavalink v4 node. Updated `MusicManager`, `TrackScheduler`, and related classes to utilize the `LavalinkClient`. Refactored playlist and track loading logic, task integrations, and event dispatch to integrate with the remote node. Deprecated the custom Udio source, preserving references for a future plugin port. Documented configuration and deployment details for the new audio architecture.
2026-09-23 15:08:06 -04:00
anthorob 01bfe22d22 Migrate HTTP server to Javalin and remove legacy handlers
Replaced the existing HttpServer implementation and associated handler classes (`AbstractHandler`, `ActionHandler`, `GuildHandler`, `RootHandler`) with a Javalin-based routing system. Improved modularity by introducing `ActionRoutes` and `GuildRoutes` for route definitions, and centralized JSON mapping using `GsonJsonMapper`. Simplified caching via the new `ResponseCache` utility, updated `WebModule` for cleaner timeout handling, and extended test coverage for API endpoints.
2026-09-23 12:07:38 -04:00
anthorob 1d737a2a4f Migrate scheduled tasks to a new package and architecture
Refactored scheduled tasks and moved them to a dedicated `scheduled` package. Replaced the legacy `ScheduledTaskManager` and `ScheduledTask` definitions with a redesigned architecture to improve maintainability. Updated related classes and configurations to adopt the new structure.
2026-09-09 15:10:33 -04:00
anthorob b8786c8dc9 Remove deprecated classes and static singleton-based architecture 2026-09-06 07:38:02 -04:00
renovate-bot 571713a9ec Update dependency dev.lavalink.youtube:v2 to v1.18.2
CI / Package (pull_request) Successful in 1m0s
CI / Docker Build and Push (main) (pull_request) Has been skipped
CI / Docker Build and Push (release) (pull_request) Has been skipped
2026-08-24 21:02:40 +00:00
anthorob ad77cf630e update Maven dependencies
CI / Package (push) Successful in 1m7s
CI / Docker Build and Push (main) (push) Successful in 41s
CI / Docker Build and Push (release) (push) Has been skipped
2026-05-12 23:37:18 -04:00
anthorob 2a4dc09a9e switch to gitea worflow
CI / Test (push) Has been cancelled
CI / Package (push) Has been cancelled
CI / Docker Build and Push (main) (push) Has been cancelled
CI / Docker Build and Push (release) (push) Has been cancelled
CI / Compile (push) Has been cancelled
2026-03-18 05:38:47 -04:00
anthorob d3da68f4d4 move to jdk 25 2026-03-04 04:57:53 +00:00
Renovate 2c96f8ce85 fix(deps): update dependency net.dv8tion:jda to v6 2025-12-19 09:02:07 +00:00
Renovate e35f739cf9 fix(deps): update hibernate orm to v7 (major) 2025-11-22 07:36:00 +00:00
anthorob f32968c0b5 Merge branch 'renovate/org.apache.maven.plugins-maven-jar-plugin-3.x' into 'main'
chore(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.5.0

See merge request anthorob/netneutrality!105
2025-11-22 06:58:20 +00:00
anthorob c13b731cd5 Merge branch 'renovate/org.gitlab4j-gitlab4j-api-6.x' into 'main'
fix(deps): update dependency org.gitlab4j:gitlab4j-api to v6.2.0

See merge request anthorob/netneutrality!100
2025-11-22 06:37:35 +00:00
Renovate Bot 4be5be2a47 chore(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.5.0 2025-11-15 09:04:20 +00:00
Renovate e8c331fa63 fix(deps): update dependency dev.lavalink.youtube:v2 to v1.16.0 2025-11-14 17:45:54 +00:00
Renovate Bot 1c5afca21c fix(deps): update dependency org.gitlab4j:gitlab4j-api to v6.2.0 2025-11-11 17:04:10 +00:00
Renovate Bot 2027ae296c fix(deps): update dependency org.json:json to v20250517 2025-11-11 04:04:20 +00:00
anthorob 3c50feb597 Merge branch 'renovate/com.mysql-mysql-connector-j-9.x' into 'main'
fix(deps): update dependency com.mysql:mysql-connector-j to v9.5.0

See merge request anthorob/netneutrality!90
2025-11-11 02:21:54 +00:00
anthorob c3f5807cea Merge branch 'renovate/okhttp-monorepo' into 'main'
fix(deps): update dependency com.squareup.okhttp3:okhttp-jvm to v5.3.0

See merge request anthorob/netneutrality!91
2025-11-11 02:21:18 +00:00
anthorob 6e8da65580 Merge branch 'renovate/hibernate-orm' into 'main'
fix(deps): update hibernate orm to v6.6.34.final

See merge request anthorob/netneutrality!89
2025-11-11 02:20:31 +00:00
anthorob 13b2f61261 Merge branch 'renovate/apache-commons' into 'main'
fix(deps): update dependency commons-io:commons-io to v2.21.0

See merge request anthorob/netneutrality!92
2025-11-11 02:20:02 +00:00
anthorob 6271e218cd Merge branch 'renovate/io.sentry-sentry-8.x' into 'main'
fix(deps): update dependency io.sentry:sentry to v8.25.0

See merge request anthorob/netneutrality!94
2025-11-11 02:19:19 +00:00
Renovate Bot db7be88f13 fix(deps): update dependency io.sentry:sentry to v8.25.0 2025-11-10 16:13:33 +00:00
Renovate Bot 2b3ca9ae18 fix(deps): update dependency commons-io:commons-io to v2.21.0 2025-11-10 16:04:33 +00:00
Renovate Bot d555a3144d fix(deps): update dependency com.squareup.okhttp3:okhttp-jvm to v5.3.0 2025-11-10 09:34:53 +00:00
Renovate Bot 60d50d99bc fix(deps): update dependency com.mysql:mysql-connector-j to v9.5.0 2025-11-10 09:34:49 +00:00
Renovate Bot a54f20e990 fix(deps): update hibernate orm to v6.6.34.final 2025-11-03 09:34:32 +00:00
Renovate Bot fac0aedc5e chore(deps): update dependency org.junit.jupiter:junit-jupiter to v6.0.1 2025-11-03 09:34:28 +00:00
anthorob 6fc3dc9577 Command processor testing 2025-10-27 07:08:56 +00:00
Renovate 3a678ae859 fix(deps): update dependency dev.lavalink.youtube:v2 to v1.15.0 2025-10-26 15:43:39 +00:00
anthorob 3a846ed846 Merge branch 'renovate/org.junit.jupiter-junit-jupiter-6.x' into 'main'
chore(deps): update dependency org.junit.jupiter:junit-jupiter to v6

See merge request anthorob/netneutrality!83
2025-10-23 06:43:18 +00:00
anthorob 7d6ad97951 Merge branch 'renovate/io.sentry-sentry-8.x' into 'main'
fix(deps): update dependency io.sentry:sentry to v8.24.0

See merge request anthorob/netneutrality!82
2025-10-23 06:39:37 +00:00
anthorob 450444f37b Merge branch 'renovate/net.fellbaum-jemoji-1.x' into 'main'
fix(deps): update dependency net.fellbaum:jemoji to v1.7.5

See merge request anthorob/netneutrality!70
2025-10-23 06:39:20 +00:00
Renovate Bot f830f8468c chore(deps): update dependency org.junit.jupiter:junit-jupiter to v6 2025-10-23 06:24:53 +00:00
Renovate Bot 316e5f6b4a fix(deps): update log4j2 monorepo to v2.25.2 2025-10-23 06:24:50 +00:00
Renovate Bot 437cf3a460 fix(deps): update dependency io.sentry:sentry to v8.24.0 2025-10-23 06:24:47 +00:00
Renovate Bot 822c6297a5 fix(deps): update dependency net.fellbaum:jemoji to v1.7.5 2025-10-23 06:24:44 +00:00
Renovate 6b2d64388d fix(deps): update dependency com.squareup.okhttp3:okhttp to v5 2025-10-22 21:47:31 +00:00
anthorob aad528c5c7 Merge branch 'renovate/flyway' into 'main'
fix(deps): update flyway to v11.14.1

See merge request anthorob/netneutrality!49
2025-10-22 21:27:32 +00:00
Renovate 47ced9d0f2 fix(deps): update flyway to v11.14.1 2025-10-22 21:27:32 +00:00
Renovate Bot 5171cee268 fix(deps): update apache commons 2025-10-22 20:56:33 +00:00
Renovate Bot c96e0d88b5 fix(deps): update hibernate orm 2025-10-22 20:23:00 +00:00
anthorob 78002d9299 Implement scheduled tasks 2025-10-22 20:11:03 +00:00
anthorob 78a149b546 Merge branch 'renovate/org.apache.maven.plugins-maven-shade-plugin-3.x' into 'main'
chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.6.1

See merge request anthorob/netneutrality!67
2025-10-05 08:27:01 +00:00
anthorob 9c09edc88d Merge branch 'renovate/org.apache.maven.plugins-maven-surefire-plugin-3.x' into 'main'
chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.4

See merge request anthorob/netneutrality!68
2025-10-05 07:52:25 +00:00