Commit Graph

162 Commits

Author SHA1 Message Date
DieGurke
4cbd724203 Added pending MessageStatusChanges READ to Query 2020-07-04 15:59:48 +02:00
DieGurke
39696ca671 Implemented Date name change 2020-07-04 09:31:15 +02:00
DieGurke
75dc563a07 Implemented sending RECEIVED GroupMessageStatusChanges
If a member logs in and receives pending groupMessages, there are now
groupMessageStatusChanges sent to all other members, that are online and
have already received the groupMessage.
2020-07-03 17:46:37 +02:00
DieGurke
4b9cdcb8be Implemented GroupMessageStatusChange handling (not with pending yet) 2020-07-03 16:25:49 +02:00
DieGurke
a9578d6fe6 Implemented PendingGroupMessageStatusChanges for RECEIVED 2020-06-28 16:11:47 +02:00
DieGurke
acf58941ac Fixed error regarding notSerializable exception 2020-06-28 10:33:06 +02:00
DieGurke
cea599ac2f Implemented functionality regarding pending groupMessages (unfinished)
(This was implemented some weeks ago but never pushed (made some
revision))
2020-06-27 21:58:53 +02:00
92f50541af Merge branch 'develop' into f/groupMessages
Conflicts:
	src/main/java/envoy/server/processors/GroupMessageProcessor.java
	src/main/java/envoy/server/processors/MessageProcessor.java
2020-06-27 11:32:08 +02:00
97b7b8070f Merge pull request #43 from informatik-ag-ngl/f/user_name_validation
Validate user name during registration
2020-06-27 09:24:24 +00:00
a4b1ad6d22 Validate user name during registration 2020-06-26 22:04:40 +02:00
b9c26a7206 Merge pull request #41 from informatik-ag-ngl/b/delivery_notification
Fix notifying the sender about a message delivery
2020-06-26 19:53:53 +00:00
delvh
a901d0af49 Fixed monstrosity not showing Envoy logo 2020-06-26 20:48:18 +02:00
e1bfab814c Fix notifying the sender about a message delivery
This addresses bugs in two instances of delivery notification:
* the sender is online -> no event was sent
* the sender comes online later -> wrong status (SENT) was sent
2020-06-25 17:00:41 +02:00
3ba5a0c64e Merge pull request #40 from informatik-ag-ngl/f/compatibility_verification
Compatibility Verification
2020-06-23 16:03:23 +00:00
80d816c4f1 Fix Javadoc author
Co-authored-by: delvh <dev.lh@web.de>
2020-06-23 16:02:12 +00:00
0d7cb38b6d Apply suggestions from code review 2020-06-23 09:12:15 +02:00
2b3acf5238 Merge pull request #37 from informatik-ag-ngl/f/refactor_column_names
Fix JPA validator warnings with explicit column names
2020-06-21 07:15:12 +00:00
e9610b00ce Add simple version comparison algorithm 2020-06-20 14:38:06 +02:00
3660dec859 Shorten event names, refactor, prepare compatibility verification 2020-06-20 13:42:42 +02:00
5bc88634da Create CODEOWNERS 2020-06-15 12:17:26 +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
DieGurke
8b53aab83a GroupMessages get processed the right way now 2020-06-12 23:53:40 +02:00
5f54fe6721 Change default logging level to finest, rename a class 2020-06-12 10:56:02 +02:00
DieGurke
8ad43fecd9 Implemented suggestions from code review 2020-06-11 15:06:06 +02:00
DieGurke
ab745dedcb Adjusted pom.xml 2020-06-11 13:40:30 +02:00
DieGurke
b49ae28260 Added creationDate variable in Contact & added pendingGroups query 2020-06-11 13:22:48 +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
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
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
c40aab9ecb Send ContactOperationEvent to the added contact
+ Updated formatter
2020-06-11 10:44:48 +02:00
d9dd1f0c57 Remove illegal table declaration for single-table inheritance hierarchy 2020-06-11 10:44:47 +02:00
DieGurke
cb01d7139a Make GroupMessage extend Message, prepared GroupMessageStatus processing 2020-06-11 10:44:47 +02:00
3ad47c4c99 Fix typo in JPQL query 2020-06-11 10:44:47 +02:00
DieGurke
a94caede85 Changed unimportant stuff 2020-06-11 10:44:46 +02:00
c2775af8cf Use constants as query names, joined inheritance for contacts 2020-04-24 21:24:19 +02:00
DieGurke
61d2a8d307 Implemented the GroupMessage class 2020-04-18 16:28:38 +02:00
DieGurke
f30732c71e MessageProcessor and GroupMessageProcessor
Moved groupMessage stuff form MessageProcessor to extra class and
finished both processors
2020-04-18 13:27:43 +02:00
delvh
53bde70529 Improved Login security 2020-04-10 15:53:30 +02:00
delvh
cba20900ba fixed bug using wrong id of message 2020-04-09 22:31:20 +02:00
delvh
0704f9a5c3 Contact conversion does not result in endless recursion anymore 2020-04-09 21:01:19 +02:00