Commit Graph

1071 Commits

Author SHA1 Message Date
delvh
70271482bd Implemented Changes as requested by @CyB3RC0nN0R 2020-01-30 18:40:54 +01:00
delvh
0a0245da0e Fixed incorrect error handling, upgraded appearance of this processor 2020-01-30 13:20:39 +01:00
delvh
96f8ef0eec Refactored EventProcessor into MessageStatusChangeProcessor
additionally fixed some minor Javadoc errors
2020-01-30 12:52:27 +01:00
6d5a6aa8d8
Merge pull request #92 from informatik-ag-ngl/f/user_registration
Added a proper user registration and login process
2020-01-29 17:14:55 +01:00
f8fba0d48c
Merge pull request #14 from informatik-ag-ngl/f/contacts
Finished handshake implementation
2020-01-29 17:10:42 +01:00
9323b0878f
Merge pull request #96 from informatik-ag-ngl/f/id_generation
Implemented ID generation on the client
2020-01-29 17:09:46 +01:00
a95eb07dae Fixed reading multiple objects from one message 2020-01-29 16:20:57 +01:00
ad937bd154 Working on reading multiple messages at once
The ObjectMessageReader does function normally for single messages but
will deliver corrupted objects when a message consisting of multiple
objects is received.
2020-01-29 07:45:59 +01:00
425f52f6fd Implemented message ID generation and generator requests
* Persisting IdGenerator in LocalDB
* Added Client#requestIdGenerator()
* Listening to MessageCreationEvents in ChatWindow
2020-01-29 07:44:25 +01:00
f1a8606825 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +01:00
513a1c38aa
Merge pull request #7 from informatik-ag-ngl/f/login_or_registration
Adjusted data classes for user registration and id generation
2020-01-28 20:00:06 +01:00
e2013f7a09 Fixed typo 2020-01-28 19:58:23 +01:00
1a83b5ca50 Fixed typo 2020-01-28 19:57:40 +01:00
01d110fe1c Added IdGenerationRequestProcessor, fixed bugs in PersistenceManager
* Removed get*ById queries
* Removed src/test/resources from pom.xml
2020-01-28 19:25:30 +01:00
ae73fe32a7 Added HandshakeRejectionEvent and fixed some Javadoc 2020-01-28 18:58:44 +01:00
1fba872558 Made Event and its implementations serializable 2020-01-28 17:50:09 +01:00
dee7d2245f Made id a mandatory field in MessageBuilder
Added support for IdGenerator in the MessageBuilder constructor.
2020-01-28 17:32:33 +01:00
190b686cc6 Changed IdGenerator constructor to accept size instead of end index 2020-01-28 17:09:28 +01:00
40f6d41fff Renamed MessageIdGenerator to IdGenerator, added IdGeneratorRequest
Also removed src/test/resources from pom.xml.
2020-01-28 17:01:02 +01:00
82b3a09551 Added Javadoc for the ui.list package 2020-01-27 21:01:38 +01:00
df8eb4bac9 Changed message list components to JPanels 2020-01-27 20:23:30 +01:00
37a54303d3 Implemented ComponentList rendering and integration of message list 2020-01-27 20:11:47 +01:00
DieGurke
3ff1ac4c66
Merge pull request #13 from informatik-ag-ngl/b/secondLogin
Fixed handshake on second login error
2020-01-27 18:41:48 +01:00
DieGurke
6ab15547ec Fixes error multiple login, removed src/test/resources
Fixes #12
2020-01-27 18:36:13 +01:00
05304ecca9 Removed src/test/resources folder 2020-01-27 07:06:38 +01:00
7dfe68eebb Started ComponentList integration for message list 2020-01-26 22:10:15 +01:00
DieGurke
0715e69cd7 Revised LoginCredentialProcessor and worked on MessageProcessor 2020-01-25 18:41:44 +01:00
2f4583861e Added component list classes (unfinished) 2020-01-25 11:33:28 +01:00
DieGurke
7c7a050c7c Interface Communication Login Credentials 2020-01-21 17:51:50 +01:00
DieGurke
8161c5fd28 implemented login and registration (unfinished) 2020-01-18 23:50:41 +01:00
delvh
5f6f94502a pom.xml contains now the commit id upon which Envoy Common is selected 2020-01-18 14:11:27 +01:00
delvh
6ee56bd635 Added method to get contacts, although as of now all Users are returned 2020-01-18 13:28:54 +01:00
DieGurke
40adb54a32 Registration UI 2020-01-18 13:13:03 +01:00
cd925bf0c9 Prepared user registration implementation 2020-01-18 10:34:04 +01:00
e5c67b859b Added boolean registration to LoginCredentials 2020-01-18 10:27:29 +01:00
delvh
19bbaf7d7a Added a constructor for User as well as for MessageStatusChangeEvent 2020-01-18 10:10:56 +01:00
387153bc6d Fixed EventProcessor and LoginCredentialProcessor 2020-01-18 09:55:12 +01:00
e35487e6f5
Merge pull request #10 from informatik-ag-ngl/f/message_processing
Implemented the processing of messages sent by clients
2020-01-15 06:38:22 +01:00
delvh
fb4ecaed4e Added EventProcessor and methods to handle MessageStatus changes
additionally cleaned up whole project, fixed some Javadoc errors and
added a few database and connection options.

Sorry for the huge commit, there was almost no time inbetween where a
commit would have been possible, as to solve every problem, a new
problem arose.
However, as of now, f/message_handling should be ready to be merged into
develop, besides that it could not be tested yet.
2020-01-11 18:28:48 +01:00
delvh
df9e4dd0c9 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
34df965cdb
Added maven build action 2020-01-11 11:58:15 +01:00
98f3db0c99 Replaced local dependency by jitpack.io dependency 2020-01-11 11:46:20 +01:00
135ca4a86f Replaces local dependencies with jitpack.io dependencies 2020-01-11 11:43:31 +01:00
delvh
1d42f57352 Added date to the MessageStatusChangedEvent
time of the Event can now be saved
2020-01-11 11:36:38 +01:00
delvh
786150ec0c configured JPA validation 2020-01-11 09:42:02 +01:00
6cff6be5f5
Merge pull request #89 from informatik-ag-ngl/f/messagee_event
Moved MessageEvent back from envoy-common.
2020-01-06 18:16:02 +01:00
1eadb85173 Moved MessageEvent back from envoy-common. 2020-01-06 18:13:00 +01:00
dd81cacc33
Merge pull request #87 from informatik-ag-ngl/standalone_server_integration
Standalone server integration
2020-01-06 18:10:03 +01:00
6fcfaee1ab Added MessageStatusChangeEvent, moved MessageEvent back to envoy-client. 2020-01-06 18:00:43 +01:00
407a5bdbd8 Added helper methods to SerializationUtils.
Also exporting sources and Javadoc on build.
2020-01-06 17:41:23 +01:00