Commit Graph

448 Commits

Author SHA1 Message Date
295e2a8596 Display correct contact status on startup
Fixes #152
2020-06-26 09:08:41 +02:00
delvh
e4a8ef4210
Fixed small formatting error 2020-06-25 12:32:57 +02:00
delvh
29a667389d
Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-25 11:19:59 +02:00
delvh
bbd5f61486 Apply suggestions from @CyB3RC0nN0R's code review 2020-06-25 11:17:25 +02:00
delvh
d80bc39221 Merge remote-tracking branch 'origin/develop' into f/enhanced_UI 2020-06-25 10:45:37 +02:00
4e9702a691 Clear repeat password field when unequal passwords are entered 2020-06-25 10:21:27 +02:00
cde91a77ef Stop clearing password fields, remove prompt text 2020-06-25 07:49:45 +02:00
delvh
ba957e5f08 Fixed small bug making text of vertical scrollbar disappear 2020-06-23 23:40:18 +02:00
delvh
a823029c07 Improved message coloring, messageStatus display only for own messages
additionally loaded the message status icons smaller and (visually) hid
the vertical scrollbars (they can still be used, but cannot be seen).
Lastly checked all context menu functions for a NullPointerException, as
also no element can be selected when the context menu is created.
2020-06-23 23:32:31 +02:00
delvh
4ad61e3152 Added "Copy and Send" capability
additionally added context menu to delete a contact, currently without
function
2020-06-23 18:32:34 +02:00
delvh
e347c2fae1 Merge remote-tracking branch 'origin/develop' into f/enhanced_UI 2020-06-23 17:27:02 +02:00
743a7a1c34 Merge branch 'develop' into f/compatibility_verification
Conflicts:
	src/main/java/envoy/client/net/Client.java
	src/main/java/envoy/client/net/MessageStatusChangeEventProcessor.java
	src/main/java/envoy/client/ui/Startup.java
	src/main/java/envoy/client/ui/controller/ChatScene.java
	src/main/java/envoy/client/ui/controller/ContactSearchScene.java
	src/main/java/envoy/client/ui/controller/GroupCreationScene.java
	src/main/java/envoy/client/ui/controller/LoginScene.java
