Commit Graph

89 Commits

Author SHA1 Message Date
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
Kai S. K. Engelbart 61d3d44ee5 Working on handshake mechanism with login 2019-12-29 12:54:05 +02:00
Kai S. K. Engelbart 88c810c2f4 Started integration of new server architecture
* Removed JAX-RS dependency from POM
* Changed version in POM to 0.3-alpha

The errors that appear throughout LocalDB and Client are caused by the
architecture change and will be removed in future commits.
2019-12-28 22:20:43 +02:00
Kai S. K. Engelbart 07b2c73b50 Polished settings mechanism
* Set initial value of onCloseMode setting to true
* Added setting change handlers
* Applying settings changes immediately
* Made PrimaryToggleSwitch round
2019-12-23 16:33:13 +01:00
DieGurke 7ec9e6b13a Merge pull request #77 from informatik-ag-ngl/f/onCloseToggleSwitch
General Settings screen
2019-12-23 14:20:47 +01:00
Kai S. K. Engelbart 762d7630e3 Fixed formatting, Javadoc and other cosmetic problems
Also fixed PrimaryToggleSwitches having editable text in their state and
description fields
2019-12-23 10:56:33 +01:00
DieGurke 5090e81b56 Enter to Send and Revising
* Revised style and improved object architecture
* Added Enter to Send mechanism.
2019-12-23 00:03:22 +01:00
DieGurke 141b2371cc Formatting 2019-12-22 21:48:19 +01:00
DieGurke abe36d999a OnCloseMode
* Toggle Switch in general settings effects the onCloseMode of the
window.
* Saving in prefs.
* Styled the general settings screen and added some text.
2019-12-22 21:28:13 +01:00
Kai S. K. Engelbart 0c80d934fe Added missing since tags as requested by @delvh 2019-12-21 21:07:18 +01:00