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
roschaefer
fc367297e3
Get rid of different factory files
...
..and fix some cypress tests
2020-01-28 23:12:50 +01:00
roschaefer
2fc71d75a5
Refactor factory for comments
2020-01-28 22:43:27 +01:00
roschaefer
95bfb090fd
Refactor factory for posts
2020-01-28 22:43:26 +01:00
roschaefer
2a79c53765
Refactor user factory
2020-01-28 22:43:26 +01:00
mattwr18
8accc62f18
Merge branch 'master' of github.com:Human-Connection/Human-Connection into neo4j_data_migrations
2020-01-22 15:23:11 +01:00
roschaefer
b063847849
refactor: Make db:setup init stage of migrate
2020-01-20 11:00:52 +01:00