2020-06-23 08:43:20 +02:00
delvh
d47a99d637 Added a context menu to the message list and ability to copy a message
context menu contains a few menu items that will be populated with
functionality later on.
2020-06-22 22:51:10 +02:00
delvh
9e886c3f45 Added alignment and coloring of messages according to who is the sender
additionally added:
- the label on top of the ChatScene now displays the own users name
- the messageList now scrolls to the bottom when a message is
created/received
2020-06-22 20:53:44 +02:00
delvh
6eb91244cc
Merge pull request #149 from informatik-ag-ngl/f/visually_pleasing_experience
Improved general appearance of Envoy, both in FXML and CSS
2020-06-21 17:40:57 +02:00
delvh
19fe3a2830 Selected items will now be visually displayed 2020-06-21 17:36:08 +02:00
256a5ac210 Move user status color to CSS, refactor ContactListCell 2020-06-21 17:25:24 +02:00
delvh
b23ee61506 Moved remainingCharsLabel styling from code to CSS 2020-06-21 17:04:27 +02:00
delvh
e6745da7d8
Merge pull request #147 from informatik-ag-ngl/b/postbutton_bug_and_logging
Fixed postButton - bug and improved logging
2020-06-21 16:25:45 +02:00
c916c3c22c
Merge pull request #146 from informatik-ag-ngl/f/single_file_local_db
Store user specific local database information inside a single file
2020-06-21 07:12:23 +00:00
delvh
f073b6e397
Fixed error caused by my own stupidity 2020-06-20 22:42:44 +02:00
delvh
549198f242
Apply suggestions from code review
Reworded the suggestions slightly
2020-06-20 22:29:32 +02:00
0b28424bd4 Shorten event names, compatibility verification 2020-06-20 11:00:58 +02:00
delvh
dda9e8ee25 Fixed incorrect logger statement
No one needs redundancy in a logging statement, right?

Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-19 17:07:33 +02:00
delvh
d20d72f6e2 Fixed invisibility bug 2020-06-19 16:57:20 +02:00
delvh
cfd323725f Improved general appearance of Envoy 2020-06-18 22:20:34 +02:00
delvh
b8f0bba8a7
Merge branch 'develop' into b/postbutton_bug_and_logging 2020-06-14 16:18:02 +02:00
delvh
7744d382b1 Applying suggestions from code review 2 2020-06-14 16:11:46 +02:00
delvh
4071487048
Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-14 16:03:02 +02:00
delvh
6dda2cce71 Fixed multiple bugs concerning enterToSend and the postButton 2020-06-13 22:38:49 +02:00
delvh
753791e8c9 Added improved logging capabilities 2020-06-13 22:36:52 +02:00
deff9d642b Store user specific local database information inside a single file
Closes #141
2020-06-13 18:46:41 +02:00
2a26ce0cad
Reformat a logger statement
Co-authored-by: delvh <dev.lh@web.de>
2020-06-13 17:00:44 +02:00
02ca6960f7 Reading the current chat if it changes or a message is received
Closes #144
2020-06-12 10:54:55 +02:00
DieGurke
40a38e77dd
Update src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-11 15:06:59 +02:00
DieGurke
5466602a33 Fixed issue reagarding missing chats 2020-06-11 13:21:16 +02:00
DieGurke
b8e001bf54 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
DieGurke
4e2e47600b Merged branch 'develop' into f/groups
Contains several bug fixes
2020-06-10 22:23:59 +02:00
c839ef01ba Add received messages to their chat 2020-06-10 13:05:44 +02:00
9dade2cf77 Properly override updateItem method of list cells 2020-06-10 11:33:49 +02:00
367a690dc8 Replace UserStatusChangeProcessor with inline code in ChatScene 2020-06-10 11:22:36 +02:00
46f8b1e767 Adjust stage size after changing the scene 2020-06-10 10:05:25 +02:00
delvh
8ba718f7b1 Fixed visual issues as per @delvh 's request 2020-06-09 22:24:09 +02:00
DieGurke
a4cc753d85 Added Group Creation Functionality
* Implemented new group creation scene (fxml)
* Added group creation controller
* Adjusted contact search scene (fxml)
2020-06-09 21:22:45 +02:00
delvh
b953586859 Added (currently useless) comboBox to change your status 2020-06-09 21:03:19 +02:00
delvh
d0d86fc0d4 Added color display of user statuses 2020-06-09 20:42:17 +02:00
delvh
0661838c38 Fixed bug automatically sending a message when ctrl is being pressed 2020-06-09 17:11:17 +02:00
ebb7a48e8e Process ContactOperationEvent 2020-06-09 17:06:40 +02:00
0efd57f2ef Rename UserListCell to ContactListCell 2020-06-09 15:49:11 +02:00
bc17203367 Ask user before adding a contact 2020-06-09 15:41:01 +02:00
d03bbb6f5e Implemented contact removal operation (untested) 2020-06-09 14:21:11 +02:00
72354b3678 Fix user list in offline mode 2020-06-09 14:12:27 +02:00
7f6f538849 Display message date and status 2020-06-09 11:36:38 +02:00
ca029d9e13 Merge branch 'f/javafx' of https://github.com/informatik-ag-ngl/envoy-client.git into f/javafx 2020-06-08 12:00:17 +02:00
c0d814ed38 Converted the login dialog into a scene 2020-06-08 11:58:57 +02:00
delvh
4d20e97f25 Fixed bug invalidating enterToSend option 2020-06-08 10:48:33 +02:00
232439a564 Move scene controllers to separate package 2020-06-08 10:36:30 +02:00
0372c1393e Add theme selection in settings 2020-06-08 10:02:39 +02:00
4123abf24f Remove Theme class and code related to it
This is a preparation for loading themes from CSS files.
2020-06-08 09:14:57 +02:00
0ba46f6d46 Fix minor error when popping the last scene 2020-06-08 08:45:15 +02:00
delvh
63dc01534d Added elegant way of displaying remaining characters for a message
additionally FOUND (not fixed) a bug automatically posting a message
when ctrl is no longer pressed
2020-06-07 23:28:25 +02:00
delvh
eda6ea8cd2 Implemented ContactSearchScene completely
additionally added default keyboard shortcuts for all buttons
2020-06-07 20:46:04 +02:00
9d7cad5a3b Add offline mode check box and connection label to login dialog 2020-06-07 17:03:02 +02:00
1689896f42 Fix offline mode and local DB initialization 2020-06-07 16:26:54 +02:00
delvh
778a05bdda Improved visual appearance of ChatScene
Additionally added minimum height of application and basic
ContactSearchScene.fxml file.
2020-06-06 18:33:24 +02:00
4bcc79535a Externalized scene loading and management into SceneContext 2020-06-06 18:30:09 +02:00
c52982e196 Fix condition for posting messages 2020-06-06 15:29:29 +02:00
f0a8b303d5 Cleanup and Reformatting 2020-06-06 15:03:43 +02:00
6ffa144daf Load JavaFX Images in IconUtil, display Envoy logo 2020-06-06 12:27:10 +02:00
0dece66542 Add proper layout to ChatWindow, fix user field selection in LoginDialog 2020-06-06 12:27:10 +02:00
delvh
11314f9ba9 Added ability to load CSS files 2020-06-06 12:27:10 +02:00
df47a2ca48 Remove ui.primary package 2020-06-06 12:27:10 +02:00
delvh
ff9dbee2f0 added fundamental css files, theoretically added css support 2020-05-09 10:57:30 +02:00
delvh
7d8b242099
Merge branch 'f/javafx' into f/settings 2020-04-19 22:24:37 +02:00
delvh
0b3a1a5e58 Readded enterToSend-Capability, ToggleButtons display current value
additionally added developer comments (most important feature of
v0.1-beta!).
2020-04-19 22:22:13 +02:00
delvh
ee6e408499 created ui.settings package 2020-04-19 19:57:40 +02:00
f3ab609d97 Fixed settings pane selection 2020-04-18 21:37:44 +02:00
delvh
828673d00c added inelegant capability to switch scenes 2020-04-18 19:46:04 +02:00
621d07a300 Added SettingsToggleButton 2020-04-18 16:04:47 +02:00
0e75bdd057 Added GeneralSettingsPane, added JavaFX support in SettingsItem
Also removed the old settings ui components.
2020-04-18 12:03:32 +02:00
7023562add Added SettingsScene selection infrastructure 2020-04-18 11:03:06 +02:00
delvh
13a7a38deb Fixed bug duplicating messages 2020-04-18 10:34:03 +02:00
eb55e8e86b Replaced TimeLimitExceededException by TimeoutException
This allows the removal of the java.naming module dependency.
2020-04-10 21:57:05 +02:00
225fa0de2e Added a rudimentary settings scene with an empty controller 2020-04-10 21:52:19 +02:00
78f14ffcb4 Moved all FXML files to the resource folder 2020-04-10 21:26:24 +02:00
01a5a95adf Grouping JavaFX package import statements 2020-04-10 21:05:08 +02:00
488d878a0c
Merge pull request #132 from informatik-ag-ngl/f/login_dialog
JavaFX LoginDialog
2020-04-10 20:44:46 +02:00
c7e52c91ba Implemented review recommendations 2020-04-10 20:42:20 +02:00
a0004e53c6 Using dialog buttons instead of custom ones 2020-04-10 17:07:27 +02:00
647aae72c6 Completed LoginDialog implementation except for closing the dialog 2020-04-10 16:18:01 +02:00
2b09a2dbde Moved the LoginDialogController class inside the LoginDialog class 2020-04-10 11:01:03 +02:00
delvh
0c5b74b976 Performed updating of the UI on the UI thread 2020-04-09 22:30:24 +02:00
delvh
6643cbeb3f slightly adapted some logging messages 2020-04-06 22:55:59 +02:00
0b05d54953 Added JavaFX login dialog scene 2020-04-06 15:08:00 +02:00
delvh
ba67af613d restored compatibility with envoy common (and envoy server standalone) 2020-04-02 22:03:43 +02:00
delvh
9460b224b9
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
5314a12ff3 Removed most Swing components 2020-03-31 21:54:56 +02:00
94dbf0481b Wrapping data into ObservableList instances instead of copying it 2020-03-30 21:27:07 +02:00
dbf944b5cb Copied event listeners from ChatWindow to ChatSceneController 2020-03-29 22:15:05 +02:00
00ce296812 Fixed chat loading from LocalDB into messagList 2020-03-29 09:16:29 +02:00