Commit Graph

1138 Commits

Author SHA1 Message Date
Julian Kropff 7ca432fae6 Merge branch 'feat/gameui' into 'main'
Feat/gameui

See merge request cs108-fs26/Gruppe-13!88
2026-04-09 08:57:23 +00:00
Julian Kropff a99cf16c7e Fix: checkstyle issues 2026-04-09 10:53:49 +02:00
Julian Kropff e5f814b853 Merge branch 'main' into feat/gameui 2026-04-09 10:47:28 +02:00
Jona Walpert b205b25b48 Feat: Adds functionality to periodically refresh lobbies to update lobby GUI screen 2026-04-09 10:43:25 +02:00
Jona Walpert df31c307fe Fix: Comment out faulty Unit Test 2026-04-09 10:42:45 +02:00
Lars Simon Winzer 5abb46b915 Merge branch 'feat/58-extract-responsedispatcher-field-into-commandhandler' into 'main'
Extract ResponseDispatcher field into constructor of CommandHandler

Closes #58

See merge request cs108-fs26/Gruppe-13!87
2026-04-08 19:16:15 +02:00
Lars Simon Winzer 61e77be35c Docs: Write JavaDoc for newly added constructor 2026-04-08 19:13:10 +02:00
Lars Simon Winzer 01934b76f3 Refactor: Existing handler to using constructor of superclass 2026-04-08 19:12:36 +02:00
Lars Simon Winzer 0ddb65e870 Add: ResponseDispatcher field to CommandHandler 2026-04-08 19:11:49 +02:00
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
Jona Walpert f3ecbd12f5 Feat: Add username text field to main Lobby 2026-04-08 13:34:26 +02:00
Jona Walpert 5d4d2655ef Add: Supply gameUI with client service at game startup 2026-04-08 13:33:31 +02:00
Jona Walpert d855f2d568 Feat: add offline mode to prevent errors when trying to send requests to not connected server 2026-04-08 13:29:39 +02:00
Jona Walpert ca782b389e Docs: Translate Javadoc and comments to English 2026-04-08 13:26:36 +02:00
Jona Walpert 04bf7ba545 Refactor: move login function from coreClient to LobbyClient 2026-04-08 13:22:24 +02:00
Mathis Ginkel 509aa71d9f Add: Implement Commands for Chat Protocol 2026-04-07 22:15:23 +02:00
Mathis Ginkel d1d2fb30e8 Fix: small changes to ChatUI 2026-04-07 22:11:20 +02:00
Jona Walpert aca61cbd52 Add: first (non functioning) modified version of lobby button controlelr with abckend conenction 2026-04-07 22:11:20 +02:00
Julian Kropff 73756b7d24 Add: documentation for client network architecture 2026-04-07 22:11:20 +02:00
Julian Kropff 60ed1ced91 Add: initial client structure for game and network 2026-04-07 22:11:20 +02:00
Mathis Ginkel eda51f8ac5 Add: CoreClient and ChatClient 2026-04-07 22:11:20 +02:00
Julian Kropff ce71992e17 Add: Client Network Architecture Documentation 2026-04-07 22:11:20 +02:00
Mathis Ginkel a9dcd79b38 Add: client chat architecture for lobby and global chat 2026-04-07 22:11:20 +02:00
Mathis Ginkel 79831b046c Fix: small changes in ClientService 2026-04-07 22:11:20 +02:00
Mathis Ginkel 61e54f282e Resolve Conflicts 2026-04-07 22:11:20 +02:00
Mathis Ginkel 8fb2657cdd Merge remote-tracking branch 'origin/main' 2026-04-07 22:10:52 +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