Commit Graph

997 Commits

Author SHA1 Message Date
delvh
cc9e3a2afe
Added OOP approach to some boilerplate code currently implemented
@DieGurke,as I don't want to interfere with your branch at all, I only
added the absolute minimum that should be mergeable without conflict.
I leave the rest of the implementation (usage in ChatScene, ChatControl
and referencing in FXML) up to you.
There's no way in hell I'll risk your wrath...
2020-07-30 20:46:28 +02:00
delvh
e7a70d6cda
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
a539d3014a
Add smooth padding transition 2020-07-24 14:22:41 +02:00
a77fe9f89f
Adjust message padding immediately 2020-07-24 14:02:53 +02:00
DieGurke
1b373d9694 Adjusted MessageControl and linked css 2020-07-23 11:11:30 +02:00
DieGurke
8837273982 Message Text Line-Wrap works properly now 2020-07-22 11:49:32 +02:00
DieGurke
5258a7dc12 Adjusted message rendering 2020-07-22 00:03:12 +02:00
49ecba6c23
Add binding from list width to message padding 2020-07-21 09:01:54 +02:00
DieGurke
408e27b077 Fixed problems with groupMemberName displaying 2020-07-20 14:09:30 +02:00
DieGurke
aad31872fd Added name displaying of groupMessages in groupChats 2020-07-20 12:32:53 +02:00
DieGurke
2db5e4e85b Fixed resize problems and some other stuff 2020-07-18 14:41:25 +02:00
5183d3dfa6
Reworked list cell framework to be more extensible 2020-07-18 11:50:49 +02:00
0a4baad5a2
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
86abbebe68
Reconfigure Envoy Common Eclipse Project 2020-07-18 10:19:47 +02:00
5452984381
Simplify project names 2020-07-18 10:11:46 +02:00
53dd3a7158
Merge pull request #17 from informatik-ag-ngl/f/handshake_sync
Message Synchronization During Handshake
2020-07-18 07:17:35 +00:00
DieGurke
b1fbad059e Fixed scaling problems (especially on lower res displays)
Still a problem with max width of column 1 and max size of stage due to
sizeToScene property on the stage
2020-07-17 17:02:58 +02:00
DieGurke
ef198f653b Implemented ProfilePics UI mechanism 2020-07-17 13:56:36 +02:00
714892dbd4
Merge branch 'develop' into f/handshake_sync 2020-07-16 22:35:09 +00:00
b5042b2a1f
Turn logging off by default (ClientConfig)
Logging is still enabled through the client.properties however, where
console logging is set to FINER.
2020-07-17 00:29:48 +02:00
018fd7a7e1
Fix unread message counter
A bug remains when the total status of a group message is SENT, but the
individual status for the client user is RECEIVED. In this case, the
counter should be incremented but isn't.
2020-07-17 00:27:00 +02:00
DieGurke
a3d368762e Merge branch 'develop' into f/new_ui 2020-07-16 22:11:52 +02:00
DieGurke
e72a410e0b Changed color of messageList background 2020-07-16 22:10:04 +02:00
delvh
9dd4c48f62
Merge pull request #18 from informatik-ag-ngl/f/listview_refresh
Added (inefficient) listview refreshing mechanism.
Additionally fixed these bugs/ inconsistencies:
    Removed the selected user from ContactSearchScene upon addition
    Warned user on group creation if he already has a Group with that name
    Fixed bug not enabling the post-button when an attachment is present
2020-07-16 22:04:39 +02:00
DieGurke
6ea17acb21 Fixed some issues 2020-07-16 21:52:07 +02:00
81d4e26cc6
Remove filter from ReceivedMessageProcessor, improve handshake
The user is sent after the messages to avoid receiving messages on the
client while switching from handshake to normal mode.
2020-07-16 21:14:37 +02:00
DieGurke
15d6aa085c Improved top bar 2020-07-16 21:13:46 +02:00
delvh
4279c35d3f
Update client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-16 20:54:47 +02:00
delvh
fa8872ccba
Update client/src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-07-16 20:54:15 +02:00
delvh
a17ce52bfa Fixed Bug not updating MessageStatusChanges 2020-07-16 20:34:24 +02:00
DieGurke
149f351673 Fixed styleSheet mess regarding the Lists 2020-07-16 19:07:27 +02:00
43dfdc3334
Adjust message queries for handshake sync
This causes problems with group messages as the received date is null
sometimes even though the status is RECEIVED.

The ReceivedMessageProcessor on the client filters out the synced
messages at the moment.
2020-07-16 18:32:40 +02:00
delvh
5109605415 Fixed bug not enabling the post-button when an attachment is present 2020-07-16 18:23:06 +02:00
DieGurke
b156400227 Adjusted message Enter bar (field and buttons) and changed color 2020-07-16 18:17:52 +02:00
delvh
ec700685ac Warned user on group creation if he already has a Group with that name 2020-07-16 17:47:59 +02:00
delvh
ae41ab9637 Removed the selected user from ContactSearchScene upon addition 2020-07-16 17:36:57 +02:00
delvh
f13dc3f389 Added deepRefresh - mechanism
additionally fixed bug not updating messageList when a
MessageStatusChange occurs (seriously, why did no one notice it before?)
2020-07-16 17:35:15 +02:00
DieGurke
057f468813 Relocated existing Components of chatScene and adjusted them a bit 2020-07-16 17:28:00 +02:00
90662b3610
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
DieGurke
bb6d6b19f7 Login Scene is not resizable, logo gets loaded correctly 2020-07-16 16:02:03 +02:00
delvh
c0676984e6 Persisted really important statement forever in comment 2020-07-15 21:48:06 +02:00
delvh
c963b9bdcc Fixed bug not scrolling to the correct message 2020-07-15 21:44:57 +02:00
DieGurke
88afb77a2c Implemented completely new UI for the login scene 2020-07-15 18:45:55 +02:00
DieGurke
c406a5d226 Replaced custom clearableTextField with normal TextField 2020-07-15 14:05:47 +02:00
def31ebc4d
Merge pull request #11 from informatik-ag-ngl/f/contact_control
Extract ContactControl from ChatControl + Chat -> User Refactorings
2020-07-14 19:30:15 +00:00
d561461635
Add Generic ListViewFactory 2020-07-13 22:08:08 +02:00
d6dfd2ffc9
Rename ContactSearchProcessor to UserSearchProcessor 2020-07-13 21:34:21 +02:00
70a20b253e
Move pull request templates to .github/ 2020-07-13 19:35:17 +02:00
a5a7992a0a
Fix FXML naming error 2020-07-13 19:16:48 +02:00
bbe19b1050
Fix FXML formatting 2020-07-13 19:12:03 +02:00