Commit graph

130 commits

Author SHA1 Message Date
Arnaud Vergnet
b6d02eaaec Organize project into client and lib subprojects 2021-01-12 12:24:14 +01:00
Arnaud Vergnet
93cf550a9b Do not reject presence server user if local inactive 2021-01-12 10:37:14 +01:00
Arnaud Vergnet
bc50fdec44 Update server ports 2021-01-12 10:36:21 +01:00
Arnaud Vergnet
ede9b259d4 Convert presence notification response to user list 2021-01-12 10:11:31 +01:00
Arnaud Vergnet
728d65f220 Use prepared sql statements 2021-01-08 11:31:52 +01:00
Arnaud Vergnet
68125c7c92 Implement basic presence server functionality 2021-01-07 17:04:45 +01:00
Arnaud Vergnet
1cf1ebec37 Make tcp handlers more generic 2021-01-07 15:35:05 +01:00
Arnaud Vergnet
7a36ef2c60 Move presence init server to user list 2021-01-07 15:02:03 +01:00
Arnaud Vergnet
2929211c85 Update presence server interface to match new API.
We now use a different port for the presence server and the proxy, each set in the config file
2021-01-07 10:43:46 +01:00
Arnaud Vergnet
20e341c190 Add presence server skeleton 2021-01-07 09:37:51 +01:00
Arnaud Vergnet
1cf3f738cb remove unused prints 2021-01-07 08:11:27 +01:00
Arnaud Vergnet
4c8cd5c080 Fix icons disappearing 2021-01-06 12:28:57 +01:00
Arnaud Vergnet
a9674c67d6 improve message styling 2021-01-06 12:15:02 +01:00
Arnaud Vergnet
7596a2c627 Add json config support 2021-01-06 11:56:35 +01:00
Arnaud Vergnet
fcc8136d14 Do not add new line if no text on attachment 2021-01-06 11:15:02 +01:00
Arnaud Vergnet
0cb5b34ff6 Show attachment status 2021-01-06 11:05:26 +01:00
9237649b60 Fix file not being sent (3) 2021-01-06 10:53:41 +01:00
dc32071529 Merge remote-tracking branch 'origin/master' 2021-01-06 10:50:25 +01:00
03f6e63b69 Fix file not being sent (2) 2021-01-06 10:50:20 +01:00
Arnaud Vergnet
7fea10f4dc Add report notes 2021-01-06 10:44:32 +01:00
Arnaud Vergnet
a2be9c26dd Fix ui freeze on file open 2021-01-06 10:44:21 +01:00
5f0d2ea7b1 Fix file not being sent 2021-01-06 10:43:42 +01:00
Arnaud Vergnet
43ccfe5901 remove unused file 2021-01-06 10:05:36 +01:00
ad48bfa05f Add support for file 2021-01-06 09:56:12 +01:00
Arnaud Vergnet
97c0d34159 Fix message duplicates on history load 2021-01-06 09:17:47 +01:00
Arnaud Vergnet
46cf6f40aa Fix chat history sql query 2021-01-06 09:05:52 +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
3d6d1b7a15 Convert all PreparedStatement to regular Statements
PreparedStatement are not that useful for our use case, but add a lot of complexity
2021-01-04 19:11:31 +01:00
Arnaud Vergnet
2099b78233 Connect ui to db 2021-01-04 10:33:39 +01:00
Arnaud Vergnet
c2f53e89ec cleaned up database controller 2021-01-04 09:01:43 +01:00
Arnaud Vergnet
08b916c5c5 prevent names longer than 16 chars 2021-01-03 18:40:07 +01:00
Arnaud Vergnet
1e5383a332 only use dialog delay for errors 2021-01-03 18:34:59 +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
Arnaud Vergnet
060137115f prevent sending empty messages 2021-01-03 13:54:45 +01:00
Arnaud Vergnet
e04b780397 fix javafx thread errors and improve chat performance 2021-01-03 13:46:46 +01:00
e7a77a8670 Minor fix in logs 2020-12-20 01:05:11 +01:00
d24550fd63 Use another DB for testing 2020-12-20 00:56:02 +01:00
34255a98e8 Implement and test DatabaseController functions 2020-12-18 15:06:11 +01:00
Arnaud Vergnet
aed165108c Fix message duplication with multiple users 2020-12-18 11:07:51 +01:00
Arnaud Vergnet
73bf24fa81 add message timestamp 2020-12-18 10:47:29 +01:00
Arnaud Vergnet
c4b2b55887 Fix self discovery
Check address on broadcast reception and use only ipv4
2020-12-18 10:25:26 +01:00
Arnaud Vergnet
3b9f4f0a41 Fix error on msg receive with chat closed 2020-12-16 18:27:37 +01:00
Arnaud Vergnet
81673e44b3 Fix username not updating on user list 2020-12-16 18:21:09 +01:00
Arnaud Vergnet
7075c9e0b6 Fix user duplication on new session start 2020-12-16 18:20:56 +01:00
Arnaud Vergnet
1fe1681d8b improve username change detection 2020-12-16 18:08:09 +01:00