3915 Commits

Author SHA1 Message Date
1e7f579378
adjust tests 2023-07-15 12:51:43 +02:00
661c2f1b71
implement room order 2023-07-15 12:51:33 +02:00
66cd66d71a
test room pagination and singleRoom query 2023-07-15 12:03:53 +02:00
5f4a973e2a
backend allow room filter by id for single rooms 2023-07-15 10:38:35 +02:00
dependabot[bot]
ae0c6f12bd
Bump @babel/preset-env from 7.9.5 to 7.22.9 in /backend
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.9.5 to 7.22.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.9/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15 02:05:07 +00: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
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