652 Commits

Author SHA1 Message Date
5be2fe28b0
Merge branch 'master' into eslint-backend 2023-06-21 17:11:57 +02:00
373e915a14
make content optional parameter 2023-06-21 16:47:08 +02:00
ef7bc9283e
js -> ts rename 2023-06-21 16:43:29 +02:00
aaa033c6a3
lint fixes 2023-06-21 16:43:18 +02:00
ec4eff86f7
remove activity pub middleware 2023-06-20 18:47:50 +02:00
Moriz Wahl
31d81aa2dd Merge branch 'master' into messages 2023-06-20 10:47:27 +02:00
Moriz Wahl
62b9b3c55a
Merge branch 'master' into rooms 2023-06-20 09:21:27 +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
ae131cc656 add permissions for messages 2023-06-14 16:15:28 +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
d548fc2b84 simple create room mutation 2023-06-14 12:09:52 +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
b1c3559806
middleware 2023-06-12 14:07:12 +02:00
ebddfa7df4
all files as .ts 2023-06-12 13:25:21 +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
0c4b789da1
remove write rights where its not needed 2023-05-22 16:58:19 +02:00
Moriz Wahl
5f38c74d82 fix flaky test 2023-03-16 16:08:33 +01:00
Moriz Wahl
6adfac1c7b notify user when removed from group 2023-03-16 16:01:46 +01:00
Moriz Wahl
35f3da9984 notify user when role in group changed 2023-03-16 15:31:09 +01:00
Moriz Wahl
a25e6eb326 notify leave group 2023-03-16 15:09:19 +01:00
Moriz Wahl
997dff4dec add related user to notified model 2023-03-15 17:34:16 +01:00
Moriz Wahl
28952567b0 feat(backend): notifications for groups 2023-03-15 15:27:22 +01:00
Moriz Wahl
5bd831752d
Merge branch 'master' into feature/mark-all-notification-as-read 2023-03-09 13:23:09 +01:00
Moriz Wahl
bdc1cb33da Merge branch 'master' into feature/mark-all-notification-as-read 2023-03-08 16:50:02 +01:00
Moriz Wahl
bd11c33f91
Merge branch 'master' into remove-user-from-group 2023-03-08 16:00:19 +01:00
Moriz Wahl
db8ad8897e same cypher for removeUserFromGroup and leaveGroup, adjust tests, admin cannot remove users fro group 2023-03-06 14:11:55 +01:00
Moriz Wahl
cd3e2ee8ad test remove user from group mutation 2023-03-03 17:29:48 +01:00
Moriz Wahl
de7dded197 add permisson for removeUserFromGroup 2023-03-03 16:42:49 +01:00
elweyn
10a22487ef Withdrew helper/jest.js and replace it with graphql-tag 2023-02-23 09:06:41 +01:00
Moriz Wahl
7b3d530023 close neo4j driver at the end of each test suite 2023-02-13 15:31:58 +01:00
Moriz Wahl
88de09b1ba test that existing emails do not throw anymore 2023-01-27 16:03:27 +01:00
Moriz Wahl
78b8d18c4e fix(backend): do not throw when email exists on registration 2023-01-27 15:41:49 +01:00
Moriz Wahl
3e6566bff5 do not sanitize description of embed 2022-11-24 18:24:53 +01:00
Moriz Wahl
cff0d1601f fix(backend): sanitize group description 2022-11-24 17:52:12 +01:00
Wolfgang Huß
b398eabf47 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into feature/mark-all-notification-as-read
# Conflicts:
#	webapp/locales/it.json
2022-11-16 11:45:19 +01:00
Wolfgang Huß
e2f0e83c6f Move db/graphql folder content to graphql – backend 2022-11-09 09:08:17 +01:00
Moriz Wahl
cb57e09d30 change variable names for better understanding 2022-11-07 17:49:36 +01:00
Moriz Wahl
a1fcc40432 fix: Member of Group Cannot Be Added as New Member 2022-11-07 16:57:16 +01:00
Moriz Wahl
5efb530d42
Merge pull request #5599 from Ocelot-Social-Community/comments-on-posts-in-groups
feat: Restrict Comments on Posts in Groups
2022-10-27 20:43:55 +02:00
Moriz Wahl
831cb20952
Merge pull request #5583 from Ocelot-Social-Community/update-group-avatar-on-upload
fix: 🍰 Update Group Avatar After Upload
2022-10-27 14:51:33 +02:00
Moriz Wahl
5f4bf58dc6 feat: Restrict Comments on Posts in Groups 2022-10-27 14:06:42 +02:00
Moriz Wahl
f8c4b74be1 when avatar is uploaded, the description is not present. Therefore no descriptionExcerpt should be created in middleware 2022-10-27 13:02:05 +02:00
Wolfgang Huß
c42c1b2ef6 Fix group slug tests 2022-10-27 12:28:37 +02:00
Wolfgang Huß
932572049b Fix not correct working change of slug in group settings 2022-10-27 12:27:51 +02:00
Moriz Wahl
5b66edb387 add group count query 2022-10-26 13:49:25 +02:00
Moriz Wahl
57bbe4c6e8 allow search groups in permission middleware, add user id to search groups query 2022-10-21 18:34:48 +02:00
Moriz Wahl
a4cd7a8698 test search posts with groups 2022-10-05 21:54:52 +02:00
Moriz Wahl
aa870b5020 searches need authorization as they are not working without user id in context 2022-10-05 08:57:13 +02:00