Commit Graph

222 Commits

Author SHA1 Message Date
05d4917bb2
Added key shortcuts and system commands for logout, exit and settings
Additionally added **buggy** logout mechanism: LocalDB is not reset
properly and IndexOutOfBoundsExceptions occur in the UI
2020-09-23 23:11:32 +02:00
84d80982e5
Merge branch 'develop' into b/group-tab-update 2020-09-23 21:44:41 +02:00
2d9283551a
Improved SystemCommand mechanism, added Alert- and ShutdownHelper, and
... added askForConfirmation option
2020-09-23 17:03:32 +02:00
758e52e030 Store the Local Database Inside a Server-Specific Subdirectory (#45)
Store the local database inside a server-specific subdirectory
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/45
Reviewed-by: delvh <leon@kske.dev>
2020-09-23 16:23:42 +02:00
b9e19d69b9 Merge Local Database and Home Directory (#44)
Merge local database and home directory

Fixes #43
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/44
Reviewed-by: delvh <leon@kske.dev>
2020-09-23 16:00:53 +02:00
c6819e637b
Fixed bug not updating GroupCreationTab after a new contact was added
Fixes #35
2020-09-22 17:51:33 +02:00
f36f330c81
Add a LocalDB auto save mechanism
During startup, a timer is initialized inside the LocalDB which saves it
after 500 milliseconds during startup and then in intervals of 2
minutes, which can be configured in the ClientConfig.
2020-09-22 16:37:43 +02:00
5b4f2762e5
Fix synchronization when initializing user storage 2020-09-22 16:06:19 +02:00
1b60ab3f0d Fixed Bug Not Saving Values When Exiting via “Control”+”Q” (#40)
Fixed bug not saving values when exiting via "Control"+"Q"
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/40
Reviewed-by: kske <kai@kske.dev>
2020-09-22 14:42:51 +02:00
8ed6faca96 Merge pull request 'Make LocalDB Thread Safe and Simplify its API' (#38) from refactor-local-db into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/38
Reviewed-by: delvh <leon@kske.dev>
2020-09-21 20:54:29 +02:00
52d6282e13
Merge branch 'develop' into refactor-local-db 2020-09-21 20:52:41 +02:00
0dbd15e958 Made not-hide_on_close the default option (#39)
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/39
Reviewed-by: kske <kai@kske.dev>
2020-09-21 20:52:13 +02:00
d8ae8a65b8 Make LocalDB thread safe and simplify its API 2020-09-21 20:52:01 +02:00
3cd9d76d2c
Fixed sudden Eclipse annoyance 2020-09-21 18:49:58 +02:00
d394c2d058
Added option to close Envoy Linux-like with "Control"+"Q" 2020-09-20 22:11:15 +02:00
7cc4928826
Fixed bug removing \n and added ability to use "ctrl"+"enter" for LB
Fixes #34
2020-09-20 16:16:51 +02:00
4959bc9634
Fixed bug not updating UI after click on context menu item
fixes #11
Additionally, previous commit fixes #5
2020-09-20 16:16:44 +02:00
16a0786d54
Fixed bug adding line break in messages sent using "Enter" 2020-09-20 16:16:38 +02:00
40447f3f42
Change Event Bus version to 0.0.4, fix message event handler
The message event handler ignored group messages, as event handlers do
not include subtypes be default. This behavior has been implemented in
Event Bus 0.0.4 and integrated into Envoy.
2020-09-20 14:13:11 +02:00
be945fe3ee
Fix threading issue in handshake rejection alert 2020-09-20 09:55:07 +02:00
a8aa1c9ea7
Initialize local database directory during startup 2020-09-20 09:08:09 +02:00
fd21c5789f
Add LocalDB Locking
FIxes #32
2020-09-19 15:28:04 +02:00
3e594c1fbd
Handle handshake rejections on invalid token, reuse not expired tokens 2020-09-19 13:33:18 +02:00
f21d077522
Add token-based authentication (without rejection handling) 2020-09-19 11:37:42 +02:00
31cb22035b
Add token request to login credentials and "Stay Signed In" checkbox 2020-09-19 09:13:04 +02:00
ec6b67099f
Add token to login credentials and database user 2020-09-18 11:29:05 +02:00
89b9afb3db
Remove config based autologin
Fixes #27
2020-09-18 10:02:39 +02:00
e06dd7dd57 Merge branch 'develop' into remove-unused-message-events 2020-09-16 16:05:56 +02:00
c21da25789
Removed MessageCreationEvent and MessageModificationEvent 2020-09-16 15:52:58 +02:00
8a01229855 Merge pull request 'Remove TransientLocalDB and no-db Config Value' (#24) from remove-transient-localdb into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/24
Reviewed-by: delvh <leon@kske.dev>
2020-09-16 15:48:49 +02:00
763830c727
Remove TransientLocalDB and no-db config value 2020-09-16 15:41:00 +02:00
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
fcd5767c4b Reduce wildcard import threshold to 2 2020-09-02 10:32:44 +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
dc114e5b3c Remove project specific .gitignore files 2020-08-31 08:52:58 +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