Commit Graph

101 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 05ed5da41b
Merge branch 'develop' into b/ui-fixes
zdm/envoy/pipeline/head This commit looks good Details
2021-12-03 21:37:07 +01:00
Kai S. K. Engelbart 5ef5d96445
Upgrade to Event Bus 1.0.0 2021-02-19 13:25:12 +01:00
Leon Hofmeister b653652f6d
Fix chat default pictures not being updated on theme change 2020-11-22 12:26:08 +01:00
Kai S. K. Engelbart 0ce8b0c89d
Move SceneInfo to separate file 2020-11-06 08:58:13 +01:00
Leon Hofmeister f67ca1d61d
Add option to delete your account 2020-10-31 16:56:31 +01:00
Leon Hofmeister 8bdd201b28
Add Ctrl+U and Ctrl+K shortcuts to ChatScene 2020-10-31 16:54:14 +01:00
Kai S. K. Engelbart 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
Leon Hofmeister 7a883861be
Apply suggestions by @kske 2020-10-30 12:07:56 +01:00
Leon Hofmeister cd8971b6b4
Fix settings button placement
Fixes #94
2020-10-22 16:09:09 +02: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 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
Leon Hofmeister 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
Leon Hofmeister 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
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
Leon Hofmeister a515ec961a
Add server side contact deletion 2020-10-19 18:09:19 +02:00
Leon Hofmeister 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
Leon Hofmeister 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
Leon Hofmeister 1d191858fe
Apply suggestions by @kske 2020-10-09 12:03:28 +02:00
Leon Hofmeister e8202e0c94
Added display of your own status
Fixes #85
2020-10-08 17:03:14 +02:00
Leon Hofmeister 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
Leon Hofmeister 637ad9f61f
Added ability to change user status 2020-10-07 23:43:30 +02:00
Leon Hofmeister 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
Leon Hofmeister 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
Leon Hofmeister 9934eefd41
Move SystemComandMap From ChatScene to Its Own Component (#74)
Move SystemComandMap from ChatScene to its own component.
Create message specific commands with their own parser.
Fix separators not shown correctly in TextInputContextMenu.
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/74
Reviewed-by: kske <kai@kske.dev>
Reviewed-by: DieGurke <maxi@kske.dev>
2020-10-02 15:23:21 +02:00
Leon Hofmeister 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
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
Kai S. K. Engelbart 5daff3620e
Update UI on user status change 2020-09-26 12:10:22 +02:00
Leon Hofmeister 618a4aa3cf
Merge remote-tracking branch 'origin/develop' into f/logout
Conflicts:
	client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java
2020-09-25 23:16:25 +02:00
Kai S. K. Engelbart 6d7afbaa8f
Use ObservableList in LocalDB and Chat, reduce amount of UI refreshes 2020-09-25 19:19:54 +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
Kai S. K. Engelbart f0e645c0ae Fix Unread Messages Not Being Displayed for Groups (#49)
Fix unread messages not being displayed for groups

Fixes #48
Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/49
Reviewed-by: delvh <leon@kske.dev>
2020-09-25 11:22:59 +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 2d9283551a
Improved SystemCommand mechanism, added Alert- and ShutdownHelper, and
... added askForConfirmation option
2020-09-23 17:03:32 +02:00
Leon Hofmeister 7cc4928826
Fixed bug removing \n and added ability to use "ctrl"+"enter" for LB
Fixes #34
2020-09-20 16:16:51 +02:00
Leon Hofmeister 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
Leon Hofmeister 16a0786d54
Fixed bug adding line break in messages sent using "Enter" 2020-09-20 16:16:38 +02:00
Kai S. K. Engelbart 40447f3f42
Change Event Bus version to 0.0.4, fix message event handler
The message event handler ignored group messages, as event handlers do
not include subtypes be default. This behavior has been implemented in
Event Bus 0.0.4 and integrated into Envoy.
2020-09-20 14:13:11 +02:00
Leon Hofmeister c21da25789
Removed MessageCreationEvent and MessageModificationEvent 2020-09-16 15:52:58 +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
Maximilian P. Käfer dd2e09b6dc Apply suggestions from code review from @CyB3RC0nN0R
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-09-02 11:31:21 +02:00
Maximilian P. Käfer cf401d201c Merge branch 'develop' into b/icons_theme_change 2020-09-02 11:25:57 +02:00
DieGurke aa992e2bcf Implemented custom preview support on theme change. 2020-09-02 11:10:05 +02:00
delvh d97af36ae1 shrank delay of "offline"-Tooltip in ChatScene 2020-09-02 10:17:50 +02:00
Kai S. K. Engelbart efbca9cbc9 Fix tab FXML paths 2020-09-02 09:24:46 +02:00
delvh 661823219c Removed clicking into a tab to see that you cannot interact with it
Additionally re-ensured compliance with our CSS conventions.
2020-09-01 21:36:23 +02:00
delvh 9f517cfc6b Added better dependency injection mechanism and purified LoginScene
one thing could for whatever reason not be avoided: Even though the
processors of the caches inside WriteProxy are initialized, they somehow
get "de-initialized" and have to be initialized again...
2020-09-01 20:14:02 +02:00
Maximilian P. Käfer ee0d70647c Edited onRestore method in ChatScene. 2020-08-31 19:53:14 +02:00