Moriz Wahl
391c8d434b
feat: Seed some simple posts into groups
2022-10-17 21:48:20 +02:00
Moriz Wahl
77125e404f
createPostMutation as function
2022-10-04 05:03:02 +02:00
Wolfgang Huß
a85085ca74
Refactor 'changeGroupMemberRoleMutation', 'groupQuery' to a function that returns GQL
2022-09-18 17:35:08 +02:00
Wolfgang Huß
1c040e1549
Refactor 'joinGroupMutation' to a function that returns GQL
2022-09-18 14:07:38 +02:00
Wolfgang Huß
7d9e42806c
Refactor 'createGroupMutation' to a function that returns GQL
2022-09-18 07:07:11 +02:00
Wolfgang Huß
a52c3b488e
Add location to group seeding
2022-09-16 21:08:27 +02:00
Wolfgang Huß
5f0f3fc581
Refine group categories in seeding
2022-09-16 07:03:54 +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ß
dcf9a91ffc
Fix groups seeding
2022-09-08 09:06:18 +02:00
Wolfgang Huß
a5878ab505
Fix linting
2022-08-31 09:22:38 +02:00
Wolfgang Huß
a8f59a4c42
Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups
...
# Conflicts:
# backend/src/constants/categories.js
# backend/src/db/seed.js
2022-08-31 09:02:26 +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ß
e3549d3aa9
Rename resolver SwitchGroupMemberRole to ChangeGroupMemberRole
...
Co-Authored-By: Mogge <moriz.wahl@gmx.de>
2022-08-23 05:11:10 +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
5b7bdc0291
seed Yunite categories
2022-08-22 19:56:35 +02:00
Wolfgang Huß
f9c8c9b4be
Add different group member roles to seeding
2022-08-22 11:27:18 +02:00
Wolfgang Huß
14620b00eb
Add tests for 'JoinGroup' and 'GroupMember' resolver
2022-08-19 10:47:17 +02:00
Wolfgang Huß
613f91b037
Add seedings for group memberships
2022-08-18 11:47:27 +02: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ß
916dfbb46e
Move or use GQL mutations in seeding to or from separate files
2022-08-15 14:00:36 +02:00
Wolfgang Huß
2afd0828eb
Fix undefined 'CONFIG' in 'seed.js'
2022-07-20 08:58:23 +02:00
Wolfgang Huß
16812e0966
Disallow database seeding in non-staging and real production environments
2022-07-20 07:58:18 +02:00
Wolfgang Huß
bdbd2c361a
Change dummy invite code from 'AAAAAA' to 'ABCDEF' to see the length
2022-06-23 18:12:37 +02:00
Wolfgang Huß
50bdfb80e2
Change from require to import which now works again
2022-05-04 09:15:47 +02:00
Wolfgang Huß
634249b407
Fix the rest of the faker imports
...
- Some seems to work even the old way?!
2022-05-03 14:22:10 +02:00
Wolfgang Huß
c0a61600e4
Revert change of faker import
2022-05-02 16:51:51 +02:00
Wolfgang Huß
47b88ffb46
Fix faker import
2022-05-02 16:28:45 +02:00
Wolfgang Huß
7620d9b4da
Fix linting to this new prettier
2021-07-20 18:30:43 +02:00
Wolfgang Huß
16c3d2ab87
Merge branch 'master' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 2144-Add_Search_Results_Page
2021-01-21 08:01:40 +01:00
Moriz Wahl
f20e17dcc1
query for validation of invite code
2021-01-12 21:25:25 +01:00
Moriz Wahl
0c141b631f
factory and seeding for invite codes
2021-01-12 20:11:47 +01:00
Moriz Wahl
da801d6410
Removed category fragments form search gql
2020-06-02 15:43:56 +02:00
Moriz Wahl
de2193e75a
changes requested by reviewers
2020-06-02 14:12:14 +02:00
Moriz Wahl
80776d012d
added userCounts and postCounts to specific searchResults
2020-04-08 17:39:09 +02:00
mattwr18
db20af2d39
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2144-Add_Search_Results_Page
2020-04-02 08:19:43 +02:00
mattwr18
e8492b59f4
feat: add pagination for search page
...
- it wasn't really making sense to have one query for all users/posts,
future hashtags, because we change the first/offset when the user
paginates, which would unneccesarily refetch all other resources.
- the solution was to separate them into their own queries and only
refetch when the user wants to paginate the resources.
2020-04-02 00:36:26 +02:00
Raphael Beer
ebebb56a36
Chore: apply prettier update to backend change
2020-03-26 04:18:00 +01:00
Raphael Beer
481c96ee04
Change: seed db with all random users being followers/followed by user@example.com
2020-03-25 12:45:55 +01:00
roschaefer
276ea79e8f
Update prettier to v2
2020-03-24 21:11:11 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type ( #3043 )
...
* refactor(graphql): Introduce image type
* Undo changes to .travis.yml
* chore: Upgrade travis to node LTS
- URL is available since v10
* chore: use lts
Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
Robert Schäfer
b003fb3f10
Merge pull request #2589 from Human-Connection/2587-geolocation-swap-lng-with-lat
...
fix: swap lat and lng
2020-02-18 17:55:57 +01:00
roschaefer
6bba756856
Fix seeds, don't create additional categories
2020-02-18 00:30:53 +01:00
roschaefer
a77f8d92bc
Speed up factories a little
2020-02-08 17:55:07 +01:00
roschaefer
46edc3fdd5
Replace buildList with array of Promises
...
reason: Rosie.js does not support promises. So for the time being, we
shall not use more than one `after` callback and we shall not use
buildList as it does not return a `Promise.all([])`. We have to ask the
maintainers of Rosie.js if they accept the breaking change of returning
a Promise always.
2020-02-07 14:28:57 +01:00
Moriz Wahl
cb8b2acffd
swap lng and lat in db seed
2020-02-06 19:56:44 +01:00
roschaefer
fa0e64b7cb
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
...
There was a single step definition that created a post and a comment. I
would say let's put that in two different steps.
2020-02-01 13:33:07 +01:00
roschaefer
910f122087
Fix lint and cypress
2020-01-29 02:02:58 +01:00
roschaefer
f9c42ab2a5
refactor(seeds): Use buildList to setup lists
2020-01-28 23:40:41 +01:00