Commit Graph

63 Commits

Author SHA1 Message Date
Chaoscaot f923a007a7 Revert "Add EventCache for efficient retrieval of event groups and teams"
This reverts commit 8b4f864f99.

Revert "Refactor EventFights and Fight classes to improve player initialization and retrieval"

This reverts commit 8d705e7a84.

Revert "Refactor EventFights and Fight classes to improve player initialization and retrieval"

This reverts commit 78352a3e67.
2025-11-14 23:25:05 +01:00
Chaoscaot 8d705e7a84 Refactor EventFights and Fight classes to improve player initialization and retrieval
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-14 23:14:13 +01:00
Chaoscaot 8b4f864f99 Add EventCache for efficient retrieval of event groups and teams
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-14 22:47:27 +01:00
Chaoscaot 08ad5edf76 Simplify Tokens and add Discord OAuth
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-13 14:31:05 +01:00
Chaoscaot 990a03ca6c Add Exposed library dependencies to WebsiteBackend build script.
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-10 11:57:12 +01:00
Chaoscaot 0760a5a08a Update build scripts: migrate to Spigot API, adjust JVM toolchains and Java version.
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-10 09:42:24 +01:00
Chaoscaot e50e52950b Refactor Token and SteamwarUser classes: enhance owner property with memoized transformation, increase hash generation key size, and ensure database usage in useDb block.
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-07 18:57:34 +01:00
Chaoscaot 6ac0143459 Remove outdated SQL-related Java classes (GDPRQuery, Field, SelectStatement, SqlTypeMapper, Statement) and update references across modules.
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-11-06 11:30:01 +01:00
Chaoscaot b2a4b05545 Merge branch 'main' into exposed
# Conflicts:
#	CommonCore/SQL/src/de/steamwar/sql/GameModeConfig.java
#	CommonCore/SQL/src/de/steamwar/sql/Punishment.java
2025-11-05 16:18:30 +01:00
Chaoscaot 4e6933f2fd Remove Event-related SQL classes and update relevant references across modules
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-10-30 23:14:25 +01:00
Chaoscaot eea1073892 Migrate Event class to Kotlin and update references across modules
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-10-29 23:17:17 +01:00
Chaoscaot f53a31348f Hotfix: Kotlin ist schwer, ne Yoyo?
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-10-28 22:27:06 +01:00
Chaoscaot 6ea73f4890 Refactor NodeData
Signed-off-by: Chaoscaot <max@maxsp.de>
2025-10-28 22:25:31 +01:00
Chaoscaot 1aff7b30a6 Refactor SchematicNode 2025-10-28 19:03:30 +01:00
Chaoscaot a462231bab Starting... 2025-10-27 18:34:31 +01:00
YoyoNow f99f9b1564 Trigger rebuild 2025-10-26 17:53:37 +01:00
YoyoNow 5ab04d0518 Add cache for GameModeConfig 2025-10-26 13:34:25 +01:00
YoyoNow 79ebdcea85 Make SchematicType static init type safe 2025-10-26 13:14:11 +01:00
YoyoNow 3e918d031d Fix compilation 2025-10-26 09:42:55 +01:00
YoyoNow 167a6b6dc4 Unify SchematicType loading 2025-10-26 09:36:44 +01:00
YoyoNow d216aac2c4 Improve YMLWrapper 2025-10-26 09:22:48 +01:00
YoyoNow aec03e41a1 Improve YMLWrapper 2025-10-26 09:14:34 +01:00
YoyoNow a03a3f45e8 Update copyright notices 2025-10-23 17:56:43 +02:00
Chaoscaot 21d628b338 Refactor EventRelation: Fix query logic for byEvent, adjust insert fields, and update setFrom parameter handling. Update ResponseRelation to align with updated EventRelation structure. 2025-09-28 10:28:24 +02:00
Chaoscaot 4c98ce4aff Add Schematic Revisions 2025-07-01 21:39:08 +02:00
Chaoscaot bd9451f2aa Fix Backend 2025-06-29 11:22:41 +02:00
Chaoscaot 2f93f336c9 Add image upload functionality and enhance page metadata creation. 2025-05-29 14:30:06 +02:00
Chaoscaot a5bb62590c Refactor page routing and point calculation logic
Streamlined the `page` routing structure by optimizing branch and file handling, introducing a reusable `filesInDirectory` method, and cleaning up redundancies. Enhanced `EventGroup` point calculation with incremental updates, new helper methods (`getTeams`, `getTeamsId`), and better handling of unfinished fights.
2025-05-28 23:57:29 +02:00
Chaoscaot 8768fd7d81 Refactor event handling and group assignment logic
Replaced `fight.event` with `event.eventID` for consistency and improved event handling. Adjusted `setGroup` to accept `Integer` instead of `EventGroup` to simplify group assignment logic. Removed unused `event` field in `CreateEventFight` and streamlined related processing.
2025-05-22 19:42:49 +02:00
Chaoscaot b0be06136d Add 'ergebnis' field to EventFights data model and update logic
Introduced a new 'ergebnis' field to the EventFights data model to handle fight results. Updated the logic to support processing and updating this field when provided. This ensures better tracking and management of event fight outcomes.
2025-05-18 13:31:14 +02:00
Chaoscaot 6e9db276ef Add event referees management and teams endpoint.
Introduced a new route for managing event referees with get, put, and delete operations. Also added an endpoint to fetch all teams, and integrated the referees routing into event configuration.
2025-05-10 22:22:43 +02:00
Chaoscaot e3179c69aa Refactor event group management and routing system 2025-05-08 17:32:12 +02:00
Chaoscaot b1bef4ced5 Add ErrorLogging for Bugged Schematics 2025-04-26 22:27:53 +02:00
Chaoscaot 713275ba11 Add ErrorLogging for Bugged Schematics 2025-04-26 22:17:43 +02:00
Chaoscaot 9bc1f8b328 Refactor password check and add cache clearance. 2025-03-04 21:05:01 +01:00
Chaoscaot b0bd719627 Backend Fixes 2025-03-02 09:08:49 +01:00
Chaoscaot ce907389df Refactor SQL query to remove schema qualifiers. 2025-02-25 22:46:54 +01:00
Chaoscaot a2b3661605 Refactor V2 Auth 2025-02-23 17:24:14 +01:00
Chaoscaot b045f16160 Remove deprecated configureAuthRoutes function call 2025-02-20 22:40:18 +01:00
Chaoscaot dea0d33185 Refactor token generation and remove unused endpoints. 2025-02-20 22:13:13 +01:00
Chaoscaot 7f5b57516e Reduce access token duration and enhance auth endpoints 2025-02-17 18:28:43 +01:00
Chaoscaot 8ec12603b6 Add password reset URL generation and backend validation 2025-02-17 17:48:26 +01:00
Chaoscaot 6aeecd444e Authentication v2 2025-02-04 21:47:29 +01:00
Chaoscaot b3ddc04830 Fix Add Referee 2025-01-29 19:12:45 +01:00
Chaoscaot dbf59df173 Fix Gitea Backend 2025-01-26 10:13:36 +01:00
Chaoscaot 71362bc079 Hotfix: API Download is decompressed 2025-01-26 00:22:50 +01:00
Chaoscaot 3fadeb7751 Disable Logs 2025-01-20 19:09:29 +01:00
Chaoscaot 8da9a3cfbb Fix Schematic Upload 2025-01-20 17:38:32 +01:00
Chaoscaot 0ce7429151 Fix Schematic Upload 2025-01-20 17:31:20 +01:00
Chaoscaot ec5382316a Fixes 2024-12-21 19:33:23 +01:00