Commit Graph

71 Commits

Author SHA1 Message Date
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
delvh
3b24d46886 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
a4603231ff Adjusted serial version UIDs and Message#toString() 2020-03-24 17:29:16 +01:00
delvh
b18ecdae86 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
5ff9253236 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
26c947cbce Migrated Config, ConfigItem and EnvoyLog from envoy-client 2020-03-02 19:16:28 +01:00
3c8b5291ed Fixed Event.Valueless#toString() to not display the null value 2020-02-12 22:15:42 +01:00
ba098d3545 Removed unnecessary instance variable from HandshakeRejectionEvent 2020-02-12 06:26:33 +01:00
838edbf9a4 Merge branch 'develop' into f/advanced_login 2020-02-12 06:24:17 +01:00
810df972cc Clean-up, improved generic type usage in EventBus
Fixes #13
2020-02-12 05:58:40 +01:00
189432e798 Made Event<T> an abstract class, added ContactSearchResult 2020-02-11 16:53:41 +01:00
4edfc78139 Small refactoring 2020-02-10 21:44:20 +01:00
DieGurke
06b8594f42 Adjusted ContactsRequest 2020-02-09 23:58:09 +01:00
delvh
4b7051c78e adapted Javadoc slightly 2020-02-09 16:42:02 +01:00
DieGurke
efe5fd30ce Removed user id from Contacts 2020-02-08 13:44:05 +01:00
delvh
6d614580ef Removed ID artifact from LoginCredentials 2020-02-08 09:47:59 +01:00
delvh
d7eb2d904c Added another default reason 2020-02-08 09:17:11 +01:00
delvh
a006dd4dc8 Added default reasons to HandshakeRejectionEvent 2020-02-07 23:29:22 +01:00
delvh
bcbe0aeb3f Updated LoginCredentials constructor 2020-02-07 22:37:48 +01:00
DieGurke
9dbaedbc8d Contacts events
Created 2 events used for the contact list (add/remove) of the client
and requesting a list of users form the server.
2020-02-05 22:20:04 +01:00
delvh
79efa7837b Updated toString methods according to @CyB3RC0nN0R s request 2020-02-04 21:27:20 +01:00
delvh
891423fd6d Added toString method for Message- and UserstatusChangeEvents 2020-02-02 14:20:11 +01:00
delvh
cf1f8ce5d3 Added UserStatusChange - Event 2020-02-01 11:32:55 +01:00
5999d4a817 Fixed typo 2020-01-28 19:58:23 +01:00
5c19fe2849 Added HandshakeRejectionEvent and fixed some Javadoc 2020-01-28 18:58:44 +01:00
8ab72b7a76 Made Event and its implementations serializable 2020-01-28 17:50:09 +01:00
aed8016485 Made id a mandatory field in MessageBuilder
Added support for IdGenerator in the MessageBuilder constructor.
2020-01-28 17:32:33 +01:00
dd3f920e94 Changed IdGenerator constructor to accept size instead of end index 2020-01-28 17:09:28 +01:00
09b803ed4b Renamed MessageIdGenerator to IdGenerator, added IdGeneratorRequest
Also removed src/test/resources from pom.xml.
2020-01-28 17:01:02 +01:00
e0fef6af54 Added boolean registration to LoginCredentials 2020-01-18 10:27:29 +01:00
delvh
1a4523db54 Added a constructor for User as well as for MessageStatusChangeEvent 2020-01-18 10:10:56 +01:00
delvh
3d0b67d6ba added byte array conversion for message attachment
in addition reformatted variable names as per @CyB3RC0nN0R s request
2020-01-11 14:17:51 +01:00
delvh
86e358591a Added date to the MessageStatusChangedEvent
time of the Event can now be saved
2020-01-11 11:36:38 +01:00
472fc82d87 Added MessageStatusChangeEvent, moved MessageEvent back to envoy-client. 2020-01-06 18:00:43 +01:00
4a739f91d1 Added helper methods to SerializationUtils.
Also exporting sources and Javadoc on build.
2020-01-06 17:41:23 +01:00