Commit Graph

70 Commits

Author SHA1 Message Date
DieGurke
a96199ccd7 Implemented contact adding mechanism + database update on both clients.
* Added filtering on searchRequest response (temporary: has to be done
in query not manually in ContactsRequestProcessor.)
2020-02-10 20:02:05 +01:00
DieGurke
37f1594989 Implemented AddContact mechanism on the server
(currently unfinished an not working see stack trace for current
problem)
2020-02-09 22:16:33 +01:00
24c0cdd38d Added ContactOperationProcessor for the ADD operation 2020-02-08 15:03:03 +01:00
DieGurke
9110073d16 Fixed user search 2020-02-08 14:27:21 +01:00
33dc6ba4ac Implemented user search response 2020-02-08 13:53:58 +01:00
e73ad7b871 Merge pull request #21 from informatik-ag-ngl/f/single_transaction
Adding user to their own contacts, reusing one database transaction
2020-02-07 20:35:12 +01:00
fa3c1829a9 Corrected shutdown message 2020-02-07 10:02:40 +01:00
bacc171ccd Adding user to their own contacts, reusing one database transaction
Fixes #15
2020-02-07 09:34:02 +01:00
delvh
f2ac9bbf8e Merge pull request #20 from informatik-ag-ngl/f/user_status_change_event
Added UserStatusChangeProcessor
2020-02-05 22:20:55 +01:00
delvh
ee3ab4d42b added a "has been"- string to an error message 2020-02-05 22:19:36 +01:00
delvh
1159747155 deleted applyAction method as per @CyB3RC0nN0R s request
additionally inserted necessary TODO for a method that may cause
problems in the future.
2020-02-05 21:53:36 +01:00
delvh
f637e7ef95 Merge branch 'f/user_status_change_event' of https://github.com/informatik-ag-ngl/envoy-server-standalone.git into f/user_status_change_event 2020-02-05 21:35:11 +01:00
delvh
053b7eec1f fixed not updating user status and implemented easier to read structure 2020-02-05 21:32:53 +01:00
DieGurke
27a641a5d3 Notifying the message sender about message status changes 2020-02-05 17:24:31 +01:00
74786f469b Propagating message received update to sender 2020-02-05 16:15:01 +01:00
delvh
ad8c9b654f Changed Envoy Common dependency back to develop, fixed BE error 2020-02-04 21:34:53 +01:00
delvh
5fcbf59349 Fixed contacts initialisation, socket logout error
additionally fixed small spelling mistakes
2020-02-04 21:09:59 +01:00
f11ed4a585 Sending unread message as common messages instead of database messages 2020-02-03 07:06:52 +01:00
delvh
79d11f4fba Added status update for when a client goes offline 2020-02-02 13:34:28 +01:00
delvh
5b482c6815 Improved PersistenceManager with new methods to handle incoming entities 2020-02-02 12:32:10 +01:00
delvh
5b28f2f25b 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
6932a62aa9 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
44dd79ba6d Implemented Changes as requested by @CyB3RC0nN0R 2020-01-30 18:40:54 +01:00
delvh
99ff79b022 Fixed incorrect error handling, upgraded appearance of this processor 2020-01-30 13:20:39 +01:00
delvh
334b1a2bc2 Refactored EventProcessor into MessageStatusChangeProcessor
additionally fixed some minor Javadoc errors
2020-01-30 12:52:27 +01:00
0099047163 Merge pull request #14 from informatik-ag-ngl/f/contacts
Finished handshake implementation
2020-01-29 17:10:42 +01:00
2ffcf6e1a3 Fixed reading multiple objects from one message 2020-01-29 16:20:57 +01:00
23c4fd8f67 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
be1fc1e502 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +01:00
6fe322a866 Fixed typo 2020-01-28 19:57:40 +01:00
6cd7964f9a 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
468558fa61 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
bcfe2e278a Fixes error multiple login, removed src/test/resources
Fixes #12
2020-01-27 18:36:13 +01:00
DieGurke
3eed956a60 Revised LoginCredentialProcessor and worked on MessageProcessor 2020-01-25 18:41:44 +01:00
DieGurke
ec315f870d Interface Communication Login Credentials 2020-01-21 17:51:50 +01:00
DieGurke
1e00930d4b implemented login and registration (unfinished) 2020-01-18 23:50:41 +01:00
delvh
5165e40217 pom.xml contains now the commit id upon which Envoy Common is selected 2020-01-18 14:11:27 +01:00
delvh
c5f8c3c6be Added method to get contacts, although as of now all Users are returned 2020-01-18 13:28:54 +01:00
3df01532d8 Fixed EventProcessor and LoginCredentialProcessor 2020-01-18 09:55:12 +01:00
d396572d18 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
dc6199806f 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
3fc7ee7f3f Replaces local dependencies with jitpack.io dependencies 2020-01-11 11:43:31 +01:00
delvh
a58bb6716d configured JPA validation 2020-01-11 09:42:02 +01:00
0324f3a4fd LV-encoding messages, added JPA validation. 2020-01-06 17:40:19 +01:00
26fc4374ca 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
ef68f8b3d2 Create CODE_OF_CONDUCT.md 2020-01-04 17:36:46 +01:00
597385c950 Merge branch 'develop' into f/message_processing 2020-01-04 16:54:36 +02:00
delvh
66a5d1144b Merge pull request #9 from informatik-ag-ngl/f/database_integration
Integrated PostgreSQL database with Hibernate
2020-01-04 15:53:07 +01:00
8f98c45d46 Adjusted comment templates. 2020-01-04 16:50:05 +02:00
delvh
8d0e334d60 Updated PersistenceManager as per @CyB3RC0nN0R 's request 2020-01-04 15:39:43 +01:00