Commit Graph

27 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 98a51e1106 Fixed ConnectionManager#isOnline(long), moved ConnectionManager to net 2020-02-12 22:01:32 +01:00
Kai S. K. Engelbart c4b60dfab7 Clean-up, disabled SQL logging 2020-02-12 07:10:33 +01:00
Kai S. K. Engelbart 66de88029f Merge branch 'develop' into f/reject_handshake 2020-02-12 06:49:17 +01:00
Kai S. K. Engelbart c5017e71fc Refactored contact search, added Javadoc 2020-02-10 22:29:34 +01:00
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
delvh 163141e3a3 added methods to signal an invalid login
additionally added a failsafe to set all users to offline in case of
shutdown of the server
2020-02-09 16:37:53 +01:00
Kai S. K. Engelbart 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
Kai S. K. Engelbart 33dc6ba4ac Implemented user search response 2020-02-08 13:53:58 +01:00
Kai S. K. Engelbart bacc171ccd Adding user to their own contacts, reusing one database transaction
Fixes #15
2020-02-07 09:34:02 +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 053b7eec1f fixed not updating user status and implemented easier to read structure 2020-02-05 21:32:53 +01:00
delvh 5fcbf59349 Fixed contacts initialisation, socket logout error
additionally fixed small spelling mistakes
2020-02-04 21:09:59 +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 334b1a2bc2 Refactored EventProcessor into MessageStatusChangeProcessor
additionally fixed some minor Javadoc errors
2020-01-30 12:52:27 +01:00
Kai S. K. Engelbart be1fc1e502 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +01:00
Kai S. K. Engelbart 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 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 c5f8c3c6be Added method to get contacts, although as of now all Users are returned 2020-01-18 13:28:54 +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
Kai S. K. Engelbart 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
delvh 0ecc9cf0e9 Added PersistenceManager and Namedqueries
In theory, this code is all we need for database integration
2020-01-03 18:17:26 +01:00
delvh b83ef8b4ef Updated Javadoc 2020-01-03 16:21:35 +01:00