Commit Graph

1235 Commits

Author SHA1 Message Date
f11ed4a585 Sending unread message as common messages instead of database messages 2020-02-03 07:06:52 +01:00
63990f6d57 Fixed message reading 2020-02-03 06:57:19 +01:00
delvh
891423fd6d Added toString method for Message- and UserstatusChangeEvents 2020-02-02 14:20:11 +01:00
delvh
76a9e2c043 Moved Receiver + ReceivedMessageProcessor in the net package
additionally added serialVersionUIDs for the Event classes
2020-02-02 13:44:10 +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
bd61936fde Merge pull request #93 from informatik-ag-ngl/f/component_list
Component List
2020-02-02 11:39:18 +01:00
82fd57d19c Moved dimension and spacing calculation to MessageListRenderer 2020-02-02 11:37:46 +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
07b5ee841a Fixed spacing in ComponentList 2020-02-01 11:34:57 +01:00
delvh
cf1f8ce5d3 Added UserStatusChange - Event 2020-02-01 11:32:55 +01:00
2fb419b0e7 Fixed receiving messages 2020-02-01 10:41:59 +01:00
8e449d150b Removed old sync thread, implemented chat reading 2020-02-01 10:20:06 +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
e3ff6f2773 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
0099047163 Merge pull request #14 from informatik-ag-ngl/f/contacts
Finished handshake implementation
2020-01-29 17:10:42 +01:00
c62d7a8812 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
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
c0f4e5d270 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
be1fc1e502 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +01:00
f0ad54e670 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
5999d4a817 Fixed typo 2020-01-28 19:58:23 +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
5c19fe2849 Added HandshakeRejectionEvent and fixed some Javadoc 2020-01-28 18:58:44 +01:00
8ab72b7a76 Made Event and its implementations serializable 2020-01-28 17:50:09 +01:00
aed8016485 Made id a mandatory field in MessageBuilder
Added support for IdGenerator in the MessageBuilder constructor.
2020-01-28 17:32:33 +01:00
dd3f920e94 Changed IdGenerator constructor to accept size instead of end index 2020-01-28 17:09:28 +01:00
09b803ed4b Renamed MessageIdGenerator to IdGenerator, added IdGeneratorRequest
Also removed src/test/resources from pom.xml.
2020-01-28 17:01:02 +01:00
cd5030735a Added Javadoc for the ui.list package 2020-01-27 21:01:38 +01:00
5ecda78cf1 Changed message list components to JPanels 2020-01-27 20:23:30 +01:00
063f5798dc Implemented ComponentList rendering and integration of message list 2020-01-27 20:11:47 +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
0c1c3f6fce Removed src/test/resources folder 2020-01-27 07:06:38 +01:00
43851d9893 Started ComponentList integration for message list 2020-01-26 22:10:15 +01:00
DieGurke
3eed956a60 Revised LoginCredentialProcessor and worked on MessageProcessor 2020-01-25 18:41:44 +01:00
8d41a2230a Added component list classes (unfinished) 2020-01-25 11:33:28 +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
DieGurke
b06a4cfe05 Registration UI 2020-01-18 13:13:03 +01:00
0165d6aa27 Prepared user registration implementation 2020-01-18 10:34:04 +01:00
e0fef6af54 Added boolean registration to LoginCredentials 2020-01-18 10:27:29 +01:00
delvh
1a4523db54 Added a constructor for User as well as for MessageStatusChangeEvent 2020-01-18 10:10:56 +01:00