Commit Graph

1043 Commits

Author SHA1 Message Date
delvh
df54547ae0
Merge pull request #8 from informatik-ag-ngl/f/user_status_change_event
Added UserStatusChangeEvent
2020-02-04 21:28:33 +01:00
delvh
0d276cd3cd Updated toString methods according to @CyB3RC0nN0R s request 2020-02-04 21:27:20 +01:00
delvh
52768e5e88
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
0c530bc5a8 Fixed contacts initialisation, socket logout error
additionally fixed small spelling mistakes
2020-02-04 21:09:59 +01:00
7424cc900f Moved client to net package, removed unnecessary recipient property 2020-02-04 19:46:18 +01:00
388987f438 Implemented receiving unread messages using a message cache
Fixes #98
2020-02-04 19:13:31 +01:00
89831f8aaf Added Chat#isUnread() for future use in message notifications 2020-02-03 22:06:56 +01:00
9d194967f5 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
6a5680a19f Sending unread message as common messages instead of database messages 2020-02-03 07:06:52 +01:00
664717140d Fixed message reading 2020-02-03 06:57:19 +01:00
delvh
9e69da3978 Added toString method for Message- and UserstatusChangeEvents 2020-02-02 14:20:11 +01:00
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