3432 Commits

Author SHA1 Message Date
Wolfgang Huß
d36f0eab57 Add tests for 'GroupMember' resolver, a start 2022-08-18 11:48:26 +02:00
Wolfgang Huß
613f91b037 Add seedings for group memberships 2022-08-18 11:47:27 +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ß
acaf3aacb8 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups
# Conflicts:
#	backend/package.json
2022-08-17 09:10:29 +02:00
dependabot[bot]
b7077d3b4b
Bump slug from 4.0.2 to 6.0.0 in /backend
Bumps [slug](https://github.com/Trott/slug) from 4.0.2 to 6.0.0.
- [Release notes](https://github.com/Trott/slug/releases)
- [Changelog](https://github.com/Trott/slug/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Trott/slug/compare/v4.0.2...v6.0.0)

---
updated-dependencies:
- dependency-name: slug
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 04:50:20 +00:00
Wolfgang Huß
e2c987f300 Refine categories of seeded groups 2022-08-15 16:14:19 +02:00
Wolfgang Huß
bbda8e6dd0 Seed some groups 2022-08-15 15:22:49 +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
Wolfgang Huß
916dfbb46e Move or use GQL mutations in seeding to or from separate files 2022-08-15 14:00:36 +02:00
Wolfgang Huß
2d0ba9982b Add '--logHeapUsage' to jest test call 2022-08-15 12:17:16 +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ß
7682aa7e45 Fix description length for slugify tests 2022-08-10 11:34:51 +02:00
Wolfgang Huß
9cae32e6e1 Upgrade neode to v0.4.8 2022-08-10 08:41:01 +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ß
b12056594f Add issue to TODO comment 2022-08-09 07:15:30 +02:00
Wolfgang Huß
504a9bcd49 Merge branch '5059-epic-groups' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5131-implement-group-gql-model-and-crud 2022-08-04 09:28:45 +02:00
Wolfgang Huß
5e0446e22c Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups 2022-08-04 09:26:35 +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ß
e758e1337d Release v1.1.0 - implement categories again 2022-08-03 15:24:42 +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ß
45558f06dd Add comment about faking the 'gql' tag in the backend 2022-08-03 11:49:46 +02:00
Wolfgang Huß
2c402ba25b Fix linting 2022-08-03 08:22:53 +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ß
da2c7dc684 Add migration with fulltext indeces and unique keys for groups 2022-08-03 07:29:51 +02:00
Wolfgang Huß
4f1646509b Fix Group name slugification 2022-08-02 16:25:46 +02:00
Wolfgang Huß
f565e5fb6a Implement 'CreateGroup' with tests 2022-08-02 16:20:11 +02:00
Wolfgang Huß
9632d0f852 Fix file name from 'Groups.js' to singular 'Group.js' 2022-08-02 09:18:30 +02:00
Wolfgang Huß
52bffa426b Fix linting 2022-08-02 09:10:02 +02:00
Wolfgang Huß
bf9dd205ca Implement GQL for groups 2022-08-02 08:26:14 +02:00
Wolfgang Huß
7e7bbe769e Merge branch '4548-single-person-org' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups 2022-08-01 11:05: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