27 Commits

Author SHA1 Message Date
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
delvh
272d3f08ef Added context menu in MessageControl 2020-07-08 21:31:02 +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
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
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
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
28fe5cdb27 Updated UI (again) 2020-06-28 22:30:14 +02:00
delvh
f61561d4b2 Implemented notification of user if he can no longer send messages
This only occurs when he is in offline mode and runs out of messageIDs
to use.
Additionally implemented:
- automatically disabled user of posting after that condition is reached
- an infoLabel used to commjunicate some events with the user
- (in parts) a new UI design
2020-06-26 23:16:03 +02:00
delvh
86e8b4b139 Added display of settings-icon for the settings button
additionally modified margin of elements in ChatScene
2020-06-26 17:33:32 +02:00
delvh
4ad61e3152 Added "Copy and Send" capability
additionally added context menu to delete a contact, currently without
function
2020-06-23 18:32:34 +02:00
delvh
d47a99d637 Added a context menu to the message list and ability to copy a message
context menu contains a few menu items that will be populated with
functionality later on.
2020-06-22 22:51:10 +02:00
delvh
b23ee61506 Moved remainingCharsLabel styling from code to CSS 2020-06-21 17:04:27 +02:00
delvh
cfd323725f Improved general appearance of Envoy 2020-06-18 22:20:34 +02:00
delvh
6dda2cce71 Fixed multiple bugs concerning enterToSend and the postButton 2020-06-13 22:38:49 +02:00
c839ef01ba Add received messages to their chat 2020-06-10 13:05:44 +02:00
delvh
0661838c38 Fixed bug automatically sending a message when ctrl is being pressed 2020-06-09 17:11:17 +02:00
delvh
4d20e97f25 Fixed bug invalidating enterToSend option 2020-06-08 10:48:33 +02:00
232439a564 Move scene controllers to separate package 2020-06-08 10:36:30 +02:00
delvh
63dc01534d Added elegant way of displaying remaining characters for a message
additionally FOUND (not fixed) a bug automatically posting a message
when ctrl is no longer pressed
2020-06-07 23:28:25 +02:00
delvh
eda6ea8cd2 Implemented ContactSearchScene completely
additionally added default keyboard shortcuts for all buttons
2020-06-07 20:46:04 +02:00
delvh
778a05bdda Improved visual appearance of ChatScene
Additionally added minimum height of application and basic
ContactSearchScene.fxml file.
2020-06-06 18:33:24 +02:00
0dece66542 Add proper layout to ChatWindow, fix user field selection in LoginDialog 2020-06-06 12:27:10 +02:00
78f14ffcb4 Moved all FXML files to the resource folder 2020-04-10 21:26:24 +02:00