Commit Graph

1247 Commits

Author SHA1 Message Date
544210a811
Merge pull request 'Upgrade to Event Bus 1.0.0' (#112) from event-bus-1.0.0 into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/112
Reviewed-by: delvh <leon@kske.dev>
2021-02-20 22:29:38 +01:00
5ef5d96445
Upgrade to Event Bus 1.0.0 2021-02-19 13:25:12 +01:00
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
10213a0d3d
Link to Documentation (Wiki) in README (#110)
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/110
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-11-27 09:36:08 +01:00
0ff910ebde
Merge pull request 'Improve Scene Switching' (#109) from improved-scene-switching into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/109
Reviewed-by: DieGurke <maxi@kske.dev>
Reviewed-by: delvh <leon@kske.dev>
2020-11-22 11:19:41 +01:00
6d85e337d2
Remove fixed size support from SceneContext 2020-11-22 11:11:48 +01:00
67ebc6be83
Initialize scene with stage size in SceneContext
This apparently fixes the rendering issues when switching scenes, while
keeping the stage size constant (unless the user resizes the stage).
2020-11-20 14:01:00 +01:00
e3052a2133
Reuse the same scene in SceneContext by switching root nodes 2020-11-06 17:27:54 +01:00
4d4865570d
Make resizability a property of SceneInfo
This removes a check hard coded into SceneContext that sets LoginScene
to not resizable.
2020-11-06 09:21:59 +01:00
0ce8b0c89d
Move SceneInfo to separate file 2020-11-06 08:58:13 +01:00
cd7793a589
Merge pull request 'Add Local Account Deletion' (#108) from f/account-deletion into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/108
Reviewed-by: kske <kai@kske.dev>
2020-10-31 16:57:09 +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
8bdd201b28
Add Ctrl+U and Ctrl+K shortcuts to ChatScene 2020-10-31 16:54:14 +01:00
f6c772a655
Merge pull request 'Made Server Less Error Prone' (#107) from f/secure-server into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/107
Reviewed-by: kske <kai@kske.dev>
2020-10-31 16:30:44 +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
889e9b186f
Merge pull request 'Display Current User Status and Unread Message Amount in Status Tray Icon' (#103) from f/enhanced-status-tray-icon into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/103
Reviewed-by: delvh <leon@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-23 17:19:43 +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
241e5def03
Fix "infinite" amount of messages being displayed
Fixes #105
2020-10-22 16:15:34 +02:00
cd8971b6b4
Fix settings button placement
Fixes #94
2020-10-22 16:09:09 +02:00
e79f60e95e
Properly display unread message count (>9) 2020-10-22 15:32:06 +02:00
aaaf5ef7be
Fix TrayIcon colors 2020-10-22 12:17:44 +02:00
98f59c1383
Fix bug displaying the double amount of unread messages
Additionally remove ChangeHandlers in SettingsItem and show
StatusTrayIcon whenever supported
2020-10-21 22:14:04 +02:00
db28f02505
Merge branch 'develop' into f/enhanced-status-tray-icon
Conflicts:
	client/src/main/java/envoy/client/data/Chat.java
	client/src/main/java/envoy/client/ui/StatusTrayIcon.java
2020-10-19 18:36:07 +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
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
dd477b6cbc
Fix several bugs
These are:
- not immediately updating ChatScene if a contact was blocked and both
are online
- ContactSearchTab showing previously entered text on reopening (without
showing suggestions)
- users not getting notified if someone else blocked them while they
were offline
- no logger statements in UserUtil

Still to do:
- Move ContextMenu from chatList to ChatControl
- Test behavior for groups
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
12184848b6
Remove unused value from client.properties
The configuration values are now ordered as describes in the Wiki
article at https://git.kske.dev/zdm/envoy/wiki/Client-Configuration
2020-10-19 08:53:50 +02:00
2e17caea4d
Keep track of total unread messages and display them in the status tray 2020-10-18 16:45:36 +02:00
44f4d8f1e0
Display current user status in status tray icon 2020-10-18 15:54:44 +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
ab2e9aa114
Add Image Caching (#95)
Add image caching

Co-authored-by: kske <kai@kske.dev>
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/95
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-13 11:30:19 +02:00
75f0a65517
Add Enhanced Keyboard Shortcut Mechanism (#91)
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/91
Reviewed-by: DieGurke <maxi@kske.dev>
Reviewed-by: kske <kai@kske.dev>
2020-10-12 16:12:23 +02:00
08bd915f04
Improve performance of a status update
Additionally fixed a bug causing unnecessary warnings on the server
2020-10-10 12:56:16 +02:00
fa2a5d0b24
Fix Bug resetting user status on login 2020-10-09 18:23:00 +02:00
1d191858fe
Apply suggestions by @kske 2020-10-09 12:03:28 +02:00
3c8c544cbd
Added shortcuts to change status and TrayIconPopupMenu items
Fixes #14
2020-10-08 17:09:09 +02:00
e8202e0c94
Added display of your own status
Fixes #85
2020-10-08 17:03:14 +02:00
3810fdef02
Fixed a bug showing the wrong user status in ChatScene top bar
Additionally refactored UI components a bit
2020-10-08 14:34:21 +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
6f9982bbc3
Notify user about unsuccessful system command execution
Additionally added error system command.
Fixes #75
2020-10-07 21:48:11 +02:00