Commit Graph

607 Commits

Author SHA1 Message Date
Mathis Ginkel 590a9aa658 Style: Manually revert changes made to UsernameAvailability enum 2026-04-11 11:56:06 +02:00
Mathis Ginkel 66d3826509 Docs: Delete outdated network protocol document 2026-04-11 11:16:21 +02:00
Mathis Ginkel 9c09927d09 Docs: Adding Server Commands for Client Chat to the protocol document manually reverting changes 2026-04-10 23:25:05 +02:00
Mathis Ginkel 97e5a55042 Style: Apply Spotless 2026-04-10 22:43:23 +02:00
Mathis Ginkel 31d3947175 Add: CSS-Style changes to the ChatBox 2026-04-10 13:21:34 +02:00
Mathis Ginkel 1914aa2c7f Merge branch 'main' into 'feat/client-chat'
# Conflicts:
#   src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/ServerApp.java
2026-04-09 19:34:38 +00:00
Mathis Ginkel 13df8db33e Docs: Insert JavaDocs 2026-04-09 21:25:46 +02:00
Mathis Ginkel 566c9375ab Style: Apply Spotless 2026-04-09 20:36:18 +02:00
Lars Simon Winzer 983d31c963 Merge branch 'fix/64-execute-method-of-commandhandler-is-not-abstract' into 'main'
Change execute method in CommandHandler to be abstract

Closes #64

See merge request cs108-fs26/Gruppe-13!91
2026-04-09 19:17:28 +02:00
Lars Simon Winzer 4071be3341 Fix: Change execute method in CommandHandler to be abstract 2026-04-09 19:14:15 +02:00
Lars Simon Winzer 74497a1e8e Merge branch 'feat/63-add-serverside-list-users-command' into 'main'
Add serverside LIST_USERS command

Closes #63

See merge request cs108-fs26/Gruppe-13!90
2026-04-09 19:13:17 +02:00
Lars Simon Winzer afef96ce21 Docs: Write JavaDoc for newly added components 2026-04-09 19:07:08 +02:00
Lars Simon Winzer bb1e026a1e Docs: Update protocol document for LIST_USERS command 2026-04-09 18:59:18 +02:00
Lars Simon Winzer a96c050c55 Fix: ListUsersResponse to properly encapsulate user parameters in a block 2026-04-09 18:53:26 +02:00
Lars Simon Winzer a164f87379 Fix: Correctly retrieve user ID value in ListUsersResponse 2026-04-09 18:48:24 +02:00
Lars Simon Winzer f59f5c5930 Add: Registration of parser and handler to composition root 2026-04-09 18:46:45 +02:00
Lars Simon Winzer 627c38da6f Add: ListUsersHandler to handle user listing command 2026-04-09 18:46:20 +02:00
Lars Simon Winzer 239dfa714e Add: ListUsersResponse to convert collection of users to response body 2026-04-09 18:30:14 +02:00
Lars Simon Winzer 40d623fbb7 Add: ListUsersParser to parse request 2026-04-09 18:19:10 +02:00
Lars Simon Winzer 1d500e6973 Add: ListUsersRequest to request collection of active users 2026-04-09 18:18:01 +02:00
Mathis Ginkel 84e68d8b20 Merge remote-tracking branch 'origin/feat/client-chat' into feat/client-chat
# Conflicts:
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatModel.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/Message.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/ChatClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/ClientService.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/GameClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/LobbyClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/chatui/ChatBoxController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/chatui/ChatViewController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/app/commands/get_next_message/GetNextMessageHandler.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/app/commands/get_next_message/GetNextMessageResponse.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/app/commands/send_message/SendMessageParser.java
#	src/main/resources/ui-structure/Casinogameui.fxml
#	src/main/resources/ui-structure/components/chatui/chatbox.fxml
#	src/main/resources/ui-structure/components/chatui/chattab.fxml
#	src/main/resources/ui-structure/gameuicomponents/chatui/chatbox.fxml
#	src/test/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatApplication.java
#	src/test/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatTest.java
2026-04-09 18:13:29 +02:00
Mathis Ginkel e8401a976a Add: First implementation of Button, to create Whisper Chat 2026-04-09 18:04:57 +02:00
Mathis Ginkel c0c9225d42 Fix: Parsing of Server Responses for Client Chat 2026-04-09 18:04:57 +02:00
Mathis Ginkel 4e7b0ab67a Add: Implement Commands for Chat Protocol 2026-04-09 18:04:57 +02:00
Mathis Ginkel 39f60c9113 Fix: small changes to ChatUI 2026-04-09 18:04:57 +02:00
Jona Walpert 847d816935 Add: first (non functioning) modified version of lobby button controlelr with abckend conenction 2026-04-09 18:04:57 +02:00
Julian Kropff c8a9393fb6 Add: documentation for client network architecture 2026-04-09 18:04:57 +02:00
Julian Kropff 79bd33ad75 Add: initial client structure for game and network 2026-04-09 18:04:57 +02:00
Mathis Ginkel f5138503cb Add: CoreClient and ChatClient 2026-04-09 18:04:57 +02:00
Julian Kropff 93e39c3962 Add: Client Network Architecture Documentation 2026-04-09 18:04:57 +02:00
Mathis Ginkel 7d19e65428 Add: client chat architecture for lobby and global chat 2026-04-09 18:04:50 +02:00
Mathis Ginkel 87e9305e82 Fix: small changes in ClientService 2026-04-09 18:03:26 +02:00
Mathis Ginkel de66757837 Resolve Conflicts 2026-04-09 18:03:26 +02:00
Mathis Ginkel 65304cbb66 Merge remote-tracking branch 'origin/main' 2026-04-09 18:02:35 +02:00
Lars Simon Winzer c42dc09c0e Merge branch 'chore/61-write-protocol-document' into 'main'
Write protocol document outline and document existing commands

Closes #61

See merge request cs108-fs26/Gruppe-13!89
2026-04-09 14:46:12 +02:00
Lars Simon Winzer 5e15ad359d Docs: Correct spelling and grammar 2026-04-09 14:38:39 +02:00
Lars Simon Winzer 2350ddf1c4 Docs: Add examples to copy n' paste exmaple and all existing documented commands 2026-04-09 14:34:32 +02:00
Lars Simon Winzer 62bc75b46b Docs: Write documentation for already existing commands and pre-execution checks 2026-04-09 14:21:18 +02:00
Lars Simon Winzer 8bcd4dd033 Docs: Update copy n' paste command section with enum example, and error response 2026-04-09 14:09:24 +02:00
Lars Simon Winzer 0afa1d65e9 Docs: Link to protocol document from section README 2026-04-09 13:39:26 +02:00
Lars Simon Winzer 259173a809 Docs: Initial protocol document outlining execution pipeline with possible error responses 2026-04-09 13:39:07 +02:00
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
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