Commit Graph

1251 Commits

Author SHA1 Message Date
fd1d7e5473 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
51e148e2ec Add Javadoc for hashCode and equals methods of Contact 2020-06-11 11:05:38 +02:00
34d4a15fb1 Fix privileges in drop_all_tables.sql 2020-06-11 10:44:49 +02:00
DieGurke
05822cf13d 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
4bf1fbbc59 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
72da2d46ca Started implementing group message status handling
* Group creation works
2020-06-11 10:44:48 +02:00
delvh
05f4fd33f5 Added debugging statement when sending an object 2020-06-11 10:44:48 +02:00
5ea896d52b Add SQL script for dropping all tables 2020-06-11 10:44:48 +02:00
c40aab9ecb Send ContactOperationEvent to the added contact
+ Updated formatter
2020-06-11 10:44:48 +02:00
d9dd1f0c57 Remove illegal table declaration for single-table inheritance hierarchy 2020-06-11 10:44:47 +02:00
DieGurke
cb01d7139a Make GroupMessage extend Message, prepared GroupMessageStatus processing 2020-06-11 10:44:47 +02:00
3ad47c4c99 Fix typo in JPQL query 2020-06-11 10:44:47 +02:00
DieGurke
a94caede85 Changed unimportant stuff 2020-06-11 10:44:46 +02:00
DieGurke
c2a627529a 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
3439aee112 Merged branch 'develop' into f/groups
Contains several bug fixes
2020-06-10 22:23:59 +02:00
3db0676946 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
3ed0907b4f 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
f876f4e05c Add received messages to their chat 2020-06-10 13:05:44 +02:00
d14cc47365 Properly override updateItem method of list cells 2020-06-10 11:33:49 +02:00
8a3ffec859 Replace UserStatusChangeProcessor with inline code in ChatScene 2020-06-10 11:22:36 +02:00
c228519d4b Adjust stage size after changing the scene 2020-06-10 10:05:25 +02:00
c67a11f008 Remove ContactDeletionEvent in favor of ContactOperationEvent 2020-06-10 09:03:22 +02:00
30567ed1ef Merge pull request #136 from informatik-ag-ngl/f/javafx
Replaced Swing with JavaFX
2020-06-09 20:25:49 +00:00
delvh
d6e12df076 Fixed visual issues as per @delvh 's request 2020-06-09 22:24:09 +02:00
DieGurke
54bbed4a54 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
3e0b73ef12 Added (currently useless) comboBox to change your status 2020-06-09 21:03:19 +02:00
delvh
77f3db0ba3 Added color display of user statuses 2020-06-09 20:42:17 +02:00
delvh
9a6214eb82 Fixed bug automatically sending a message when ctrl is being pressed 2020-06-09 17:11:17 +02:00
fc4fb4cdae Process ContactOperationEvent 2020-06-09 17:06:40 +02:00
4835cc68fb Rename UserListCell to ContactListCell 2020-06-09 15:49:11 +02:00
3d71cda884 Ask user before adding a contact 2020-06-09 15:41:01 +02:00
bec49ff9e8 Implemented contact removal operation (untested) 2020-06-09 14:21:11 +02:00
ab626d3226 Fix user list in offline mode 2020-06-09 14:12:27 +02:00
cb3913d95d Display message date and status 2020-06-09 11:36:38 +02:00
c694247a4c 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
933232e2a4 Converted the login dialog into a scene 2020-06-08 11:58:57 +02:00
delvh
7b480bbbc8 Fixed bug invalidating enterToSend option 2020-06-08 10:48:33 +02:00
e576877943 Move scene controllers to separate package 2020-06-08 10:36:30 +02:00
1761044e9e Add theme selection in settings 2020-06-08 10:02:39 +02:00
5e73334e35 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
6974d44958 Fix minor error when popping the last scene 2020-06-08 08:45:15 +02:00
462b524455 Add missing Javadoc, remove unused resource folder 2020-06-08 08:39:58 +02:00
delvh
a3add72838 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
delvh
a0e11d99ca Implemented ContactSearchScene completely
additionally added default keyboard shortcuts for all buttons
2020-06-07 20:46:04 +02:00
33abd461a5 Add offline mode check box and connection label to login dialog 2020-06-07 17:03:02 +02:00
2409c5b2f7 Fix offline mode and local DB initialization 2020-06-07 16:26:54 +02:00
cb395c808c Merge branch 'develop' into f/javafx
Conflicts:
	src/main/java/envoy/client/ui/container/LoginDialog.java
	src/main/java/envoy/client/ui/primary/PrimaryScrollPane.java
	src/main/java/envoy/client/ui/primary/PrimaryTextArea.java
	src/main/java/envoy/client/ui/renderer/UserListRenderer.java
	src/main/java/envoy/client/ui/settings/GeneralSettingsPanel.java
	src/main/java/envoy/client/ui/settings/ThemeCustomizationPanel.java
2020-06-07 12:09:31 +02:00
delvh
9e7bde1d4d Improved visual appearance of ChatScene
Additionally added minimum height of application and basic
ContactSearchScene.fxml file.
2020-06-06 18:33:24 +02:00
ec72b6fc67 Externalized scene loading and management into SceneContext 2020-06-06 18:30:09 +02:00
4c79141e29 Fix condition for posting messages 2020-06-06 15:29:29 +02:00