Commit Graph

186 Commits

Author SHA1 Message Date
465ed20efa
Replace the internal event bus with Event Bus 0.0.3
The Event class has been retrofitted to implement IEvent, so that no
event implementations had to be changed.
2020-09-08 20:41:01 +02:00
dd2e09b6dc Apply suggestions from code review from @CyB3RC0nN0R
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-09-02 11:31:21 +02:00
cf401d201c Merge branch 'develop' into b/icons_theme_change 2020-09-02 11:25:57 +02:00
DieGurke
aa992e2bcf Implemented custom preview support on theme change. 2020-09-02 11:10:05 +02:00
delvh
3f3c561e25 Apply suggestions from code review
will anyone read this? Bli bla blub. I can write anything here and no one will notice. Bwuhahaha.

Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-09-02 10:37:26 +02:00
delvh
d97af36ae1 shrank delay of "offline"-Tooltip in ChatScene 2020-09-02 10:17:50 +02:00
d0c8c685ab Fix LoginScene popping 2020-09-02 10:07:02 +02:00
8b204b3715 Fix write proxy initialization 2020-09-02 09:54:15 +02:00
efbca9cbc9 Fix tab FXML paths 2020-09-02 09:24:46 +02:00
delvh
661823219c Removed clicking into a tab to see that you cannot interact with it
Additionally re-ensured compliance with our CSS conventions.
2020-09-01 21:36:23 +02:00
delvh
9f517cfc6b Added better dependency injection mechanism and purified LoginScene
one thing could for whatever reason not be avoided: Even though the
processors of the caches inside WriteProxy are initialized, they somehow
get "de-initialized" and have to be initialized again...
2020-09-01 20:14:02 +02:00
ee0d70647c Edited onRestore method in ChatScene. 2020-08-31 19:53:14 +02:00
88f28e60f1 Fixed a minor merging problem that wasn't fixed in the prior branch. 2020-08-31 11:54:20 +02:00
delvh
9bd06336eb Fixed bug not allowing users without command line arguments 2020-08-31 09:02:07 +02:00
4137bf393a Fixed Typo 2020-08-30 19:45:51 +02:00
dc58290f22 Merge branch 'develop' into f/finishing_new_UI 2020-08-30 15:48:29 +02:00
74025c6111 Added Tabs Constant 2020-08-30 15:33:19 +02:00
6c32cf650e Unified color specifications to HEX colors 2020-08-30 15:14:31 +02:00
f86f3ec200 Applied some minor changes requested by @delvh and CyberSomething (I really cant remember how your name is spelled)
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
Co-authored-by: delvh <dev.lh@web.de>
2020-08-29 12:01:51 +02:00
f581b83359 Added semi-proper light theme and fixed some coloring bugs. 2020-08-26 18:31:23 +02:00
b7ea7f0e85 Applied some more suggestions from code review. 2020-08-26 17:53:53 +02:00
e7d85bd968 unified id variable names to kebab-case 2020-08-26 15:50:46 +02:00
15265d2b7c Merge branch 'f/finishing_new_UI' of git@github.com:informatik-ag-ngl/envoy.git into f/finishing_new_UI 2020-08-26 15:12:56 +02:00
78ade078d4 Changed some more things requested by @delvh. 2020-08-26 15:12:03 +02:00
5f3e615641 Applied suggestions from code review from @delvh
Co-authored-by: delvh <dev.lh@web.de>
2020-08-26 14:36:12 +02:00
f6c3da394d Added Javadoc and removed redundant imports 2020-08-24 21:58:36 +02:00
da309098b7 Added offline mode warning and note 2020-08-24 21:54:25 +02:00
1983cebde1 Shortened code 2020-08-24 21:08:48 +02:00
46a883dda9 Added nice error handling when creating groups insted of alert 2020-08-23 22:29:13 +02:00
delvh
ddbf9acd07 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-08-23 22:05:50 +02:00
1d03128744 Removed old FXML file 2020-08-23 21:07:38 +02:00
72ffa71d6b Fixed createButton disabling bug 2020-08-23 20:59:25 +02:00
14ccf4ce58 Data initialization in GroupCreationTab works at the right time 2020-08-23 20:26:22 +02:00
bd75da1ab9 implemented groupCreationTab 2020-08-23 20:15:52 +02:00
f77795edb1 Removed alert when adding new user 2020-08-23 17:24:55 +02:00
dbf69c7cc1 Implemented BackButton functionality 2020-08-23 17:11:41 +02:00
d0f125f058 ContactSearchTab UI finished and reimplemented controller 2020-08-23 12:36:43 +02:00
b4397fe2f2 contactSearchTab 2020-08-22 21:50:05 +02:00
1fe83dbcc0 Implemented TabPane and done preparation for internal file loading 2020-08-22 21:02:49 +02:00
delvh
c784ebb787 Added option to disable attachments and groups on both client and server 2020-08-22 18:14:26 +02:00
delvh
eb4e421974 Made every class that can be final final 2020-08-22 13:51:17 +02:00
delvh
4bbc4189ec Updated config mechanism and added config for the server
Additionally fixed a small bug in EnvoyLog and envoy.server.Startup,
fixed Receiver not stopping when the server was stopped
and added access token authorization for the server config
2020-08-22 13:15:42 +02:00
delvh
2cb124505d Apply suggestions from code review
Additionally moved issue sanitization from server to client.

