3904 Commits

Author SHA1 Message Date
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
54cf5b37a5
order by indexId instead of createdAt 2023-07-14 11:09:04 +02:00
55b3bc999a
use a prime for seeding to allow testing of the pagination 2023-07-14 10:59:38 +02:00
eae7b53adf
reduce message count to 1000 instead of 10000 to reduce seed time 2023-07-14 10:56:02 +02:00
75b63c3caa
Merge branch 'master' into chat-seed 2023-07-14 10:42:45 +02:00
f9da762253
implemented chat seed 2023-07-14 10:42:20 +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
Moriz Wahl
7864809036
Merge branch 'master' into more-message-props 2023-07-13 15:17:07 +02:00
7b23f753ac
Merge branch 'master' into refactor-seed 2023-07-13 14:29:43 +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
481158f815
message type definition 2023-07-12 13:15:27 +02:00
Moriz Wahl
9f1f028454 handle seen prop 2023-07-12 11:53:49 +02:00
Wolfgang Huß
c51ded7b73 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6436-show-the-event-on-the-map 2023-07-12 11:17:20 +02:00
Moriz Wahl
2ea77b784d add saved, distributed and seen props. Handle distributed 2023-07-12 11:01:17 +02:00
a6af78f777
reduce coverage to 67% 2023-07-11 15:44:16 +02:00
6255d9b11b
Merge branch 'master' into refactor-seed 2023-07-11 15:42:44 +02:00
Wolfgang Huß
2ffe3a2fd4 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6436-show-the-event-on-the-map 2023-07-11 13:27:36 +02:00
Wolfgang Huß
c3912304f4 Fix formating 2023-07-11 13:24:55 +02:00
Wolfgang Huß
737a8f4380 Revert "Try to filter only for events with location"
This reverts commit f247e6bd7b7554442493b799780186b916890043.
2023-07-11 13:20:38 +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
1b0f512415
fix seed to not use promise all where easily refactored 2023-07-10 12:58:39 +02:00
5f2cfdeab4
backend room hacks 2023-07-10 11:53:20 +02:00
Wolfgang Huß
f89f821dc4 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6436-show-the-event-on-the-map 2023-07-10 11:20:25 +02:00
4de840f2ea
fix build paths 2023-07-07 23:09:02 +02:00
4fb884c9eb
fix copy script 2023-07-07 11:56:28 +02:00
597a6f9015
start node in build/src 2023-07-07 11:56:00 +02:00
f5c2fe7770
Merge branch 'master' into eslint-backend 2023-07-06 12:06:15 +02:00
Wolfgang Huß
64f159e82f Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6436-show-the-event-on-the-map 2023-06-27 12:54:15 +02:00
Wolfgang Huß
f247e6bd7b Try to filter only for events with location 2023-06-27 12:53:47 +02:00
0a40357160
fix lint 2023-06-22 16:23:34 +02:00
844c870642
Merge branch 'master' into eslint-backend 2023-06-22 15:15:44 +02:00
c9547ef662
lint fixes 2023-06-22 15:13:56 +02:00
fa19e89174
fix test - describes cant be asnyc 2023-06-22 15:13:48 +02:00
Moriz Wahl
b3fec7bf6f
Merge branch 'master' into fix-subscriptions 2023-06-21 19:28:27 +02:00
Moriz Wahl
d3b3e50278
Merge branch 'master' into fix-reports-seed 2023-06-21 17:59:31 +02:00
Moriz Wahl
ed9fefbf76
Update backend/src/db/seed.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2023-06-21 17:59:20 +02:00
5be2fe28b0
Merge branch 'master' into eslint-backend 2023-06-21 17:11:57 +02:00