Commit Graph

247 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
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
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
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
6f9982bbc3
Notify user about unsuccessful system command execution
Additionally added error system command.
Fixes #75
2020-10-07 21:48:11 +02:00
5e1b9a9d5b
Offer customization of activator char in SystemCommandMap
Additionally cleaned up SystemCommandMap a lot.
This commit will also be the foundation of Envoy CLI, as it enables no
activator as well.
2020-10-06 22:00:55 +02:00
fb1147f939
Add Local Deletion of Messages Also for Messages You did not Send (#80)
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/80
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-05 18:52:05 +02:00
7ca770cbc3
Fix Incorrect ChatScene Size on Startup (#79)
Additionally fixes error on message receival.
Fixes #68
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/79
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-05 18:50:45 +02:00
da6bdafc68
Fix Bug Showing Incorrect User Statuses (#78)
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/78
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-04 21:53:58 +02:00
99867eb23a
Merge pull request 'Quick Select Support for the GroupCreationTab' (#77) from f/quick-group-select into develop
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/77
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: delvh <leon@kske.dev> (With a little discussion topic :))
2020-10-04 21:28:55 +02:00
994cbbcd72 Implemented change requests by @delvh and @kske 2020-10-04 17:11:45 +02:00
51b189e8f5
Implemented some requested changes 2020-10-03 20:28:43 +02:00
3d987985ff
Added javadoc 2020-10-03 15:19:37 +02:00
5f0910635a
Added insets 2020-10-03 15:11:38 +02:00