Commit Graph

943 Commits

Author SHA1 Message Date
9193468213 Replace Date by LocalDateTime
Closes #22
2020-06-20 09:08:06 +02:00
delvh
5cb3de37ad Fixed incorrect logger statement
No one needs redundancy in a logging statement, right?

Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-19 17:07:33 +02:00
delvh
ef40c171d9 Fixed invisibility bug 2020-06-19 16:57:20 +02:00
bb6360d2a7 Add read-only clientVersion property to LoginCredentials
This is just a regular string that can be used to confirm the
compatibility between client and server.
2020-06-19 15:56:45 +02:00
delvh
f513480020 Improved general appearance of Envoy 2020-06-18 22:20:34 +02:00
13b4626737 Create CODEOWNERS 2020-06-15 12:17:56 +02:00
5bc88634da Create CODEOWNERS 2020-06-15 12:17:26 +02:00
6b204ca8db Create CODEOWNERS 2020-06-15 12:16:25 +02:00
872b71fbe9 Fix JPA validator warnings with explicit column names
Due to a bug in the JPA validator columns with camel case names are
flagged as missing (probably due to the case-insensitive nature of SQL).
This has been circumvented by assigning every column with a camel case
name a new name with underscores.

The inheritance strategy of the Contacts class has been changed to
single table for performance reasons.
2020-06-15 11:59:48 +02:00
83cec5c311 Merge pull request #36 from informatik-ag-ngl/f/groups
Group handling & groupMessage handling (unfinished)
2020-06-15 08:57:12 +02:00
07e84448c5 Some refactorings based on suggestions from @delvh 2020-06-14 16:40:51 +02:00
d9175721cc Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-06-14 16:30:46 +02:00
delvh
c162376589 Merge branch 'develop' into b/postbutton_bug_and_logging 2020-06-14 16:18:02 +02:00
delvh
092caaef9f Applying suggestions from code review 2 2020-06-14 16:11:46 +02:00
delvh
2653ec5fee Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-14 16:03:02 +02:00
eae3ed1cdb Merge pull request #145 from informatik-ag-ngl/f/read_status
Reading the current chat if it changes or a message is received
2020-06-14 14:18:44 +02:00
delvh
3960f955d8 Fixed multiple bugs concerning enterToSend and the postButton 2020-06-13 22:38:49 +02:00
delvh
9bf28acfcb Added improved logging capabilities 2020-06-13 22:36:52 +02:00
c87ab7c9e1 Store user specific local database information inside a single file
Closes #141
2020-06-13 18:46:41 +02:00
f7de07aca2 Make SerializationUtils#write variadic 2020-06-13 18:32:24 +02:00
ec923b5620 Reformat a logger statement
Co-authored-by: delvh <dev.lh@web.de>
2020-06-13 17:00:44 +02:00
delvh
b3c74562d7 Added sample log entry to visualize log formatting 2020-06-13 16:57:42 +02:00
DieGurke
2d92a3afcb Merge pull request #143 from informatik-ag-ngl/f/groups
Group Creation and working MessageStatus delivery (NO READ)
2020-06-13 14:44:28 +02:00
DieGurke
7a11b556d9 Added ReceivedGroupMessageProcessor
Receiving groupMessages works now properly(only if online)
2020-06-13 10:40:47 +02:00
DieGurke
8b53aab83a GroupMessages get processed the right way now 2020-06-12 23:53:40 +02:00
DieGurke
8826d0c3d3 Added support for sending groupMessages
* Implemented distinguishing between regular messages and groupMessages
when sending messages to the server (and sends the right object
obviously)
2020-06-12 23:50:52 +02:00
5f54fe6721 Change default logging level to finest, rename a class 2020-06-12 10:56:02 +02:00
6c7a80c708 Reading the current chat if it changes or a message is received
Closes #144
2020-06-12 10:54:55 +02:00
DieGurke
1a8c7dcfea Update src/main/java/envoy/client/ui/controller/GroupCreationScene.java
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-11 15:06:59 +02:00
DieGurke
8ad43fecd9 Implemented suggestions from code review 2020-06-11 15:06:06 +02:00
DieGurke
942c2faf27 Merge pull request #19 from informatik-ag-ngl/f/groups
Added support for groups
2020-06-11 14:01:09 +02:00
DieGurke
ad3f298593 Resolved requests 2020-06-11 14:00:07 +02:00
DieGurke
439e274c37 Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <CyB3RC0nN0R@users.noreply.github.com>
2020-06-11 13:55:38 +02:00
DieGurke
ab745dedcb Adjusted pom.xml 2020-06-11 13:40:30 +02:00
DieGurke
97d58f70f5 Adjusted pom.xml 2020-06-11 13:39:38 +02:00
DieGurke
b49ae28260 Added creationDate variable in Contact & added pendingGroups query 2020-06-11 13:22:48 +02:00
DieGurke
7025cabd2f Fixed issue reagarding missing chats 2020-06-11 13:21:16 +02:00
1026ca4f8d Immediately flush the console log 2020-06-11 12:14:20 +02:00
838ed69592 Logging envoy messages only 2020-06-11 12:08:51 +02:00
d6e4c54b75 Replaces print statements by logger calls
Closes #34
2020-06-11 12:06:06 +02:00
7e14bb5cd8 Use EnvoyLog for all packages 2020-06-11 11:45:17 +02:00
b92a1630a1 Add config initialization with a map of config items 2020-06-11 11:24:00 +02:00
fd1d7e5473 Resolved JPA validation errors
These were partially caused by an old Hibernate validator which has now
been replaced by the EclipseLink validator for the current JPA standard.
Another error was caused by the use of non-standard JPQL in the user
search query which has now been replaced by a standardized one.
2020-06-11 11:17:22 +02:00
51e148e2ec Add Javadoc for hashCode and equals methods of Contact 2020-06-11 11:05:38 +02:00
34d4a15fb1 Fix privileges in drop_all_tables.sql 2020-06-11 10:44:49 +02:00
DieGurke
05822cf13d Fixed issue regarding the sender of a message not getting an MSCEvent
Added messageStatusChangeEvent sending to online sender if recipient
logs in and sender is online at the same time
2020-06-11 10:44:49 +02:00
DieGurke
4bf1fbbc59 Fixed invalid MessageStatusChangeEvent sending
The sender got a messageStatusChangeEvent even if the status was still
sent from the server and couldn't process it.
The server does not send this unnecessary event even more
2020-06-11 10:44:49 +02:00
DieGurke
72da2d46ca Started implementing group message status handling
* Group creation works
2020-06-11 10:44:48 +02:00
delvh
05f4fd33f5 Added debugging statement when sending an object 2020-06-11 10:44:48 +02:00
5ea896d52b Add SQL script for dropping all tables 2020-06-11 10:44:48 +02:00