Commit Graph

1003 Commits

Author SHA1 Message Date
delvh
1cdad2df0b Merge pull request #30 from informatik-ag-ngl/f/is_typing_event
Added IsTyping event on common, server and partially on client side.

Additionally fixed small NullPointerException in ContactSearchScene
2020-07-25 17:17:29 +02:00
delvh
5a5e6e2086 Refactored IsWriting to IsTyping 2020-07-25 17:13:50 +02:00
delvh
e382a86623 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-25 16:51:46 +02:00
delvh
6f8859c3fd Added IsWriting event on common, server and partially on client side
additionally fixed NullPointerException in ContactSearchScene and typo
in Javadoc

PS: this is the 1000th commit in Envoy! 🥳 🎉
2020-07-25 16:26:13 +02:00
72d1e074f4 Merge pull request #29 from informatik-ag-ngl/b/looping_receiver
Prevent Receiver from looping after connection loss
2020-07-25 13:15:00 +00:00
cd2e739529 Prevent Receiver from looping after connection loss 2020-07-25 15:09:00 +02:00
delvh
8d81b76bad Updated issue templates 2020-07-25 10:43:26 +02:00
delvh
9d7f85c58d Merge pull request #26 from informatik-ag-ngl/f/system_commands
Added system commands ( features: custom argument number, default values, system command builder, ...).
Fixed bug not copying attachment when using copy and send.
2020-07-24 13:54:05 +02:00
delvh
4d4de3a27f Update client/src/main/java/envoy/client/ui/controller/ChatScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-24 13:42:39 +02:00
delvh
8718596be2 Added default values, SystemCommandBuilder
Additionally removed sending of SystemCommands as messages and added
sorting of recommendations by relevance.
2020-07-24 11:09:05 +02:00
9a947739a6 Merge pull request #27 from informatik-ag-ngl/f/status_tray
Restore Status Tray Functionality
2020-07-24 08:28:54 +00:00
2ffcad9d35 Apply suggestions from code review 2020-07-24 10:26:31 +02:00
59354c403d Integrated the tray icon with the hide on close setting 2020-07-24 09:57:09 +02:00
07fbe3438a Notify about messages when out of focus 2020-07-23 19:20:58 +02:00
2ed30c56cd Iconify stage on close, reopen it with the tray icon 2020-07-23 18:53:36 +02:00
delvh
e49d390089 Apply suggestions from code review (1)
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-23 18:51:20 +02:00
delvh
d3c2eb4ff7 Added SystemCommandsMap in Chatscene and "DABR"-command 2020-07-23 17:18:53 +02:00
delvh
42184c47f7 Added onCall interface, InterruptEvent, and a relevance measurement 2020-07-23 16:37:28 +02:00
delvh
6a1a9ecdbb Added consistent and safer way to get the currently requested command 2020-07-23 15:50:45 +02:00
delvh
f1856534c6 Adjusted formatter to new Envoy version 2020-07-23 15:36:23 +02:00
delvh
38c57c997f Added mechanism to check whether a raw text contains a command 2020-07-23 11:07:54 +02:00
delvh
7bf35977f0 Added validity check for commands 2020-07-23 09:23:29 +02:00
5d03d0f0eb Make StatusTrayIcon work with JavaFX
* Remove Swing dependencies from StatusTrayIcon
* Pass a stage to the constructor
* Adjust focus change handler and reactivation
* Add IconUtil#loadAWTCompatible for BufferedImage loading
2020-07-20 12:57:34 +02:00
delvh
e00fa592d6 Merge pull request #24 from informatik-ag-ngl/b/same_time_contact_addition
Fixed bug enabling contact duplication when two clients simultaneously add each other to their contact list
2020-07-19 23:20:53 +02:00
delvh
a283217308 Fixed bug enabling contact duplication
...when two clients simultaneously add each other to the respective
contact list
2020-07-18 18:20:52 +02:00
delvh
145ec06f57 Added README.md 2020-07-18 15:58:39 +02:00
e51d2946d0 Change artifact directory structure 2020-07-18 14:00:26 +02:00
1a17448724 Speed up build, move compiler configuration to parent POM 2020-07-18 13:32:49 +02:00
delvh
fdbec3d652 Merge branch 'develop' into f/system_commands 2020-07-18 11:27:59 +02:00
delvh
5ce62c10ca Added System command description and added recommendation ability
Additionally removed ability to decide whether exceptions thrown by
SystemCommands should be rethrown as a mentally superior team member
intervened that it would be useless.
2020-07-18 11:25:41 +02:00
282db47153 Reconfigure Envoy Common Eclipse Project 2020-07-18 10:19:47 +02:00
381740e087 Simplify project names 2020-07-18 10:11:46 +02:00
delvh
da77afdc32 Fixed bug not copying attachment when using copy and send 2020-07-18 09:48:08 +02:00
2e42da87ec Merge pull request #17 from informatik-ag-ngl/f/handshake_sync
Message Synchronization During Handshake
2020-07-18 07:17:35 +00:00
delvh
2e45e375b1 Revised SystemCommand mechanism and implemented theoretical execution 2020-07-17 23:27:54 +02:00
f135a99fdd Merge branch 'develop' into f/handshake_sync 2020-07-16 22:35:09 +00:00
698e260746 Turn logging off by default (ClientConfig)
Logging is still enabled through the client.properties however, where
console logging is set to FINER.
2020-07-17 00:29:48 +02:00
47ab5d1e0c Fix unread message counter
A bug remains when the total status of a group message is SENT, but the
individual status for the client user is RECEIVED. In this case, the
counter should be incremented but isn't.
2020-07-17 00:27:00 +02:00
delvh
71145bbb24 Added System Commands basics - may change again 2020-07-17 00:23:35 +02:00
delvh
e104a1f9b4 Merge pull request #18 from informatik-ag-ngl/f/listview_refresh
Added (inefficient) listview refreshing mechanism.
Additionally fixed these bugs/ inconsistencies:
    Removed the selected user from ContactSearchScene upon addition
    Warned user on group creation if he already has a Group with that name
    Fixed bug not enabling the post-button when an attachment is present
