Commit Graph

109 Commits

Author SHA1 Message Date
830eff7c90
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-02 15:59:38 +00:00
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
6952bd2a29 Added a method to get the maximum size allowed for user/ group names 2020-06-27 17:36:03 +02:00
9494b90033 Add a facility for contact name validation 2020-06-26 21:40:30 +02:00
e0cd44083f Include throwable in log records 2020-06-25 08:01:34 +02: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
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
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
DieGurke
28fb3e9d25 Revised toString method in Group and changed id to final in Contact 2020-03-24 21:11:16 +01:00
delvh
7a795e320b Added groups
additionally added:
* serialVersionUID is now equal to 0L
* Renamed classes with a two-letter initialism according to convention
2020-03-24 19:06:56 +01:00
44cc564be1 Adjusted serial version UIDs and Message#toString() 2020-03-24 17:29:16 +01:00
delvh
3d7199f146
Added support for forwarding messages (#17)
* Added message forwarding capability

* added newline at EOF for any file not having one at its end
2020-03-22 14:52:38 +01:00
delvh
07e59a0d2d
Changed compiler compliance to 11, modularized all packages (#16)
* Created module- and package-info.java and changed JRE from 8 to 11

* Using JDK 11 as Build JDK and Maven build

Co-authored-by: Haramus Samsamus <kske@outlook.de>
2020-03-07 17:29:52 +01:00
af54ab4dc2 Migrated Config, ConfigItem and EnvoyLog from envoy-client 2020-03-02 19:16:28 +01:00