Commit Graph

537 Commits

Author SHA1 Message Date
Lars Simon Winzer 795830cf02 Merge branch 'feat/57-pre-execution-checks-for-commandhandler' into 'main'
Add pre-execution checks with CommandHandlerExecutor to CommandHandler

Closes #57

See merge request cs108-fs26/Gruppe-13!86
2026-04-08 18:58:20 +02:00
Lars Simon Winzer 3de20e3d6c Docs: Remove unnecessary generic type parameter in JavaDoc from execute method in CommandHandlerExecutor 2026-04-08 18:54:12 +02:00
Lars Simon Winzer e23a9817e2 Refactor: Rename file to match class name 2026-04-08 18:31:44 +02:00
Lars Simon Winzer 1b3ba0000a Refactor: Correct naming for UserLoggedInCheck 2026-04-08 18:27:10 +02:00
Lars Simon Winzer 6ee2c4f901 Docs: Add to the command deep-dive by adding a section for the HandlerCheck and CommandHandlerExecutor, including diagrams 2026-04-08 18:19:55 +02:00
Lars Simon Winzer eb2a679868 Docs: Modify guide on implementing a command by mentioning pre-execution checks 2026-04-08 18:18:17 +02:00
Lars Simon Winzer 15062df711 Docs: Write JavaDoc for added or modified components 2026-04-08 18:06:55 +02:00
Lars Simon Winzer ffca8e5e29 Add: UserLoggedinCheck to validate that Session has User associated with it 2026-04-08 17:45:36 +02:00
Lars Simon Winzer 77d9ded3d3 Refactor: Change CommandHandler implementations to extend the abstract class 2026-04-08 17:24:26 +02:00
Lars Simon Winzer ebb2e267bf Add: Implement CommandHandlerExecutor for evaluation of pre-execution checks in CommandRouter 2026-04-08 17:23:38 +02:00
Lars Simon Winzer a62da1235d Refactor: Move CommandRouter dependency from SessionManager to NetworkManager 2026-04-08 17:10:20 +02:00
Lars Simon Winzer cf09a70fb8 Add: Change CommandHandler to abstract class and add support for pre-execution checks 2026-04-08 16:49:47 +02:00
Lars Simon Winzer a747c2de56 Add: HandlerCheck functional interface for pre-execution checks 2026-04-08 16:47:40 +02:00
Lars Simon Winzer b60374f7e5 Merge branch 'chore/56-javadoc-for-login-command-components' into 'main'
Write JavaDoc for components related to LOGIN command

Closes #56

See merge request cs108-fs26/Gruppe-13!85
2026-04-07 20:15:46 +02:00
Lars Simon Winzer 160ad8f2bb Docs: Write JavaDoc for components related to LOGIN command 2026-04-07 20:12:22 +02:00
Lars Simon Winzer 06c5e5ab83 Merge branch 'fix/55-user-can-login-multiple-times' into 'main'
Prevent multiple logins by checking for existing user session

Closes #55

See merge request cs108-fs26/Gruppe-13!84
2026-04-07 14:25:12 +02:00
Lars Simon Winzer d4722989d9 Add: Prevent multiple logins by checking for existing user session 2026-04-07 14:22:09 +02:00
Lars Simon Winzer 8a2d0607f8 Merge branch 'feat/41-add-serverside-logout-command' into 'main'
Add serverside LOGOUT command

Closes #41

See merge request cs108-fs26/Gruppe-13!83
2026-04-07 14:11:24 +02:00
Lars Simon Winzer 7c9cf3e00d Style: Variable naming 2026-04-07 14:09:35 +02:00
Lars Simon Winzer 5ab29a3337 Docs: Write JavaDoc for added components 2026-04-07 14:02:44 +02:00
Lars Simon Winzer 4789273d8f Add: Send ErrorResponse with 'NO_USER_ASSOCIATED' code when no user is associated with the session 2026-04-07 14:02:18 +02:00
Lars Simon Winzer 4c10bc7ab0 Refactor: Use removeBySessionId method instead of onDisconnect handler 2026-04-07 13:39:44 +02:00
Lars Simon Winzer dfbaaac4f0 Merge branch 'main' into 'feat/41-add-serverside-logout-command' 2026-04-07 13:36:07 +02:00
Lars Simon Winzer 78e0599182 Merge branch 'feat/54-sessionregistry-remove-method' into 'main'
Add remove methods to SessionRegistry

