Commit Graph

21 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 5ef5d96445
Upgrade to Event Bus 1.0.0 2021-02-19 13:25:12 +01:00
Leon Hofmeister 7a883861be
Apply suggestions by @kske 2020-10-30 12:07:56 +01:00
Leon Hofmeister d4c7813c97
Fix unnecessary authentication token being sent in requests 2020-10-23 18:45:40 +02:00
Leon Hofmeister 2eeb55ed52
Add client side errors in case of data initialization with null values 2020-10-22 23:58:55 +02:00
Leon Hofmeister 44d3082958
Fix bug allowing unauthorized access to a client
Additionally token authentication is now used whenever the client is
online
2020-10-22 23:05:51 +02:00
Leon Hofmeister b2c3cf62c8
Reformat all source files with new formatter 2020-10-19 18:17:51 +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 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 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
Kai S. K. Engelbart 31cb22035b
Add token request to login credentials and "Stay Signed In" checkbox 2020-09-19 09:13:04 +02:00
Kai S. K. Engelbart ec6b67099f
Add token to login credentials and database user 2020-09-18 11:29:05 +02:00
Leon Hofmeister c21da25789
Removed MessageCreationEvent and MessageModificationEvent 2020-09-16 15:52:58 +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 0167af54b0 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-28 08:53:10 +02:00
delvh e216152e6b Added ability to save attachments 2020-07-27 12:00:49 +02:00
Kai S. K. Engelbart 282db47153 Reconfigure Envoy Common Eclipse Project 2020-07-18 10:19:47 +02:00
Kai S. K. Engelbart 43c1edae39 Adjust message queries for handshake sync
This causes problems with group messages as the received date is null
sometimes even though the status is RECEIVED.

The ReceivedMessageProcessor on the client filters out the synced
messages at the moment.
2020-07-16 18:32:40 +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 34337c3838 Move Envoy Common to common/ subdirectory 2020-07-13 11:42:20 +02:00