Commit Graph

1007 Commits

Author SHA1 Message Date
delvh
b721771672 Added ability to execute code when a scene is restored 2020-07-04 15:26:12 +02:00
DieGurke
8f71edc7cf Implemented Date name change 2020-07-04 09:31:15 +02:00
4bf785d896
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
60d3e65574
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
59124f2319 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
3c8a5c7abb Implemented GroupMessageStatusChange handling (not with pending yet) 2020-07-03 16:25:49 +02:00
0abd5cf17c
Add AudioRecorder 2020-07-03 14:17:04 +02:00
DieGurke
182a190099 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
495f5a67df Added capability to prevent the normal stop command of the server 2020-07-02 20:01:28 +02:00
8bd5dd7d35
Merge pull request #45 from informatik-ag-ngl/f/attachment
Add Attachment Support
2020-07-02 17:03:15 +00:00
delvh
cf84dd33b6
(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
508366213d
Update envoy-common dependency 2020-07-02 18:04:27 +02:00
470558086e
Merge pull request #29 from informatik-ag-ngl/f/attachment
Reworked Attachment
2020-07-02 16:01:24 +00:00
830eff7c90
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:59:38 +00:00
d760be93f7
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:50:04 +00:00
dfe2ea0bbd
Add Attachment Support 2020-07-02 14:54:58 +02:00
8d3c56fe4c
Add received and read date to MessageBuilder
This simplifies some calls on the server
2020-07-02 14:49:07 +02:00
462be65c46
Add Message#hasAttachment convenience method 2020-07-02 14:34:32 +02:00
14ae90c970
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
34ed3df862
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
9f13d9255b
Updated Templates 2020-07-02 08:53:11 +02:00
9291128514
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
75f126c64a
Merge pull request #169 from informatik-ag-ngl/f/message_order
Fix message order with insertion method
2020-07-02 06:06:39 +00:00
delvh
50ff03697d
Fixed unforgivable Javadoc error 2020-07-01 23:32:32 +02:00
delvh
055b991326 Moved former ListCell#updateItem methods into separate Control objects
Additionally fixed bug showing wrong color of infoLabel after switching
scenes
2020-07-01 19:35:15 +02:00
e5ddf32b4a
Fix insertion of oldest message 2020-07-01 08:58:02 +02:00
b380efc38f
Fix message insertion into empty list and from sender 2020-07-01 08:45:39 +02:00
eeb918d37c
Fix message order with insertion method
Fixes #168
2020-07-01 08:36:21 +02:00
delvh
f6083d7086 Removed unnecessary Label creation 2020-06-30 22:11:09 +02:00
delvh
07cdbab097 Added (currently useless) message-info menuItem
additionally:
 - moved MessageListCell and ContactListCell into
envoy.client.ui.listcell
 - edited editable property of ClearableTextField
2020-06-30 21:20:54 +02:00
delvh
d168f57d2b
Merge branch 'develop' into f/clearable_textfield 2020-06-28 22:48:35 +02:00
delvh
589353a927 Finished implementing ClearableTextField (IMPORTANT! read description)
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-06-28 22:44:34 +02:00
delvh
28fe5cdb27 Updated UI (again) 2020-06-28 22:30:14 +02:00
DieGurke
5e46ba88c9 Implemented PendingGroupMessageStatusChanges for RECEIVED 2020-06-28 16:11:47 +02:00
DieGurke
21ad87d97d Implemented pendingMessage processing using an extra cache 2020-06-28 13:20:10 +02:00
delvh
1cc5d8b00f
Merge pull request #44 from informatik-ag-ngl/f/refactored_package
Renamed wrongly named package (enovy.* to envoy.*)
2020-06-28 11:00:51 +02:00
DieGurke
5d0cc7e84c Fixed error regarding notSerializable exception 2020-06-28 10:33:06 +02:00
delvh
4f3a249404
Merge branch 'develop' into f/refactored_package 2020-06-28 09:54:45 +02:00
delvh
e7315c900c Renamed wrongly named package (enovy.* to envoy.*) 2020-06-28 09:49:51 +02:00
DieGurke
a34e90adb8 Implemented functionality regarding pending groupMessages (unfinished)
(This was implemented some weeks ago but never pushed (made some
revision))
2020-06-27 21:58:53 +02:00
delvh
2c414f8f99
Merge pull request #28 from informatik-ag-ngl/f/maximum_name_size
Added a method to get the maximum size allowed for user/ group names
2020-06-27 20:26:11 +02:00
4fbec0af11
Merge pull request #164 from informatik-ag-ngl/f/message_list
Wrap Text in ListCells
2020-06-27 18:20:01 +00:00
delvh
18819a873f Wrapped text in userList
(as suggested by @CyB3RC0nN0R)
It is nice to see that JavaFX is less prone to shittyness than Swing is.
2020-06-27 18:44:57 +02:00
delvh
e6ac95ac14 Fixed padding of status icon and implemented Tooltip
Additionally added commentary in MessageListCell.
2020-06-27 18:27:13 +02:00
25b9103e23 Bind message list cell width to message list width
Fixes #156
2020-06-27 17:36:42 +02:00
delvh
6952bd2a29 Added a method to get the maximum size allowed for user/ group names 2020-06-27 17:36:03 +02:00
c6e28aba10 Display status for own messages instead of received ones 2020-06-27 17:14:07 +02:00
delvh
406036c029 Added working ClearableTextField
additionally designed the clear button icon both in black and white
2020-06-27 15:35:35 +02:00
3446e24043 Merge branch 'develop' into f/groupMessages
Conflicts:
	src/main/java/envoy/client/ui/controller/ChatScene.java
2020-06-27 11:34:51 +02:00
be40f24904 Merge branch 'develop' into f/groupMessages
Conflicts:
	src/main/java/envoy/server/processors/GroupMessageProcessor.java
	src/main/java/envoy/server/processors/MessageProcessor.java
2020-06-27 11:32:08 +02:00