2020-07-16 22:04:39 +02:00
afcf1e48a4 Remove filter from ReceivedMessageProcessor, improve handshake
The user is sent after the messages to avoid receiving messages on the
client while switching from handshake to normal mode.
2020-07-16 21:14:37 +02:00
delvh
00603bedf6 Update client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-16 20:54:47 +02:00
delvh
96bfe489da Update client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-16 20:54:15 +02:00
delvh
698b57d99d Fixed Bug not updating MessageStatusChanges 2020-07-16 20:34:24 +02:00
43c1edae39 Adjust message queries for handshake sync
This causes problems with group messages as the received date is null
sometimes even though the status is RECEIVED.

The ReceivedMessageProcessor on the client filters out the synced
messages at the moment.
2020-07-16 18:32:40 +02:00
delvh
176f6c6463 Fixed bug not enabling the post-button when an attachment is present 2020-07-16 18:23:06 +02:00
delvh
c0f4a8e212 Warned user on group creation if he already has a Group with that name 2020-07-16 17:47:59 +02:00
delvh
fb4fd85fe4 Removed the selected user from ContactSearchScene upon addition 2020-07-16 17:36:57 +02:00
delvh
bc355f190f Added deepRefresh - mechanism
additionally fixed bug not updating messageList when a
MessageStatusChange occurs (seriously, why did no one notice it before?)
2020-07-16 17:35:15 +02:00
07c4ccf3c8 Prepare handshake synchronization
Common
* Replace LocalDateTime with Instant everywhere

Client
* Display message creation date with system time zone in MessageControl
* LocalDB#users now strictly contains Users
* lastSync time stamp in LocalDB (saved per user)
* isOnline parameter in save function (lastSync updated if true)
* lastSync time stamp in LoginCredentials
* No ClientConfig#getLoginCredentials because of missing information,
  moved to LoginScene
* Pass LocalDB#lastSync to LoginCredentials in LoginScene

Server
* Explicit lastSync parameter for
  PersistenceManager#getPending(Group)Messages

This sends the correct time stamp to the server, however the JPQL
queries have yet to be adjusted.
2020-07-16 17:04:35 +02:00