4261 Commits

Author SHA1 Message Date
dependabot-preview[bot]
f2e20db838
Bump apollo-server-testing from 2.7.0 to 2.7.2 in /backend
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server) from 2.7.0 to 2.7.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/compare/apollo-server-testing@2.7.0...apollo-server-testing@2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 04:29:19 +00:00
dependabot-preview[bot]
137a761f90
Bump apollo-server-express from 2.7.0 to 2.7.2 in /backend
Bumps [apollo-server-express](https://github.com/apollographql/apollo-server) from 2.7.0 to 2.7.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/compare/apollo-server-express@2.7.0...apollo-server-express@2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 04:28:13 +00:00
dependabot-preview[bot]
b0bde9f73e
Bump node from 12.6-alpine to 12.7-alpine in /backend
Bumps node from 12.6-alpine to 12.7-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-26 04:22:08 +00:00
dependabot-preview[bot]
b2bdc0b683
Bump metascraper-video from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-video](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 04:30:26 +00:00
dependabot-preview[bot]
f21aded626
Bump helmet from 3.19.0 to 3.20.0 in /backend
Bumps [helmet](https://github.com/helmetjs/helmet) from 3.19.0 to 3.20.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.19.0...v3.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 04:29:54 +00:00
mattwr18
6dbbd36c6f
Merge pull request #1102 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-image-5.6.3
Bump metascraper-image from 4.10.2 to 5.6.3 in /backend
2019-07-24 14:39:41 +02:00
mattwr18
485b961637
Merge pull request #1106 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.0.0-beta.3
Bump date-fns from 2.0.0-beta.1 to 2.0.0-beta.3 in /backend
2019-07-24 10:20:48 +02:00
mattwr18
8841273b0e
Merge pull request #1105 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-title-5.6.3
Bump metascraper-title from 4.10.2 to 5.6.3 in /backend
2019-07-24 10:20:06 +02:00
mattwr18
abd2024949
Merge pull request #1103 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-author-5.6.3
Bump metascraper-author from 4.10.2 to 5.6.3 in /backend
2019-07-24 10:19:43 +02:00
dependabot-preview[bot]
67c7864533
Bump metascraper-image from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-image](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 08:08:19 +00:00
mattwr18
bcf70edffe
Merge pull request #1101 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-lang-5.6.3
Bump metascraper-lang from 4.10.2 to 5.6.3 in /backend
2019-07-24 10:06:13 +02:00
mattwr18
e04a323b0d
Merge pull request #1100 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-22.13.6
Bump eslint-plugin-jest from 22.13.0 to 22.13.6 in /backend
2019-07-24 10:05:24 +02:00
dependabot-preview[bot]
c73bb068fb
Bump date-fns from 2.0.0-beta.1 to 2.0.0-beta.3 in /backend
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-beta.1 to 2.0.0-beta.3.
- [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-beta.1...v2.0.0-beta.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 04:25:54 +00:00
dependabot-preview[bot]
b70760e670
Bump metascraper-title from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-title](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 04:25:06 +00:00
Alina Beck
b16a98f1aa mark backend auth tests as todo 2019-07-23 14:58:11 +02:00
Alina Beck
59321ec8f4 add more thorough backend tests (wip) 2019-07-23 14:54:11 +02:00
Alina Beck
cb33d0c267 rename social media mutations in backend tests 2019-07-23 12:09:35 +02:00
mattwr18
3cecc5d7dd
Merge pull request #1104 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-publisher-5.6.3
Bump metascraper-publisher from 4.10.2 to 5.6.3 in /backend
2019-07-23 05:38:49 -03:00
dependabot-preview[bot]
e357002f7f
Bump metascraper-author from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-author](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 08:30:30 +00:00
dependabot-preview[bot]
2fdbdf8446
Bump metascraper-lang from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-lang](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 08:30:30 +00:00
Matt Rider
0adc4fad7c Merge branch 'master' of github.com:Human-Connection/Human-Connection into dependabot/npm_and_yarn/backend/eslint-plugin-jest-22.13.6 2019-07-23 05:30:29 -03:00
mattwr18
6c4348501f
Merge pull request #1099 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-date-5.6.3
Bump metascraper-date from 4.10.2 to 5.6.3 in /backend
2019-07-23 05:28:15 -03:00
dependabot-preview[bot]
c138701413
Bump metascraper-publisher from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-publisher](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 04:46:50 +00:00
dependabot-preview[bot]
0187a93432
Bump eslint-plugin-jest from 22.13.0 to 22.13.6 in /backend
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.13.0 to 22.13.6.
- [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.13.0...v22.13.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 04:39:32 +00:00
dependabot-preview[bot]
ff8a552921
Bump metascraper-date from 4.10.2 to 5.6.3 in /backend
Bumps [metascraper-date](https://github.com/microlinkhq/metascraper) from 4.10.2 to 5.6.3.
- [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/v4.10.2...v5.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 04:37:29 +00:00
dependabot-preview[bot]
8875314b04
Bump eslint from 6.0.1 to 6.1.0 in /backend
Bumps [eslint](https://github.com/eslint/eslint) from 6.0.1 to 6.1.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/v6.0.1...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 21:03:00 +00:00
Robert Schäfer
33e88b7e31
Merge pull request #1089 from Human-Connection/dependabot/npm_and_yarn/backend/babel/cli-7.5.5
Bump @babel/cli from 7.5.0 to 7.5.5 in /backend
2019-07-22 23:00:25 +02:00
dependabot-preview[bot]
0e1bc2e9c0
Bump eslint-plugin-import from 2.18.0 to 2.18.2 in /backend
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.0 to 2.18.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.0...v2.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 12:05:07 +00:00
dependabot-preview[bot]
d61cac64bf
Bump @babel/cli from 7.5.0 to 7.5.5 in /backend
Bumps [@babel/cli](https://github.com/babel/babel) from 7.5.0 to 7.5.5.
- [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.5.0...v7.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 12:05:05 +00:00
Wolfgang Huß
bcb7b8e8fd Yarn Install 2019-07-22 13:34:34 +02:00
Wolfgang Huß
00879fc2fa Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 256-editor-embeds-merge-in-nitro-embed
# Conflicts:
#	backend/package.json
#	backend/yarn.lock
2019-07-22 10:51:23 +02:00
mattwr18
40041f108d
Merge pull request #1095 from Human-Connection/dependabot/npm_and_yarn/backend/babel/core-7.5.5
Bump @babel/core from 7.5.4 to 7.5.5 in /backend
2019-07-22 05:37:04 -03:00
mattwr18
f94703ae4a
Merge pull request #1085 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-22.13.0
Bump eslint-plugin-jest from 22.11.1 to 22.13.0 in /backend
2019-07-22 05:34:04 -03:00
dependabot-preview[bot]
c5604038d1
Bump @babel/core from 7.5.4 to 7.5.5 in /backend
Bumps [@babel/core](https://github.com/babel/babel) from 7.5.4 to 7.5.5.
- [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.5.4...v7.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 04:54:16 +00:00
dependabot-preview[bot]
bbe071d021
Bump eslint-plugin-jest from 22.11.1 to 22.13.0 in /backend
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.11.1 to 22.13.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.11.1...v22.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 04:44:09 +00:00
dependabot-preview[bot]
cdc6fbc1c1
Bump merge-graphql-schemas from 1.5.8 to 1.6.1 in /backend
Bumps [merge-graphql-schemas](https://github.com/Urigo/merge-graphql-schemas) from 1.5.8 to 1.6.1.
- [Release notes](https://github.com/Urigo/merge-graphql-schemas/releases)
- [Changelog](https://github.com/Urigo/merge-graphql-schemas/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Urigo/merge-graphql-schemas/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 04:41:42 +00:00
Robert Schäfer
db1ca5767a Remove unnecessary got module 2019-07-22 00:40:12 +02:00
Robert Schäfer
4ee20d4e7e Coerce undefinedToNull in embed resolver 2019-07-22 00:38:56 +02:00
Robert Schäfer
c5789cbf90 Fix get-video-id expects a string bug 2019-07-22 00:20:43 +02:00
Robert Schäfer
657a5ac1f5 Fix resolve function returns undefind
I'm also trying to make sense of the attribute `sources` - probably it's
indicating where the data is coming from.
2019-07-21 23:31:44 +02:00
Robert Schäfer
3d7a30d419 Remove metascraper-logo-favicon altogether
It's doing http requests which are hard to test and hard to maintain.
Therefore let's remove it until we really need it.
2019-07-21 22:20:44 +02:00
Robert Schäfer
75743cae32 Passing jest test, not all requests stubbed out 2019-07-21 13:41:39 +02:00
Robert Schäfer
d7d2c2ef06 Add npm script to run tests without http servers
Remove this script once we refactored all tests to use
`apollo-server-testing`.
2019-07-21 12:41:21 +02:00
Robert Schäfer
579ec7e7dc Re-add embed attribute as html 2019-07-20 17:51:20 +02:00
Robert Schäfer
f5730fce7e Start to mock+test embeds resolver
+ Put oembed providers into a file
+ Add test snapshots
+ Remove unnecessary request-native dependency
2019-07-20 17:47:18 +02:00
Robert Schäfer
d81c38c4e3 Remove obscure embed attribute and remove cache
The cache is a possible memory leak: It grows over time and never gets
cleaned.
2019-07-20 15:58:55 +02:00
Robert Schäfer
7a9d9339f8 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 256-editor-embeds-merge-in-nitro-embed 2019-07-20 14:45:41 +02:00
Robert Schäfer
d901432f7f
Merge pull request #1073 from Human-Connection/dependabot/npm_and_yarn/backend/babel/preset-env-7.5.5
Bump @babel/preset-env from 7.5.4 to 7.5.5 in /backend
2019-07-20 14:38:47 +02:00
Robert Schäfer
73e879eb68 Fix lint 2019-07-19 22:29:53 +02:00
Robert Schäfer
f82b2c37b3 Refactor scraper.js with ES6 imports 2019-07-19 21:29:07 +02:00