Commit Graph

968 Commits

Author SHA1 Message Date
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
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
Julian Kropff 6693d57688 Merge remote-tracking branch 'origin/main' into feat/gameui 2026-04-05 13:36:22 +02:00