Commit Graph

1045 Commits

Author SHA1 Message Date
5e335a98bd Listening to message status changes, sending READ status updates 2020-02-05 07:09:25 +01:00
delvh
ad8c9b654f Changed Envoy Common dependency back to develop, fixed BE error 2020-02-04 21:34:53 +01:00
delvh
ce2759746a Merge pull request #8 from informatik-ag-ngl/f/user_status_change_event
Added UserStatusChangeEvent
2020-02-04 21:28:33 +01:00
delvh
79efa7837b Updated toString methods according to @CyB3RC0nN0R s request 2020-02-04 21:27:20 +01:00
delvh
fbd81e9d24 Delete org.eclipse.jdt.ui.prefs
we live in a totalitarian regime in which individual preferences are not wanted
2020-02-04 21:18:32 +01:00
delvh
5fcbf59349 Fixed contacts initialisation, socket logout error
additionally fixed small spelling mistakes
2020-02-04 21:09:59 +01:00
8f967afa88 Moved client to net package, removed unnecessary recipient property 2020-02-04 19:46:18 +01:00
44541936d3 Implemented receiving unread messages using a message cache
Fixes #98
2020-02-04 19:13:31 +01:00
7e0ae2e831 Added Chat#isUnread() for future use in message notifications 2020-02-03 22:06:56 +01:00
d43b45d36b Made local database persistence optional
* Split LocalDB into abstract class LocalDb and PersistentLocalDb and
TransientLocalDb
* Moved LocalDb to database package
* Added ignoreLocalDb option to Config
2020-02-03 21:52:48 +01:00
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