889 Commits

Author SHA1 Message Date
Wolfgang Huß
95cebd577d Refactor to group joining by ChangeGroupMemberRole and that JoinGroup is not possible for hidden groups
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 10:18:00 +02:00
Wolfgang Huß
e3549d3aa9 Rename resolver SwitchGroupMemberRole to ChangeGroupMemberRole
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 05:11:10 +02:00
Wolfgang Huß
dee20c25a9 Add test todo for 'has "updatedAt" newer as "createdAt"' 2022-08-22 11:46:41 +02:00
Wolfgang Huß
41bf1f7d39 Refactor tests in 'groups.spec.js' to have modes 'clean db' and 'building up' 2022-08-22 10:41:31 +02:00
Wolfgang Huß
e91394948c Add tests for 'SwitchGroupMemberRole' resolver 2022-08-22 10:08:58 +02:00
Wolfgang Huß
74589d4d3f Resort creation of groups and its connected joins of the groups 2022-08-22 07:27:46 +02:00
Wolfgang Huß
0fe609e294 Add test for find all member of closed and hidden groups if you are usual member 2022-08-22 07:19:07 +02:00
Wolfgang Huß
695a71bf25 Implement 'SwitchGroupMemberRole' resolver and write the beginning to test it 2022-08-20 09:43:37 +02:00
Wolfgang Huß
14620b00eb Add tests for 'JoinGroup' and 'GroupMember' resolver 2022-08-19 10:47:17 +02:00
Wolfgang Huß
d36f0eab57 Add tests for 'GroupMember' resolver, a start 2022-08-18 11:48:26 +02:00
Wolfgang Huß
25ed30dba1 Implement 'EnterGroup' resolver 2022-08-18 10:12:11 +02:00
Wolfgang Huß
27b74eb9e1 Implement 'GroupMember' resolver, a first step 2022-08-17 12:11:52 +02:00
Wolfgang Huß
0f8abe770a Move GQL mutation 'loginMutation' in 'user_management.spec.js' into a separate file 2022-08-15 15:02:04 +02:00
Moriz Wahl
beacad4a17 set CONFIG in specs 2022-08-15 11:07:45 +02:00
Moriz Wahl
dd876c52fa increas max-old-space-size for jest, handle some asyncs, test validation for caregories only if categories are active 2022-08-15 10:52:31 +02:00
Wolfgang Huß
b0d28f8649 Rename 'descriptionAddition100' to 'descriptionAdditional100' 2022-08-10 13:19:42 +02:00
Wolfgang Huß
5e741ead8d Overtake Moriz suggestions 2022-08-10 13:15:43 +02:00
Wolfgang Huß
f150ea3d7c
Update backend/src/schema/resolvers/groups.js
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-08-10 12:52:31 +02:00
Wolfgang Huß
82401b1488
Update backend/src/schema/resolvers/groups.js
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-08-10 12:52:20 +02:00
Wolfgang Huß
3d1b403656 Add relation 'CREATED' between owner and group 2022-08-09 16:55:43 +02:00
Wolfgang Huß
0149af12d4 Cleanup 2022-08-09 16:50:28 +02:00
Wolfgang Huß
117bd5e4e6 Implement error for to short 'description' and test it 2022-08-09 16:34:50 +02:00
Wolfgang Huß
b5678f7c61 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5131-implement-group-gql-model-and-crud
# Conflicts:
#	backend/src/schema/types/type/User.gql
2022-08-09 14:50:11 +02:00
Wolfgang Huß
f6bfc8aa7f
Merge pull request #5143 from Ocelot-Social-Community/5142-rename-UserGroup-to-UserRole
refactor: 🍰 Rename `UserGroup` To `UserRole`
2022-08-09 09:02:27 +02:00
Wolfgang Huß
61344fc96b Implement errors for to less or to many categories and test it 2022-08-09 08:50:25 +02:00
Wolfgang Huß
7847d6912c Return 'categories' in the 'Group' GQL query 2022-08-09 08:21:26 +02:00
Wolfgang Huß
fcca0f378d Implement 'Group' query, next step 2022-08-04 09:24:04 +02:00
Wolfgang Huß
2107dd4be8 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5131-implement-group-gql-model-and-crud
# Conflicts:
#	backend/.env.template
#	webapp/.env.template
2022-08-03 15:56:10 +02:00
Wolfgang Huß
867b78dfa3 Implement 'Group' query, second step 2022-08-03 15:16:23 +02:00
Wolfgang Huß
94411648fd Implement 'Group' query, first step 2022-08-03 13:29:49 +02:00
Wolfgang Huß
cc44ee8ebc Refactor relations ':OWNS' and ':ADMINISTERS' to ':MEMBER_OF' with properties 2022-08-03 13:12:50 +02:00
Wolfgang Huß
520598c897 Implement 'description', 'groupType', and 'actionRadius' in 'CreateGroup' 2022-08-03 11:50:56 +02:00
Wolfgang Huß
a8a6acb9f7 Rename 'UserGroup' to 'UserRole' 2022-08-03 08:14:05 +02:00
Wolfgang Huß
ea0223b6f2 Rename 'UserGroup' to 'UserRole' 2022-08-03 07:59:00 +02:00
Wolfgang Huß
fc20143a65 Test groups creation in slugifyMiddleware 2022-08-03 07:51:29 +02:00
Wolfgang Huß
f565e5fb6a Implement 'CreateGroup' with tests 2022-08-02 16:20:11 +02:00
Wolfgang Huß
bf9dd205ca Implement GQL for groups 2022-08-02 08:26:14 +02:00
Moriz Wahl
1b2509229c remove bad line in cypher 2022-07-25 19:22:17 +02:00
Moriz Wahl
28ddfde0e3 add categories active to .env, save categories on create 2022-07-25 19:02:08 +02:00
Wolfgang Huß
5abbf22b43 Implement 'inviteCode' and 'nonce' lengths via 'registration.js' in backend and webapp 2022-06-23 17:44:59 +02:00
Wolfgang Huß
3adfab34c5 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 4785-test-refactor-email-templates 2022-06-22 14:26:29 +02:00
Wolfgang Huß
aea15229b9 Fix location backend test 2022-06-22 13:32:55 +02:00
Wolfgang Huß
8648c271a7 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 4785-test-refactor-email-templates 2022-05-04 09:31:04 +02:00
Wolfgang Huß
0867d2bfca Fix backend test of locations 2022-05-03 13:43:10 +02:00
Wolfgang Huß
ce5161f937 Test e-mail templates, remain files, first step 2021-11-18 08:53:31 +01:00
Wolfgang Huß
5bf755f4eb Fix backend test 'src/schema/resolvers/users/location.spec.js' 2021-10-25 20:15:53 +02:00
Wolfgang Huß
49e4111def Fix to set 'sendNotificationEmails' on admin of db init
- Set other missing properties on admin of db init.
- Additionally set default donations `progress` value to `7000` to have a better looking design on the news feed for devs and testers.
- Fix test in `pages/admin/donations.spec.js`.
2021-09-29 10:32:51 +02:00
Wolfgang Huß
7ae5593f82 Implement user notifications settings 2021-09-22 14:05:10 +02:00
Wolfgang Huß
af8b7ba367 Fix backend test 2021-09-16 13:59:58 +02:00
Wolfgang Huß
850f3c15ac Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 4265-move-sort-newsfeed-menu-into-filter-menu
# Conflicts:
#	webapp/components/DonationInfo/DonationInfo.spec.js
#	webapp/components/DonationInfo/DonationInfo.vue
#	webapp/pages/index.vue
2021-09-16 11:30:05 +02:00