Commit Graph

152 Commits

Author SHA1 Message Date
delvh
af865b77ad Added status update for when a client goes offline 2020-02-02 13:34:28 +01:00
delvh
34e1b610ac Improved PersistenceManager with new methods to handle incoming entities 2020-02-02 12:32:10 +01:00
delvh
d0cf1c73f2 Added UserStatusChangeProcessor
additionally added UserStatus updating in the LoginCredentialProcessor
yet missing: method to handle clients going offline
2020-02-01 23:37:44 +01:00
delvh
e8a9053682
Merge pull request #16 from informatik-ag-ngl/f/refactored_EventProcessor
refactored EventProcessor into MessageStatusChangeProcessor and fixed some minor documentation errors
2020-01-30 21:48:49 +01:00
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
f8fba0d48c
Merge pull request #14 from informatik-ag-ngl/f/contacts
Finished handshake implementation
2020-01-29 17:10:42 +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
f1a8606825 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +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
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
DieGurke
0715e69cd7 Revised LoginCredentialProcessor and worked on MessageProcessor 2020-01-25 18:41:44 +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
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
135ca4a86f Replaces local dependencies with jitpack.io dependencies 2020-01-11 11:43:31 +01:00
delvh
786150ec0c configured JPA validation 2020-01-11 09:42:02 +01:00
d40194b10d LV-encoding messages, added JPA validation. 2020-01-06 17:40:19 +01:00
242593472e Added writing capabilities to ObjectProcessor, completed db integration
At this moment the client is not able to receive to objects sent
consecutively. This will be worked on in a future commit and should be
fixed before merging this branch into develop.
2020-01-06 14:58:28 +02:00
delvh
6c185c0409
Create CODE_OF_CONDUCT.md 2020-01-04 17:36:46 +01:00
19ed6ca0fa Merge branch 'develop' into f/message_processing 2020-01-04 16:54:36 +02:00
delvh
10e366d050
Merge pull request #9 from informatik-ag-ngl/f/database_integration
Integrated PostgreSQL database with Hibernate
2020-01-04 15:53:07 +01:00
c6d8230ae1 Adjusted comment templates. 2020-01-04 16:50:05 +02:00
delvh
38cfdb0dfd Updated PersistenceManager as per @CyB3RC0nN0R 's request 2020-01-04 15:39:43 +01:00
delvh
4b2c198183
Create CONTRIBUTING.md 2020-01-03 21:30:14 +01:00
delvh
beb98011ca Added PersistenceManager and Namedqueries
In theory, this code is all we need for database integration
2020-01-03 18:17:26 +01:00
delvh
8d4996a602 Added Issue and Pull Request templates 2020-01-03 17:37:27 +01:00
c42bdffbd7 Added ConnectionManager, propagating socketId to processors 2020-01-03 18:11:38 +02:00
delvh
20093250a1 Updated Javadoc 2020-01-03 16:21:35 +01:00
998fc3a91e Moved classes related to java-nio-server to envoy.server.net package. 2020-01-03 16:40:43 +02:00
a507ae85b2 Added ORM classes 2020-01-02 18:50:56 +02:00
delvh
05d96b9bc5
Create stale.yml
Stale Issues (no progress for about 2 months) will be discarded automatically
2019-12-30 15:24:25 +01:00
delvh
41e91ef4cb
Merge pull request #8 from informatik-ag-ngl/f/object_handling
Added method to handle incoming objects
2019-12-30 15:18:32 +01:00
delvh
e265ef0b8f Updated Javadoc 2019-12-30 15:15:25 +01:00
070118f612 Added ObjectProcessor interface with some implementations 2019-12-30 15:53:40 +02:00
035b1a8da9
Added Maven build workflow 2019-12-30 14:28:57 +02:00
delvh
caef287137 Changed code as requested by @CyB3RC0nN0R 2019-12-29 17:52:57 +01:00
delvh
4174296e60 Added method to handle incoming objects
(not finished as the methods to further process these "Events" have not
been implemented yet)
2019-12-29 14:16:39 +01:00
fe05ff23cc
Merge pull request #7 from informatik-ag-ngl/f/basic_infrastructure
Added basic infrastructure
2019-12-29 11:11:53 +02:00
29fa697f27 Fixed Javadoc error 2019-12-29 11:09:26 +02:00
19ec7c120e Changed length of encoded message length to 4 bytes 2019-12-29 10:48:15 +02:00
6c094bdccd Added basic lifecycle with object reading capabilities
* Added java-nio-server dependency
* Added ObjectMessageReader and ObjectMessageProcessor
* Added Startup class starting a Server instance
2019-12-28 15:48:39 +02:00