Commit Graph

186 Commits

Author SHA1 Message Date
2ca632e577
Add local deletion of messages also for messages you did not send 2020-10-04 14:06:26 +02:00
9934eefd41
Move SystemComandMap From ChatScene to Its Own Component (#74)
Move SystemComandMap from ChatScene to its own component.
Create message specific commands with their own parser.
Fix separators not shown correctly in TextInputContextMenu.
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/74
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-02 15:23:21 +02:00
85d0aa37d2 Adjust Selection Color (#73)
Replace selection color by one unified gray
Center message controls vertically inside their list cells

Fixes #62

Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/73
Reviewed-by: DieGurke <maxi@kske.dev>
Reviewed-by: delvh <leon@kske.dev>
2020-09-30 21:05:32 +02:00
80795a3fc2 Add Ability to Delete Messages Locally (#70)
Merge branch 'develop' into f/delete-messages
Additionally added system commands to copy, delete or save attachments of selected messages

Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/70
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-09-30 20:50:58 +02:00
a4e9474b97 Fixed Saving When Using Alt F4 and Disabled Hiding If StatusTrayIcon is not supported(#65)
Fixed potentially not saving when using alt f4 and disabled hiding if
StatusTrayIcon is not supported
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/65
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-09-28 15:58:42 +02:00
3f0267624c Bumped Version References One Version Up (v0.3-beta) (#64)
Additionally removed <Project:File:Date:> headers from javadoc suggestions

Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/64
Reviewed-by: DieGurke <maxi@kske.dev>
Reviewed-by: kske <kai@kske.dev>
2020-09-27 17:39:28 +02:00
4a0bcf9762 Sanitized Issue Proposals (#58)
Fixes #53

Co-authored-by: kske <kai@kske.dev>
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/58
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-09-27 17:02:24 +02:00
d70a848ef3
Merge branch 'develop' into f/logout
Conflicts:
	client/src/main/java/envoy/client/data/CacheMap.java
	client/src/main/java/envoy/client/data/commands/SystemCommandsMap.java
	client/src/main/java/envoy/client/net/Client.java
	client/src/main/java/envoy/client/ui/Startup.java
	client/src/main/java/envoy/client/ui/StatusTrayIcon.java
	client/src/main/java/envoy/client/ui/controller/ChatScene.java
	client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java
2020-09-27 15:27:11 +02:00
61fbeda05e
Applied suggestions from @kske 2020-09-26 21:38:31 +02:00
5daff3620e
Update UI on user status change 2020-09-26 12:10:22 +02:00
618a4aa3cf
Merge remote-tracking branch 'origin/develop' into f/logout
Conflicts:
	client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java
2020-09-25 23:16:25 +02:00
108db1ae11
Fixed bug not re-performing handshake on logout
Fixes #31
2020-09-25 23:11:30 +02:00
6d7afbaa8f
Use ObservableList in LocalDB and Chat, reduce amount of UI refreshes 2020-09-25 19:19:54 +02:00
86e189a40a
Dispatch received events to the event bus by default 2020-09-25 16:03:15 +02:00
0efd1e5594
Fold client receivers into event handlers 2020-09-25 15:56:08 +02:00
f6eeeee79b
Remove message and event processors from client 2020-09-25 15:28:14 +02:00
8eb7743057
Remove Javadoc header from all source files
Also removed SendEvent and simplified some other calls.
2020-09-25 14:29:23 +02:00
f0e645c0ae Fix Unread Messages Not Being Displayed for Groups (#49)
Fix unread messages not being displayed for groups

Fixes #48
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/49
Reviewed-by: delvh <leon@kske.dev>
2020-09-25 11:22:59 +02:00
af219274f5
Improved logout mechanism a bit, still pretty buggy
(and fixed some inconsistencies)
2020-09-24 18:18:41 +02:00
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