Commit Graph

982 Commits

Author SHA1 Message Date
delvh
123e51c8d5 Moved Receiver + ReceivedMessageProcessor in the net package
additionally added serialVersionUIDs for the Event classes
2020-02-02 13:44:10 +01:00
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
560426cf00
Merge pull request #93 from informatik-ag-ngl/f/component_list
Component List
2020-02-02 11:39:18 +01:00
a39ea7adb1 Moved dimension and spacing calculation to MessageListRenderer 2020-02-02 11:37:46 +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
689b8bdf8d Fixed spacing in ComponentList 2020-02-01 11:34:57 +01:00
delvh
8afafa014b Added UserStatusChange - Event 2020-02-01 11:32:55 +01:00
2436afc8e9 Fixed receiving messages 2020-02-01 10:41:59 +01:00
ab6d27651e Removed old sync thread, implemented chat reading 2020-02-01 10:20:06 +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
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