Commit Graph

24 Commits

Author SHA1 Message Date
SCM6WE
e27141e013 fix connection establishment when loading files 2021-09-24 08:56:56 +02:00
Patrick Hellebrand
a953d34122 Removed timeStamp from SendMessage, added param Timestamp to savechat() 2021-09-24 08:54:59 +02:00
SCM6WE
eeea238398 Saving and loading but still has error(Pls fix) 2021-09-24 08:54:50 +02:00
Patrick Hellebrand
7e5883d761 Added BoardcastMessage, Username Changed event via Broadcast, remove json parsing from ChatMessage 2021-09-24 08:54:09 +02:00
Felix Hartmann (PEA3-Fe-FI)
fb098db63d fix ip in intial packet (send own ip, not foreign) 2021-09-24 08:54:07 +02:00
Felix Hartmann (PEA3-Fe-FI)
1b3d133657 allow deletion of chats which are not started by me 2021-09-24 08:54:05 +02:00
Felix Hartmann (PEA3-Fe-FI)
e1ea49bf71 stop connection if we are already connected 2021-09-24 08:53:57 +02:00
Patrick Hellebrand
92bc795aff Added OnIncomingMessages (for loading messages from json array) 2021-09-24 08:52:09 +02:00
Patrick Hellebrand
ea81547540 ConnectionFailedDialog -> Dialog for Success and Error Messages with heading, message and buttons/actions 2021-09-24 08:52:05 +02:00
Felix Hartmann (PEA3-Fe-FI)
e2de9f5917 add retry logic on disconnect, silently delete chat if disconnected after connect was succesfull 2021-09-24 08:52:03 +02:00
Patrick Hellebrand
6f2c442e94 small fix for correct ip display 2021-09-24 08:52:01 +02:00
Patrick Hellebrand
b42a2f9728 Fixed json formatting in SendMessage 2021-09-24 08:51:49 +02:00
Patrick Hellebrand
05e3e9e0c4 Added our default ip address, added ip as param to onMessage 2021-09-24 08:51:14 +02:00
Felix Hartmann (PEA3-Fe-FI)
e6e5bee4ef add outgoing connections to dict 2021-09-24 08:51:13 +02:00
Patrick Hellebrand
0f305a216e SendMessage is now Json 2021-09-24 08:51:02 +02:00
Felix Hartmann (PEA3-Fe-FI)
7135486810 add initial packet, close socket on disconnect, move server start to Controller.cs 2021-09-24 08:50:01 +02:00
Patrick Hellebrand
0c5579198f Removed Old Models, extended ChatMessage to json 2021-09-22 14:09:26 +02:00
Patrick Hellebrand
f2202e6aa7 Added json support with type+content to ChatMessage 2021-09-22 13:50:36 +02:00
Patrick Hellebrand
01a48c336d New Connection Class replacing Client, Controller Class replaceing networkController, no json support yet 2021-09-22 12:58:05 +02:00
SCM6WE
86de29bcce del Controller and ClientHandler / msg send to ui 2021-09-21 14:36:16 +02:00
Felix Hartmann (PEA3-Fe-FI)
a2c35a7536 remove Socket.cs, integrate Socket.cs into Networkcontroller.cs 2021-09-21 12:32:35 +02:00
SCM6WE
697a7ad506 merge 2021-09-21 10:12:29 +02:00
Hartmann Felix (PEA3-Fe-FI)
5d69842ec0 use string for IP adresses instead of explicit type 2021-09-21 08:52:53 +02:00
Patrick Hellebrand
9533c9b666 Add project files. 2021-09-21 08:05:08 +02:00