1082 Commits

Author SHA1 Message Date
Moriz Wahl
1ac3553200
Merge branch 'master' into new-room-properties 2023-07-17 13:06:35 +02:00
Moriz Wahl
590819a7a4 Merge branch 'master' into new-room-properties 2023-07-17 11:54:12 +02:00
Moriz Wahl
4afd688fbe count unread messages on create room 2023-07-17 11:50:59 +02:00
882435e54c
lint fix 2023-07-17 11:40:07 +02:00
d75566a8ce
sender user 2023-07-17 10:30:12 +02:00
b6fe28e1c4
fix test, test pagination properly 2023-07-17 10:29:32 +02:00
1e77e9aec0
Merge branch 'master' into unread-rooms-query 2023-07-17 10:23:56 +02:00
1e7f579378
adjust tests 2023-07-15 12:51:43 +02:00
66cd66d71a
test room pagination and singleRoom query 2023-07-15 12:03:53 +02:00
Moriz Wahl
3d4def7c10
Merge branch 'master' into new-room-properties 2023-07-14 19:56:42 +02:00
Moriz Wahl
d7746e5904 clean db after all 2023-07-14 14:44:41 +02:00
Moriz Wahl
09be4d3442 test unread rooms query 2023-07-14 14:40:38 +02:00
Moriz Wahl
f4567b14ff feat(backend): unread rooms query 2023-07-14 13:25:57 +02:00
Moriz Wahl
4310b3fa48 create message mutation returns full message object 2023-07-14 12:51:54 +02:00
Moriz Wahl
b9b9fea1dd test unread count 2023-07-14 12:38:46 +02:00
Moriz Wahl
1fd67aa581 add unreadCount property 2023-07-14 12:34:12 +02:00
Moriz Wahl
2fe93892a1 full room object for create room mutation 2023-07-14 12:21:40 +02:00
Moriz Wahl
1d92b40f50 lastMessage in room working 2023-07-14 11:52:51 +02:00
a9ad8c34c8
Merge branch 'master' into message-pagination 2023-07-14 09:13:40 +02:00
Moriz Wahl
5376e171bd trying last message prop in room 2023-07-14 09:11:32 +02:00
Moriz Wahl
032bca1b64 add last message at, use cypher statements for roomName and avatar 2023-07-13 19:09:17 +02:00
4b9e7da1ba
typo 2023-07-13 12:30:02 +02:00
a961f88cff
indexId as Int not String 2023-07-13 12:28:54 +02:00
06b15dcd5c
expect specific order of elements when querying, fix pagination query 2023-07-13 12:18:05 +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
a82e76f366
test message ordering & pagination 2023-07-13 11:13:06 +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
a4bb523cb4
unit test for error when creating room with self 2023-07-11 12:57:37 +02:00
073adbe48c
do not allow to create room with self 2023-07-11 11:19:01 +02:00
5f2cfdeab4
backend room hacks 2023-07-10 11:53:20 +02:00
f5c2fe7770
Merge branch 'master' into eslint-backend 2023-07-06 12:06:15 +02:00
fa19e89174
fix test - describes cant be asnyc 2023-06-22 15:13:48 +02:00
aaa033c6a3
lint fixes 2023-06-21 16:43:18 +02:00
Moriz Wahl
07d10c8e4c fix(backend): notifications 2023-06-21 14:29:56 +02:00
Moriz Wahl
02ffdda69d
Merge branch 'master' into message-properties 2023-06-20 20:24:28 +02:00
Moriz Wahl
6a3ec44f4d feat(backend): message properties 2023-06-20 19:19:54 +02:00
Moriz Wahl
45602119ca
Merge branch 'master' into room-properties 2023-06-20 16:47:53 +02:00
Moriz Wahl
9062e1d248 Merge branch 'master' into room-properties 2023-06-20 16:40:19 +02:00
Moriz Wahl
bbfaba83ee fix(backend): create message mutation 2023-06-20 16:05:19 +02:00
Moriz Wahl
45ef5be81b test with second message 2023-06-20 11:20:44 +02:00
Moriz Wahl
1ee8e488a3
Update backend/src/schema/resolvers/messages.spec.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2023-06-20 11:04:43 +02:00
Moriz Wahl
8f86d6fc82 remove message filter from schema, use apoc create uuid 2023-06-20 10:54:41 +02:00
Moriz Wahl
31d81aa2dd Merge branch 'master' into messages 2023-06-20 10:47:27 +02:00
Moriz Wahl
23c0ea48a7 Merge branch 'rooms' of github.com:Ocelot-Social-Community/Ocelot-Social into rooms 2023-06-20 09:25:54 +02:00
Moriz Wahl
85950843f7 add spaces 2023-06-20 09:25:23 +02:00