Commit Graph

31 Commits

Author SHA1 Message Date
Kai S. K. Engelbart d9175721cc Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-06-14 16:30:46 +02:00
Kai S. K. Engelbart 5f54fe6721 Change default logging level to finest, rename a class 2020-06-12 10:56:02 +02:00
Kai S. K. Engelbart 838ed69592 Logging envoy messages only 2020-06-11 12:08:51 +02:00
Kai S. K. Engelbart d6e4c54b75 Replaces print statements by logger calls
Closes #34
2020-06-11 12:06:06 +02:00
Kai S. K. Engelbart 7e14bb5cd8 Use EnvoyLog for all packages 2020-06-11 11:45:17 +02:00
DieGurke 72da2d46ca Started implementing group message status handling
* Group creation works
2020-06-11 10:44:48 +02:00
DieGurke cb01d7139a Make GroupMessage extend Message, prepared GroupMessageStatus processing 2020-06-11 10:44:47 +02:00
delvh 4e385396ad fixes #129 - contacts are now sent as a part of the user
(if they were not already)...
Additionally renamed some methods named `...Id()` to `...ID()`
2020-04-06 22:55:27 +02:00
delvh 1302967fc4 Renamed classes with a two-letter initialism according to convention 2020-03-24 18:41:26 +01:00
delvh 9020598335 Added database support to forward messages (#30)
* Added server support for forwarding messages

* added newline at EOF for any file not having one at its end
2020-03-23 22:12:27 +01:00
delvh 129587b312 Fixed bug concerning modularity 2020-03-14 15:08:58 +01:00
Kai S. K. Engelbart 0347715d72 Moved PersistenceManager into data package, refactored transaction use 2020-02-15 22:43:20 +01:00
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 c5017e71fc Refactored contact search, added Javadoc 2020-02-10 22:29:34 +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
DieGurke 9110073d16 Fixed user search 2020-02-08 14:27:21 +01:00
Kai S. K. Engelbart fa3c1829a9 Corrected shutdown message 2020-02-07 10:02:40 +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 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
Kai S. K. Engelbart 3df01532d8 Fixed EventProcessor and LoginCredentialProcessor 2020-01-18 09:55:12 +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 0324f3a4fd LV-encoding messages, added JPA validation. 2020-01-06 17:40:19 +01:00
Kai S. K. Engelbart 02c6f8ad45 Added ConnectionManager, propagating socketId to processors 2020-01-03 18:11:38 +02:00
Kai S. K. Engelbart 10a387beea Moved classes related to java-nio-server to envoy.server.net package. 2020-01-03 16:40:43 +02:00
delvh 901aa57f95 Updated Javadoc 2019-12-30 15:15:25 +01:00
Kai S. K. Engelbart 2c9223236f Added ObjectProcessor interface with some implementations 2019-12-30 15:53:40 +02:00
Kai S. K. Engelbart e13438eefd 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