Co-authored-by: DieGurke <maxi@kske.dev>
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-08-20 13:49:23 +02:00
cb95c40ad6 Initial commit 2020-08-20 11:02:51 +02:00
delvh
f4a3bfed97 Added option to autocreate bug issues on client and server side
Additionally cleaned up a few classes a bit
2020-08-16 17:14:41 +02:00
33aa851090 Fix edge case in AbstractListCell
Clear the cell if the item is updated with a null value.
2020-08-03 22:07:12 +02:00
delvh
2491812ba0 Apply code review suggestions from @CyB3RC0nN0R 2 2020-08-03 15:10:35 +02:00
delvh
71bb329857 Apply code review suggestions from @CyB3RC0nN0R
Additionally added Tooltips to all current items in the SettingsScene,
added ReflectionUtil, changed the cursor on listcells and merged develop
into this branch
2020-08-02 20:26:22 +02:00
delvh
c3dfedc642 Made system commands case insensitive and reworked /dabr mechanism 2020-08-01 21:40:20 +02:00
DieGurke
a1d09d6550 Fixed errors caused by the new ListModel 2020-08-01 17:34:34 +02:00
DieGurke
0901f900e7 Some minor fixes
Co-authored-by: delvh <dev.lh@web.de>
2020-08-01 17:24:15 +02:00
delvh
56bb00cd32 Added logging and fixed some security concerns 2020-08-01 14:57:08 +02:00
DieGurke
fe4f9bf219 Replaced shitty javadoc with nice new and young javadoc
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-08-01 11:09:24 +02:00
DieGurke
209262b4c9 Merge branch 'develop' into f/new_ui 2020-08-01 10:49:40 +02:00
DieGurke
3fdbbfd756 redesigned the vertical scroll bar 2020-08-01 10:30:12 +02:00
delvh
0d77fbf831 Added ability to change the password, theoretically on client and server
(needs testing!)
2020-08-01 10:17:39 +02:00
DieGurke
59188711b8 Fixed size initialization bug regarding correct computation of scenesize 2020-08-01 10:04:53 +02:00
DieGurke
74ebd158f2 Made the contact search area appealing for the eye and relocated buttons 2020-08-01 10:00:34 +02:00
delvh
719aa4cd4f Added profile pic change mechanism on client and common side 2020-08-01 10:00:29 +02:00
delvh
498f3ef43d Added ability to change the user name on the client side 2020-08-01 09:54:18 +02:00
delvh
b02c2fdc65 Changed SettingsPane mechanism a bit 2020-08-01 09:43:15 +02:00
b678ae295b Fix a casting issue 2020-07-31 22:52:42 +02:00
DieGurke
268e4439d7 implemented contact search 2020-07-31 18:46:32 +02:00
delvh
98ebb321ce Added OOP approach to some boilerplate code currently implemented
@DieGurke,as I don't want to interfere with your branch at all, I only
added the absolute minimum that should be mergeable without conflict.
I leave the rest of the implementation (usage in ChatScene, ChatControl
and referencing in FXML) up to you.
There's no way in hell I'll risk your wrath...
2020-07-30 20:46:28 +02:00
delvh
9234e23fae Fixed various bugs
These are:
* different size of addContact- and SettingsButton
* default icons in light mode for users and groups (even though they are
currently just the version used in dark mode)
* wrong preferred size of unnamed "Login" label in LoginScene
* unopenable LoginScene for some OS (Debian)
* white screen when the current scene is switched

