Commit graph

47 commits

Author SHA1 Message Date
9237649b60 Fix file not being sent (3) 2021-01-06 10:53:41 +01:00
03f6e63b69 Fix file not being sent (2) 2021-01-06 10:50:20 +01:00
ad48bfa05f Add support for file 2021-01-06 09:56:12 +01:00
Arnaud Vergnet
63cb83916a Simplify user connection
Extracted handshake phase into separate class.
2021-01-06 08:28:21 +01:00
Arnaud Vergnet
fcb678f4fe use unique ID instead of ip 2021-01-05 22:00:30 +01:00
1ab27f4f87 make DatabaseController async 2021-01-05 15:34:24 +01:00
Arnaud Vergnet
6d3971be40 Improve UI doc and fix minor UI bugs 2021-01-05 10:37:41 +01:00
Arnaud Vergnet
a3873394be improve database compatibility with UI 2021-01-04 20:51:05 +01:00
Arnaud Vergnet
2099b78233 Connect ui to db 2021-01-04 10:33:39 +01:00
Arnaud Vergnet
e5c518d078 allow sending username taken message 2021-01-03 18:30:59 +01:00
Arnaud Vergnet
030e9b3b0a add username change and check for duplicates 2021-01-03 18:19:02 +01:00
34255a98e8 Implement and test DatabaseController functions 2020-12-18 15:06:11 +01:00
Arnaud Vergnet
73bf24fa81 add message timestamp 2020-12-18 10:47:29 +01:00
Arnaud Vergnet
7075c9e0b6 Fix user duplication on new session start 2020-12-16 18:20:56 +01:00
Arnaud Vergnet
75ec382fb7 improve user disconnection detection 2020-12-16 18:00:03 +01:00
Arnaud Vergnet
e6ab61a49c improve new user detection 2020-12-16 17:45:22 +01:00
Arnaud Vergnet
ea311fbecb stop tcp listening before app close 2020-12-16 17:13:42 +01:00
Arnaud Vergnet
c13b589054 improve username setting flow 2020-12-16 17:12:04 +01:00
Arnaud Vergnet
5cf0279279 Merge remote-tracking branch 'origin/master' 2020-12-16 12:26:48 +01:00
Arnaud Vergnet
362f5fa2f8 fix tcp message receiving 2020-12-16 12:26:43 +01:00
206003080a Add logs when user change state 2020-12-16 12:21:50 +01:00
Arnaud Vergnet
5d85a6061a Make ip to id function static 2020-12-16 12:07:26 +01:00
c50a2fb251 Merge remote-tracking branch 'origin/master' 2020-12-16 11:51:42 +01:00
965cfdbf19 Handle user connection and disconnection 2020-12-16 11:51:31 +01:00
Arnaud Vergnet
a11428569a remove unused getters 2020-12-16 11:45:35 +01:00
Arnaud Vergnet
6f6492e8c0 connect ui to message sending methods 2020-12-16 11:35:20 +01:00
Arnaud Vergnet
312bbaa5a6 add debug logging 2020-12-16 10:46:48 +01:00
0ff7d63a4b Change User to UserInformation in Message 2020-12-14 15:26:20 +01:00
Arnaud Vergnet
c5d56a2604 feat: connect user list to ui 2020-12-09 12:19:16 +01:00
1d979c2dab Convert ActiveUser to PeerUser 2020-12-09 11:38:33 +01:00
Arnaud Vergnet
0b13c1242b fix: remove unused constructor 2020-12-07 15:03:24 +01:00
Arnaud Vergnet
d351f25e3a feat: improve current user init process 2020-12-07 15:02:31 +01:00
Arnaud Vergnet
7886d72a39 feat: show username dialog on app init 2020-12-07 11:56:40 +01:00
Arnaud Vergnet
e02ea55179 feat: add initial loading screen 2020-12-06 16:05:58 +01:00
0e8ded05c9 Put id in User, async create and init ActiveUser, make CurrentUser singleton 2020-12-05 00:30:30 +01:00
b75cd6de1a Add ConnectionListener + improve network classes + first work on username change impl 2020-12-02 19:05:53 +01:00
613e580b4c Implement send and receive messages + rework async error handling 2020-12-02 12:02:34 +01:00
Arnaud Vergnet
657ab85915 feat: sort user list 2020-12-02 11:15:15 +01:00
Arnaud Vergnet
3485adfe7e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/fr/insa/clavardator/users/UserList.java
2020-12-02 10:57:49 +01:00
Arnaud Vergnet
c59fc318f0 feat: add username constructor param 2020-12-02 10:55:12 +01:00
415b477ef8 Make user comparable 2020-12-02 10:53:21 +01:00
ef8fd4d00c Make user comparable 2020-12-02 10:51:23 +01:00
1a5a62f11f Add message parameters to discovery method, and add close method 2020-12-02 10:14:07 +01:00
ab5b058498 Implement network discovery methods (working) 2020-11-30 18:18:28 +01:00
659bdd10ec Convert to beans, start implementing functions and rewrite net architecture 2020-11-26 16:18:29 +01:00
Arnaud Vergnet
062880407b chore: use tab instead of spaces 2020-11-23 16:40:57 +01:00
ff0be945cd Create project skeleton from UML class diagram 2020-11-23 16:27:01 +01:00