Commit Graph

98 Commits

Author SHA1 Message Date
Kai S. K. Engelbart cb3913d95d Display message date and status 2020-06-09 11:36:38 +02:00
Kai S. K. Engelbart 933232e2a4 Converted the login dialog into a scene 2020-06-08 11:58:57 +02:00
Kai S. K. Engelbart e576877943 Move scene controllers to separate package 2020-06-08 10:36:30 +02:00
Kai S. K. Engelbart 6974d44958 Fix minor error when popping the last scene 2020-06-08 08:45:15 +02:00
Kai S. K. Engelbart 2409c5b2f7 Fix offline mode and local DB initialization 2020-06-07 16:26:54 +02:00
delvh 9e7bde1d4d Improved visual appearance of ChatScene
Additionally added minimum height of application and basic
ContactSearchScene.fxml file.
2020-06-06 18:33:24 +02:00
Kai S. K. Engelbart ec72b6fc67 Externalized scene loading and management into SceneContext 2020-06-06 18:30:09 +02:00
Kai S. K. Engelbart 16ae619f7d Load JavaFX Images in IconUtil, display Envoy logo 2020-06-06 12:27:10 +02:00
delvh fa42516c6f Added ability to load CSS files 2020-06-06 12:27:10 +02:00
delvh 067cbbdcf8 added fundamental css files, theoretically added css support 2020-05-09 10:57:30 +02:00
delvh 970f190389 added inelegant capability to switch scenes 2020-04-18 19:46:04 +02:00
Kai S. K. Engelbart 3d1eec4ee0 Moved all FXML files to the resource folder 2020-04-10 21:26:24 +02:00
Kai S. K. Engelbart ee4fa78f38 Grouping JavaFX package import statements 2020-04-10 21:05:08 +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 5d76bbbcb0 restored compatibility with envoy common (and envoy server standalone) 2020-04-02 22:03:43 +02:00
Kai S. K. Engelbart bd0da338a7 Added user and message loading and message posting 2020-03-28 15:32:24 +01:00
Kai S. K. Engelbart a68a01b455 Added custom list cells for the user and message list views 2020-03-28 10:39:15 +01:00
Kai S. K. Engelbart 0403729a63 Started moving Startup contents into the new Startup class 2020-03-27 21:14:49 +01:00
Kai S. K. Engelbart 6e0b95384b Set Envoy logo as stage icon 2020-03-26 21:01:42 +01:00
Kai S. K. Engelbart c6d074b84a Prepare JavaFX integration
* Added JavaFX and FXML dependencies to pom.xml and module-info.java
* Added Startup Application
* Added ChatScene with ChatSceneController
2020-03-26 20:23:25 +01:00
delvh 08f6ee62ca Fixed bug adding a line break when sending via enter
* additionally merged full input of f/enhanced_component_list with the
current working state of f/forward_messages:
* implemented setting of colors (theming) for ContextMenu
* renamed messageTextColor to textColor
2020-03-21 19:26:11 +01:00
delvh 24ce40c24a Merged current working status of f/icon_util into f/forward__messages
* added ContextMenu
* added ContactsChooserDialog
2020-03-18 08:03:35 +01:00
delvh 4c94686172 added newline at EOF for any file not having one at its end 2020-03-14 19:59:37 +01:00
Kai S. K. Engelbart 7f2c4d0519 Fixed state errors in offline mode (#116)
* Display all contacts as offline while in offline mode

* Update message status to sent after relaying message cache
2020-03-14 16:58:19 +01:00
delvh 349ffeaa25 Added the display of multi-line messages (#115)
* Added multi-line messages

* Added shutdown method for LoginDialog

* Fixed login bug in LoginDialog

* Added a maximum length for messages

* Implemented update of component list elements on resizing

* Improved visual appearance of some files
2020-03-14 11:17:43 +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 c692fe25ff Adder EnvoyLog#attach(String) method to log specific packages 2020-02-18 08:14:04 +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 8c1cfedb2e Fixed entering offline mode 2020-02-12 22:22:29 +01:00
Kai S. K. Engelbart 8714c8fe0e Performing handshake and online init in LoginDialog 2020-02-12 17:31:20 +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 c697b099ee Clean-up, moved Settings and SettingsItem into the data package 2020-02-12 07:12:22 +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 48e1d791c6 Cleanup, fixed offline cache relay when starting in offline mode 2020-02-11 19:35:23 +01:00
delvh d37ab53275 Added handling of incorrect logins 2020-02-09 20:43:12 +01:00
Kai S. K. Engelbart e6c4139b4d Fixed threading issue when receiving unread messages 2020-02-08 11:43:02 +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 74715bbf82 Persisting cache in PersistentLocalDb 2020-02-06 21:42:17 +01:00
Kai S. K. Engelbart 4afe073e79 Integrated WriteProxy into the sending process 2020-02-06 21:28:02 +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 8f967afa88 Moved client to net package, removed unnecessary recipient property 2020-02-04 19:46:18 +01:00
Kai S. K. Engelbart 44541936d3 Implemented receiving unread messages using a message cache
Fixes #98
2020-02-04 19:13:31 +01:00
Kai S. K. Engelbart 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
Kai S. K. Engelbart 8e449d150b Removed old sync thread, implemented chat reading 2020-02-01 10:20:06 +01:00
Kai S. K. Engelbart 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
Kai S. K. Engelbart 96066863ca Added LoginDialog 2020-01-01 18:18:18 +02:00
Kai S. K. Engelbart 46d9cd49f4 Added Client#sendMessage(Message), closing socket on exit 2019-12-31 11:57:11 +02:00
Kai S. K. Engelbart e66dba8812 Receiving objects from server on separate thread 2019-12-30 18:18:03 +02:00