2d8fe8a941
fix(backend): block/mute chat ( #8364 )
...
* no notification when blocked
* no notifications for muted users
* move tests from emssage to notification middleware
* fix test
* also dont update unreadRoomCount when user is muted
---------
Co-authored-by: mahula <lenzmath@posteo.de>
2025-04-15 10:38:48 +02:00
f782032563
refactor(backend): lint - import/order ( #8350 )
...
* lint - import/no-relative-parent-imports
fix build error
* fix md
* lint import/order
enabled rule import/order and fixed impot order in each file
2025-04-09 09:44:48 +02:00
a4f391930c
lint - import/no-relative-parent-imports ( #8349 )
...
enable import/no-relative-parent-imports
2025-04-08 23:18:07 +02:00
f7c381efd8
subscription chatMessageAdded security fix
2023-07-20 13:44:04 +02:00
93aaea4aa1
only take 2000 chat message characters
2023-07-19 11:51:41 +02:00
4a474a6a4a
convert indexId to string (neo4j number problem)
2023-07-18 16:35:18 +02:00
ae2d6c7ad5
fix recipient selection
2023-07-18 10:52:18 +02:00
d7aba44fbe
removed console log and fixed reloading of messages
2023-07-18 10:48:42 +02:00
2e7adb4eb3
Merge branch 'master' into chat-notifications2
2023-07-17 22:29:03 +02:00
Moriz Wahl
2eb94d91e1
no subscription on message query
2023-07-17 18:54:17 +02:00
Moriz Wahl
fb1d540eb2
subscription send on message query
2023-07-17 18:35:10 +02:00
Moriz Wahl
ea28f4afeb
recipient user of message to send subscription, test subscription
2023-07-17 17:33:51 +02:00
Moriz Wahl
884ee1713c
unread room count query as function
2023-07-17 16:36:39 +02:00
45db186dfd
more merge errors
2023-07-17 16:00:08 +02:00
27600f0e79
fix merge error
2023-07-17 15:59:32 +02:00
94bb798d72
Merge branch 'master' into chat-notifications
2023-07-17 15:51:52 +02:00
ced4996f47
implement chatMessageAdded subscription
2023-07-17 14:55:57 +02:00
e09c91235e
properly propagte user into unreadRoomCount subscription
2023-07-17 13:11:33 +02:00
3e60ab6854
room count subscription
2023-07-17 12:41:06 +02:00
9c052ea1cd
start with chat notifications
2023-07-17 11:38:06 +02:00
Moriz Wahl
3d4def7c10
Merge branch 'master' into new-room-properties
2023-07-14 19:56:42 +02:00
Moriz Wahl
4310b3fa48
create message mutation returns full message object
2023-07-14 12:51:54 +02:00
a9ad8c34c8
Merge branch 'master' into message-pagination
2023-07-14 09:13:40 +02:00
Moriz Wahl
032bca1b64
add last message at, use cypher statements for roomName and avatar
2023-07-13 19:09:17 +02:00
bb509ae244
remove comment, reverse order to reduce client workload
2023-07-13 12:17:28 +02:00
Moriz Wahl
5bf933887c
messages created by current user are not set to seen
2023-07-13 11:51:38 +02:00
8065529d0a
reverted change - use forEach instead of for loop
2023-07-13 10:41:55 +02:00
70c310bc88
create indexId when creating the message
2023-07-13 10:40:31 +02:00
0cce43500a
backend implementation for message pagination
2023-07-12 13:36:16 +02:00
Moriz Wahl
9f1f028454
handle seen prop
2023-07-12 11:53:49 +02:00
Moriz Wahl
2ea77b784d
add saved, distributed and seen props. Handle distributed
2023-07-12 11:01:17 +02:00
aaa033c6a3
lint fixes
2023-06-21 16:43:18 +02:00
Moriz Wahl
6a3ec44f4d
feat(backend): message properties
2023-06-20 19:19:54 +02:00
Moriz Wahl
bbfaba83ee
fix(backend): create message mutation
2023-06-20 16:05:19 +02:00
Moriz Wahl
8f86d6fc82
remove message filter from schema, use apoc create uuid
2023-06-20 10:54:41 +02:00
Moriz Wahl
90bf1881f7
message query is working
2023-06-15 16:45:38 +02:00
Moriz Wahl
610d538ca9
message query is not working as expected
2023-06-15 16:26:55 +02:00
Moriz Wahl
d2beca22c9
set up unit tests for messages
2023-06-14 17:27:42 +02:00