11365 Commits

Author SHA1 Message Date
Tima Gixe
c40179ebaf
Update PULL_REQUEST_TEMPLATE.md 2022-08-25 11:17:34 +03:00
Tima Gixe
f0157442b9 Provide custom fallbackError to graphql-shield 2022-08-25 09:11:23 +03:00
Tima Gixe
c83096fe39 Adjust comments test to expect authorized 2022-08-25 09:10:59 +03:00
Tima Gixe
15ce070288 Update tests to expect Not Authorized! 2022-08-25 09:08:14 +03:00
Wolfgang Huß
80673ed4b0
Merge pull request #5168 from Ocelot-Social-Community/dependabot/npm_and_yarn/webapp/cross-env-7.0.3
Bump cross-env from 7.0.2 to 7.0.3 in /webapp
2022-08-24 10:16:01 +02:00
Wolfgang Huß
72eedef8d0 Cleanup 2022-08-23 13:12:38 +02:00
Wolfgang Huß
47027ad86b Move 'Group' resolver to building up mode in 'groups.spec.js' 2022-08-23 12:47:57 +02:00
Wolfgang Huß
cd090420cf Move 'JoinGroup' to building up mode in 'groups.spec.js' 2022-08-23 12:30:01 +02:00
Wolfgang Huß
c7c2ebdeb7 Refine clean db mode in 'groups.spec.js' 2022-08-23 12:20:27 +02:00
Wolfgang Huß
fd497a03aa Change GQL parameter for 'ChangeGroupMemberRole' from 'id' to 'groupId'
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 11:58:23 +02:00
Wolfgang Huß
813c072dc7 Change GQL parameter for 'JoinGroup' from 'id' to 'groupId'
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 11:32:22 +02:00
Wolfgang Huß
826cf5a8e0 Renamed 'GroupMember' to 'GroupMembers'
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 11:03:47 +02:00
Wolfgang Huß
b703621eb7 Remove local variables 'expected' and some 'variable' and put the values directly in the 'expect' calls in 'groups.spec.js'
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 10:52:15 +02:00
Wolfgang Huß
356fac9d94 Destruction of 'mutate' and 'query' in 'groups.spec.js' in one line now
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 10:36:37 +02:00
Wolfgang Huß
9dd819f8d2 Set not 'membership.updatedAt' on relation creation
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 10:25:39 +02:00
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ß
3ab33a44f1 Check permission not given for resolver ChangeGroupMemberRole if admin will change their own member role in group already at the beginning of 'isAllowedToChangeGroupMemberRole'
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 05:21:53 +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ß
e1f4609c25 !!! Temp !!! 2022-08-23 04:48:38 +02:00
Moriz Wahl
d948067f44 add category name again to seed and init to avoid conflicts with graphql model 2022-08-22 20:47:37 +02:00
Moriz Wahl
ad4497786c add missing items for categories 2022-08-22 20:29:04 +02:00
Moriz Wahl
25c8fe275f add locales for yunite categories 2022-08-22 20:11:21 +02:00
Moriz Wahl
5b7bdc0291 seed Yunite categories 2022-08-22 19:56:35 +02:00
Moriz Wahl
6425e5d172 seed categories on db:migrate init 2022-08-22 19:44:20 +02:00
Moriz Wahl
c1f1408f6c add yunite categories 2022-08-22 19:17:50 +02:00
Moriz Wahl
eddaa96d36 add movement icon 2022-08-22 18:52:42 +02:00
Moriz Wahl
a22023174d feat: Show Categories Filter when Categories are Active 2022-08-22 18:33:12 +02:00
Wolfgang Huß
9312e66b15 Add bigger JS heap size to backend tests 2022-08-22 12:53:27 +02:00
Wolfgang Huß
91d797dcfa Copy profile Vue pages for the group profile 2022-08-22 12:14:54 +02:00
Wolfgang Huß
dee20c25a9 Add test todo for 'has "updatedAt" newer as "createdAt"' 2022-08-22 11:46:41 +02:00
Wolfgang Huß
b3c179011a Add URL comment for sleep 2022-08-22 11:45:51 +02:00
Wolfgang Huß
f9c8c9b4be Add different group member roles to seeding 2022-08-22 11:27:18 +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ß
29874e54a1 Add jest dev helper function for sleeping 2022-08-22 10:40:16 +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ß
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
dependabot[bot]
92f4b7b813
Bump slug from 5.1.0 to 6.0.0
Bumps [slug](https://github.com/Trott/slug) from 5.1.0 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/v5.1.0...v6.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 04:17:15 +00:00
dependabot[bot]
73559242d6
Bump cross-env from 7.0.2 to 7.0.3 in /webapp
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v7.0.2...v7.0.3)

---
updated-dependencies:
- dependency-name: cross-env
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 06:44:19 +00:00
Wolfgang Huß
1ea7465114
Merge pull request #5182 from Ocelot-Social-Community/5181-add-informations-for-memory-usage-to-backend-tests
chore: 🍰 Add `--logHeapUsage` To Jest Test Call
2022-08-16 08:40:24 +02:00
Wolfgang Huß
f6e9cb1c6f
Merge pull request #5185 from Ocelot-Social-Community/5059-groups/5183-add-groups-to-seeding
chore: 🍰 Add Groups To Seeding
2022-08-15 21:17:05 +02:00
Wolfgang Huß
e2c987f300 Refine categories of seeded groups 2022-08-15 16:14:19 +02:00