Commit Graph

38 Commits

Author SHA1 Message Date
DieGurke c2a627529a MessageStatusChangeEventCache
Added a cache storing all messageStatusChangeEvents received during
handshake just like the already existing cache for received messages
during the handshake
This new cache is needed because the functionality regarding the pending
messages (and now messageStatusChanges as well) has changed!
2020-06-10 22:50:09 +02:00
Kai S. K. Engelbart 8a3ffec859 Replace UserStatusChangeProcessor with inline code in ChatScene 2020-06-10 11:22:36 +02:00
delvh d6e12df076 Fixed visual issues as per @delvh 's request 2020-06-09 22:24:09 +02:00
Kai S. K. Engelbart fc4fb4cdae Process ContactOperationEvent 2020-06-09 17:06:40 +02:00
Kai S. K. Engelbart 3d71cda884 Ask user before adding a contact 2020-06-09 15:41:01 +02:00
Kai S. K. Engelbart 2409c5b2f7 Fix offline mode and local DB initialization 2020-06-07 16:26:54 +02:00
delvh 00edd59f97 Fixed bug duplicating messages 2020-04-18 10:34:03 +02:00
Kai S. K. Engelbart 09f7f5482e Replaced TimeLimitExceededException by TimeoutException
This allows the removal of the java.naming module dependency.
2020-04-10 21:57:05 +02:00
Kai S. K. Engelbart b38700500e Merge pull request #132 from informatik-ag-ngl/f/login_dialog
JavaFX LoginDialog
2020-04-10 20:44:46 +02:00
Kai S. K. Engelbart fb2f379dfc Completed LoginDialog implementation except for closing the dialog 2020-04-10 16:18:01 +02:00
Kai S. K. Engelbart 7285375447 Moved the LoginDialogController class inside the LoginDialog class 2020-04-10 11:01:03 +02:00
delvh d61cd8a36e slightly adapted some logging messages 2020-04-06 22:55:59 +02:00
delvh 5d76bbbcb0 restored compatibility with envoy common (and envoy server standalone) 2020-04-02 22:03:43 +02:00
delvh 487c6a6573 Added BASIC group capability (#128)
* Changed serialVersionUID everywhere to 0L

* Added support for GroupResizeEvents and NameChangeEvents

Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-04-02 09:23:47 +02:00
delvh 364ec6f04e Renamed every identifier according to new convention 2020-03-26 16:06:18 +01:00
delvh 5c2abe7c1c Renamed classes with a two-letter initialism according to convention 2020-03-24 18:38:47 +01:00
Kai S. K. Engelbart 86d437760d Normalized since tags to fit envoy-common and envoy-server
Envoy vXXX -> Envoy Client vXXX
2020-03-23 21:52:59 +01:00
delvh 9896339f92 Changed compiler compliance to 11, modularized all packages (#114)
* added module- and package-info.java, changed JRE from 8 to 11

* updated maven from Java 1.8 to 11

Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-03-07 19:38:06 +01:00
Kai S. K. Engelbart 930d1cebe1 Migrated configuration and logging to Envoy Common (#113)
* Moved client specific configuration to ClientConfig

* Finished ClientConfig integration, checking init state in EnvoyLog

* Migrated Config, ConfigItem and EnvoyLog to envoy-common

* Updated envoy-common dependency to develop-SNAPSHOT
2020-03-05 14:27:40 +01:00
Kai S. K. Engelbart aaa6044ade Adjusted logging locations and levels 2020-02-18 16:34:14 +01:00
Kai S. K. Engelbart 5f9ebd4c43 Fixed logger level configuration, using logger hierarchy
Loggers are now created with a class object
2020-02-18 07:16:35 +01:00
Kai S. K. Engelbart 17eeed0bfb Split Client#onlineInit method up into performHandshake and initReceiver 2020-02-12 07:53:24 +01:00
Kai S. K. Engelbart c5389a6af4 Merge branch 'develop' into f/invalid_login 2020-02-12 06:41:02 +01:00
Kai S. K. Engelbart 84e350c02e Removed event handler casts, simplified logging statements 2020-02-12 06:12:04 +01:00
DieGurke 577ee6364d Implemented contact list update 2020-02-11 18:15:15 +01:00
Kai S. K. Engelbart 8a6f729abf Adjusted to event system refactoring 2020-02-11 17:17:22 +01:00
Kai S. K. Engelbart 39d4cbd8ba Merge branch 'develop' into f/contacts 2020-02-11 10:06:06 +01:00
delvh d37ab53275 Added handling of incorrect logins 2020-02-09 20:43:12 +01:00
DieGurke e8062be346 Adding contacts technical aspects
* Contact SearchResult from server is now getting processed and
correctly displayed.
* Sending a AddContact event to server, if button is pressed.
* Added several interface objects
2020-02-09 16:26:36 +01:00
Kai S. K. Engelbart e6c4139b4d Fixed threading issue when receiving unread messages 2020-02-08 11:43:02 +01:00
delvh 278e7a8a0a added newline at the end of Client file 2020-02-07 15:41:17 +01:00
delvh 0aba82fd9f Added the UserStatusChangeProcessor and its implementation
this commit serves as solution to the merge conflict between
f/user_status_change_processor and develop
2020-02-07 15:27:26 +01:00
Kai S. K. Engelbart effe41f458 Implemented login through command line arguments
* Moved Config and ConfigItem to data package
* Added mandatory property to ConfigItem
* Added user and password ConfigItems to Config
2020-02-06 22:17:14 +01:00
Kai S. K. Engelbart bf38d2f19f Added WriteProxy with creation method in Client, added caches to LocalDb 2020-02-06 21:03:08 +01:00
Kai S. K. Engelbart cdef310a69 Replaced MessageCache by Cache<T>
This class will be used to implement the offline cache for both messages
and events.
2020-02-06 18:35:05 +01:00
Kai S. K. Engelbart 81dcee27f1 Renamed database package to data, moved Chat to data package 2020-02-05 20:58:30 +01:00
Kai S. K. Engelbart 5e335a98bd Listening to message status changes, sending READ status updates 2020-02-05 07:09:25 +01:00
Kai S. K. Engelbart 8f967afa88 Moved client to net package, removed unnecessary recipient property 2020-02-04 19:46:18 +01:00