Commit Graph

141 Commits

Author SHA1 Message Date
d760be93f7
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:50:04 +00:00
8d3c56fe4c
Add received and read date to MessageBuilder
This simplifies some calls on the server
2020-07-02 14:49:07 +02:00
462be65c46
Add Message#hasAttachment convenience method 2020-07-02 14:34:32 +02:00
34ed3df862
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
2c414f8f99
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
6952bd2a29 Added a method to get the maximum size allowed for user/ group names 2020-06-27 17:36:03 +02:00
1570fc7804
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
9494b90033 Add a facility for contact name validation 2020-06-26 21:40:30 +02:00
delvh
1b92c10fba
Fixed Envoy icon not showing in README.md 2020-06-26 20:45:09 +02:00
9a8cf76be8
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
e0cd44083f Include throwable in log records 2020-06-25 08:01:34 +02:00
58c6861f2c
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
416ce21d42 Add additional reasons to HandshakeRejection 2020-06-23 08:23:40 +02:00
434d364d79 Shorten event names 2020-06-20 10:51:40 +02:00
41a507057b Replace Date by LocalDateTime
Closes #22
2020-06-20 09:08:06 +02:00
5c784bfdc6 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
837ee71a94
Create CODEOWNERS 2020-06-15 12:17:56 +02:00
4daaa5f4da Make SerializationUtils#write variadic 2020-06-13 18:32:24 +02:00
delvh
9123e32e49 Added sample log entry to visualize log formatting 2020-06-13 16:57:42 +02:00
DieGurke
c72bd60b45
Merge pull request #19 from informatik-ag-ngl/f/groups
Added support for groups
2020-06-11 14:01:09 +02:00
DieGurke
037fcb1ccc Resolved requests 2020-06-11 14:00:07 +02:00
DieGurke
3c56cd5ff9
Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-11 13:55:38 +02:00
cc17131003 Immediately flush the console log 2020-06-11 12:14:20 +02:00
eb880f5593 Add config initialization with a map of config items 2020-06-11 11:24:00 +02:00
2ecb292588 Add Javadoc for hashCode and equals methods of Contact 2020-06-11 11:05:38 +02:00
c5c6f5a335 Remove ContactDeletionEvent in favor of ContactOperationEvent 2020-06-10 09:03:22 +02:00
df6ed63d51 Add missing Javadoc, remove unused resource folder 2020-06-08 08:39:58 +02:00
DieGurke
753a38c912 Implemented GroupMessageStatusChangeEvent 2020-04-18 16:36:50 +02:00
delvh
0bbf98db88 Improved Login security 2020-04-10 15:42:00 +02:00
7342841b33 Removed checked exception from LoginCredential constructor 2020-04-10 13:43:53 +02:00
delvh
cb727ca084 fixed another bug 2020-04-02 20:32:54 +02:00
delvh
8bf68bda1a fixed minor bug 2020-04-02 19:49:56 +02:00
delvh
ffe1eb3ee1 Added Junit 5 as dependency 2020-04-02 09:06:10 +02:00
delvh
61dcf25722 fixed one "major" spelling error (Id-> ID) 2020-04-01 18:15:41 +02:00
delvh
ac26e68746 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
4acc130af7 fixed security vulnerability (complete password hash is printed) 2020-03-29 10:28:05 +02:00
delvh
a63df92f50 fixed major (spelling!) error 2020-03-29 10:02:56 +02:00
delvh
587a6ebe72 Enabled clients to have groups as contacts 2020-03-28 18:51:07 +01:00
delvh
f93b01f65a 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
cf9198781f Implemented the setting of the received- and read-date of group messages 2020-03-26 20:54:20 +01:00
DieGurke
11235ba0b0 Added updateStatus method 2020-03-26 20:03:20 +01:00
DieGurke
938a0c5947 Revised message related classes
Added GroupMessage class as subclass from Message and adjusted the
MessageBuilder
2020-03-26 18:55:48 +01:00
DieGurke
5448ff957d Revised 2020-03-26 15:49:08 +01:00
DieGurke
11e8a8190f Changed String in toString method 2020-03-26 15:43:30 +01:00
DieGurke
601ee2c53c Formatting and Refactoring 2020-03-26 12:45:10 +01:00
delvh
8056624249 refactored all getId()s to getID()s 2020-03-25 17:43:55 +01:00
delvh
7844133c4d Fixed Javadoc in GroupResizeEvent 2020-03-25 17:12:55 +01:00
delvh
cd88ef76ad Added GroupCreationEvent 2020-03-25 16:55:34 +01:00
delvh
e201ddb30d added GroupResizeEvent and NameChangeEvent
additionally refactored `getId()` method of Contact to `getID()`
2020-03-25 16:33:06 +01:00
DieGurke
60fbd2a000 Revised Code Style 2020-03-24 21:57:59 +01:00