Commit Graph

943 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 87ef0c4742 Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:50:04 +00:00
Kai S. K. Engelbart 5e5a7273e4 Add Attachment Support 2020-07-02 14:54:58 +02:00
Kai S. K. Engelbart ef1d9785e0 Add received and read date to MessageBuilder
This simplifies some calls on the server
2020-07-02 14:49:07 +02:00
Kai S. K. Engelbart 0f1bce87e0 Add Message#hasAttachment convenience method 2020-07-02 14:34:32 +02:00
Kai S. K. Engelbart abbadd2937 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
Kai S. K. Engelbart 5b568e8c43 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
Kai S. K. Engelbart 1923e57487 Updated Templates 2020-07-02 08:53:11 +02:00
Kai S. K. Engelbart 429bdffab0 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
Kai S. K. Engelbart 3bcd40d49e 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 b88f21f71e Fixed unforgivable Javadoc error 2020-07-01 23:32:32 +02:00
delvh 74734777cd 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
Kai S. K. Engelbart 7f536eacc6 Fix insertion of oldest message 2020-07-01 08:58:02 +02:00
Kai S. K. Engelbart c54e7085ce Fix message insertion into empty list and from sender 2020-07-01 08:45:39 +02:00
Kai S. K. Engelbart 26a8650353 Fix message order with insertion method
Fixes #168
2020-07-01 08:36:21 +02:00
delvh 2c00539f8a Removed unnecessary Label creation 2020-06-30 22:11:09 +02:00
delvh 2b1debbad7 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 2cccddc606 Merge branch 'develop' into f/clearable_textfield 2020-06-28 22:48:35 +02:00
delvh 1fb2f04202 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 6eb726af31 Updated UI (again) 2020-06-28 22:30:14 +02:00
DieGurke a9578d6fe6 Implemented PendingGroupMessageStatusChanges for RECEIVED 2020-06-28 16:11:47 +02:00
DieGurke 7723db672b Implemented pendingMessage processing using an extra cache 2020-06-28 13:20:10 +02:00
delvh 8f5a2fb61e 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 acf58941ac Fixed error regarding notSerializable exception 2020-06-28 10:33:06 +02:00
delvh 4270532ffc Merge branch 'develop' into f/refactored_package 2020-06-28 09:54:45 +02:00
delvh 2ebc377937 Renamed wrongly named package (enovy.* to envoy.*) 2020-06-28 09:49:51 +02:00
DieGurke cea599ac2f 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 8540549ef2 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
Kai S. K. Engelbart 781dd3e68a Merge pull request #164 from informatik-ag-ngl/f/message_list
Wrap Text in ListCells
2020-06-27 18:20:01 +00:00
delvh dee66458d9 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 08e5fad42b Fixed padding of status icon and implemented Tooltip
Additionally added commentary in MessageListCell.
2020-06-27 18:27:13 +02:00
Kai S. K. Engelbart 1361c29d4f Bind message list cell width to message list width
Fixes #156
2020-06-27 17:36:42 +02:00
delvh 070bfabfd6 Added a method to get the maximum size allowed for user/ group names 2020-06-27 17:36:03 +02:00
Kai S. K. Engelbart ad83d6d2d4 Display status for own messages instead of received ones 2020-06-27 17:14:07 +02:00
delvh 63aa7859d3 Added working ClearableTextField
additionally designed the clear button icon both in black and white
2020-06-27 15:35:35 +02:00
Kai S. K. Engelbart e1e8315ace Merge branch 'develop' into f/groupMessages
Conflicts:
	src/main/java/envoy/client/ui/controller/ChatScene.java
2020-06-27 11:34:51 +02:00
Kai S. K. Engelbart 92f50541af 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
delvh 6754465aff 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 3aace6d255 Merge branch 'develop' into f/notify_user_of_empty_IDGenerator 2020-06-27 11:25:49 +02:00
Kai S. K. Engelbart 97b7b8070f Merge pull request #43 from informatik-ag-ngl/f/user_name_validation
Validate user name during registration
2020-06-27 09:24:24 +00:00
Kai S. K. Engelbart 5eea90ce68 Merge pull request #160 from informatik-ag-ngl/b/user_name_validation
Contact Name Validation
2020-06-27 09:22:03 +00:00
Kai S. K. Engelbart f5526aad43 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 5c086630f6 Removed unnecessary IOException in IconUtil
This is a normal @CyB3RC0nN0R commit: Adding functionality by deleting
code.
2020-06-27 11:03:30 +02:00
Kai S. K. Engelbart c1a1030864 Rename groupNameBar to groupNameField 2020-06-27 09:48:41 +02:00
Kai S. K. Engelbart 743ef8ab45 Validate group name and size on creation 2020-06-27 09:36:59 +02:00
delvh 78b560cddd Made postingPermanentlyDisabled further idiot-proof
Additionally deleted annoying alert notifying me that I'm offline.
2020-06-27 09:34:30 +02:00
Kai S. K. Engelbart 55066f2cb8 Validate user name during login and registration 2020-06-27 08:25:37 +02:00
delvh 3e4e7a1a40 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 90df627831 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
Kai S. K. Engelbart a4b1ad6d22 Validate user name during registration 2020-06-26 22:04:40 +02:00
Kai S. K. Engelbart b9c26a7206 Merge pull request #41 from informatik-ag-ngl/b/delivery_notification
Fix notifying the sender about a message delivery
2020-06-26 19:53:53 +00:00