Commit Graph

1235 Commits

Author SHA1 Message Date
b6de5b2c20 Fix some inconsistencies 2020-07-06 16:14:14 +02:00
af765ee1f7 Filter out subclasses in ObjectMessageProcessor 2020-07-06 12:34:13 +02:00
5374296e6c Active Code Review 2020-07-06 11:40:13 +02:00
delvh
d3a040c8c3 Merge pull request #177 from informatik-ag-ngl/f/attachment_display
Added attachment icons and notified user if an attachment is present
2020-07-06 10:00:14 +02:00
delvh
8abd895324 Added attachment icons and notified user if an attachment is present 2020-07-05 23:25:07 +02:00
6a1bdc5fbb Merge pull request #176 from informatik-ag-ngl/f/maven_shading
Fix Fat JAR Generation
2020-07-05 20:27:44 +00:00
delvh
95d411822b Merge branch 'develop' into f/groupMessages 2020-07-05 17:01:11 +02:00
DieGurke
e33bc726ac Apply suggestions from code review (not everything)
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-07-05 16:53:27 +02:00
c463f6946a Add Linux and Windows JavaFX Dependencies 2020-07-05 16:19:51 +02:00
097f8feb12 Fix fat JAR generation
* Replace Maven Assembly Plugin with Maven Shade Plugin
* Extract main method to separate Main class
2020-07-05 16:11:00 +02:00
da78d1cbb7 Merge pull request #172 from informatik-ag-ngl/f/voice_messages
Voice Messaging
2020-07-05 14:03:00 +00:00
delvh
85bfe18390 Cleaned up a bit 2020-07-05 15:53:12 +02:00
DieGurke
dd8e88d28c Implemented GroupChat as subclass of Chat and adjusted calls of such 2020-07-05 14:38:19 +02:00
03a1596420 Add Exception Logging 2020-07-05 14:25:58 +02:00
DieGurke
85e7f28839 Fixed display type of messages in all chats 2020-07-05 13:53:00 +02:00
DieGurke
83ddc02187 Reimplemented RECEIVED update sending to sender 2020-07-05 13:28:48 +02:00
DieGurke
c5ab36d5ea Fixed bug regarding adding new Message to wrong chats 2020-07-05 13:28:17 +02:00
e4e5e6376c Cancel an active recording if the chat is switched 2020-07-05 12:21:07 +02:00
a90f58afe0 Add Audio Playback Capability
* Add envoy.client.data.audio package
* Move AudioRecorder to the audio package
* Add AudioPlayer class
* Add AudioControl class that acts as a small media player
* Display the audio control in message controls that contain voice
  messages
2020-07-05 12:08:29 +02:00
483ab9e344 Merge branch 'develop' into f/groupMessages 2020-07-05 11:15:00 +02:00
8ba70407af Merge branch 'develop' into f/groupMessages 2020-07-04 14:23:12 +00:00
delvh
a5b66c529d Merge pull request #173 from informatik-ag-ngl/b/restorable_scene
Added ability to execute code when a scene is restored.
Additionally fixed bug not showing "Add user to contact list?" - Alert partially.
2020-07-04 16:14:00 +02:00
delvh
d8b0e335f3 Apply suggestions from code review 2020-07-04 16:07:10 +02:00
9883a5ddd3 Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-04 14:00:09 +00:00
DieGurke
4cbd724203 Added pending MessageStatusChanges READ to Query 2020-07-04 15:59:48 +02:00
DieGurke
96fc06a8e5 Implemented GroupMessageStatusChangeProcessor and a Cache for those 2020-07-04 15:43:46 +02:00
6f1ecd21f2 Fix subclass inclusion in EventBus 2020-07-04 15:38:51 +02:00
delvh
b597dec63a Partially fixed bug not showing "Add user to contact list?" - Alert 2020-07-04 15:27:42 +02:00
delvh
74290051ff Added ability to execute code when a scene is restored 2020-07-04 15:26:12 +02:00
DieGurke
39696ca671 Implemented Date name change 2020-07-04 09:31:15 +02:00
19fdb25bfa Detect LV Encoding Errors in Receiver
When the length value encoding is violated, which can occur by sending
an incorrect object length to the client, the error is logged and the
receiver continues to run.
2020-07-03 23:37:25 +02:00
d9bf20b88e Add Voice Recording to ChatScene
The ChatScene layout has been adjusted to include a voice message
button. When pressed, a recording starts. To finish the recording, press
the button again. The recording will be saved as a pending attachment.

