3352 Commits

Author SHA1 Message Date
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
Wolfgang Huß
d42afff17e Fix mutate to query for some tests using the 'GroupMembers' resolver 2022-09-13 22:47:55 +02:00
Wolfgang Huß
6fec36470c Test 'LeaveGroup' resolver 2022-09-13 20:23:48 +02:00
Wolfgang Huß
6a9c040722 Implement 'LeaveGroup' resolver 2022-09-13 20:23:34 +02:00
Moriz Wahl
922ca2d7ef
Merge pull request #5284 from Ocelot-Social-Community/save-categories-in-frontend
feat: 🍰 Save Categories In Frontend
2022-09-12 15:08:09 +02:00
Moriz Wahl
53a58fb284
Merge pull request #5319 from Ocelot-Social-Community/add-new-yunite-icons
feat: 🍰 Add New Yunite Icons
2022-09-12 15:07:45 +02:00
Wolfgang Huß
ee026a3e15 Remove unused parameters in 'GroupMembers' query 2022-09-10 13:16:34 +02:00
Wolfgang Huß
5b1643208b Upgrade neode from v^0.4.7 to v^0.4.8 in backend and main folder 2022-09-10 12:36:49 +02:00
Wolfgang Huß
5eabdf1495 Comment out unimplemented parameters in 'Group' resolver 2022-09-10 07:46:08 +02:00
Wolfgang Huß
36f6fee8be Query groups by 'Group' resolver via 'slug' and test it 2022-09-09 13:44:13 +02:00
Moriz Wahl
8e561711d0 fix typo 2022-09-08 16:37:41 +02:00
Moriz Wahl
3508b37224 load new icons for categories 2022-09-08 16:28:45 +02:00
Wolfgang Huß
b3a0d88a46 Merge branch '5059-groups/5316-in-be-hidden-groups-not-listed-for-none-or-pending-members' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5318-group-profile-second 2022-09-08 13:33:42 +02:00
Wolfgang Huß
89920f387a Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups
# Conflicts:
#	backend/src/schema/types/type/User.gql
2022-09-08 13:29:29 +02:00
Wolfgang Huß
6879b1112c Refine tests of 'Group' resolver 2022-09-08 13:11:55 +02:00
Wolfgang Huß
00ccf5ed9a Implement and test to find no hidden groups by 'Group' resolver where user is none or 'pending' member 2022-09-08 12:55:16 +02:00
Wolfgang Huß
dcf9a91ffc Fix groups seeding 2022-09-08 09:06:18 +02:00
Moriz Wahl
a65e306b85 all categories saved returns empty array 2022-09-07 16:04:09 +02:00
Moriz Wahl
860949dc6a test current user query for active categories 2022-09-07 15:00:04 +02:00
Moriz Wahl
bcaeee44fa adopt active categories as array of ids 2022-09-07 14:12:53 +02:00
Moriz Wahl
18e15be24d active categories is array of string (ids of categories), current user query resolves with active categories 2022-09-07 14:09:24 +02:00
Wolfgang Huß
d11b512bfb Merge branch '5059-epic-groups' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5190-group-profile 2022-09-07 08:32:05 +02:00
Moriz Wahl
ab662db0e4 empty array as input only clears all saved categories 2022-09-06 18:46:47 +02:00
Moriz Wahl
8a688ca78b improve tests 2022-09-06 15:14:31 +02:00
Wolfgang Huß
b2f0c0677d Fix typo after Moriz suggestion
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-09-06 10:39:56 +02:00
Wolfgang Huß
9b83b37ea3 Upload group avatar on group profile page 2022-09-06 09:14:28 +02:00
Moriz Wahl
4e5d4cb873 basic tests for save category settings 2022-09-05 20:51:48 +02:00
Moriz Wahl
fc6d544ea7 add resolver for save active categories 2022-09-05 20:07:14 +02:00
Moriz Wahl
572377acfd add active categories to user 2022-09-05 20:06:10 +02:00
Moriz Wahl
b8ac4cc3ca add saveCategoruSettings mutation to schema 2022-09-05 17:41:21 +02:00
Wolfgang Huß
685ef85752 Test 'Group' with 'categories' as result
- Cleanup.
2022-09-05 09:30:35 +02:00