Commit Graph

591 Commits

Author SHA1 Message Date
408ac53777 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
1c3d4baf06 Merge pull request #181 from informatik-ag-ngl/f/password_in_login_credentials
Adjust to new LoginCredentials API
2020-07-11 07:24:47 +00:00
7f23adae1b Merge branch 'develop' into f/password_in_login_credentials 2020-07-11 09:21:49 +02:00
de136294af Fix Javadoc typo
Co-authored-by: delvh <dev.lh@web.de>
2020-07-10 21:05:57 +00:00
delvh
63ea7a39c1 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
ee4f6e01f4 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
d4b3d11d33 Merge pull request #182 from informatik-ag-ngl/f/cache_map
Add CacheMap
2020-07-09 18:12:20 +00:00
e67665f0bd Add attachment creation support, display picture messages 2020-07-09 16:16:06 +02:00
5d71ae5910 Improve a comment
Co-authored-by: delvh <dev.lh@web.de>
2020-07-09 14:07:34 +00:00
900304c250 Fix hideous timing bug 2020-07-09 15:18:06 +02:00
76536ed279 Add subclass consumption for Cache with CacheMap#getApplicable 2020-07-09 10:53:27 +02:00
9c19d544d6 Simplify cache storage with a CacheMap class 2020-07-09 09:37:31 +02:00
b6840a99ce Adjust to new LoginCredentials API 2020-07-09 09:13:26 +02:00
delvh
4f654cc2a5 Current working status 2020-07-09 09:12:41 +02:00
delvh
7c5cc2f220 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
793d388649 For the first time DELETED Javadoc
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-07-08 21:46:44 +02:00
delvh
0cdaca1f54 Added context menu in MessageControl 2020-07-08 21:31:02 +02:00
4b33926a36 Merge pull request #174 from informatik-ag-ngl/f/groupMessages
Group Messages
2020-07-08 19:15:55 +00:00
DieGurke
a8443e6a50 Applied suggestions from @delvh 2020-07-08 14:15:44 +02:00
delvh
d88f31a300 Merge branch 'develop' into f/groupMessages 2020-07-08 09:04:51 +02:00
delvh
6ef3683c88 Merge pull request #178 from informatik-ag-ngl/f/more_icons
Added multiple (recording) icons and change them on recording.
Updated and simplified IconUtil API.
Dismissed rethrowing of image loading error.
2020-07-08 08:56:48 +02:00
delvh
e14d5da997 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
9d5c430fe0 Defined theme specific icon folders, renamed icon loading method 2020-07-07 17:02:39 +02:00
delvh
8a42e2f049 Added multiple (recording) icons and change them on recording 2020-07-06 22:35:06 +02:00
delvh
a16f8966fb Updated and simplified IconUtil API 2020-07-06 22:33:04 +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
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
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
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
96fc06a8e5 Implemented GroupMessageStatusChangeProcessor and a Cache for those 2020-07-04 15:43:46 +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
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
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