The next message sent will include the attachment. When a pending
attachment is present, a message can be sent without text.

When the chat is switched, the pending attachment is discarded. This
does not stop active recordings, however.

The ChatScene layout handles large stages better now by ditching
percentage-wise row and column scaling in favor of absolute values for
all cells except the message list and text area.
2020-07-03 23:32:22 +02:00
DieGurke
75dc563a07 Implemented sending RECEIVED GroupMessageStatusChanges
If a member logs in and receives pending groupMessages, there are now
groupMessageStatusChanges sent to all other members, that are online and
have already received the groupMessage.
2020-07-03 17:46:37 +02:00
DieGurke
4b9cdcb8be Implemented GroupMessageStatusChange handling (not with pending yet) 2020-07-03 16:25:49 +02:00
7d15285da5 Add AudioRecorder 2020-07-03 14:17:04 +02:00
DieGurke
289f2b7032 Implemented GroupMessage reading (sending the right event)
Note: changed a lambda expression in LocalDB and not 100% sure if it is correct
2020-07-03 13:47:40 +02:00
delvh
ce7078ecad Added capability to prevent the normal stop command of the server 2020-07-02 20:01:28 +02:00
1915fc76a1 Merge pull request #45 from informatik-ag-ngl/f/attachment
Add Attachment Support
2020-07-02 17:03:15 +00:00
delvh
4f877d3d5b (IMPORTANT! read description) Merge pull request #166 from informatik-ag-ngl/f/clearable_textfield
Implemented ClearableTextField and redesigned UI.
TAKE CARE:
in order to use SceneBuilder further, you have to import the attached
JAR "CustomComponents.jar" into the SceneBuilder. If you don't do this,
Scenebuilder no longer can load FXML files that depend on a custom
component. If you are implementing another custom component, feel free
to add it to the jar.
Note however that SceneBuilder cannot load any components that rely on
libraries other than the standard Java library or the JavaFX standard.
Meaning that even if you are referencing another Envoy file, the
component will not be importable. Because of this, the
ClearableTextField is also present only in a slimmed down version, as
SceneBuilder additionally has problems when dealing with loading
resources.
2020-07-02 18:06:43 +02:00
ec14334032 Update envoy-common dependency 2020-07-02 18:04:27 +02:00
9bf364ef82 Merge pull request #29 from informatik-ag-ngl/f/attachment
Reworked Attachment
2020-07-02 16:01:24 +00:00
ac99b4b09b Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:59:38 +00:00
87ef0c4742 Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:50:04 +00:00
5e5a7273e4 Add Attachment Support 2020-07-02 14:54:58 +02:00
ef1d9785e0 Add received and read date to MessageBuilder
This simplifies some calls on the server
2020-07-02 14:49:07 +02:00
0f1bce87e0 Add Message#hasAttachment convenience method 2020-07-02 14:34:32 +02:00
abbadd2937 Merge pull request #171 from informatik-ag-ngl/f/improved_maven_workflow
Improved Maven Workflow, Updates Templates
2020-07-02 11:34:11 +00:00
5b568e8c43 Reworked Attachment
MessageAttachment is now called Attachment and contains its data inside
a byte array, as well as an AttachmentType.

Closes #20
2020-07-02 10:58:02 +02:00
1923e57487 Updated Templates 2020-07-02 08:53:11 +02:00
429bdffab0 Improved Maven Workflow
Maven dependencies are now cached for faster build times. The cache is discarded once the pom.xml is updated.
The JAR files generated during the build are made available as workflow artifacts.
2020-07-02 08:28:02 +02:00