Kai S. K. Engelbart
5ef5d96445
Upgrade to Event Bus 1.0.0
2021-02-19 13:25:12 +01:00
Kai S. K. Engelbart
dcf1b0c58d
Send Pending Messages After Successful Handshake ( #111 )
...
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 no
longer necessary anymore. ID generator initialization, which was its other part,
is now directly handled in Startup#performHandshake, which is a far more
sensible placement.
Fixes #106
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/111
Reviewed-by: DieGurke <maxi@kske.dev>
2020-12-02 21:21:00 +01:00
Leon Hofmeister
b2c3cf62c8
Reformat all source files with new formatter
2020-10-19 18:17:51 +02:00
Leon Hofmeister
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
Leon Hofmeister
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
Kai S. K. Engelbart
d70a848ef3
Merge branch 'develop' into f/logout
...
Conflicts:
client/src/main/java/envoy/client/data/CacheMap.java
client/src/main/java/envoy/client/data/commands/SystemCommandsMap.java
client/src/main/java/envoy/client/net/Client.java
client/src/main/java/envoy/client/ui/Startup.java
client/src/main/java/envoy/client/ui/StatusTrayIcon.java
client/src/main/java/envoy/client/ui/controller/ChatScene.java
client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java
2020-09-27 15:27:11 +02:00
Leon Hofmeister
108db1ae11
Fixed bug not re-performing handshake on logout
...
Fixes #31
2020-09-25 23:11:30 +02:00
Kai S. K. Engelbart
86e189a40a
Dispatch received events to the event bus by default
2020-09-25 16:03:15 +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
f6eeeee79b
Remove message and event processors from client
2020-09-25 15:28:14 +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
af219274f5
Improved logout mechanism a bit, still pretty buggy
...
(and fixed some inconsistencies)
2020-09-24 18:18:41 +02:00
Leon Hofmeister
05d4917bb2
Added key shortcuts and system commands for logout, exit and settings
...
Additionally added **buggy** logout mechanism: LocalDB is not reset
properly and IndexOutOfBoundsExceptions occur in the UI
2020-09-23 23:11:32 +02:00
Leon Hofmeister
1b60ab3f0d
Fixed Bug Not Saving Values When Exiting via “Control”+”Q” ( #40 )
...
Fixed bug not saving values when exiting via "Control"+"Q"
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/40
Reviewed-by: kske <kai@kske.dev>
2020-09-22 14:42:51 +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
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
0d77fbf831
Added ability to change the password, theoretically on client and server
...
(needs testing!)
2020-08-01 10:17:39 +02:00
delvh
b02c2fdc65
Changed SettingsPane mechanism a bit
2020-08-01 09:43:15 +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
Kai S. K. Engelbart
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
Kai S. K. Engelbart
0309d0d860
Move Envoy Client to client/ subdirectory
2020-07-13 11:37:45 +02:00