Commit Graph

35 Commits

Author SHA1 Message Date
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
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
delvh 2e45e375b1 Revised SystemCommand mechanism and implemented theoretical execution 2020-07-17 23:27:54 +02:00
Kai S. K. Engelbart 698e260746 Turn logging off by default (ClientConfig)
Logging is still enabled through the client.properties however, where
console logging is set to FINER.
2020-07-17 00:29:48 +02:00
delvh 71145bbb24 Added System Commands basics - may change again 2020-07-17 00:23:35 +02:00
Kai S. K. Engelbart 07c4ccf3c8 Prepare handshake synchronization
Common
* Replace LocalDateTime with Instant everywhere

Client
* Display message creation date with system time zone in MessageControl
* LocalDB#users now strictly contains Users
* lastSync time stamp in LocalDB (saved per user)
* isOnline parameter in save function (lastSync updated if true)
* lastSync time stamp in LoginCredentials
* No ClientConfig#getLoginCredentials because of missing information,
  moved to LoginScene
* Pass LocalDB#lastSync to LoginCredentials in LoginScene

Server
* Explicit lastSync parameter for
  PersistenceManager#getPending(Group)Messages

This sends the correct time stamp to the server, however the JPQL
queries have yet to be adjusted.
2020-07-16 17:04:35 +02:00
Kai S. K. Engelbart 0309d0d860 Move Envoy Client to client/ subdirectory 2020-07-13 11:37:45 +02:00