Commit Graph

35 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 85d0aa37d2 Adjust Selection Color (#73)
Replace selection color by one unified gray
Center message controls vertically inside their list cells

Fixes #62

Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/73
Reviewed-by: DieGurke <maxi@kske.dev>
Reviewed-by: delvh <leon@kske.dev>
2020-09-30 21:05:32 +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
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 dc58290f22 Merge branch 'develop' into f/finishing_new_UI 2020-08-30 15:48:29 +02:00
Maximilian P. Käfer e7d85bd968 unified id variable names to kebab-case 2020-08-26 15:50:46 +02:00
delvh eb4e421974 Made every class that can be final final 2020-08-22 13:51:17 +02:00
Kai S. K. Engelbart 33aa851090 Fix edge case in AbstractListCell
Clear the cell if the item is updated with a null value.
2020-08-03 22:07:12 +02:00
delvh 2491812ba0 Apply code review suggestions from @CyB3RC0nN0R 2 2020-08-03 15:10:35 +02:00
delvh 71bb329857 Apply code review suggestions from @CyB3RC0nN0R
Additionally added Tooltips to all current items in the SettingsScene,
added ReflectionUtil, changed the cursor on listcells and merged develop
into this branch
2020-08-02 20:26:22 +02:00
DieGurke 0901f900e7 Some minor fixes
Co-authored-by: delvh <dev.lh@web.de>
2020-08-01 17:24:15 +02:00
DieGurke 209262b4c9 Merge branch 'develop' into f/new_ui 2020-08-01 10:49:40 +02:00
delvh 9234e23fae Fixed various bugs
These are:
* different size of addContact- and SettingsButton
* default icons in light mode for users and groups (even though they are
currently just the version used in dark mode)
* wrong preferred size of unnamed "Login" label in LoginScene
* unopenable LoginScene for some OS (Debian)
* white screen when the current scene is switched

Additionally cleaned up code a bit in MessageControl and
LoginScene(.java)
2020-07-29 21:59:55 +02:00
delvh 0167af54b0 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-28 08:53:10 +02:00
delvh 517c840487 Added customizable download path and ability to save without FileChooser 2020-07-27 22:52:43 +02:00
delvh e216152e6b Added ability to save attachments 2020-07-27 12:00:49 +02:00
delvh e382a86623 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-25 16:51:46 +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 c34457730f Add smooth padding transition 2020-07-24 14:22:41 +02:00
Kai S. K. Engelbart 00fc160550 Adjust message padding immediately 2020-07-24 14:02:53 +02:00
DieGurke 9ea8d24ab6 Adjusted MessageControl and linked css 2020-07-23 11:11:30 +02:00
DieGurke 5d2a3b83d2 Message Text Line-Wrap works properly now 2020-07-22 11:49:32 +02:00
DieGurke 9e427e1ec3 Adjusted message rendering 2020-07-22 00:03:12 +02:00
Kai S. K. Engelbart ebfe603bc7 Add binding from list width to message padding 2020-07-21 09:01:54 +02:00
DieGurke 60791f2913 Fixed problems with groupMemberName displaying 2020-07-20 14:09:30 +02:00
DieGurke 79a121b6b5 Added name displaying of groupMessages in groupChats 2020-07-20 12:32:53 +02:00
DieGurke 01f81fadac Fixed resize problems and some other stuff 2020-07-18 14:41:25 +02:00
Kai S. K. Engelbart 0674035183 Reworked list cell framework to be more extensible 2020-07-18 11:50:49 +02:00
Kai S. K. Engelbart fa7be8c343 Merge branch 'develop' into f/new_ui
Conflicts:
	client/src/main/java/envoy/client/ui/controller/LoginScene.java
2020-07-18 10:49:24 +02:00
DieGurke b4225b0d80 Implemented ProfilePics UI mechanism 2020-07-17 13:56:36 +02:00
DieGurke c71c038317 Fixed styleSheet mess regarding the Lists 2020-07-16 19:07:27 +02:00
Kai S. K. Engelbart 07c4ccf3c8 Prepare handshake synchronization
Common
* Replace LocalDateTime with Instant everywhere

Client
* Display message creation date with system time zone in MessageControl
* LocalDB#users now strictly contains Users
* lastSync time stamp in LocalDB (saved per user)
* isOnline parameter in save function (lastSync updated if true)
* lastSync time stamp in LoginCredentials
* No ClientConfig#getLoginCredentials because of missing information,
  moved to LoginScene
* Pass LocalDB#lastSync to LoginCredentials in LoginScene

Server
* Explicit lastSync parameter for
  PersistenceManager#getPending(Group)Messages

This sends the correct time stamp to the server, however the JPQL
queries have yet to be adjusted.
2020-07-16 17:04:35 +02:00
Kai S. K. Engelbart ba336908d1 Add Generic ListViewFactory 2020-07-13 22:08:08 +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 062c9f418d Extract ContactControl from ChatControl
The new class ContactControl displays the contact name and status (user)
or member count (group) and is used inside ChatControl, which adds the
unread message count label.
2020-07-13 17:55:00 +02:00
Kai S. K. Engelbart 0309d0d860 Move Envoy Client to client/ subdirectory 2020-07-13 11:37:45 +02:00