Commit Graph

794 Commits

Author SHA1 Message Date
02ca6960f7 Reading the current chat if it changes or a message is received
Closes #144
2020-06-12 10:54:55 +02:00
DieGurke
40a38e77dd
Update src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-11 15:06:59 +02:00
DieGurke
5ef46d80c3 Implemented suggestions from code review 2020-06-11 15:06:06 +02:00
DieGurke
bbf688dbe9 Adjusted pom.xml 2020-06-11 13:40:30 +02:00
DieGurke
02d0917967 Adjusted pom.xml 2020-06-11 13:39:38 +02:00
DieGurke
638770c75f Added creationDate variable in Contact & added pendingGroups query 2020-06-11 13:22:48 +02:00
DieGurke
5466602a33 Fixed issue reagarding missing chats 2020-06-11 13:21:16 +02:00
1fffb12423 Logging envoy messages only 2020-06-11 12:08:51 +02:00
bf60e9675d Replaces print statements by logger calls
Closes #34
2020-06-11 12:06:06 +02:00
2f0fccb536 Use EnvoyLog for all packages 2020-06-11 11:45:17 +02:00
744f55de58 Resolved JPA validation errors
These were partially caused by an old Hibernate validator which has now
been replaced by the EclipseLink validator for the current JPA standard.
Another error was caused by the use of non-standard JPQL in the user
search query which has now been replaced by a standardized one.
2020-06-11 11:17:22 +02:00
12a0ab5a37 Fix privileges in drop_all_tables.sql 2020-06-11 10:44:49 +02:00
DieGurke
135e9b7f76 Fixed issue regarding the sender of a message not getting an MSCEvent
Added messageStatusChangeEvent sending to online sender if recipient
logs in and sender is online at the same time
2020-06-11 10:44:49 +02:00
DieGurke
693ef0875d Fixed invalid MessageStatusChangeEvent sending
The sender got a messageStatusChangeEvent even if the status was still
sent from the server and couldn't process it.
The server does not send this unnecessary event even more
2020-06-11 10:44:49 +02:00
DieGurke
47e03dc4f4 Started implementing group message status handling
* Group creation works
2020-06-11 10:44:48 +02:00
delvh
90103d5c49 Added debugging statement when sending an object 2020-06-11 10:44:48 +02:00
e8b59761a7 Add SQL script for dropping all tables 2020-06-11 10:44:48 +02:00
f4301caba7 Send ContactOperationEvent to the added contact
+ Updated formatter
2020-06-11 10:44:48 +02:00
0c5645157b Remove illegal table declaration for single-table inheritance hierarchy 2020-06-11 10:44:47 +02:00
DieGurke
cffe9b936f Make GroupMessage extend Message, prepared GroupMessageStatus processing 2020-06-11 10:44:47 +02:00
673e2f74d8 Fix typo in JPQL query 2020-06-11 10:44:47 +02:00
DieGurke
ab789927eb Changed unimportant stuff 2020-06-11 10:44:46 +02:00
DieGurke
b8e001bf54 MessageStatusChangeEventCache
Added a cache storing all messageStatusChangeEvents received during
handshake just like the already existing cache for received messages
during the handshake
This new cache is needed because the functionality regarding the pending
messages (and now messageStatusChanges as well) has changed!
2020-06-10 22:50:09 +02:00
DieGurke
4e2e47600b Merged branch 'develop' into f/groups
Contains several bug fixes
2020-06-10 22:23:59 +02:00
71cc69f4be
Merge pull request #142 from informatik-ag-ngl/b/message_sync
Add received messages to their chat
2020-06-10 18:25:58 +00:00
1c8da42fe0
Merge pull request #140 from informatik-ag-ngl/b/ui_misc
Fix wrong stage size after scene switch and user list artifacts
2020-06-10 17:14:14 +00:00
c839ef01ba Add received messages to their chat 2020-06-10 13:05:44 +02:00
9dade2cf77 Properly override updateItem method of list cells 2020-06-10 11:33:49 +02:00
367a690dc8 Replace UserStatusChangeProcessor with inline code in ChatScene 2020-06-10 11:22:36 +02:00
46f8b1e767 Adjust stage size after changing the scene 2020-06-10 10:05:25 +02:00
b068796f46
Merge pull request #136 from informatik-ag-ngl/f/javafx
Replaced Swing with JavaFX
2020-06-09 20:25:49 +00:00
delvh
8ba718f7b1 Fixed visual issues as per @delvh 's request 2020-06-09 22:24:09 +02:00
DieGurke
a4cc753d85 Added Group Creation Functionality
* Implemented new group creation scene (fxml)
* Added group creation controller
* Adjusted contact search scene (fxml)
2020-06-09 21:22:45 +02:00
delvh
b953586859 Added (currently useless) comboBox to change your status 2020-06-09 21:03:19 +02:00
delvh
d0d86fc0d4 Added color display of user statuses 2020-06-09 20:42:17 +02:00
delvh
0661838c38 Fixed bug automatically sending a message when ctrl is being pressed 2020-06-09 17:11:17 +02:00
ebb7a48e8e Process ContactOperationEvent 2020-06-09 17:06:40 +02:00
0efd57f2ef Rename UserListCell to ContactListCell 2020-06-09 15:49:11 +02:00
bc17203367 Ask user before adding a contact 2020-06-09 15:41:01 +02:00
d03bbb6f5e Implemented contact removal operation (untested) 2020-06-09 14:21:11 +02:00
72354b3678 Fix user list in offline mode 2020-06-09 14:12:27 +02:00
7f6f538849 Display message date and status 2020-06-09 11:36:38 +02:00
ca029d9e13 Merge branch 'f/javafx' of https://github.com/informatik-ag-ngl/envoy-client.git into f/javafx 2020-06-08 12:00:17 +02:00
c0d814ed38 Converted the login dialog into a scene 2020-06-08 11:58:57 +02:00
delvh
4d20e97f25 Fixed bug invalidating enterToSend option 2020-06-08 10:48:33 +02:00
232439a564 Move scene controllers to separate package 2020-06-08 10:36:30 +02:00
0372c1393e Add theme selection in settings 2020-06-08 10:02:39 +02:00
4123abf24f Remove Theme class and code related to it
This is a preparation for loading themes from CSS files.
2020-06-08 09:14:57 +02:00
0ba46f6d46 Fix minor error when popping the last scene 2020-06-08 08:45:15 +02:00
delvh
63dc01534d Added elegant way of displaying remaining characters for a message
additionally FOUND (not fixed) a bug automatically posting a message
when ctrl is no longer pressed
2020-06-07 23:28:25 +02:00