Additionally cleaned up code a bit in MessageControl and
LoginScene(.java)
2020-07-29 21:59:55 +02:00
delvh
0167af54b0 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-28 08:53:10 +02:00
delvh
517c840487 Added customizable download path and ability to save without FileChooser 2020-07-27 22:52:43 +02:00
delvh
e216152e6b Added ability to save attachments 2020-07-27 12:00:49 +02:00
delvh
5a5e6e2086 Refactored IsWriting to IsTyping 2020-07-25 17:13:50 +02:00
delvh
e382a86623 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-25 16:51:46 +02:00
delvh
6f8859c3fd Added IsWriting event on common, server and partially on client side
additionally fixed NullPointerException in ContactSearchScene and typo
in Javadoc

PS: this is the 1000th commit in Envoy! 🥳 🎉
2020-07-25 16:26:13 +02:00
cd2e739529 Prevent Receiver from looping after connection loss 2020-07-25 15:09:00 +02:00
c34457730f Add smooth padding transition 2020-07-24 14:22:41 +02:00
00fc160550 Adjust message padding immediately 2020-07-24 14:02:53 +02:00
delvh
9d7f85c58d Merge pull request #26 from informatik-ag-ngl/f/system_commands
Added system commands ( features: custom argument number, default values, system command builder, ...).
Fixed bug not copying attachment when using copy and send.
2020-07-24 13:54:05 +02:00
delvh
4d4de3a27f Update client/src/main/java/envoy/client/ui/controller/ChatScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-24 13:42:39 +02:00
delvh
8718596be2 Added default values, SystemCommandBuilder
Additionally removed sending of SystemCommands as messages and added
sorting of recommendations by relevance.
2020-07-24 11:09:05 +02:00
2ffcad9d35 Apply suggestions from code review 2020-07-24 10:26:31 +02:00
59354c403d Integrated the tray icon with the hide on close setting 2020-07-24 09:57:09 +02:00
07fbe3438a Notify about messages when out of focus 2020-07-23 19:20:58 +02:00
2ed30c56cd Iconify stage on close, reopen it with the tray icon 2020-07-23 18:53:36 +02:00
delvh
e49d390089 Apply suggestions from code review (1)
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-23 18:51:20 +02:00
delvh
d3c2eb4ff7 Added SystemCommandsMap in Chatscene and "DABR"-command 2020-07-23 17:18:53 +02:00
delvh
42184c47f7 Added onCall interface, InterruptEvent, and a relevance measurement 2020-07-23 16:37:28 +02:00
delvh
6a1a9ecdbb Added consistent and safer way to get the currently requested command 2020-07-23 15:50:45 +02:00
delvh
f1856534c6 Adjusted formatter to new Envoy version 2020-07-23 15:36:23 +02:00
DieGurke
9ea8d24ab6 Adjusted MessageControl and linked css 2020-07-23 11:11:30 +02:00
delvh
38c57c997f Added mechanism to check whether a raw text contains a command 2020-07-23 11:07:54 +02:00
delvh
7bf35977f0 Added validity check for commands 2020-07-23 09:23:29 +02:00
DieGurke
5d2a3b83d2 Message Text Line-Wrap works properly now 2020-07-22 11:49:32 +02:00
DieGurke
9e427e1ec3 Adjusted message rendering 2020-07-22 00:03:12 +02:00
ebfe603bc7 Add binding from list width to message padding 2020-07-21 09:01:54 +02:00
DieGurke
60791f2913 Fixed problems with groupMemberName displaying 2020-07-20 14:09:30 +02:00
5d03d0f0eb Make StatusTrayIcon work with JavaFX
* Remove Swing dependencies from StatusTrayIcon
* Pass a stage to the constructor
* Adjust focus change handler and reactivation
* Add IconUtil#loadAWTCompatible for BufferedImage loading
2020-07-20 12:57:34 +02:00
DieGurke
79a121b6b5 Added name displaying of groupMessages in groupChats 2020-07-20 12:32:53 +02:00
delvh
a283217308 Fixed bug enabling contact duplication
...when two clients simultaneously add each other to the respective
contact list
2020-07-18 18:20:52 +02:00
DieGurke
01f81fadac Fixed resize problems and some other stuff 2020-07-18 14:41:25 +02:00
0674035183 Reworked list cell framework to be more extensible 2020-07-18 11:50:49 +02:00
delvh
fdbec3d652 Merge branch 'develop' into f/system_commands 2020-07-18 11:27:59 +02:00
delvh
5ce62c10ca Added System command description and added recommendation ability
Additionally removed ability to decide whether exceptions thrown by
SystemCommands should be rethrown as a mentally superior team member
intervened that it would be useless.
2020-07-18 11:25:41 +02:00