Closes #54

See merge request cs108-fs26/Gruppe-13!82
2026-04-07 13:35:09 +02:00
Lars Simon Winzer 822dfe778d Style: Apply Spotless 2026-04-07 13:31:26 +02:00
Lars Simon Winzer ee694b8168 Docs: Write JavaDoc for newly added methods 2026-04-07 13:30:09 +02:00
Lars Simon Winzer 36f07880e5 Refactor: Use internal remove method 2026-04-07 13:28:12 +02:00
Lars Simon Winzer 22dc2c7e54 Add: Methods to remove user by UserId, SessionId and Username from SessionRegistry 2026-04-07 13:27:12 +02:00
Lars Simon Winzer 9a7b1c4dea Add: LOGOUT command in composition root 2026-04-07 12:45:52 +02:00
Lars Simon Winzer 8376f681b1 Add: LogoutHandler for processing logout commands 2026-04-07 12:40:51 +02:00
Lars Simon Winzer fa0ac684f1 Add: LogoutParser for parsing logout requests 2026-04-07 12:31:48 +02:00
Lars Simon Winzer 4ff28932b4 Add: LogoutRequest for handling logout commands 2026-04-07 12:30:40 +02:00
Lars Simon Winzer fee71a8a2c Merge branch 'feat/40-add-serverside-login-command' into 'main'
Add serverside LOGIN-command

Closes #40

See merge request cs108-fs26/Gruppe-13!81
2026-04-07 12:23:33 +02:00
Lars Simon Winzer 708f6c5773 Add: Integrate LOGIN command in composition root 2026-04-07 12:12:33 +02:00
Lars Simon Winzer be173f2847 Add: LoginHandler to execute and respond to LoginRequest 2026-04-07 12:10:45 +02:00
Lars Simon Winzer 7eda64b5c3 Add: LoginResponse containing assigned username and UserId 2026-04-07 11:58:43 +02:00
Lars Simon Winzer 8580a2803c Add: LoginParser to check for required parameter and construct LoginRequest 2026-04-07 11:54:54 +02:00
Lars Simon Winzer 68a69b865e Add: LoginRequest storing requested username for login 2026-04-07 11:51:39 +02:00
Lars Simon Winzer 60e15e12fa Merge branch 'chore/53-add-tex-to-gitignore' into 'main'
Add tex to gitignore

Closes #53

See merge request cs108-fs26/Gruppe-13!80
2026-04-05 15:04:33 +02:00
Lars Simon Winzer d757c2a317 Add: Move gradle.properties to gradle section 2026-04-05 15:01:07 +02:00
Lars Simon Winzer 2152560dea Add: Move gradle to own section 2026-04-05 14:58:45 +02:00
Lars Simon Winzer 101e21d568 Add: TeX to gitignore 2026-04-05 14:58:29 +02:00
Lars Simon Winzer aca8924f15 Merge branch 'chore/50-change-used-markdown-embed-technique' into 'main'
Replace SVG with PNG graphics in documentation

Closes #50

See merge request cs108-fs26/Gruppe-13!79
2026-04-05 12:48:42 +02:00
Lars Simon Winzer d3009a422c Docs: Replace SVG with PNG graphic 2026-04-05 12:43:59 +02:00
Julian Kropff 5304128094 Merge branch 'feat/game-engine' into 'main'
Feat/Game Engine

See merge request cs108-fs26/Gruppe-13!77
2026-04-05 09:26:12 +00:00
Julian Kropff 828e2f3131 Fix: checkstyle issues 2026-04-05 11:21:27 +02:00
Julian Kropff bf7ac4fc34 Fix: formatting and checkstyle issues 2026-04-05 11:15:26 +02:00
Lars Simon Winzer a9bf0635a2 Merge branch 'main' into 'chore/50-change-used-markdown-embed-technique' 2026-04-05 11:14:06 +02:00
Lars Simon Winzer ae3db3f829 Merge branch 'feat/51-export-plantuml-to-png-script' into 'main'
Add script to export plantuml diagram to png format

Closes #51

See merge request cs108-fs26/Gruppe-13!78
2026-04-05 11:09:46 +02:00
Lars Simon Winzer 25837fc869 Add: VSCode task for plantuml to png export script 2026-04-05 11:04:23 +02:00