Commit Graph

1094 Commits

Author SHA1 Message Date
DieGurke
01f81fadac Fixed resize problems and some other stuff 2020-07-18 14:41:25 +02:00
e51d2946d0 Change artifact directory structure 2020-07-18 14:00:26 +02:00
1a17448724 Speed up build, move compiler configuration to parent POM 2020-07-18 13:32:49 +02:00
0674035183 Reworked list cell framework to be more extensible 2020-07-18 11:50:49 +02:00
delvh
fdbec3d652 Merge branch 'develop' into f/system_commands 2020-07-18 11:27:59 +02:00
delvh
5ce62c10ca Added System command description and added recommendation ability
Additionally removed ability to decide whether exceptions thrown by
SystemCommands should be rethrown as a mentally superior team member
intervened that it would be useless.
2020-07-18 11:25:41 +02:00
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
282db47153 Reconfigure Envoy Common Eclipse Project 2020-07-18 10:19:47 +02:00
381740e087 Simplify project names 2020-07-18 10:11:46 +02:00
delvh
da77afdc32 Fixed bug not copying attachment when using copy and send 2020-07-18 09:48:08 +02:00
2e42da87ec Merge pull request #17 from informatik-ag-ngl/f/handshake_sync
Message Synchronization During Handshake
2020-07-18 07:17:35 +00:00
delvh
2e45e375b1 Revised SystemCommand mechanism and implemented theoretical execution 2020-07-17 23:27:54 +02:00
DieGurke
2e4a17c6c5 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
b4225b0d80 Implemented ProfilePics UI mechanism 2020-07-17 13:56:36 +02:00
f135a99fdd Merge branch 'develop' into f/handshake_sync 2020-07-16 22:35:09 +00:00
698e260746 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
47ab5d1e0c 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
delvh
71145bbb24 Added System Commands basics - may change again 2020-07-17 00:23:35 +02:00
DieGurke
62d9df7ae8 Merge branch 'develop' into f/new_ui 2020-07-16 22:11:52 +02:00
DieGurke
b88f260efc Changed color of messageList background 2020-07-16 22:10:04 +02:00
delvh
e104a1f9b4 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
7b693e0328 Fixed some issues 2020-07-16 21:52:07 +02:00
afcf1e48a4 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
a21a5c8588 Improved top bar 2020-07-16 21:13:46 +02:00
delvh
00603bedf6 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
96bfe489da 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
698b57d99d Fixed Bug not updating MessageStatusChanges 2020-07-16 20:34:24 +02:00
DieGurke
c71c038317 Fixed styleSheet mess regarding the Lists 2020-07-16 19:07:27 +02:00
43c1edae39 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
176f6c6463 Fixed bug not enabling the post-button when an attachment is present 2020-07-16 18:23:06 +02:00
DieGurke
bf499da97d Adjusted message Enter bar (field and buttons) and changed color 2020-07-16 18:17:52 +02:00
delvh
c0f4a8e212 Warned user on group creation if he already has a Group with that name 2020-07-16 17:47:59 +02:00
delvh
fb4fd85fe4 Removed the selected user from ContactSearchScene upon addition 2020-07-16 17:36:57 +02:00
delvh
bc355f190f 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
a76c2a347e Relocated existing Components of chatScene and adjusted them a bit 2020-07-16 17:28:00 +02:00
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
DieGurke
e7e4c5af42 Login Scene is not resizable, logo gets loaded correctly 2020-07-16 16:02:03 +02:00
delvh
1e63c1a7d1 Persisted really important statement forever in comment 2020-07-15 21:48:06 +02:00
delvh
c5094e52cd Fixed bug not scrolling to the correct message 2020-07-15 21:44:57 +02:00
DieGurke
9a9a475c0e Implemented completely new UI for the login scene 2020-07-15 18:45:55 +02:00
DieGurke
f608b2d6ec Replaced custom clearableTextField with normal TextField 2020-07-15 14:05:47 +02:00
abd0113588 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
ba336908d1 Add Generic ListViewFactory 2020-07-13 22:08:08 +02:00
4bc393b055 Rename ContactSearchProcessor to UserSearchProcessor 2020-07-13 21:34:21 +02:00
bdd1b40107 Move pull request templates to .github/ 2020-07-13 19:35:17 +02:00
0267a7bbab Fix FXML naming error 2020-07-13 19:16:48 +02:00
a437fb25da Fix FXML formatting 2020-07-13 19:12:03 +02:00
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
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
4b34c4033d Build everything on Linux and Windows 2020-07-13 15:37:27 +02:00