1153 Commits

Author SHA1 Message Date
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
Moriz Wahl
62b9b3c55a
Merge branch 'master' into rooms 2023-06-20 09:21:27 +02:00
Moriz Wahl
3a95e25e1c add test for room creation with existing user id 2023-06-20 09:18:50 +02:00
Moriz Wahl
66652cf74e remove doubled await 2023-06-20 09:10:52 +02:00
Moriz Wahl
f86367e340 fix typo, comment room filter 2023-06-20 09:09:27 +02:00
Moriz Wahl
8063e58ef2 use apoc.create.uuid to set id 2023-06-20 09:02:32 +02:00
Moriz Wahl
0cdbf17fbf remove semicolon 2023-06-20 08:53:24 +02:00
75bd7dbc36
fixed report queries 2023-06-16 23:00:59 +02:00
df139c9937
use list comprehension instead of filter(not supported anymore in 4.4) 2023-06-16 15:34:27 +02:00
23c2be3093
Merge branch 'master' into update-database 2023-06-16 15:02:58 +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
5dd4a1af80
comment to explain the bug 2023-06-15 13:58:26 +02:00
0432d3277e
fixed why production didnt work 2023-06-15 13:57:13 +02:00
Moriz Wahl
d2beca22c9 set up unit tests for messages 2023-06-14 17:27:42 +02:00
Moriz Wahl
bb8a745566 simple message create mutation and query 2023-06-14 16:14:19 +02:00
Moriz Wahl
5b859bbcb5 test roomms resolver 2023-06-14 15:38:05 +02:00
Moriz Wahl
a51f357357 filter that only the rooms of the current user are returned 2023-06-14 15:00:23 +02:00
Moriz Wahl
fc50d69bff simple room query 2023-06-14 12:47:00 +02:00
Moriz Wahl
8b037ffa73 fix room properties 2023-06-14 12:16:44 +02:00
Moriz Wahl
d548fc2b84 simple create room mutation 2023-06-14 12:09:52 +02:00
4f033efaa7
fixed wrong removal of .js 2023-06-13 17:16:11 +02:00
9baab693fc
fix spacing 2023-06-13 17:11:39 +02:00
5feeab9182
fixed typescript error on embeds.spec 2023-06-13 16:56:00 +02:00
d60b2e1544
type for mockedFetch 2023-06-13 16:22:57 +02:00
73d0cc4a1c
fix several tests to fit typescript requirements 2023-06-13 14:07:59 +02:00
c436cb52b1
corrected file endings or removed them where possible 2023-06-12 14:26:52 +02:00
6748d6082e
resolvers 2023-06-12 14:07:20 +02:00
ebddfa7df4
all files as .ts 2023-06-12 13:25:21 +02:00
Hannes Heine
719f7c52b6
Merge branch 'master' into merge-6336-into-6339-optimize-event-create-and-update 2023-06-08 18:45:55 +02:00
Moriz Wahl
02ef59184c check if filter is present 2023-06-08 17:58:52 +02:00
Moriz Wahl
0d6ea1d7ba
Merge branch 'master' into show-events-not-ended-yet 2023-06-08 17:30:20 +02:00
Moriz Wahl
1d903798cd ensure that __typename of Post is a known value. labels(resource)[0] may return Article or Event in the case of Post 2023-06-08 16:01:27 +02:00
Moriz Wahl
39ed8f1b81 feat(backend): filter for event end date as well 2023-06-08 14:24:00 +02:00
Wolfgang Huß
65b8780786
Merge branch 'master' into merge-6336-into-6339-optimize-event-create-and-update 2023-06-07 21:34:47 +02:00
elweyn
e18baf34f3 Fix linting of backend. 2023-06-07 17:09:19 +02:00
elweyn
387fa9bfcb Fix events helper. 2023-06-07 16:03:30 +02:00
elweyn
3dadfd4329 Add a trim to check if locationName is not empty. 2023-06-07 12:34:09 +02:00
elweyn
de553e1f82 Make eventEnd removable.
Co-authored-by: maeckes <markus@infinity.labs.ooo>
2023-06-07 12:27:09 +02:00
Wolfgang Huß
b153619b9f Fix typo in backend 'filter-posts.spec.js' 2023-06-07 09:03:17 +02:00
0812d9d992
properly include author of post aswell 2023-06-05 10:13:22 +02:00
b0121990ba
try using optionalAuthors 2023-06-03 03:48:41 +02:00
832763022d
also include author 2023-06-03 03:02:22 +02:00
Moriz Wahl
0b4e309611 Merge branch 'master' into alternate-solution-filter-order-post-types 2023-06-02 18:13:58 +02:00
ac087edcb8
include posttype in cypher query 2023-06-02 13:13:06 +02:00
733a88bb26
try to fix result if promise resolves to null or invalid 2023-06-02 11:42:15 +02:00