Commit Graph

1004 Commits

Author SHA1 Message Date
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
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
563499e9cf
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
bcb978ce59
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
0670a1fb47
Build everything on Linux and Windows 2020-07-13 15:37:27 +02:00
95bb4b7234
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
b9311424df
Move Envoy Common to common/ subdirectory 2020-07-13 11:42:20 +02:00
fa2b1d56a4
Merge remote-tracking branch 'common/develop' into develop 2020-07-13 11:40:56 +02:00
e6e0e939a9
Move Envoy Server Standalone to server/ subdirectory 2020-07-13 11:40:00 +02:00
2bbdb82168
Merge remote-tracking branch 'server/develop' into develop 2020-07-13 11:38:42 +02:00
9dac11ecfd
Move Envoy Client to client/ subdirectory 2020-07-13 11:37:45 +02:00
e7989878cf
Merge remote-tracking branch 'client/develop' into develop 2020-07-13 11:33:19 +02:00
d42882e97b
Initial commit 2020-07-13 11:30:57 +02:00
46e859c2c3
Merge pull request #186 from informatik-ag-ngl/f/displayUnreadMessages
Displaying unread messages amount
2020-07-13 09:02:44 +00:00
6f4ad4608a
Remove unnecessary empty line
Co-authored-by: delvh <dev.lh@web.de>
2020-07-13 08:47:44 +00:00
DieGurke
5f410e5d65 Did some renaming 2020-07-12 17:10:22 +02:00
DieGurke
fb4c58f9ff
Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-07-12 16:27:20 +02:00
DieGurke
52766a37ce Removed unnecessary userList refreshing 2020-07-12 14:54:07 +02:00
DieGurke
7b6b3a28f3 Adjusted ChatControl constructor and added Javadoc 2020-07-12 14:46:35 +02:00
DieGurke
d2ec04b568 Implemented good suggestion by @delvh regarding performance increase 2020-07-12 14:34:07 +02:00
DieGurke
d8eb2d6f6e Implemented some suggestions made by @delvh 2020-07-12 13:07:46 +02:00
800ec9f549
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
0c6b2f6f3b Tweaked random parameters a bit 2020-07-11 21:45:54 +02:00
delvh
b847608c6b implemented "DO A BARREL ROLL!" - Easteregg 2020-07-11 15:23:57 +02:00
DieGurke
b5e83272a6 When opening a chat holding unread messages, it scrolls to the first one 2020-07-11 14:57:15 +02:00
DieGurke
9111880dcf Little Bug Fix 2020-07-11 14:46:13 +02:00
DieGurke
5caa5381b0 chats with most recent messages get moved to the top 2020-07-11 14:18:38 +02:00
DieGurke
77911e8f9a Merge branch 'develop' into f/display_unread_messages 2020-07-11 10:59:23 +02:00
DieGurke
d1368d43c8 UI isn't shown if there arn't any unread messages 2020-07-11 10:46:17 +02:00
DieGurke
022b516ceb Implemented nice UI 2020-07-11 10:40:42 +02:00
ef43150941
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
d503655534
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
c46faccb73
Add strong salted password hashing using PBKDF2 2020-07-11 09:25:42 +02:00
4b4fbaeee3
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
704d7cf7ee
Merge branch 'develop' into f/password_in_login_credentials 2020-07-11 09:21:49 +02:00
718937cdec
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
6cb9c41ea0 UnreadMessagesAmount gets displayed correctly now (despite refresh bug) 2020-07-10 23:25:55 +02:00
99efe40521
Fix Javadoc typo
Co-authored-by: delvh <dev.lh@web.de>
2020-07-10 21:05:57 +00:00
DieGurke
11b3cebcb9 Added getUnreadAmount function and changed ContactListCellFac' constr. 2020-07-10 22:41:59 +02:00
delvh
16f8d73a7c Added image preview when an image is used as attachment
additionally:
- added search icons
- solved problem of Scrollbars being shown too far from the right side
(all praise FX, Swing did not offer such a simple solution)
- relocated infoLabel into the highest row, is now located above the
messageList
2020-07-10 20:53:28 +02:00
delvh
5bd80a2ebc Added maximum size for displaying sent images
additionally:
- made selecting of bmp or gif images possible
- defined a DEFAULT_ICON_SIZE in which most icons are loaded
- displayed attachment button with attachment icon
2020-07-09 22:47:29 +02:00
0e4fec100a
Merge pull request #182 from informatik-ag-ngl/f/cache_map
Add CacheMap
2020-07-09 18:12:20 +00:00
6db489c868
Add attachment creation support, display picture messages 2020-07-09 16:16:06 +02:00
cc860d19c1
Improve a comment
Co-authored-by: delvh <dev.lh@web.de>
2020-07-09 14:07:34 +00:00
f7ac79d872
Fix hideous timing bug 2020-07-09 15:18:06 +02:00