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
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
Jona Walpert
42b5344059
Test: Add in-process TestServer and update LobbyButtonGridManagerTest
...
Add TestServer that speaks the RawPacket/TcpTransport protocol for CREATE_LOBBY,
GET_LOBBY_STATUS and JOIN_LOBBY. Update LobbyButtonGridManagerTest to start the
TestServer and exercise a real `ClientService(host, port)`, enabling integration-style
tests of the client->transport->server roundtrip without an external server.
Refs #36
2026-04-02 22:28:12 +02:00
Jona Walpert
76e62b3cff
Feat: Accept ClientService and delegate to LobbyClient
...
Add constructor overload that accepts ClientService and constructs a LobbyClient.
Avoids implicit host/port lookup in UI code; caller controls network config.
Keeps rendering/status behavior unchanged (async updates, deterministic ordering).
2026-04-02 22:26:14 +02:00
Jona Walpert
1070b5d4b9
Chore(startup): Propagate server ip:port to UI via system properties
...
ClientApp.start parses <ip>:<port>, sets `casono.server.host` / `casono.server.port` and forwards the original launch arg to the JavaFX launcher.
Casinomainui reads JavaFX launch args and exposes the same system properties.
CasinomainuiController reads those properties and constructs `ClientService(host, port)` (no hardcoded defaults)."
2026-04-02 22:12:48 +02:00
Jona Walpert
4daf6ff4a2
Fix: Sort button IDs before iterating map for deterministic rendering
...
Copy mapping.keySet() to a List and call Collections.sort(...) before iterating.
Ensures stable button placement and reproducible image updates (render + update)
2026-04-02 22:00:18 +02:00
Jona Walpert
3153f7027d
fix: temporyy fix for NPE and wrong naming
2026-04-02 18:50:20 +02:00
Jona Walpert
b5d19d915b
Add: first (non functioning) modified version of lobby button controlelr with abckend conenction
2026-04-02 16:31:27 +02:00
Julian Kropff
09c19c2602
Add: documentation for client network architecture
2026-04-02 16:10:33 +02:00
Julian Kropff
77c7f7c0a5
Add: initial client structure for game and network
2026-04-02 16:08:24 +02:00
Mathis Ginkel
6f80501ea2
Add: CoreClient and ChatClient
2026-04-02 11:16:40 +02:00
Julian Kropff
45cd54b981
Add: Client Network Architecture Documentation
2026-04-02 10:54:47 +02:00
Mathis Ginkel
3427c661cf
Merge branch 'feat/client-chat' into feat/client-communication
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/chatui/ChatController.java
2026-04-02 10:31:28 +02:00
Mathis Ginkel
ff07843e0a
Fix: small changes in ClientService
2026-04-02 10:22:51 +02:00
Mathis Ginkel
cc33411911
Add: basic chat functionality
2026-04-02 10:20:03 +02:00
Lars Simon Winzer
948484853c
Merge branch 'chore/44-publish-outreach-as-gitlab-pages' into 'main'
...
Tested if gitlab instance has enabled gitlab pages
Closes #44
See merge request cs108-fs26/Gruppe-13!71
2026-04-01 22:34:14 +02:00
Lars Simon Winzer
521982f7fc
Revert "Ci: Add GitLab Pages deployment job for outreach website"
...
This reverts commit 0e9cf6ae74 .
2026-04-01 22:27:25 +02:00
Lars Simon Winzer
0e9cf6ae74
Ci: Add GitLab Pages deployment job for outreach website
2026-04-01 22:17:02 +02:00
Jona Walpert
120b55f5cc
Merge branch 'feat/ui-images' into 'main'
...
Feat/ui images
See merge request cs108-fs26/Gruppe-13!70
2026-04-01 16:24:48 +00:00
Jona Walpert
5dd620116a
Chore: Move old poker chip images to old_images folder
2026-04-01 18:21:17 +02:00
Jona Walpert
f4c20e1725
Chore: Rename chip images to lobby button naming scheme
2026-04-01 18:18:25 +02:00
Julian Kropff
0c6595a58b
Add: red poker chip images
2026-04-01 17:41:05 +02:00
Julian Kropff
936463c8f1
Add: green poker chip images
2026-04-01 17:40:55 +02:00
Jona Walpert
4c203b279c
Merge branch 'chore/42-translate-multiple-client-components-to-english' into 'main'
...
Chore/42 translate multiple client components to english
Closes #42
See merge request cs108-fs26/Gruppe-13!69
2026-04-01 12:26:50 +00:00
Jona Walpert
983f2cca5e
Style: fix checkstyle errors
2026-04-01 14:24:34 +02:00
Jona Walpert
56ba5b81ae
Docs: translate client side components to english. This includes comments and javaDoc
2026-04-01 13:48:24 +02:00
Lars Simon Winzer
20e8491cff
Merge branch 'feat/35-make-dispatch-method-of-responsedispatcher-unchecked' into 'main'
...
Refactor dispatch method of ResponseDispatcher to be unchecked
Closes #35
See merge request cs108-fs26/Gruppe-13!67
2026-04-01 13:04:14 +02:00
Lars Simon Winzer
3b7b53d973
Style: Apply Spotless
2026-04-01 12:49:56 +02:00
Lars Simon Winzer
df0f8ca44c
Add: Handle ResponseDispatchException in SessionReader
2026-04-01 12:49:07 +02:00
Lars Simon Winzer
ae98334c56
Docs: Modify JavaDoc to match changes
2026-04-01 12:46:51 +02:00
Lars Simon Winzer
4deeace547
Refactor: dispatch method of ResponseDispatcher is now unchecked and throws ResponseDispatchException
2026-04-01 12:46:14 +02:00
Lars Simon Winzer
68e8bc76b2
Add: Wrapper ResponseDispatchException for ResponseDispatcher
2026-04-01 12:44:37 +02:00
Jona Walpert
cb65ad2ed0
Merge branch 'feat/ui-switch-lobby-game' into 'main'
...
Feat/ui switch lobby game
See merge request cs108-fs26/Gruppe-13!66
2026-04-01 10:34:31 +00:00
Jona Walpert
1d322f5cd8
Style: Fix checkstyle for failed pipeline
2026-04-01 12:31:58 +02:00
Jona Walpert
40ea45460e
Docs: JavaDoc for client side standard constructors
2026-04-01 11:44:46 +02:00
Jona Walpert
60f326c4d5
Style: line length checkstyle fix
2026-04-01 11:34:55 +02:00
Jona Walpert
2906c59f25
Merge branch 'main' into 'feat/ui-switch-lobby-game'
2026-04-01 11:24:39 +02:00
Lars Simon Winzer
6736345cbe
Merge branch 'feat/34-make-response-use-requestcontext' into 'main'
...
Refactor response classes to use RequestContext instead of SessionId + request id
Closes #34
See merge request cs108-fs26/Gruppe-13!64
2026-03-31 20:50:07 +02:00
Lars Simon Winzer
307c234c91
Docs: Fix javaDoc comments to match changes
2026-03-31 20:47:46 +02:00
Lars Simon Winzer
2ad2981724
Docs: Improve javaDoc for getSessionId method in Response
2026-03-31 20:36:40 +02:00
Lars Simon Winzer
945418798b
Refactor: Replace dedicated fields for SessionId and request id with RequestContext
2026-03-31 20:35:29 +02:00
Lars Simon Winzer
34d782e252
Refactor: Use RequestContext in SessionReader when instantiating responses
2026-03-31 20:32:11 +02:00
Lars Simon Winzer
665e006b89
Refactor: Update response classes to use RequestContext instead of SessionId + request id
...
BREAKING CHANGES
2026-03-31 20:27:36 +02:00
Julian Kropff
da23a30ca5
Add: Background image
2026-03-31 19:46:58 +02:00
Julian Kropff
d762f7bb2b
Add: Background image
2026-03-31 19:46:28 +02:00