Commit Graph

980 Commits

Author SHA1 Message Date
a013802d11 Added onCall interface, InterruptEvent, and a relevance measurement 2020-07-23 16:37:28 +02:00
83852b9e09 Added consistent and safer way to get the currently requested command 2020-07-23 15:50:45 +02:00
74aa00235e Adjusted formatter to new Envoy version 2020-07-23 15:36:23 +02:00
34036d275a Added mechanism to check whether a raw text contains a command 2020-07-23 11:07:54 +02:00
3dd8890d12 Added validity check for commands 2020-07-23 09:23:29 +02:00
98521aea93 Merge branch 'develop' into f/system_commands 2020-07-18 11:27:59 +02:00
e3d2a9e054 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
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
cf0e642122 Fixed bug not copying attachment when using copy and send 2020-07-18 09:48:08 +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
d2303a187d Revised SystemCommand mechanism and implemented theoretical execution 2020-07-17 23:27:54 +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
ce3a4a8979 Added System Commands basics - may change again 2020-07-17 00:23:35 +02:00
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
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
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
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
a17ce52bfa Fixed Bug not updating MessageStatusChanges 2020-07-16 20:34:24 +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
5109605415 Fixed bug not enabling the post-button when an attachment is present 2020-07-16 18:23:06 +02:00
ec700685ac Warned user on group creation if he already has a Group with that name 2020-07-16 17:47:59 +02:00
ae41ab9637 Removed the selected user from ContactSearchScene upon addition 2020-07-16 17:36:57 +02:00
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
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
5f410e5d65 Did some renaming 2020-07-12 17:10:22 +02:00
fb4c58f9ff Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-07-12 16:27:20 +02:00
52766a37ce Removed unnecessary userList refreshing 2020-07-12 14:54:07 +02:00
7b6b3a28f3 Adjusted ChatControl constructor and added Javadoc 2020-07-12 14:46:35 +02:00