Commit Graph

61 Commits

Author SHA1 Message Date
c2bbb1a224
Send pending messages after successful handshake
Instead of caching pending messages during the handshake and relaying
them afterwards, they are now sent after the handshake has been
completed.

This is possible because the relevant processors (messages and status
changes) are now event handlers which are registered at the event bus,
which means that they can immediately react to pending messages even if
Client#initReceiver has not been fully executed yet.

Because Client#initReceiver exists for that very reason, it is now
longer necessary. ID generator initialization, which was its other part,
is now directly handled in Startup#performHandshake, which is a far more
sensible placement.

Fixes #106
2020-11-30 22:28:34 +01:00
e5659c1da1
Remove account deletion on the server 2020-10-31 16:57:26 +01:00
f67ca1d61d
Add option to delete your account 2020-10-31 16:56:31 +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
fccd7e70b1
Disable crashing the server when Hibernate panics after oopsing 2020-10-23 00:15:37 +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
a0812f193e
Add working leaving of a group
Additionally fixed a two bugs:
- one group member will no longer show "1 members"
- deletion of empty groups no longer throws an exception
2020-10-19 18:09:19 +02:00
ebe19c00c9
Move context menu from ChatScene globally to ChatControl specific
Additionally fixed a small bug in UserCreationProcessor and when
deleting a contact offline
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
5b85c1bf54
Remove project specific import order 2020-10-18 12:13:47 +02:00
f4f34ff829
Remove project specific formatters 2020-10-18 12:09:58 +02:00
637ad9f61f
Added ability to change user status 2020-10-07 23:43:30 +02:00
f2eb89d469
Make PersistenceManager Less Error Prone (#83)
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/83
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-07 22:13:42 +02:00
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
3f0267624c Bumped Version References One Version Up (v0.3-beta) (#64)
Additionally removed <Project:File:Date:> headers from javadoc suggestions

Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/64
Reviewed-by: DieGurke <maxi@kske.dev>
Reviewed-by: kske <kai@kske.dev>
2020-09-27 17:39:28 +02:00
837ed0106f
Bumped version to v0.2-beta 2020-09-27 17:13:38 +02:00
829e94fa5f Fixed Bug Regarding Incorrect Pending MessageStatuses in LoginCredentialsProcessor (#61)
Merge branch 'develop' into b/fixing_message_bugs

fixed not receiving pending messageStatus bug

Co-authored-by: delvh <leon@kske.dev>
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/61
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: delvh <leon@kske.dev>
2020-09-27 15:55:59 +02:00
ede50ed3e5
Fix Javadoc errors spotted by @delvh 2020-09-27 12:06:01 +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
41f07dc452 Fixed Transactions not Getting Closed on the Server (#42)
Fixes #16
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/42
Reviewed-by: kske <kai@kske.dev>
2020-09-22 17:02:50 +02:00
3e594c1fbd
Handle handshake rejections on invalid token, reuse not expired tokens 2020-09-19 13:33:18 +02:00
f21d077522
Add token-based authentication (without rejection handling) 2020-09-19 11:37:42 +02:00
ec6b67099f
Add token to login credentials and database user 2020-09-18 11:29:05 +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
74a1f8232b
Restored compatability with new VCS 2020-09-06 12:17:45 +02:00
fcd5767c4b Reduce wildcard import threshold to 2 2020-09-02 10:32:44 +02:00
dc114e5b3c Remove project specific .gitignore files 2020-08-31 08:52:58 +02:00
delvh
572541e381 Fixed bug disabling server startup
For further information please take a look at the first Javadoc comment
in envoy.data.Config
2020-08-24 23:20:11 +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
19dcb2bea8 Merge pull request #35 from informatik-ag-ngl/f/b/reporting
Added option to autocreate bug issues on client and server side
2020-08-22 10:53:48 +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
ecede45360 Add install script for developers on Debian-based operating systems 2020-08-15 09:37:16 +02:00
delvh
56bb00cd32 Added logging and fixed some security concerns 2020-08-01 14:57:08 +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
498f3ef43d Added ability to change the user name on the client side 2020-08-01 09:54:18 +02:00
3cbe3b5045 Merge pull request #31 from informatik-ag-ngl/f/simple_object_processor
Remove ObjectProcessor#getInputClass
2020-07-31 16:49:04 +00:00
delvh
e216152e6b Added ability to save attachments 2020-07-27 12:00:49 +02:00
63f42ab8d9 Remove ObjectProcessor#getInputClass
Replace an explicit input class declaration with nasty reflection code.
2020-07-25 17:34:19 +02:00
delvh
5a5e6e2086 Refactored IsWriting to IsTyping 2020-07-25 17:13:50 +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