Robert Schäfer
f9083c8d4b
Remove obsolete legacy seeds
2019-02-18 23:39:06 +01:00
Robert Schäfer
df9b4b9b8b
Seed blacklisted relationships between users
2019-02-18 23:37:44 +01:00
Robert Schäfer
dd8fe73e6d
Create more posts, connect users with badges
2019-02-18 23:26:46 +01:00
Robert Schäfer
aa2ce1f639
Remove redundancy in database cleaner
2019-02-18 23:02:52 +01:00
Robert Schäfer
924a57a7ca
Seed badges and tags
2019-02-18 22:48:22 +01:00
Robert Schäfer
437e8589f8
Categories posts in seeding
2019-02-18 18:08:45 +01:00
Robert Schäfer
9dba02cf09
Create posts by multiple authors
2019-02-18 17:23:12 +01:00
Robert Schäfer
1734554a88
Fix seeds without the use of neode
...
@appinteractive ping
2019-02-18 15:35:45 +01:00
Robert Schäfer
f024bd3821
Remove redundancy
2019-02-18 13:25:11 +01:00
Robert Schäfer
f17242b824
Transfer relevant changes from branch neode
2019-02-18 12:57:07 +01:00
Grzegorz Leoniec
b515da66f9
Merge branch 'master' into editor
2019-02-13 12:55:08 +01:00
dependabot[bot]
a2590fe7b8
Merge pull request #151 from Human-Connection/dependabot/npm_and_yarn/graphql-shield-5.1.3
2019-02-12 18:07:48 +00:00
dependabot[bot]
6d86769af6
Bump graphql-shield from 5.1.2 to 5.1.3
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-12 17:58:12 +00:00
dependabot[bot]
45ae883ab4
Merge pull request #150 from Human-Connection/dependabot/npm_and_yarn/nodemon-1.18.10
2019-02-12 17:55:05 +00:00
dependabot[bot]
c390856027
Bump nodemon from 1.18.9 to 1.18.10
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.18.9 to 1.18.10.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.18.9...v1.18.10 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 04:29:23 +00:00
Robert Schäfer
3cc65f0db5
Merge pull request #149 from Human-Connection/upgrade-dependencies
...
Upgrade dependencies
2019-02-08 14:42:32 +01:00
Grzegorz Leoniec
871d8318ce
Pinned dependencies and upgraded neo4j-graphql-js to 2.3.1
2019-02-08 09:50:28 +01:00
Grzegorz Leoniec
b70eea8919
Fixed eslint
2019-02-08 09:49:22 +01:00
Grzegorz Leoniec
ad51372228
Upgraded neo4j-graphql-js
2019-02-07 15:57:41 +01:00
Grzegorz Leoniec
788566a7e4
Upgraded remaining dependencies
2019-02-07 15:56:15 +01:00
Grzegorz Leoniec
9dba9b5cf4
Upgraded graphql-shield and graphql-middleware
2019-02-07 15:54:07 +01:00
Grzegorz Leoniec
d84def310b
Upgraded apollo-server and graphql-yoga
2019-02-07 15:52:07 +01:00
Grzegorz Leoniec
ae9ebcc3ab
Upgraded graphql from 0.13.0 to 14.1.1
2019-02-07 15:36:07 +01:00
Grzegorz Leoniec
2f2bc5e507
Improved link cleaning
2019-02-07 08:46:34 +01:00
Grzegorz Leoniec
ad2bba586e
Fixed link target
2019-02-06 17:20:38 +01:00
Grzegorz Leoniec
13c67437d8
Merge pull request #145 from Human-Connection/refactoring_db_migration_worker
...
Refactoring db migration worker
2019-02-05 21:43:35 +01:00
Robert Schäfer
9656bd4eb7
Fix comments import
...
@appinteractive
2019-02-05 20:02:59 +01:00
Robert Schäfer
0705ab1bf5
Fix missing contribution author
...
Bug: Only if a tag and a category was present, the author was assigned.
2019-02-05 14:48:13 +01:00
Robert Schäfer
6610266a5b
Mount /migration for quick development
2019-02-05 14:47:51 +01:00
Robert Schäfer
82c679aaf1
Check the environment variables early on
...
I was missing NEO4J_URI and was told very late - let's check env vars at
the very beginning.
2019-02-04 21:42:44 +01:00
Robert Schäfer
5b674cd95f
Hopefully fix migrate on Digital Ocean
...
It kept crashing, maybe because we're piping too much stuff to STDOUT.
Let's see.
2019-02-04 21:33:48 +01:00
Robert Schäfer
2bc1e88920
Make CodeFactor happy
2019-02-04 19:55:59 +01:00
Robert Schäfer
693e7da95b
Merge branch 'master' into refactoring_db_migration_worker
2019-02-04 19:51:18 +01:00
Robert Schäfer
084f610ec8
Turnaround: *use* volumes for sharing data
...
... but use it in the same pod. It seems to be possible to have shared
volumes in the same pod:
https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/
2019-02-04 19:44:39 +01:00
Robert Schäfer
955383f169
Separate docker-compose.yml to test db migration
...
I think it's not that relevant to our new contributors to install the
db-migration-worker.
2019-02-04 19:19:31 +01:00
Robert Schäfer
01a145be29
Container db-migration-worker need no volumes
...
You can simply run `docker-compose exec db-migration-worker migrate` and
that's it. Of course you have to provide all the environment variables.
2019-02-04 17:49:48 +01:00
Grzegorz Leoniec
cc5701a193
Do not catch issues on user assign at post create
2019-02-04 17:20:04 +01:00
Grzegorz Leoniec
ca076bbcb9
Assign post to current user on creation
2019-02-04 17:19:26 +01:00
Robert Schäfer
cdf92cc6ea
Remove obsolete kubernetes folder
2019-02-04 15:36:39 +01:00
Robert Schäfer
5492b282bc
Refactoring: No uploads/ vol,access neo4j directly
...
Digital Ocean does not support shared directories. So we have to uploads
the images in `/uploads` via `kubectl cp` or something similar.
Likewise, it is not possible to share the exported mongodb .json files
with neo4j container. Therefore let's install `cypher-shell`, included
in `neo4j` package, to directly open a neo4j connection and bulk import
the data.
2019-02-04 14:31:40 +01:00
Robert Schäfer
20908cd062
Docker and .gitignore entire .ssh folder
...
On kubernetes, the ssh keys are added as a volume from a secret
2019-02-04 12:41:03 +01:00
Robert Schäfer
064e98943d
Remove sub-directories in /mongo-export
...
On Digital Ocean a persistent volume has a folder `lost+found` by
default. This script stops throws error messages because it can't remove
that folder if we don't add `-r` flag.
2019-02-04 12:37:03 +01:00
Grzegorz Leoniec
3583259aa6
Merge branch 'master' into editor
2019-02-04 10:56:32 +01:00
Grzegorz Leoniec
bca18d097d
Merge pull request #139 from Human-Connection/tansaku-patch-1
...
Create CODE_OF_CONDUCT.md
2019-02-03 23:40:43 +01:00
dependabot[bot]
2c0110b63f
Merge pull request #134 from Human-Connection/dependabot/npm_and_yarn/graphql-yoga-1.17.1
2019-01-29 04:21:01 +00:00
dependabot[bot]
17d87c6a9d
Bump graphql-yoga from 1.17.0 to 1.17.1
...
Bumps [graphql-yoga](https://github.com/prisma/graphql-yoga ) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/prisma/graphql-yoga/releases )
- [Commits](https://github.com/prisma/graphql-yoga/compare/v1.17.0...v1.17.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-29 03:34:22 +00:00
Sam Joseph
3dcbbafcd6
Create CODE_OF_CONDUCT.md
2019-01-28 17:29:21 +00:00
Grzegorz Leoniec
3e570a90dd
Merge pull request #138 from Human-Connection/remove_private_ssh_key_from_docker_image
...
Don't copy private SSH key into docker image
2019-01-28 17:52:54 +01:00
Robert Schäfer
5bdc728028
Don't copy private SSH key into docker image
...
We can mount the .ssh at runtime. This will allow us to push the docker
image to dockerhub without exposing any secrects.
2019-01-28 17:28:52 +01:00
Robert Schäfer
e70d9c959d
Merge pull request #127 from Human-Connection/100_2_download_uploads_and_more
...
Follow up on data import
2019-01-28 16:58:29 +01:00