Commit Graph

43 Commits

Author SHA1 Message Date
5ef5d96445
Upgrade to Event Bus 1.0.0 2021-02-19 13:25:12 +01:00
7a883861be
Apply suggestions by @kske 2020-10-30 12:07:56 +01:00
d4c7813c97
Fix unnecessary authentication token being sent in requests 2020-10-23 18:45:40 +02:00
2eeb55ed52
Add client side errors in case of data initialization with null values 2020-10-22 23:58:55 +02:00
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
b2c3cf62c8
Reformat all source files with new formatter 2020-10-19 18:17:51 +02:00
77a75fc37c
Apply suggestions by @kske
Additionally fixed three bugs/ inconsistencies:
- status changing keyboard shortcuts are present again
- deleted cells no longer show a hand cursor
- any event method in LocalDB needing higher priority now has priority
500
2020-10-19 18:09:19 +02:00
571a953c40
Add partially working blocking and deletion (for both client and server)
Additionally had to refactor several classes "a little bit".
(Whenever one bug seemed fixed, another one appeared...)
2020-10-19 18:09:19 +02:00
a515ec961a
Add server side contact deletion 2020-10-19 18:09:19 +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
ede50ed3e5
Fix Javadoc errors spotted by @delvh 2020-09-27 12:06:01 +02:00
0efd1e5594
Fold client receivers into event handlers 2020-09-25 15:56:08 +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
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
cb2a3a6540
Remove authentication tokens from logs 2020-09-19 13:43:03 +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
c21da25789
Removed MessageCreationEvent and MessageModificationEvent 2020-09-16 15:52:58 +02:00
465ed20efa
Replace the internal event bus with Event Bus 0.0.3
The Event class has been retrofitted to implement IEvent, so that no
event implementations had to be changed.
2020-09-08 20:41:01 +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
c784ebb787 Added option to disable attachments and groups on both client and server 2020-08-22 18:14:26 +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
2cb124505d Apply suggestions from code review
Additionally moved issue sanitization from server to client.

Co-authored-by: DieGurke <maxi@kske.dev>
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-08-20 13:49:23 +02:00
delvh
f4a3bfed97 Added option to autocreate bug issues on client and server side
Additionally cleaned up a few classes a bit
2020-08-16 17:14:41 +02:00
delvh
71bb329857 Apply code review suggestions from @CyB3RC0nN0R
Additionally added Tooltips to all current items in the SettingsScene,
added ReflectionUtil, changed the cursor on listcells and merged develop
into this branch
2020-08-02 20:26:22 +02:00
delvh
56bb00cd32 Added logging and fixed some security concerns 2020-08-01 14:57:08 +02:00
DieGurke
209262b4c9 Merge branch 'develop' into f/new_ui 2020-08-01 10:49:40 +02:00
delvh
0d77fbf831 Added ability to change the password, theoretically on client and server
(needs testing!)
2020-08-01 10:17:39 +02:00
delvh
719aa4cd4f Added profile pic change mechanism on client and common side 2020-08-01 10:00:29 +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
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
fa7be8c343 Merge branch 'develop' into f/new_ui
Conflicts:
	client/src/main/java/envoy/client/ui/controller/LoginScene.java
2020-07-18 10:49:24 +02:00
282db47153 Reconfigure Envoy Common Eclipse Project 2020-07-18 10:19:47 +02:00
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
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
delvh
1e63c1a7d1 Persisted really important statement forever in comment 2020-07-15 21:48:06 +02:00
659a468049 Add ContactListCellFactory
- Refactor chatList to userList in ContactSearchScene and
  GroupCreationScene
- Narrow contact searches down to users on a datamodel basis
- Refactor ContactSearchRequest and ContactSearchResult to
  UserSearchRequest and UserSearchResult
2020-07-13 19:02:40 +02:00
34337c3838 Move Envoy Common to common/ subdirectory 2020-07-13 11:42:20 +02:00