Robert Schäfer
4dbf1b2a2c
UpdateUser with avatarUpload
...
This is a curl request from a folder where I have a file `avatar.jpg`:
```
curl localhost:4000/ \
-F operations='{ "query": "mutation($id: ID!, $file: Upload) { UpdateUser(id: $id, avatarUpload: $file) { id name avatar } }", "variables": { "id": "u3", "file": null } }' \
-F map='{ "0": ["variables.file"] }' \
-F 0=@avatar.jpg
```
It uploads the avatar to the public folder. We should
* Write tests
* Change the `user.avatar` url and send it to `/api` in the frontend
2019-05-20 20:35:33 +02:00
Robert Schäfer
45694b0f89
Merge pull request #617 from Human-Connection/dependabot/npm_and_yarn/backend/node-fetch-2.6.0
...
Bump node-fetch from 2.5.0 to 2.6.0 in /backend
2019-05-17 22:41:15 +02:00
dependabot[bot]
4bc6363eff
Bump express from 4.16.4 to 4.17.0 in /backend
...
Bumps [express](https://github.com/expressjs/express ) from 4.16.4 to 4.17.0.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.16.4...4.17.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-17 04:48:14 +00:00
dependabot[bot]
f0272ef8ed
Bump node-fetch from 2.5.0 to 2.6.0 in /backend
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.5.0...v2.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-17 04:47:39 +00:00
dependabot[bot]
45c64db90f
Bump neo4j-graphql-js from 2.4.2 to 2.6.0 in /backend
...
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js ) from 2.4.2 to 2.6.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-05-14 21:15:12 +00:00
mattwr18
f724b483c0
Merge pull request #567 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-testing-2.5.0
...
Bump apollo-server-testing from 2.4.8 to 2.5.0 in /backend
2019-05-10 21:01:18 -03:00
Matt Rider
a6cc634218
Merge branch 'master' of github.com:Human-Connection/Human-Connection into dependabot/npm_and_yarn/backend/apollo-server-testing-2.5.0
2019-05-10 14:09:43 -03:00
Matt Rider
595887d582
Merge branch 'master' of github.com:Human-Connection/Human-Connection into dependabot/npm_and_yarn/backend/graphql-14.3.0
2019-05-10 14:08:47 -03:00
7983a93fbd
Merge branch 'master' into 2019/kw15/User_can_change_its_username_to_emptystring
2019-05-09 08:26:53 +02:00
d6f423d845
Merge pull request #574 from Human-Connection/2019/kw19/codecov
...
2019/kw19/codecov
2019-05-08 23:55:20 +02:00
00d5c4fde5
ignore dist folder
2019-05-08 22:58:00 +02:00
63b7ded4b6
ignore test modules in coverage estimation
2019-05-08 22:42:33 +02:00
466a9584ea
backend test pattern
2019-05-08 20:43:13 +02:00
28c44f2781
corrected testMatch pattern, fixed backend coverage collection (?)
2019-05-08 20:16:18 +02:00
ec9b3607d8
compute coverage over all code
2019-05-08 19:52:04 +02:00
dependabot[bot]
13ed5024dd
Bump apollo-server-testing from 2.4.8 to 2.5.0 in /backend
...
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server ) from 2.4.8 to 2.5.0.
- [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/compare/apollo-server-testing@2.4.8...apollo-server-testing@2.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 12:28:11 +00:00
dependabot[bot]
a07c4d15d7
Bump graphql from 14.2.1 to 14.3.0 in /backend
...
Bumps [graphql](https://github.com/graphql/graphql-js ) from 14.2.1 to 14.3.0.
- [Release notes](https://github.com/graphql/graphql-js/releases )
- [Commits](https://github.com/graphql/graphql-js/compare/v14.2.1...v14.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 12:28:05 +00:00
dependabot[bot]
cf9799fb18
Bump apollo-server from 2.4.8 to 2.5.0 in /backend
...
Bumps [apollo-server](https://github.com/apollographql/apollo-server ) from 2.4.8 to 2.5.0.
- [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/compare/apollo-server@2.4.8...apollo-server@2.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 04:54:22 +00:00
dependabot[bot]
cce81a5ec0
Bump jest from 24.7.1 to 24.8.0 in /backend
...
Bumps [jest](https://github.com/facebook/jest ) from 24.7.1 to 24.8.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v24.7.1...v24.8.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 12:25:10 +00:00
Robert Schäfer
9ff8b34840
Merge pull request #543 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-node-9.0.1
...
Bump eslint-plugin-node from 8.0.1 to 9.0.1 in /backend
2019-05-07 14:23:14 +02:00
Robert Schäfer
0637d97648
Merge remote-tracking branch 'origin/master' into 2019/kw15/User_can_change_its_username_to_emptystring
2019-05-07 14:09:10 +02:00
Robert Schäfer
be10691ed5
Merge pull request #547 from Human-Connection/dependabot/npm_and_yarn/backend/babel-jest-24.8.0
...
Bump babel-jest from 24.7.1 to 24.8.0 in /backend
2019-05-07 14:01:17 +02:00
dependabot[bot]
0572d122fb
Bump eslint-plugin-node from 8.0.1 to 9.0.1 in /backend
...
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node ) from 8.0.1 to 9.0.1.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases )
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.1...v9.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 10:47:31 +00:00
dependabot[bot]
264ba2aaf7
Bump babel-jest from 24.7.1 to 24.8.0 in /backend
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 24.7.1 to 24.8.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v24.8.0/packages/babel-jest )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 10:47:20 +00:00
dependabot[bot]
db1c22d92e
Bump dotenv from 7.0.0 to 8.0.0 in /backend
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 7.0.0 to 8.0.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/v7.0.0...v8.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 10:46:24 +00:00
dependabot[bot]
42016178c5
Bump node-fetch from 2.4.1 to 2.5.0 in /backend
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.4.1...v2.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 23:42:06 +00:00
Robert Schäfer
9c826f868d
Merge pull request #546 from Human-Connection/dependabot/npm_and_yarn/backend/helmet-3.18.0
...
Bump helmet from 3.16.0 to 3.18.0 in /backend
2019-05-07 01:38:33 +02:00
Robert Schäfer
d0765f82c4
Merge pull request #504 from Human-Connection/469-add-coveralls
...
Add test coverage
2019-05-07 00:05:32 +02:00
dependabot[bot]
1ef1b7ef3d
Bump helmet from 3.16.0 to 3.18.0 in /backend
...
Bumps [helmet](https://github.com/helmetjs/helmet ) from 3.16.0 to 3.18.0.
- [Release notes](https://github.com/helmetjs/helmet/releases )
- [Changelog](https://github.com/helmetjs/helmet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/helmetjs/helmet/compare/v3.16.0...v3.18.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 21:07:42 +00:00
Robert Schäfer
b58ffc058f
Merge pull request #532 from Human-Connection/dependabot/npm_and_yarn/backend/nodemon-1.19.0
...
Bump nodemon from 1.18.11 to 1.19.0 in /backend
2019-05-06 23:06:23 +02:00
Robert Schäfer
7efa95b502
Merge pull request #539 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-5.3.5
...
Bump graphql-shield from 5.3.4 to 5.3.5 in /backend
2019-05-06 23:05:55 +02:00
ee2e9409b1
output to linux dev null again
2019-05-06 13:30:10 +02:00
dependabot[bot]
0beb2d1763
Bump neo4j-driver from 1.7.3 to 1.7.4 in /backend
...
Bumps [neo4j-driver](https://github.com/neo4j/neo4j-javascript-driver ) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/neo4j/neo4j-javascript-driver/releases )
- [Commits](https://github.com/neo4j/neo4j-javascript-driver/compare/1.7.3...1.7.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 04:46:30 +00:00
dependabot[bot]
54fe0a58e2
Bump graphql-shield from 5.3.4 to 5.3.5 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.3.4 to 5.3.5.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.3.4...v5.3.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-03 04:51:08 +00:00
0be2891858
make email a required field for user, tests for front- & backend
2019-05-02 16:17:16 +02:00
dependabot[bot]
57dfd6fb66
Bump nodemon from 1.18.11 to 1.19.0 in /backend
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.18.11 to 1.19.0.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.18.11...v1.19.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-02 04:50:59 +00:00
dependabot[bot]
e70bdc4754
Bump sanitize-html from 1.20.0 to 1.20.1 in /backend
...
Bumps [sanitize-html](https://github.com/punkave/sanitize-html ) from 1.20.0 to 1.20.1.
- [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/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 21:03:09 +00:00
Robert Schäfer
773396622d
Merge pull request #521 from Human-Connection/dependabot/npm_and_yarn/backend/node-fetch-2.4.1
...
Bump node-fetch from 2.3.0 to 2.4.1 in /backend
2019-04-30 22:59:33 +02:00
dependabot[bot]
9138f0032e
Bump @babel/cli from 7.4.3 to 7.4.4 in /backend
...
Bumps [@babel/cli](https://github.com/babel/babel ) from 7.4.3 to 7.4.4.
- [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.4.3...v7.4.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 12:31:10 +00:00
Robert Schäfer
2052e69c60
Merge pull request #516 from Human-Connection/dependabot/npm_and_yarn/backend/@babel/core-7.4.4
...
Bump @babel/core from 7.4.3 to 7.4.4 in /backend
2019-04-30 14:27:26 +02:00
Robert Schäfer
006554fdda
Merge pull request #522 from Human-Connection/dependabot/npm_and_yarn/backend/@babel/register-7.4.4
...
Bump @babel/register from 7.4.0 to 7.4.4 in /backend
2019-04-30 14:26:46 +02:00
dependabot[bot]
cb42cc0187
Bump node-fetch from 2.3.0 to 2.4.1 in /backend
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.3.0...v2.4.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 11:26:36 +00:00
dependabot[bot]
1294f99366
Bump @babel/core from 7.4.3 to 7.4.4 in /backend
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.4.3 to 7.4.4.
- [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.4.3...v7.4.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 11:23:04 +00:00
dependabot[bot]
fefe4a9ef2
Bump @babel/register from 7.4.0 to 7.4.4 in /backend
...
Bumps [@babel/register](https://github.com/babel/babel ) from 7.4.0 to 7.4.4.
- [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.4.0...v7.4.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 11:22:58 +00:00
Robert Schäfer
f3d49cd057
Merge pull request #508 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-22.5.1
...
Bump eslint-plugin-jest from 22.5.0 to 22.5.1 in /backend
2019-04-30 13:22:16 +02:00
dependabot[bot]
303e66b383
Bump @babel/preset-env from 7.4.3 to 7.4.4 in /backend
...
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.4.3 to 7.4.4.
- [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.4.3...v7.4.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 04:54:51 +00:00
dependabot[bot]
d7102d48a1
Bump eslint-plugin-jest from 22.5.0 to 22.5.1 in /backend
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 22.5.0 to 22.5.1.
- [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.5.0...v22.5.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-26 04:49:58 +00:00
Matt Rider
7b1be0cb7d
Add test coverage
2019-04-25 17:17:12 -03:00
dependabot[bot]
473bf63946
Bump eslint-plugin-jest from 22.4.1 to 22.5.0 in /backend
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 22.4.1 to 22.5.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.4.1...v22.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-25 04:46:46 +00:00
dependabot[bot]
d1bc3847af
Bump graphql-shield from 5.3.3 to 5.3.4 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.3.3...v5.3.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-19 04:47:45 +00:00