3432 Commits

Author SHA1 Message Date
Moriz Wahl
275d196cb6 further testting for post visibility 2022-10-04 05:04:42 +02:00
Moriz Wahl
068d622c44 createPostMutation as function 2022-10-04 05:03:39 +02:00
Moriz Wahl
77125e404f createPostMutation as function 2022-10-04 05:03:02 +02:00
Moriz Wahl
4331c73414 test post invisibility for unauthenticated users 2022-10-04 02:28:42 +02:00
Moriz Wahl
32d3c5e904 insure that user context is present as posts can be queried without authentication 2022-10-04 02:27:45 +02:00
Moriz Wahl
16a24bfddf remove not working filters from schema 2022-10-04 02:02:59 +02:00
Moriz Wahl
833bd5ff77 use invisible post filter 2022-10-04 02:01:59 +02:00
Moriz Wahl
069eefde17 add helper function to filter invisible posts 2022-10-04 01:59:32 +02:00
Moriz Wahl
4a12cdf9e2 remove unused memberIds statement 2022-10-03 22:43:46 +02:00
Moriz Wahl
4a63e1449e calls to query and mutate are functions 2022-10-03 22:42:08 +02:00
Moriz Wahl
abcfe259a0 query and mutations are functions 2022-10-03 22:41:25 +02:00
Moriz Wahl
5f4d7c2bf3 add notVisibleFor statement 2022-10-03 22:40:54 +02:00
Moriz Wahl
1870efc3d0 add CANNOT_SEE relation to posts in groups 2022-10-03 22:36:46 +02:00
Moriz Wahl
b259295094 Merge branch '5059-epic-groups' into post-in-group 2022-10-03 13:16:20 +02:00
Wolfgang Huß
5392da0983 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups 2022-09-24 18:18:20 +02:00
Wolfgang Huß
a618366619 Release v1.1.1 - refactor rebranding 2022-09-22 20:02:34 +02:00
ogerly
858739eaa0 fix review 2022-09-22 18:42:58 +02:00
Moriz Wahl
a9cd661e63 add tets for posts in groups 2022-09-22 08:17:09 +02:00
Moriz Wahl
e748fcc623 add is member of group check to permission of create post 2022-09-22 08:16:44 +02:00
Moriz Wahl
4d480d3130 add post query 2022-09-22 08:16:06 +02:00
Moriz Wahl
5e30bfe2ed add direction of Post in Group 2022-09-20 20:30:00 +02:00
Moriz Wahl
0c32fd8023 add post access filter for all post queries 2022-09-20 20:20:55 +02:00
Moriz Wahl
f331813572 create post in group 2022-09-20 19:08:54 +02:00
Moriz Wahl
90e1696f86 add group to post in schema 2022-09-20 18:53:00 +02:00
Wolfgang Huß
25c26ce158 test group profile page, a start 2022-09-20 13:03:00 +02:00
Wolfgang Huß
98b9e3d092 Rename 'isAllowedSeeingMembersOfGroup' to 'isAllowedSeeingGroupMembers' in 'permissionsMiddleware.js' 2022-09-18 20:42:17 +02:00
Wolfgang Huß
bba4ca0fc6 Test 'descriptionExcerpt' in all relevant group resolvers 2022-09-18 19:18:44 +02:00
Wolfgang Huß
6f6dc4e7fd Refactor 'groupMembersQuery' to a function that returns GQL
- Toast some Apollo GQL error messages
2022-09-18 17:51:26 +02:00
Wolfgang Huß
a85085ca74 Refactor 'changeGroupMemberRoleMutation', 'groupQuery' to a function that returns GQL 2022-09-18 17:35:08 +02:00
Wolfgang Huß
14824c8b33 Refactor 'leaveGroupMutation' to a function that returns GQL 2022-09-18 17:15:29 +02:00
Wolfgang Huß
1c040e1549 Refactor 'joinGroupMutation' to a function that returns GQL 2022-09-18 14:07:38 +02:00
Wolfgang Huß
6df10e5588 Refactor 'updateGroupMutation' to a function that returns GQL
- Add and refactor some tests for the user resolvers.
- Refactor minor in general.
2022-09-18 08:35:31 +02:00
Wolfgang Huß
7d9e42806c Refactor 'createGroupMutation' to a function that returns GQL 2022-09-18 07:07:11 +02:00
Wolfgang Huß
dcfb361793 Refine group 'UpdateGroup' resolver tests 2022-09-17 21:05:43 +02:00
Wolfgang Huß
0048486a78 Refactor to save location in db by 'UpdateUser', 'CreateGroup', and 'UpdateGroup' resolvers
- Refactor, add, and refine tests of location for 'CreateGroup' and 'UpdateGroup' resolvers.
2022-09-17 20:55:43 +02:00
Wolfgang Huß
728eac98ac Refine 'createOrUpdateLocations' call and import 2022-09-17 08:32:11 +02:00
Wolfgang Huß
58bdb33e95 Exclude 'Group' resolver from 'makeAugmentedSchema' 2022-09-17 00:47:26 +02:00
Wolfgang Huß
57f7a43d09 Test locations in group resolvers 2022-09-16 21:09:45 +02:00
Wolfgang Huß
a52c3b488e Add location to group seeding 2022-09-16 21:08:27 +02:00
Wolfgang Huß
1195be11ac Fix, refactor, and partly implement generation of a location relation in Neo4j for users and groups 2022-09-16 21:07:43 +02:00
Wolfgang Huß
d32c137cff Implement 'locationName', 'location' in 'CreateGroup', 'UpdateGroup', and 'Group' resolvers 2022-09-16 07:40:33 +02:00
Wolfgang Huß
5f0f3fc581 Refine group categories in seeding 2022-09-16 07:03:54 +02:00
Wolfgang Huß
f367ac3c71 Set 'DESCRIPTION_EXCERPT_HTML_LENGTH' to 250 2022-09-16 04:37:42 +02:00
Wolfgang Huß
32fe0959f5 Make Jenny Rostock a usual member of group Yoga Practice in seeding 2022-09-16 04:37:17 +02:00
Wolfgang Huß
b23f4ea47b Implement descriptionExcerpt on group profile 2022-09-15 09:55:51 +02:00
Wolfgang Huß
8469ecd792 Merge branch '5059-groups/5318-group-profile-second' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5318-group-profile-members-list-etc 2022-09-14 16:31:31 +02:00
Wolfgang Huß
73b6b24b72 Refine 'convertObjectToCypherMapLiteral' with additional parameter 2022-09-14 16:30:09 +02:00
Wolfgang Huß
6af9e0cec0 Merge branch '5059-groups/5318-group-profile-second' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5318-group-profile-members-list-etc
# Conflicts:
#	webapp/locales/de.json
#	webapp/locales/en.json
2022-09-14 16:18:37 +02:00
Wolfgang Huß
7bb3a05b07 Clarify conversion to Cypher literal map for use as 'MATCH' parameter by making a resolver helper function 2022-09-14 16:10:55 +02:00
Wolfgang Huß
210aebb829 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5318-group-profile-second 2022-09-14 14:27:01 +02:00