Commit Graph

56 Commits

Author SHA1 Message Date
Leon Hofmeister 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
Leon Hofmeister 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
Leon Hofmeister 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
Kai S. K. Engelbart 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
Leon Hofmeister 61fbeda05e
Applied suggestions from @kske 2020-09-26 21:38:31 +02:00
Kai S. K. Engelbart 5daff3620e
Update UI on user status change 2020-09-26 12:10:22 +02:00
Kai S. K. Engelbart 6d7afbaa8f
Use ObservableList in LocalDB and Chat, reduce amount of UI refreshes 2020-09-25 19:19:54 +02:00
Kai S. K. Engelbart 0efd1e5594
Fold client receivers into event handlers 2020-09-25 15:56:08 +02:00
Kai S. K. Engelbart f6eeeee79b
Remove message and event processors from client 2020-09-25 15:28:14 +02:00
Kai S. K. Engelbart 8eb7743057
Remove Javadoc header from all source files
Also removed SendEvent and simplified some other calls.
2020-09-25 14:29:23 +02:00
Leon Hofmeister af219274f5
Improved logout mechanism a bit, still pretty buggy
(and fixed some inconsistencies)
2020-09-24 18:18:41 +02:00
Leon Hofmeister 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
Leon Hofmeister 2d9283551a
Improved SystemCommand mechanism, added Alert- and ShutdownHelper, and
... added askForConfirmation option
2020-09-23 17:03:32 +02:00
Kai S. K. Engelbart 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
Kai S. K. Engelbart 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
Kai S. K. Engelbart 5b4f2762e5
Fix synchronization when initializing user storage 2020-09-22 16:06:19 +02:00
Leon Hofmeister 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
Kai S. K. Engelbart 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
Kai S. K. Engelbart 52d6282e13
Merge branch 'develop' into refactor-local-db 2020-09-21 20:52:41 +02:00
Leon Hofmeister 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
Kai S. K. Engelbart d8ae8a65b8 Make LocalDB thread safe and simplify its API 2020-09-21 20:52:01 +02:00
Leon Hofmeister 3cd9d76d2c
Fixed sudden Eclipse annoyance 2020-09-21 18:49:58 +02:00
Kai S. K. Engelbart a8aa1c9ea7
Initialize local database directory during startup 2020-09-20 09:08:09 +02:00
Kai S. K. Engelbart fd21c5789f
Add LocalDB Locking
FIxes #32
2020-09-19 15:28:04 +02:00
Kai S. K. Engelbart f21d077522
Add token-based authentication (without rejection handling) 2020-09-19 11:37:42 +02:00
Kai S. K. Engelbart 89b9afb3db
Remove config based autologin
Fixes #27
2020-09-18 10:02:39 +02:00
Kai S. K. Engelbart 763830c727
Remove TransientLocalDB and no-db config value 2020-09-16 15:41:00 +02:00
Kai S. K. Engelbart 8b204b3715 Fix write proxy initialization 2020-09-02 09:54:15 +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
delvh 9bd06336eb Fixed bug not allowing users without command line arguments 2020-08-31 09:02:07 +02:00
delvh ddbf9acd07 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-08-23 22:05:50 +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 c3dfedc642 Made system commands case insensitive and reworked /dabr mechanism 2020-08-01 21:40:20 +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
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 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
Kai S. K. Engelbart 2ffcad9d35 Apply suggestions from code review 2020-07-24 10:26:31 +02:00
Kai S. K. Engelbart 59354c403d Integrated the tray icon with the hide on close setting 2020-07-24 09:57:09 +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 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
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
delvh fdbec3d652 Merge branch 'develop' into f/system_commands 2020-07-18 11:27:59 +02:00