Robert Schäfer
e6a996e0dd
Harden permissions spec
...
If we expect an error to be thrown, the test should fail if no error was
raised.
2019-02-19 22:55:23 +01: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
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