Commit Graph

481 Commits

Author SHA1 Message Date
DieGurke
9111880dcf Little Bug Fix 2020-07-11 14:46:13 +02:00
DieGurke
5caa5381b0 chats with most recent messages get moved to the top 2020-07-11 14:18:38 +02:00
DieGurke
77911e8f9a Merge branch 'develop' into f/display_unread_messages 2020-07-11 10:59:23 +02:00
DieGurke
d1368d43c8 UI isn't shown if there arn't any unread messages 2020-07-11 10:46:17 +02:00
DieGurke
022b516ceb Implemented nice UI 2020-07-11 10:40:42 +02:00
ef43150941
Merge pull request #183 from informatik-ag-ngl/f/pictures
Add attachment creation support, display picture messages
2020-07-11 08:01:23 +00:00
704d7cf7ee
Merge branch 'develop' into f/password_in_login_credentials 2020-07-11 09:21:49 +02:00
DieGurke
6cb9c41ea0 UnreadMessagesAmount gets displayed correctly now (despite refresh bug) 2020-07-10 23:25:55 +02:00
99efe40521
Fix Javadoc typo
Co-authored-by: delvh <dev.lh@web.de>
2020-07-10 21:05:57 +00:00
DieGurke
11b3cebcb9 Added getUnreadAmount function and changed ContactListCellFac' constr. 2020-07-10 22:41:59 +02:00
delvh
16f8d73a7c Added image preview when an image is used as attachment
additionally:
- added search icons
- solved problem of Scrollbars being shown too far from the right side
(all praise FX, Swing did not offer such a simple solution)
- relocated infoLabel into the highest row, is now located above the
messageList
2020-07-10 20:53:28 +02:00
delvh
5bd80a2ebc Added maximum size for displaying sent images
additionally:
- made selecting of bmp or gif images possible
- defined a DEFAULT_ICON_SIZE in which most icons are loaded
- displayed attachment button with attachment icon
2020-07-09 22:47:29 +02:00
6db489c868
Add attachment creation support, display picture messages 2020-07-09 16:16:06 +02:00
cc860d19c1
Improve a comment
Co-authored-by: delvh <dev.lh@web.de>
2020-07-09 14:07:34 +00:00
f7ac79d872
Fix hideous timing bug 2020-07-09 15:18:06 +02:00
ab61d2dbfd
Add subclass consumption for Cache with CacheMap#getApplicable 2020-07-09 10:53:27 +02:00
9257f3fad9
Simplify cache storage with a CacheMap class 2020-07-09 09:37:31 +02:00
ae6728fdef
Adjust to new LoginCredentials API 2020-07-09 09:13:26 +02:00
delvh
31da9c4af6 Current working status 2020-07-09 09:12:41 +02:00
delvh
0297bada2a
Merge pull request #180 from informatik-ag-ngl/f/context_menu
Added context menu in MessageControl
2020-07-08 22:08:53 +02:00
delvh
b23b19c891
For the first time DELETED Javadoc
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-07-08 21:46:44 +02:00
delvh
272d3f08ef Added context menu in MessageControl 2020-07-08 21:31:02 +02:00
DieGurke
973fd69cf2 Applied suggestions from @delvh 2020-07-08 14:15:44 +02:00
delvh
8bb6b051b9
Merge branch 'develop' into f/groupMessages 2020-07-08 09:04:51 +02:00
delvh
8f48ad4cc2 Dismissed rethrowing of image loading error
Additionally cleaned up Javadoc A LOT in IconUtil and banned the word
"icon" from appearing in Javadoc there (it returns an Image, not an
Icon).
2020-07-07 21:00:45 +02:00
delvh
1312a4afc7 Defined theme specific icon folders, renamed icon loading method 2020-07-07 17:02:39 +02:00
delvh
4f2c1f8a97 Added multiple (recording) icons and change them on recording 2020-07-06 22:35:06 +02:00
delvh
00a9185f81 Updated and simplified IconUtil API 2020-07-06 22:33:04 +02:00
delvh
3af3592e7a Added attachment icons and notified user if an attachment is present 2020-07-05 23:25:07 +02:00
delvh
11b50e4fe5
Merge branch 'develop' into f/groupMessages 2020-07-05 17:01:11 +02:00
60ce5a086e
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
9e15dbbaca
Merge pull request #172 from informatik-ag-ngl/f/voice_messages
Voice Messaging
2020-07-05 14:03:00 +00:00
delvh
3afe896137 Cleaned up a bit 2020-07-05 15:53:12 +02:00
DieGurke
b4fa74caf0 Implemented GroupChat as subclass of Chat and adjusted calls of such 2020-07-05 14:38:19 +02:00
c5b42385aa
Add Exception Logging 2020-07-05 14:25:58 +02:00
DieGurke
1b08076bdb Fixed display type of messages in all chats 2020-07-05 13:53:00 +02:00
DieGurke
349bf9d34f Fixed bug regarding adding new Message to wrong chats 2020-07-05 13:28:17 +02:00
e1025a1569
Cancel an active recording if the chat is switched 2020-07-05 12:21:07 +02:00
4a1cf8c348
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
a3f3a9dcbb
Merge branch 'develop' into f/groupMessages 2020-07-05 11:15:00 +02:00
delvh
4bef603698 Apply suggestions from code review 2020-07-04 16:07:10 +02:00
6df3590f22
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-04 14:00:09 +00:00
DieGurke
b3fc13f8e2 Implemented GroupMessageStatusChangeProcessor and a Cache for those 2020-07-04 15:43:46 +02:00
delvh
d6de1be7de Partially fixed bug not showing "Add user to contact list?" - Alert 2020-07-04 15:27:42 +02:00
delvh
b721771672 Added ability to execute code when a scene is restored 2020-07-04 15:26:12 +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
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
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