58 Commits

Author SHA1 Message Date
Grzegorz Leoniec
794d8361d5
merged master in 2018-12-12 16:30:08 +01:00
Grzegorz Leoniec
755e54f303
Merge pull request #63 from Human-Connection/dependabot/npm_and_yarn/eslint-5.10.0
Bump eslint from 5.9.0 to 5.10.0
2018-12-12 16:16:13 +01:00
Grzegorz Leoniec
0d7a7e2ca7
Merge pull request #71 from Human-Connection/dependabot/npm_and_yarn/date-fns-2.0.0-alpha.26
Bump date-fns from 2.0.0-alpha.25 to 2.0.0-alpha.26
2018-12-12 16:15:42 +01:00
Grzegorz Leoniec
4a50e40864
Merge pull request #67 from Human-Connection/dependabot/npm_and_yarn/slug-0.9.3
Bump slug from 0.9.2 to 0.9.3
2018-12-12 16:15:28 +01:00
Grzegorz Leoniec
dc8fb8b38c
Merge pull request #69 from Human-Connection/dependabot/npm_and_yarn/nodemon-1.18.8
Bump nodemon from 1.18.7 to 1.18.8
2018-12-12 14:04:09 +01:00
dependabot[bot]
0fd65793da
Bump date-fns from 2.0.0-alpha.25 to 2.0.0-alpha.26
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.25 to 2.0.0-alpha.26.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.0.0-alpha.25...v2.0.0-alpha.26)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-12 04:35:55 +00:00
Grzegorz Leoniec
0d396712bd
downgrade graphql-middleware 2018-12-11 11:37:53 +01:00
dependabot[bot]
91f60439f4
Bump nodemon from 1.18.7 to 1.18.8
Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.7 to 1.18.8.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.18.7...v1.18.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:26:24 +00:00
dependabot[bot]
9cee0e7883
Bump graphql-shield from 4.1.1 to 4.1.2
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/maticzav/graphql-shield/releases)
- [Commits](https://github.com/maticzav/graphql-shield/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:26:07 +00:00
dependabot[bot]
35e7fd0cca
Bump slug from 0.9.2 to 0.9.3
Bumps [slug](https://github.com/Trott/node-slug) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/Trott/node-slug/releases)
- [Commits](https://github.com/Trott/node-slug/compare/q0.9.2...v0.9.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:25:55 +00:00
Grzegorz Leoniec
afa143a627
added missing nyc dependency 2018-12-10 12:41:19 +01:00
dependabot[bot]
499c6851a7
Bump eslint from 5.9.0 to 5.10.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.9.0...v5.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 11:35:16 +00:00
Grzegorz Leoniec
faca6069ab
meged mochajs in 2018-12-09 18:40:25 +01:00
Grzegorz Leoniec
1823223281
merged master in 2018-12-09 18:38:58 +01:00
Grzegorz Leoniec
141e1cc7fd
fix nyc testing on build 2018-12-08 14:27:46 +01:00
Grzegorz Leoniec
c4f7787796
merged npm-run-all in 2018-12-08 14:20:06 +01:00
Grzegorz Leoniec
f0c321700e
merged master in 2018-12-08 14:16:11 +01:00
Robert Schäfer
1d92f0ad24 Replace concurrently with npm-run-all
Package npm-run-all is specialized on npm scripts and does not hang with
docker-compose.
2018-12-08 01:22:35 +01:00
Grzegorz Leoniec
80bc9be9ab
pinned and updated package for more stable installs 2018-12-07 20:53:41 +01:00
Grzegorz Leoniec
ceca6477b2
added graphql 0.13.0 as its a needed peer dependency 2018-12-07 20:42:37 +01:00
Grzegorz Leoniec
c5a0a68d5f
merged master in 2018-12-07 20:35:43 +01:00
Grzegorz Leoniec
e22f950c48
use mocha from bin 2018-12-07 20:27:29 +01:00
Grzegorz Leoniec
26d55043ed
added testing coverage and codecov config 2018-12-07 20:24:52 +01:00
dependabot[bot]
6dac30b820
Bump neo4j-graphql-js from 2.0.0 to 2.0.1
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js) from 2.0.0 to 2.0.1.
- [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>
2018-12-07 04:25:58 +00:00
dependabot[bot]
b84a48f981
Bump neo4j-graphql-js from 1.0.5 to 2.0.0
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js) from 1.0.5 to 2.0.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>
2018-12-06 16:26:10 +00:00
dependabot[bot]
0d9322f601
Bump sanitize-html from 1.19.2 to 1.19.3
Bumps [sanitize-html](https://github.com/punkave/sanitize-html) from 1.19.2 to 1.19.3.
- [Release notes](https://github.com/punkave/sanitize-html/releases)
- [Changelog](https://github.com/punkave/sanitize-html/blob/master/CHANGELOG.md)
- [Commits](https://github.com/punkave/sanitize-html/compare/1.19.2...1.19.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 11:56:30 +00:00
dependabot[bot]
c6cc461057
Bump dotenv from 6.1.0 to 6.2.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 04:48:26 +00:00
Robert Schäfer
7df0a1bd97 Merge remote-tracking branch 'origin/master' into mochajs 2018-12-05 00:35:30 +01:00
Robert Schäfer
ad62a8ebb3 Set unimplemented mocha tests to pending 2018-12-05 00:18:47 +01:00
Robert Schäfer
1ae09b5a7f Merge remote-tracking branch 'origin/master' into mochajs 2018-12-05 00:12:42 +01:00
dependabot[bot]
7623b4dc85
Bump sanitize-html from 1.19.1 to 1.19.2
Bumps [sanitize-html](https://github.com/punkave/sanitize-html) from 1.19.1 to 1.19.2.
- [Release notes](https://github.com/punkave/sanitize-html/releases)
- [Changelog](https://github.com/punkave/sanitize-html/blob/master/CHANGELOG.md)
- [Commits](https://github.com/punkave/sanitize-html/compare/1.19.1...1.19.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-04 22:56:53 +00:00
Robert Schäfer
43b5d8eeb0 Follow @appinteractives review
See:
https://github.com/Human-Connection/Nitro-Backend/pull/40#pullrequestreview-180898363
https://github.com/Human-Connection/Nitro-Backend/pull/40#pullrequestreview-180950115
2018-12-04 23:43:19 +01:00
Robert Schäfer
71c4ffb012 Merge remote-tracking branch 'origin/master' into mochajs 2018-12-04 21:35:45 +01:00
Robert Schäfer
0fab314b13 Wording: Use reset-db for the file name, too
FYI: @Mastercuber
2018-12-04 01:20:50 +01:00
Robert Schäfer
f1c3c6bede Wording: no-auth-server instead of backdoor
Suggested by @appinteractive
2018-12-03 20:43:16 +01:00
Robert Schäfer
d061348ec8 Use npm: prefixes to DRY package.json
@appinteractive and @Mastercuber have a look, I guess this feature of
concurrently is new to you: https://www.npmjs.com/package/concurrently#usage

For some reason, concurrently hangs when run with docker-compose. I
haven't figured out how to fix this. Run locally, everything terminates
as expected.
2018-12-03 19:28:42 +01:00
Robert Schäfer
15d9178369 Install and configure eslint
Fix all violations but one - there is a mock in our authentication.
2018-12-03 18:05:28 +01:00
Armin Kunkel
b5ce0351c7 Add yarn db:reset script 2018-12-03 15:38:08 +01:00
Grzegorz Leoniec
7780c4b846 uppgraded packages 2018-11-30 11:37:19 +01:00
Grzegorz Leoniec
ea18ad8e1f merged master in 2018-11-30 10:09:43 +01:00
Grzegorz Leoniec
86662eb56c do not abort on test command 2018-11-30 09:13:13 +01:00
Grzegorz Leoniec
28ed218d99 updated nodemon due to possible security issue: https://github.com/dominictarr/event-stream/issues/116 2018-11-27 11:27:19 +01:00
Grzegorz Leoniec
d5a0f03cc4 fixed merge issues 2018-11-21 15:38:33 +01:00
Grzegorz Leoniec
fa2c3fc24b shortened GRAPHQL_LISTEN_PORT to GRAPHQL_PORT 2018-11-21 15:30:26 +01:00
Robert Schäfer
99bb1e0ae9 Install apollo-server-testing 2018-11-21 00:39:19 +01:00
Robert Schäfer
0df58f00a1 Setup unit/integration testing with mocha 2018-11-21 00:26:43 +01:00
Robert Schäfer
0eab41b5ef Use @babel packages 2018-11-21 00:25:29 +01:00
Robert Schäfer
936626af81 Update meta data in package.json 2018-11-21 00:25:29 +01:00
Robert Schäfer
803e613c4b Clean way to seed the database
1. Temporarily open another backend with permissions disabled
2. Connect to this backend and run seed data
2018-11-20 21:43:13 +01:00
Grzegorz Leoniec
8b0be5fb89 try to fix seeder with authentication 2018-11-15 12:33:05 +01:00