Commit Graph

1210 Commits

Author SHA1 Message Date
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
3023039f50 Refactor Maven Project Structure
- Convert client/, common/ and server/ to modules
- Add parent pom.xml
- Update templates and workflow
- Remove old documentation
2020-07-13 15:16:22 +02:00
34337c3838 Move Envoy Common to common/ subdirectory 2020-07-13 11:42:20 +02:00
79cb8e821c Merge remote-tracking branch 'common/develop' into develop 2020-07-13 11:40:56 +02:00
40dbc8152a Move Envoy Server Standalone to server/ subdirectory 2020-07-13 11:40:00 +02:00
ddbab84700 Merge remote-tracking branch 'server/develop' into develop 2020-07-13 11:38:42 +02:00
0309d0d860 Move Envoy Client to client/ subdirectory 2020-07-13 11:37:45 +02:00
0c4d807e41 Merge remote-tracking branch 'client/develop' into develop 2020-07-13 11:33:19 +02:00
4ea3c8aa67 Initial commit 2020-07-13 11:30:57 +02:00
540dad79eb Merge pull request #186 from informatik-ag-ngl/f/displayUnreadMessages
Displaying unread messages amount
2020-07-13 09:02:44 +00:00
2901d52a31 Remove unnecessary empty line
Co-authored-by: delvh <dev.lh@web.de>
2020-07-13 08:47:44 +00:00
DieGurke
64f7ae4071 Did some renaming 2020-07-12 17:10:22 +02:00
DieGurke
7d47c9247d Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-07-12 16:27:20 +02:00
DieGurke
780f52640b Removed unnecessary userList refreshing 2020-07-12 14:54:07 +02:00
DieGurke
95cead4dee Adjusted ChatControl constructor and added Javadoc 2020-07-12 14:46:35 +02:00
DieGurke
a6efe7cd9b Implemented good suggestion by @delvh regarding performance increase 2020-07-12 14:34:07 +02:00
DieGurke
4b3fa65822 Implemented some suggestions made by @delvh 2020-07-12 13:07:46 +02:00
7eefaa3556 Merge pull request #187 from informatik-ag-ngl/f/do_a_barrel_roll
implemented "DO A BARREL ROLL!" - Easteregg
2020-07-12 09:52:14 +00:00
delvh
ebca09ed2b Tweaked random parameters a bit 2020-07-11 21:45:54 +02:00
delvh
f0c5faf352 implemented "DO A BARREL ROLL!" - Easteregg 2020-07-11 15:23:57 +02:00
DieGurke
0b0b240fb1 When opening a chat holding unread messages, it scrolls to the first one 2020-07-11 14:57:15 +02:00
DieGurke
0cebaeacb5 Little Bug Fix 2020-07-11 14:46:13 +02:00
DieGurke
ba4fdbe2f4 chats with most recent messages get moved to the top 2020-07-11 14:18:38 +02:00
DieGurke
d6dca1efe0 Merge branch 'develop' into f/display_unread_messages 2020-07-11 10:59:23 +02:00
DieGurke
faea75dcb1 UI isn't shown if there arn't any unread messages 2020-07-11 10:46:17 +02:00
DieGurke
d675349c71 Implemented nice UI 2020-07-11 10:40:42 +02:00
408ac53777 Merge pull request #183 from informatik-ag-ngl/f/pictures
Add attachment creation support, display picture messages
2020-07-11 08:01:23 +00:00
32b832f51a Merge pull request #49 from informatik-ag-ngl/f/password_in_login_credentials
Add strong salted password hashing using PBKDF2
2020-07-11 07:26:16 +00:00
1f44d03934 Add strong salted password hashing using PBKDF2 2020-07-11 09:25:42 +02:00
1c3d4baf06 Merge pull request #181 from informatik-ag-ngl/f/password_in_login_credentials
Adjust to new LoginCredentials API
2020-07-11 07:24:47 +00:00
7f23adae1b Merge branch 'develop' into f/password_in_login_credentials 2020-07-11 09:21:49 +02:00
f12cc25b43 Merge pull request #30 from informatik-ag-ngl/f/password_in_login_credentials
Store password instead of password hash in LoginCredentials
2020-07-11 07:14:12 +00:00
DieGurke
70da595a49 UnreadMessagesAmount gets displayed correctly now (despite refresh bug) 2020-07-10 23:25:55 +02:00
de136294af Fix Javadoc typo
Co-authored-by: delvh <dev.lh@web.de>
2020-07-10 21:05:57 +00:00
DieGurke
1f7e5e5a3a Added getUnreadAmount function and changed ContactListCellFac' constr. 2020-07-10 22:41:59 +02:00