Commit Graph

140 Commits

Author SHA1 Message Date
ef1d9785e0 Add received and read date to MessageBuilder
This simplifies some calls on the server
2020-07-02 14:49:07 +02:00
0f1bce87e0 Add Message#hasAttachment convenience method 2020-07-02 14:34:32 +02:00
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
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
delvh
070bfabfd6 Added a method to get the maximum size allowed for user/ group names 2020-06-27 17:36:03 +02:00
1b71795171 Merge pull request #27 from informatik-ag-ngl/f/contact_name_validation
Add a facility for contact name validation
2020-06-26 19:50:58 +00:00
b47fc4734c Add a facility for contact name validation 2020-06-26 21:40:30 +02:00
delvh
949a859343 Fixed Envoy icon not showing in README.md 2020-06-26 20:45:09 +02:00
d03d51e65e Merge pull request #25 from informatik-ag-ngl/f/throwable_in_log
Include throwable in log records
2020-06-25 08:01:45 +00:00
9156da4e77 Include throwable in log records 2020-06-25 08:01:34 +02:00
30c14a7269 Merge pull request #23 from informatik-ag-ngl/f/compatibility_verification
LocalDateTime, short event names and compabitility verification support
2020-06-23 06:25:13 +00:00
6e262fc12f Add additional reasons to HandshakeRejection 2020-06-23 08:23:40 +02:00
d5fc92527c Shorten event names 2020-06-20 10:51:40 +02:00
9193468213 Replace Date by LocalDateTime
Closes #22
2020-06-20 09:08:06 +02:00
bb6360d2a7 Add read-only clientVersion property to LoginCredentials
This is just a regular string that can be used to confirm the
compatibility between client and server.
2020-06-19 15:56:45 +02:00
13b4626737 Create CODEOWNERS 2020-06-15 12:17:56 +02:00
f7de07aca2 Make SerializationUtils#write variadic 2020-06-13 18:32:24 +02:00
delvh
b3c74562d7 Added sample log entry to visualize log formatting 2020-06-13 16:57:42 +02:00
DieGurke
942c2faf27 Merge pull request #19 from informatik-ag-ngl/f/groups
Added support for groups
2020-06-11 14:01:09 +02:00
DieGurke
ad3f298593 Resolved requests 2020-06-11 14:00:07 +02:00
DieGurke
439e274c37 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-11 13:55:38 +02:00
1026ca4f8d Immediately flush the console log 2020-06-11 12:14:20 +02:00
b92a1630a1 Add config initialization with a map of config items 2020-06-11 11:24:00 +02:00
51e148e2ec Add Javadoc for hashCode and equals methods of Contact 2020-06-11 11:05:38 +02:00
c67a11f008 Remove ContactDeletionEvent in favor of ContactOperationEvent 2020-06-10 09:03:22 +02:00
462b524455 Add missing Javadoc, remove unused resource folder 2020-06-08 08:39:58 +02:00
DieGurke
45e75dba41 Implemented GroupMessageStatusChangeEvent 2020-04-18 16:36:50 +02:00
delvh
373faae63b Improved Login security 2020-04-10 15:42:00 +02:00
cd33006aef Removed checked exception from LoginCredential constructor 2020-04-10 13:43:53 +02:00
delvh
051705106b fixed another bug 2020-04-02 20:32:54 +02:00
delvh
b2cd3c340c fixed minor bug 2020-04-02 19:49:56 +02:00
delvh
9b413f81ff Added Junit 5 as dependency 2020-04-02 09:06:10 +02:00
delvh
c176dc6e75 fixed one "major" spelling error (Id-> ID) 2020-04-01 18:15:41 +02:00
delvh
0d3316be4a deleted Contacts object, added contacts as part of Contact class
additionally:
* updated serialization method to not recurse endlessly
* refactored type of contacts from List to Set
2020-04-01 18:09:07 +02:00
delvh
c41089e005 fixed security vulnerability (complete password hash is printed) 2020-03-29 10:28:05 +02:00
delvh
8cdd12e6b8 fixed major (spelling!) error 2020-03-29 10:02:56 +02:00
delvh
026b7404b2 Enabled clients to have groups as contacts 2020-03-28 18:51:07 +01:00
delvh
2d99a3785e Created ContactDeletionEvent and equals- + hashcode- method for Contact
additionally extracted enum ElementOperation and fixed wrong
toString-method in Message
2020-03-28 15:21:02 +01:00
DieGurke
c511e482d3 Implemented the setting of the received- and read-date of group messages 2020-03-26 20:54:20 +01:00
DieGurke
f128c2f307 Added updateStatus method 2020-03-26 20:03:20 +01:00
DieGurke
a3e7034713 Revised message related classes
Added GroupMessage class as subclass from Message and adjusted the
MessageBuilder
2020-03-26 18:55:48 +01:00
DieGurke
4a26ef8c4a Revised 2020-03-26 15:49:08 +01:00
DieGurke
1909b9748a Changed String in toString method 2020-03-26 15:43:30 +01:00
DieGurke
05ffa34ec0 Formatting and Refactoring 2020-03-26 12:45:10 +01:00
delvh
15338dce52 refactored all getId()s to getID()s 2020-03-25 17:43:55 +01:00
delvh
35aa316199 Fixed Javadoc in GroupResizeEvent 2020-03-25 17:12:55 +01:00
delvh
4a3ee20029 Added GroupCreationEvent 2020-03-25 16:55:34 +01:00
delvh
eb7a8778de added GroupResizeEvent and NameChangeEvent
additionally refactored `getId()` method of Contact to `getID()`
2020-03-25 16:33:06 +01:00
DieGurke
e89a1bc2df Revised Code Style 2020-03-24 21:57:59 +01:00
DieGurke
a89c93b428 Revised toString method in Group and changed id to final in Contact 2020-03-24 21:11:16 +01:00