Commit Graph

16 Commits

Author SHA1 Message Date
Leon Hofmeister 9255553f9f
Fixed bug not saving values when exiting via "Control"+"Q" 2020-09-21 22:12:53 +02:00
Kai S. K. Engelbart 52d6282e13
Merge branch 'develop' into refactor-local-db 2020-09-21 20:52:41 +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 d394c2d058
Added option to close Envoy Linux-like with "Control"+"Q" 2020-09-20 22:11:15 +02:00
Kai S. K. Engelbart fd21c5789f
Add LocalDB Locking
FIxes #32
2020-09-19 15:28:04 +02:00
Kai S. K. Engelbart 3e594c1fbd
Handle handshake rejections on invalid token, reuse not expired tokens 2020-09-19 13:33:18 +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
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
Kai S. K. Engelbart d0c8c685ab Fix LoginScene popping 2020-09-02 10:07:02 +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 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
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