Grzegorz Leoniec
95dbba3369
Added more badges to readme
2019-02-24 15:02:05 +01:00
Robert Schäfer
6b66b33d8b
Revert "Bump neo4j-graphql-js from 2.3.1 to 2.4.0"
...
This reverts commit d8af7cb2e57b4623baa719c181899f4d72f7b185.
@appinteractive this broke the index page on the frontend side. If you
log in, you don't see posts and instead you see this error on the developer
console:
```
GraphQL error: Invalid input '}': expected whitespace, comment or a property key name (line 4, column 39 (offset: 464))
"RETURN COUNT(r)", {this: post_author, }, false),shoutedCount: apoc.cypher.runFirstColumn("MATCH (this)-[:SHOUTED]->(r:Post) WHERE NOT r.deleted = true AND NOT r.disabled = true RETURN COUNT(r)", {this: post_author, }, false),commentsCount: apoc.cypher.runFirstColumn("MATCH (this)-[:WROTE]->(r:Comment) WHERE NOT r.deleted = true RETURN COUNT(r)", {this: post_author, }, false),followedByCount: apoc.cypher.runFirstColumn("MATCH (this)<-[:FOLLOWS]-(r:User) RETURN COUNT(r)", {this: post_author, }, false),location: head([ post_author_location IN apoc.cypher.runFirstColumn("MATCH (this)-[:IS_IN]->(l:Location) RETURN l", {this: post_author, }, true) | post_author_location { .nameEN }]) ,badges: [(`post_author`)<-[:`REWARDED`]-(`post_author_badges`:`Badge`) | post_author_badges { .id , .key , .icon }] }]) ,commentsCount: apoc.cypher.runFirstColumn("MATCH (this)<-[:COMMENTS]-(r:Comment) RETURN COUNT(r)", {this: post, }, false),categories: [(`post`)-[:`CATEGORIZED`]->(`post_categories`:`Category`) | post_categories { .id , .name , .icon }] ,shoutedCount: apoc.cypher.runFirstColumn("MATCH (this)<-[:SHOUTED]-(r:User) WHERE NOT r.deleted = true AND NOT r.disabled = true RETURN COUNT(r)", {this: post, }, false)} AS `post` SKIP $offset LIMIT $first"
```
2019-02-22 21:21:58 +01:00
Robert Schäfer
ed5e206dc6
Merge pull request #171 from Human-Connection/123-unit-test-for-report-mutation
...
[WIP] Start unit testing report feature
2019-02-22 17:58:44 +01:00
Robert Schäfer
c58d2ce403
Merge branch 'master' into 123-unit-test-for-report-mutation
2019-02-22 17:36:24 +01:00
dependabot[bot]
d4916323b0
Merge pull request #174 from Human-Connection/dependabot/npm_and_yarn/slug-1.0.0
2019-02-22 16:17:41 +00:00
Robert Schäfer
5856e74b39
Fix yarn run db:reset
2019-02-22 14:13:03 +01:00
dependabot[bot]
55395a2ffc
Bump slug from 0.9.3 to 1.0.0
...
Bumps [slug](https://github.com/Trott/node-slug ) from 0.9.3 to 1.0.0.
- [Release notes](https://github.com/Trott/node-slug/releases )
- [Commits](https://github.com/Trott/node-slug/compare/v0.9.3...v1.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-22 04:17:49 +00:00
Matt Rider
4a43583c6b
Create abusive-user to report, PR review suggestions
2019-02-21 22:43:51 -03:00
Matt Rider
40c210a0ce
Start unit testing report feature
2019-02-21 21:13:30 -03:00
dependabot[bot]
a473e8e059
Merge pull request #167 from Human-Connection/dependabot/npm_and_yarn/neo4j-graphql-js-2.4.0
2019-02-21 21:32:04 +00:00
dependabot[bot]
d8af7cb2e5
Bump neo4j-graphql-js from 2.3.1 to 2.4.0
...
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/neo4j-graphql/neo4j-graphql-js/releases )
- [Changelog](https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/neo4j-graphql/neo4j-graphql-js/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-21 21:25:16 +00:00
dependabot[bot]
f283948035
Merge pull request #168 from Human-Connection/dependabot/npm_and_yarn/jsonwebtoken-8.5.0
2019-02-21 21:22:48 +00:00
dependabot[bot]
e5be51257a
Bump jsonwebtoken from 8.4.0 to 8.5.0
...
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken ) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases )
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md )
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.4.0...v8.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-21 04:17:07 +00:00
dependabot[bot]
caea576ae7
Merge pull request #159 from Human-Connection/dependabot/npm_and_yarn/@babel/core-7.3.3
2019-02-19 15:28:58 +00:00
dependabot[bot]
7d0463ac97
Bump @babel/core from 7.2.2 to 7.3.3
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.2.2 to 7.3.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.2.2...v7.3.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 15:14:52 +00:00
dependabot[bot]
d5ccd7d19b
Merge pull request #158 from Human-Connection/dependabot/npm_and_yarn/apollo-server-testing-2.4.2
2019-02-19 15:08:23 +00:00
dependabot[bot]
f55d9aa0bb
Bump apollo-server-testing from 2.4.0 to 2.4.2
...
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server ) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/apollographql/apollo-server/releases )
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-server/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 14:55:44 +00:00
dependabot[bot]
d7d4a9f543
Merge pull request #157 from Human-Connection/dependabot/npm_and_yarn/eslint-plugin-jest-22.3.0
2019-02-19 14:52:39 +00:00
dependabot[bot]
cb666117fc
Bump eslint-plugin-jest from 22.2.2 to 22.3.0
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 22.2.2 to 22.3.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.2.2...v22.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 14:25:00 +00:00
dependabot[bot]
9c9d33aa88
Merge pull request #160 from Human-Connection/dependabot/npm_and_yarn/apollo-server-2.4.2
2019-02-19 14:21:03 +00:00
dependabot[bot]
a7149dffc9
Bump apollo-server from 2.4.0 to 2.4.2
...
Bumps [apollo-server](https://github.com/apollographql/apollo-server ) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/apollographql/apollo-server/releases )
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-server/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 14:14:33 +00:00
dependabot[bot]
86f233b020
Merge pull request #166 from Human-Connection/dependabot/npm_and_yarn/graphql-shield-5.3.0
2019-02-19 14:12:18 +00:00
dependabot[bot]
4de6265baa
Bump graphql-shield from 5.1.3 to 5.3.0
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.1.3 to 5.3.0.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.1.3...v5.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 04:17:52 +00:00
dependabot[bot]
c5c62d2839
Merge pull request #155 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.4.13
2019-02-15 17:33:50 +00:00
dependabot[bot]
357ac42411
Bump apollo-client from 2.4.12 to 2.4.13
...
Bumps [apollo-client](https://github.com/apollographql/apollo-client ) from 2.4.12 to 2.4.13.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-15 16:48:40 +00:00
dependabot[bot]
227e41334e
Merge pull request #154 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.4.3
2019-02-15 16:45:58 +00:00
dependabot[bot]
99c2f9e272
Bump apollo-cache-inmemory from 1.4.2 to 1.4.3
...
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-15 16:34:32 +00:00
dependabot[bot]
49f91508b1
Merge pull request #156 from Human-Connection/dependabot/npm_and_yarn/nyc-13.3.0
2019-02-15 16:31:59 +00:00
dependabot[bot]
a8dd16f35b
Bump nyc from 13.2.0 to 13.3.0
...
Bumps [nyc](https://github.com/istanbuljs/nyc ) from 13.2.0 to 13.3.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases )
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/istanbuljs/nyc/compare/v13.2.0...v13.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-15 04:21:08 +00: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
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