3947 Commits

Author SHA1 Message Date
dependabot-preview[bot]
5731b0381c
build(deps): bump metascraper-soundcloud in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.8.10 to 5.8.12.
- [Release notes](https://github.com/microlinkhq/metascraper-soundcloud/releases)
- [Commits](https://github.com/microlinkhq/metascraper-soundcloud/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 10:41:29 +00:00
dependabot-preview[bot]
fbbb23b313
build(deps): bump metascraper-youtube from 5.8.9 to 5.8.12 in /backend
Bumps [metascraper-youtube](https://github.com/microlinkhq/metascraper-youtube) from 5.8.9 to 5.8.12.
- [Release notes](https://github.com/microlinkhq/metascraper-youtube/releases)
- [Commits](https://github.com/microlinkhq/metascraper-youtube/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 10:41:27 +00:00
mattwr18
6b049b52db
Merge pull request #2557 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-video-5.8.12
build(deps): bump metascraper-video from 5.8.10 to 5.8.12 in /backend
2019-12-18 11:39:16 +01:00
dependabot-preview[bot]
b1a449b6a5
build(deps): bump metascraper-author from 5.8.7 to 5.8.12 in /backend
Bumps [metascraper-author](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.12.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 10:35:13 +00:00
mattwr18
8507658416
Merge pull request #2555 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-date-5.8.12
build(deps): bump metascraper-date from 5.8.7 to 5.8.12 in /backend
2019-12-18 11:33:30 +01:00
mattwr18
356aa578af
Merge pull request #2554 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-logo-5.8.12
build(deps): bump metascraper-logo from 5.8.10 to 5.8.12 in /backend
2019-12-18 11:33:10 +01:00
dependabot-preview[bot]
984c7306f2
build(deps): bump metascraper-video from 5.8.10 to 5.8.12 in /backend
Bumps [metascraper-video](https://github.com/microlinkhq/metascraper) from 5.8.10 to 5.8.12.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.10...v5.8.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 04:21:41 +00:00
dependabot-preview[bot]
85f7b01be3
build(deps): bump metascraper-date from 5.8.7 to 5.8.12 in /backend
Bumps [metascraper-date](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.12.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 04:20:50 +00:00
dependabot-preview[bot]
5a41a70582
build(deps): bump metascraper-logo from 5.8.10 to 5.8.12 in /backend
Bumps [metascraper-logo](https://github.com/microlinkhq/metascraper) from 5.8.10 to 5.8.12.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.10...v5.8.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 04:20:35 +00:00
dependabot-preview[bot]
69d3107cbc
build(deps): bump apollo-server-express in /backend
Bumps [apollo-server-express](https://github.com/apollographql/apollo-server) from 2.9.13 to 2.9.14.
- [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-express@2.9.13...apollo-server-express@2.9.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 04:20:10 +00:00
Robert Schäfer
9850f362c2
Merge pull request #2522 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-youtube-5.8.10
build(deps): bump metascraper-youtube from 5.8.9 to 5.8.10 in /backend
2019-12-17 21:49:13 +01:00
Robert Schäfer
8718b74e71
Merge pull request #2525 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-title-5.8.10
build(deps): bump metascraper-title from 5.8.7 to 5.8.10 in /backend
2019-12-17 21:48:55 +01:00
roschaefer
d7193ab3b6 Update neo4j-driver
Fix API changes. Also close the session in resolver only and refactor
userMiddleware to become a part of the resolver.
2019-12-17 20:20:16 +01:00
dependabot-preview[bot]
25156feb25
build(deps): bump metascraper-lang from 5.8.9 to 5.8.10 in /backend
Bumps [metascraper-lang](https://github.com/microlinkhq/metascraper) from 5.8.9 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.9...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 16:22:14 +00:00
dependabot-preview[bot]
5915fdff90
build(deps): bump metascraper-youtube from 5.8.9 to 5.8.10 in /backend
Bumps [metascraper-youtube](https://github.com/microlinkhq/metascraper-youtube) from 5.8.9 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper-youtube/releases)
- [Commits](https://github.com/microlinkhq/metascraper-youtube/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 16:22:08 +00:00
dependabot-preview[bot]
90be9413ef
build(deps): bump metascraper-title from 5.8.7 to 5.8.10 in /backend
Bumps [metascraper-title](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 16:22:03 +00:00
mattwr18
e27b4ef8e9
Merge pull request #2520 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-soundcloud-5.8.10
build(deps): bump metascraper-soundcloud from 5.8.9 to 5.8.10 in /backend
2019-12-17 17:20:16 +01:00
roschaefer
deaf071550 Update neode
This fixes some API changes with the update of neode.
2019-12-17 11:38:02 +01:00
Moriz Wahl
9e1182d3b6 refactored with transactions 2019-12-17 11:28:57 +01:00
roschaefer
3ee30a7738 Update neo4j driver 2019-12-17 10:28:00 +01:00
Robert Schäfer
601a65d963
Merge pull request #2530 from Human-Connection/dependabot/npm_and_yarn/backend/neo4j-graphql-js-2.10.2
build(deps): bump neo4j-graphql-js from 2.10.1 to 2.10.2 in /backend
2019-12-17 10:20:05 +01:00
dependabot-preview[bot]
3abb4351ae
build(deps): bump metascraper-soundcloud in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.8.9 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper-soundcloud/releases)
- [Commits](https://github.com/microlinkhq/metascraper-soundcloud/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:20:01 +00:00
Robert Schäfer
f5ffbef880
Merge pull request #2532 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-image-5.8.10
build(deps): bump metascraper-image from 5.8.7 to 5.8.10 in /backend
2019-12-17 10:19:02 +01:00
Robert Schäfer
46e40a890d
Merge pull request #2534 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-cache-inmemory-1.6.5
build(deps): bump apollo-cache-inmemory from 1.6.3 to 1.6.5 in /backend
2019-12-17 10:18:43 +01:00
Alexander Friedland
ed617f8c83
Merge branch 'master' into 1746-Blur_explicit_Image_Content 2019-12-17 07:39:26 +01:00
dependabot-preview[bot]
c60a367956
build(deps): bump metascraper-video from 5.8.9 to 5.8.10 in /backend
Bumps [metascraper-video](https://github.com/microlinkhq/metascraper) from 5.8.9 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.9...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 04:20:32 +00:00
dependabot-preview[bot]
f1d8e08adc
build(deps): bump apollo-cache-inmemory from 1.6.3 to 1.6.5 in /backend
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.6.3 to 1.6.5.
- [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/compare/apollo-cache-inmemory@1.6.3...apollo-cache-inmemory@1.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 04:20:11 +00:00
dependabot-preview[bot]
0c83096757
build(deps): bump metascraper-image from 5.8.7 to 5.8.10 in /backend
Bumps [metascraper-image](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 04:19:05 +00:00
dependabot-preview[bot]
8738fd9386
build(deps): bump neo4j-graphql-js from 2.10.1 to 2.10.2 in /backend
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js) from 2.10.1 to 2.10.2.
- [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-preview[bot] <support@dependabot.com>
2019-12-17 04:17:58 +00:00
mattwr18
b1f1547ebf
Merge pull request #2524 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-audio-5.8.10
build(deps): bump metascraper-audio from 5.8.7 to 5.8.10 in /backend
2019-12-16 16:10:29 +01:00
mattwr18
5520915a57
Merge pull request #2518 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-description-5.8.10
build(deps): bump metascraper-description from 5.8.7 to 5.8.10 in /backend
2019-12-16 16:10:09 +01:00
mattwr18
55eed8e622
Merge pull request #2517 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-prettier-3.1.2
build(deps-dev): bump eslint-plugin-prettier from 3.1.1 to 3.1.2 in /backend
2019-12-16 16:09:52 +01:00
mattwr18
b8640c61d5
Merge pull request #2516 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-client-2.6.8
build(deps): bump apollo-client from 2.6.4 to 2.6.8 in /backend
2019-12-16 16:09:25 +01:00
dependabot-preview[bot]
fc47701064
build(deps): bump metascraper-audio from 5.8.7 to 5.8.10 in /backend
Bumps [metascraper-audio](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 04:21:41 +00:00
dependabot-preview[bot]
0e9087d536
build(deps): bump metascraper-description in /backend
Bumps [metascraper-description](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 04:20:20 +00:00
dependabot-preview[bot]
1c1ae9355a
build(deps-dev): bump eslint-plugin-prettier in /backend
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 04:19:51 +00:00
dependabot-preview[bot]
628cb85944
build(deps): bump apollo-client from 2.6.4 to 2.6.8 in /backend
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.6.4 to 2.6.8.
- [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/compare/apollo-client@2.6.4...v2.6.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 04:19:30 +00:00
dependabot-preview[bot]
1e3c67867f
build(deps): bump metascraper-logo from 5.8.7 to 5.8.10 in /backend
Bumps [metascraper-logo](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.10.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 04:18:59 +00:00
mattwr18
f876021ec6 Fix: User.name is not non-nullable 2019-12-13 17:48:19 +01:00
mattwr18
4cd43b68a4 Refactor further search
- in the end, the error was due to not asking for the id of the author
back of the Post.. grrr.... why couldn't we get better error messages!!

- Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2019-12-13 15:56:18 +01:00
mattwr18
56c5f4a384
Merge pull request #2433 from Human-Connection/2412-favor-transaction-function
Favor transaction functions
2019-12-13 13:20:43 +01:00
mattwr18
1f2216cd4f Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1463-search-for-users 2019-12-13 12:31:14 +01:00
mattwr18
ebc5cf392d Fix search by adding result id
- Apollo cache requires an id to commit to their store
- add id to each query result
- refactor out the store
- still can use a lot of refactoring
2019-12-13 12:30:00 +01:00
mattwr18
307076771c Fix lint 2019-12-13 10:45:58 +01:00
mattwr18
dfd30cbaac Remove check for setting name to null or undefined
- this was making things more likely to fail from the frontend, we would
need to consider doing a db manipulation for users from the old alpha
who have user.name as null.
- it only protects against someone who bypasses our UI and sends a
message directly to the backend, but if they can do that we have bigger
problems.
2019-12-13 10:17:19 +01:00
Robert Schäfer
692edee313
Merge pull request #2500 from Human-Connection/dependabot/npm_and_yarn/backend/nodemailer-6.4.2
build(deps): bump nodemailer from 6.4.1 to 6.4.2 in /backend
2019-12-13 01:07:49 +01:00
mattwr18
d375ebe7d9 Write test/refactor tests/resolvers/middleware
- write tests for userMiddleware
- checks the functionality of nodes/locations middleware
- refactor to not allow users to update to remove their name
  debatable whether we want that or not, but we do not allow users to
create accounts with no name, so we should be consistent, before we were
using neode to validate this, but we have are removing neode from
production code, so we must validate ourselves
- collate UpdateUser mutations to one
2019-12-12 18:14:47 +01:00
mattwr18
3e15ecdfa2 Refactor tests, extract validation to middleware 2019-12-12 14:25:28 +01:00
mattwr18
8a93e402b9 Remove neode update from production code
- Favor transaction functions we have more control over
2019-12-12 14:24:43 +01:00
dependabot-preview[bot]
40bf38085d
build(deps): bump nodemailer from 6.4.1 to 6.4.2 in /backend
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.4.1...v6.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 09:48:29 +00:00