Jona Walpert
f91642bade
Fix: fetch lobbies on client startup
2026-04-12 15:13:33 +02:00
Jona Walpert
93b6338041
Merge branch 'feat/lobby-expiry-broadcast' into 'main'
...
Feat: Expiry broadcast + client event handling and robustness
See merge request cs108-fs26/Gruppe-13!122
2026-04-12 12:57:42 +00:00
Jona Walpert
a66c91c67f
Merge branch 'main' into feat/lobby-expiry-broadcast
2026-04-12 14:54:09 +02:00
Jona Walpert
3e1d787b69
Feat: Add findEmptyLobbiesOlderThan to find and remove stale empty lobbies
2026-04-12 14:52:30 +02:00
Jona Walpert
bc36892699
Feat: Expiry broadcast + client event handling and robustness
2026-04-12 14:40:17 +02:00
Julian Kropff
120a477a55
Merge branch 'feat/game-ui-communication' into 'main'
...
Fix: Game UI to support server commands
See merge request cs108-fs26/Gruppe-13!121
2026-04-12 12:07:37 +00:00
Jona Walpert
5d4fe4bcfb
Merge branch 'feat/lobby-status' into 'main'
...
Feat: Add STATUS param to GET_LOBBY_STATUS and client parsing
See merge request cs108-fs26/Gruppe-13!120
2026-04-12 11:55:57 +00:00
Jona Walpert
346a728fb9
Feat): Add STATUS param to GET_LOBBY_STATUS and client parsing
2026-04-12 13:53:23 +02:00
Jona Walpert
63fb6e4b47
Merge branch 'feat/lobby-join-logging' into 'main'
...
Feat/lobby join logging
See merge request cs108-fs26/Gruppe-13!119
2026-04-12 11:33:41 +00:00
Jona Walpert
9044ce3660
Fix: Allow primitive values to contain hyphens (UUIDs) in addition to digits/words/colons
2026-04-12 13:31:00 +02:00
Jona Walpert
4fa60ad9e0
Fix: Apply checkstyle fixes
2026-04-12 13:30:11 +02:00
Jona Walpert
3abc03e6e1
Fix: fix error when switching back to mainLobby when exiting gameUI
2026-04-12 13:25:59 +02:00
Jona Walpert
e43732c520
Feat: Log JOIN_LOBBY requests and joins
2026-04-12 13:12:55 +02:00
Jona Walpert
1dcf628d2c
Feat: Log player joins in LobbyManager
2026-04-12 13:08:57 +02:00
Julian Kropff
4e65e2dec0
Merge branch 'feat/lobby-button-styling' into 'main'
...
Style: update Lobby Button styles in Casino Main UI
See merge request cs108-fs26/Gruppe-13!118
2026-04-12 10:59:53 +00:00
Jona Walpert
492901a837
Merge branch 'feat/100-add-start-game-command-on-server-side' into 'main'
...
Feat/100 add start game command on server side
Closes #100
See merge request cs108-fs26/Gruppe-13!109
2026-04-12 10:53:44 +00:00
Julian Kropff
659ea8a744
Fix: update Lobby Button styles in Casino Main UI
2026-04-12 12:53:44 +02:00
Jona Walpert
5e653a516c
Merge branch 'main' into feat/100-add-start-game-command-on-server-side
2026-04-12 12:45:24 +02:00
Jona Walpert
f5ee57454d
Merge branch 'feat/93-add-serverside-create-lobby-command' into 'main'
...
Feat: Add createLobby command on server side
Closes #93
See merge request cs108-fs26/Gruppe-13!117
2026-04-12 10:10:41 +00:00
Jona Walpert
fa8bb25b03
Add: Register create_lobby command
2026-04-12 12:03:41 +02:00
Jona Walpert
e6c222388b
Fix: add correct parsing on client side for create_lobyb command
2026-04-12 12:03:07 +02:00
Julian Kropff
7316ec80bf
Fix: cleanup CasinoGameController and fix lifecycle issues
...
Refs #52
2026-04-12 11:42:20 +02:00
Jona Walpert
b86352a298
Merge branch 'main' into feat/93-add-serverside-create-lobby-command
2026-04-12 11:27:11 +02:00
Jona Walpert
a7de101be2
Merge branch 'feat/session-dispatcher' into 'main'
...
Feat: Add SessionDispatcher to send responses by username
See merge request cs108-fs26/Gruppe-13!116
2026-04-12 09:23:07 +00:00
Jona Walpert
a2cd59e6b9
Feat: Add SessionDispatcher to send responses by username
2026-04-12 11:20:18 +02:00
Jona Walpert
564ace38e4
Merge branch 'feat/change-username-at-start-or-in-game' into 'main'
...
Feat: accept optional client username and forward to ClientApp
See merge request cs108-fs26/Gruppe-13!115
2026-04-12 09:17:38 +00:00
Jona Walpert
d16c348444
Fix: fix javadoc for MR
2026-04-12 11:14:30 +02:00
Julian Kropff
8f3d0ab8a9
Fix: update GameService to support server commands
...
Refs #52
2026-04-12 10:58:54 +02:00
Jona Walpert
77ec50e008
Merge branch 'main' into feat/change-username-at-start-or-in-game
2026-04-12 10:58:19 +02:00
Julian Kropff
869f061d86
Fix: update GameClient to support server commands
...
Refs #52
2026-04-12 10:58:16 +02:00
Jona Walpert
9635ee8ef9
Fix: robust response parsing and clearer errors in ClientService Detect +OK / -ERR / -ERROR, strip leading tabs, collect response lines reliably and improve exception unwrapping.
2026-04-12 10:56:22 +02:00
Jona Walpert
65a93a8c82
Feat: Reuse shared ClientService in CasinomainuiController
...
Make the controller use ClientApp.getSharedClientService() if available; otherwise fall back to creating a new ClientService. Add/cleanup Javadoc.
2026-04-12 10:52:55 +02:00
Jona Walpert
c3e0e740ed
Feat: Keep startup LOGIN connection and expose shared ClientService
...
Introduce ClientApp.sharedClientService, create it on startup when a username is provided, run the startup LOGIN asynchronously on that connection and keep the socket open so the UI reuses it; add Javadoc and adjust logging.
2026-04-12 10:52:22 +02:00
Jona Walpert
0ae88c9149
Fix: Parse LOGIN response id as string in LobbyClient
...
Parse the server ID parameter as a string and return it in LoginResult (no integer parsing).
2026-04-12 10:45:03 +02:00
Jona Walpert
0aafe13e34
Fix: Treat login id as string (UUID) in LoginResult
...
Change LoginResult.id from int to String and add Javadoc explaining the server returns a UUID.
BREAKING CHANGE: LoginResult.getId() now returns String (UUID).
2026-04-12 10:43:43 +02:00
Jona Walpert
4798de7499
Feat: Log assigned username and id on registration
...
Add INFO log in UserFactory.create to record assigned username, user UUID and session id when a new user is registered.
2026-04-12 10:42:56 +02:00
Jona Walpert
346a308176
Merge branch 'feat/change-username-at-start-or-in-game' of https://git.scicore.unibas.ch/cs108-fs26/Gruppe-13 into feat/change-username-at-start-or-in-game
2026-04-12 09:36:48 +02:00
Julian Kropff
8998152e8d
Fix: checkstyle
2026-04-12 09:31:25 +02:00
Julian Kropff
ef7a83c707
Merge branch 'feat/lobby-ui-input-field-style' into 'main'
...
Style: Lobby UI input field
See merge request cs108-fs26/Gruppe-13!114
2026-04-12 07:18:43 +00:00
Jona Walpert
d9e7c0c56d
Merge branch 'main' into feat/change-username-at-start-or-in-game
2026-04-12 09:12:46 +02:00
Julian Kropff
0227145cab
Fix: translations in Casino Main UI
2026-04-12 09:11:34 +02:00
Julian Kropff
755ea54381
Style: add gray-input-field class to Casino Main UI
...
Refs #106
2026-04-12 09:05:10 +02:00
jk
c0b149cc5f
Fix: add lobby ui input field style and fix translations
...
Refs #106
2026-04-12 09:00:41 +02:00
Jona Walpert
1669e07d3a
Merge branch 'feat/105-add-fold-command-on-server-side' into 'main'
...
Feat/105 add fold command on server side
Closes #105
See merge request cs108-fs26/Gruppe-13!113
2026-04-11 23:21:05 +00:00
Jona Walpert
d0e908774b
Docs: Add documentation for fold command
2026-04-12 01:18:24 +02:00
Jona Walpert
08e02a6135
Feat: add Fold command on server side
2026-04-12 01:17:14 +02:00
Jona Walpert
6ee9c6c399
Merge branch 'feat/104-add-call-command-on-server-side' into 'main'
...
Feat/104 add call command on server side
Closes #104
See merge request cs108-fs26/Gruppe-13!112
2026-04-11 23:12:51 +00:00
Jona Walpert
fb5399fc18
Docs: add documentation for call command
2026-04-12 01:06:41 +02:00
Jona Walpert
6d8f1787a9
Feat: add Call command to server side
2026-04-12 01:06:17 +02:00
Jona Walpert
9b4c6d8906
Merge branch 'feat/103-add-raise-command-on-server-side' into 'main'
...
Feat/103 add raise command on server side
Closes #103
See merge request cs108-fs26/Gruppe-13!111
2026-04-11 22:57:11 +00:00