Commit Graph

68 Commits

Author SHA1 Message Date
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
6a791abf61 Added byte array serialization and deserialization methods. 2020-01-03 17:08:07 +02:00
891d6e3c43 Reverted some changes related to ORM 2020-01-02 18:50:04 +02:00
9f2a245ce8 Adder userId to Contacts 2020-01-02 17:46:20 +02:00
0f19a03cdc Added Contacts 2020-01-02 17:03:58 +02:00
delvh
be7459d18b Improved Message.java and User.java to remain compatible with database 2020-01-01 19:16:40 +01:00
c56a0766b3 Added missing Javadoc tags. 2019-12-31 18:10:45 +02:00
7567452e35 Added MessageIdGenerator for providing unique message IDs in the future. 2019-12-31 18:10:12 +02:00
565175cc67 Storing sender and recipient IDs in message, added contact list to User 2019-12-31 16:38:07 +02:00
ba28b3aac6 Fixed member orders in some classes 2019-12-31 11:20:35 +02:00
1b4c2c1fb9 Added MessageBuilder, enhanced Javadoc 2019-12-31 11:16:52 +02:00
delvh
f438724ef7 built general message class instead of subtypes of it
additionally fixed malformed Javadoc in the entire repository
2019-12-30 18:49:48 +01:00
72b6d67602 Fixed bug in SerializationUtils, added toString to LoginCredentials 2019-12-29 12:53:16 +02:00