644 Commits

Author SHA1 Message Date
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
Robert Schäfer
f703164f1d Expose cannot read property id of null error
CC @appinteractive
2019-02-19 13:36:02 +01: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
Robert Schäfer
8a7435ebb7 Clean up seed-db.js 2019-02-19 01:51:04 +01:00
Robert Schäfer
f7831dbbb7 Simplify package.json
We don't have to wait for a seedServer if we access the database
directly.
2019-02-19 01:44:30 +01:00
Robert Schäfer
4488cc9864 Seed comments 2019-02-19 01:43:11 +01:00
Robert Schäfer
1afcb4b0c9 Seed organizations 2019-02-19 01:17:38 +01:00
Robert Schäfer
a981181e94 Seed user shouts 2019-02-19 01:04:05 +01:00
Robert Schäfer
62d450ef68 Remove boilerplate code with method relate() 2019-02-19 00:54:21 +01:00
Robert Schäfer
eb22555797 Change API: create/relate
Separating the relations from mere properties removes boilerplate code.
2019-02-19 00:17:06 +01:00
Robert Schäfer
e51817c849 Seed follow relations between users 2019-02-18 23:49:54 +01:00
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
Grzegorz Leoniec
cbbd33301f
Improved search query 2019-02-18 16:57:17 +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
da804e26ae
Fix search 2019-02-17 17:32:14 +01: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
Robert Schäfer
55ee112dfa Disable authentication on Travis 2019-02-15 02:36:07 +01:00
Robert Schäfer
3cc19800c9 Do we need to wait until the web client is up? 2019-02-15 02:29:09 +01:00
Robert Schäfer
af536fac61 On Travis we have to expose the port
...to be able to wait for it.
2019-02-15 02:21:03 +01:00
Robert Schäfer
d3a925cc3b Create indices before testing 2019-02-15 02:10:30 +01:00
Robert Schäfer
cadb309ecf Fix lint 2019-02-15 02:05:08 +01:00
Robert Schäfer
6b5d329759 Implement test for search
@appinteractive could you have a look if sanitization of search queries
work? I created a test and I see "unterminated string" exceptions. This
is not what we want! All user input should be escaped.
2019-02-15 01:46:33 +01:00
Robert Schäfer
2715f940b5 Sketch a test 2019-02-15 00:50:37 +01:00
Robert Schäfer
e87dae4efd Provide README 2019-02-15 00:16:43 +01:00
Robert Schäfer
d579d19ad2 Modify migrate for development environment 2019-02-14 17:30:17 +01:00
Robert Schäfer
56936c4038 Setup a routine how to create indices initially
In order to create the indices programmatically we need to change the
default password for security concerns. To create the user we need to
start the neo4j database. So I decided to provide a bash script that
let us do it once the container are started.

In production we must change the NEO4J_PASSWORD.
2019-02-14 16:15:58 +01:00
Grzegorz Leoniec
4f8f0debbe
Added findPost query 2019-02-13 16:02:25 +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