Commit Graph

540 Commits

Author SHA1 Message Date
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
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
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
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
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
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
delvh
8092971e89
Merge pull request #161 from informatik-ag-ngl/f/notify_user_of_empty_IDGenerator
Notify user of empty IDGenerators
Added:
    automatically disabled user of posting after that condition is reached
    an infoLabel used to communicate some events with the user
    (in parts) a new UI design
    cleaned up Envoy client: no more <br><br>, is now <p>
    deleted annoying alert notifying me that I'm offline
2020-06-27 11:31:56 +02:00
delvh
17a9de64f2
Merge branch 'develop' into f/notify_user_of_empty_IDGenerator 2020-06-27 11:25:49 +02:00
adfeb64845
Merge pull request #160 from informatik-ag-ngl/b/user_name_validation
Contact Name Validation
2020-06-27 09:22:03 +00:00
23e22db85c
Merge pull request #162 from informatik-ag-ngl/b/unnecessary_IOException
Removed unnecessary IOException in IconUtil
2020-06-27 09:12:18 +00:00
delvh
b5fc80709e Removed unnecessary IOException in IconUtil
This is a normal @CyB3RC0nN0R commit: Adding functionality by deleting
code.
2020-06-27 11:03:30 +02:00
920c83c4d1 Rename groupNameBar to groupNameField 2020-06-27 09:48:41 +02:00
3d6a38e354 Validate group name and size on creation 2020-06-27 09:36:59 +02:00
delvh
5a933fab4e Made postingPermanentlyDisabled further idiot-proof
Additionally deleted annoying alert notifying me that I'm offline.
2020-06-27 09:34:30 +02:00
d5fa0d17a1 Validate user name during login and registration 2020-06-27 08:25:37 +02:00
delvh
bc230575f4 Cleaned up Envoy client: no more <br><br>, is now <p>
...and some other funny mistakes found in Javadoc
2020-06-26 23:36: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
5fc341ad53
Merge pull request #154 from informatik-ag-ngl/f/enhanced_UI
added:
    - alignment and coloring of messages according to sender
    - context menu for userList messageList and postButton (partially without function currently) -> implemented copying as well as "CopyAndSend" capability
    - hid horizontal scrollbars (they are still present, but cannot be seen)
    - displayed settings icon in ChatScene
2020-06-26 20:20:37 +02:00
delvh
c529e8df9e
Merge branch 'develop' into f/enhanced_UI 2020-06-26 20:18:00 +02:00
733c263f84
Merge pull request #159 from informatik-ag-ngl/b/online_status
Fixed two bugs regarding status changes
2020-06-26 18:16:28 +00:00
delvh
a57f14aca3 Merge branch 'f/enhanced_UI' of git@github.com:informatik-ag-ngl/envoy-client.git into f/enhanced_UI 2020-06-26 17:33:49 +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
c2309fe171 Prevent groups from being stored in the user database
This only affects top-level map entries. Groups that are contacts of the
client user are still persisted.
2020-06-26 16:37:00 +02:00
dad05449cf Fix double status increment on cached message relay 2020-06-26 09:28:48 +02:00
295e2a8596 Display correct contact status on startup
Fixes #152
2020-06-26 09:08:41 +02:00
delvh
e420c7a3cb
Fixed error not showing envoy icon in README.md 2020-06-25 13:02:04 +02:00
delvh
e4a8ef4210
Fixed small formatting error 2020-06-25 12:32:57 +02:00
delvh
29a667389d
Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-25 11:19:59 +02:00
delvh
bbd5f61486 Apply suggestions from @CyB3RC0nN0R's code review 2020-06-25 11:17:25 +02:00
delvh
d80bc39221 Merge remote-tracking branch 'origin/develop' into f/enhanced_UI 2020-06-25 10:45:37 +02:00
9dc8ad5ca0
Merge pull request #153 from informatik-ag-ngl/b/annoying_registration
Make Registration less annoying
2020-06-25 08:42:34 +00:00
4e9702a691 Clear repeat password field when unequal passwords are entered 2020-06-25 10:21:27 +02:00