2526 Commits

Author SHA1 Message Date
mattwr18
1b7ff116d1 Update user.updatedAt when password is reset
- this is updating the user node, so it should update the updatedAt.
we recently ran into an issue where we weren't sure if a user had
successfully changed their password with the passwordReset, and needed
to look into it further to see if the PasswordReset had been used or not
to tell if it was successful.
2020-03-02 15:22:57 +01:00
mattwr18
decc0dceb4
Merge pull request #3149 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-description-5.11.1
build(deps): bump metascraper-description from 5.11.0 to 5.11.1 in /backend
2020-02-24 22:32:19 +01:00
mattwr18
d644f9fc88
Merge pull request #3146 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-23.8.0
build(deps-dev): bump eslint-plugin-jest from 23.7.0 to 23.8.0 in /backend
2020-02-24 22:31:58 +01:00
mattwr18
93522803bc
Merge pull request #3145 from Human-Connection/dependabot/npm_and_yarn/backend/sanitize-html-1.22.0
build(deps): bump sanitize-html from 1.21.1 to 1.22.0 in /backend
2020-02-24 22:31:40 +01:00
mattwr18
3f4c6c8f16
Merge pull request #3144 from Human-Connection/dependabot/npm_and_yarn/backend/nodemailer-6.4.3
build(deps): bump nodemailer from 6.4.2 to 6.4.3 in /backend
2020-02-24 22:31:16 +01:00
dependabot-preview[bot]
d89a082d20
build(deps): bump metascraper-description in /backend
Bumps [metascraper-description](https://github.com/microlinkhq/metascraper) from 5.11.0 to 5.11.1.
- [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.11.0...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 04:19:32 +00:00
dependabot-preview[bot]
8ba6df9abd
build(deps-dev): bump eslint-plugin-jest in /backend
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.7.0 to 23.8.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/v23.7.0...v23.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 04:17:50 +00:00
dependabot-preview[bot]
03b08680e0
build(deps): bump sanitize-html from 1.21.1 to 1.22.0 in /backend
Bumps [sanitize-html](https://github.com/punkave/sanitize-html) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/punkave/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/1.22.0/CHANGELOG.md)
- [Commits](https://github.com/punkave/sanitize-html/compare/1.21.1...1.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 04:17:22 +00:00
dependabot-preview[bot]
137049d4c3
build(deps): bump nodemailer from 6.4.2 to 6.4.3 in /backend
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.4.2 to 6.4.3.
- [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.2...v6.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 04:16:53 +00:00
dependabot-preview[bot]
61cd799df6
build(deps): bump metascraper-video from 5.10.7 to 5.11.1 in /backend
Bumps [metascraper-video](https://github.com/microlinkhq/metascraper) from 5.10.7 to 5.11.1.
- [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.10.7...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 04:16:26 +00:00
Robert Schäfer
1d5d7441da
Merge pull request #3071 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-lang-5.11.1
build(deps): bump metascraper-lang from 5.10.7 to 5.11.1 in /backend
2020-02-22 12:43:49 +01:00
Robert Schäfer
865a0da339
Merge pull request #3136 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-5.11.4
build(deps): bump metascraper from 5.11.0 to 5.11.4 in /backend
2020-02-22 12:43:32 +01:00
Robert Schäfer
9db32e6824
Merge pull request #3137 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-soundcloud-5.11.4
build(deps): bump metascraper-soundcloud from 5.10.7 to 5.11.4 in /backend
2020-02-22 12:43:13 +01:00
Lala Sabathil
11d2b8174b
Merge pull request #3132 from Human-Connection/update-to-version-0.4.0
chore: Update to v0.4.0
2020-02-22 06:24:15 +01:00
dependabot-preview[bot]
c7477f33e0
build(deps): bump metascraper-soundcloud in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.10.7 to 5.11.4.
- [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>
2020-02-22 01:32:36 +00:00
dependabot-preview[bot]
b86c209c7c
build(deps): bump metascraper from 5.11.0 to 5.11.4 in /backend
Bumps [metascraper](https://github.com/microlinkhq/metascraper) from 5.11.0 to 5.11.4.
- [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.11.0...v5.11.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-22 01:32:33 +00:00
dependabot-preview[bot]
7f660e0f41
build(deps): bump metascraper-lang from 5.10.7 to 5.11.1 in /backend
Bumps [metascraper-lang](https://github.com/microlinkhq/metascraper) from 5.10.7 to 5.11.1.
- [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.10.7...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-22 01:32:32 +00:00
dependabot-preview[bot]
56f3f882b6
build(deps): bump metascraper-logo from 5.10.7 to 5.11.1 in /backend
Bumps [metascraper-logo](https://github.com/microlinkhq/metascraper) from 5.10.7 to 5.11.1.
- [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.10.7...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 21:06:39 +00:00
Robert Schäfer
96a87177d4
Merge pull request #3127 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-7.0.13
build(deps): bump graphql-shield from 7.0.11 to 7.0.13 in /backend
2020-02-21 22:02:10 +01:00
Robert Schäfer
c4886c8bcb
Merge pull request #3128 from Human-Connection/dependabot/npm_and_yarn/backend/ioredis-4.16.0
build(deps): bump ioredis from 4.14.1 to 4.16.0 in /backend
2020-02-21 22:01:46 +01:00
mattwr18
2f99207760 Update to v0.4.0 2020-02-21 19:04:53 +01:00
dependabot-preview[bot]
cb5d0af223
build(deps): bump apollo-server from 2.10.0 to 2.10.1 in /backend
Bumps [apollo-server](https://github.com/apollographql/apollo-server) from 2.10.0 to 2.10.1.
- [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.10.0...apollo-server@2.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 12:56:14 +00:00
dependabot-preview[bot]
2d7b9cef03
build(deps): bump graphql-shield from 7.0.11 to 7.0.13 in /backend
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield) from 7.0.11 to 7.0.13.
- [Release notes](https://github.com/maticzav/graphql-shield/releases)
- [Commits](https://github.com/maticzav/graphql-shield/compare/v7.0.11...v7.0.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 12:50:49 +00:00
dependabot-preview[bot]
b06d66ebee
build(deps): bump ioredis from 4.14.1 to 4.16.0 in /backend
Bumps [ioredis](https://github.com/luin/ioredis) from 4.14.1 to 4.16.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/master/Changelog.md)
- [Commits](https://github.com/luin/ioredis/compare/v4.14.1...v4.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 12:50:49 +00:00
mattwr18
2640fcf967
Merge pull request #3120 from Human-Connection/new-link-setup-db
docs(setup): Fix links in tests
2020-02-21 12:48:04 +01:00
Robert Schäfer
e164104791
Merge pull request #3075 from Human-Connection/3074-don’t-expose-all-properties-of-report
feat: 🍰 Expose sensitive report type to moderators only
2020-02-21 12:43:28 +01:00
ogerly
597913555e change: New Link, Learn how to setup the database 2020-02-20 23:17:20 +01:00
dependabot-preview[bot]
6dc84cfe8a
build(deps): bump metascraper-youtube from 5.10.7 to 5.11.1 in /backend
Bumps [metascraper-youtube](https://github.com/microlinkhq/metascraper-youtube) from 5.10.7 to 5.11.1.
- [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>
2020-02-20 22:13:16 +00:00
Robert Schäfer
c963b364e1
Merge pull request #3069 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-date-5.11.1
build(deps): bump metascraper-date from 5.10.7 to 5.11.1 in /backend
2020-02-20 13:55:59 +01:00
Robert Schäfer
f85975e48d
Merge pull request #3070 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-author-5.11.1
build(deps): bump metascraper-author from 5.10.7 to 5.11.1 in /backend
2020-02-20 13:55:46 +01:00
Wolfgang Huß
82f3eb2a29 Delete comments 2020-02-20 11:09:43 +01:00
Wolfgang Huß
5c7f92e557 Remove user GQL prop 'filedUnclosedReportByCurrentUser' again
- Shall be implemented in a later PR.
2020-02-20 10:54:34 +01:00
Wolfgang Huß
4bd7f61fcc Refactor GQL schema, resolvers and moderators report list
- Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-02-20 10:35:37 +01:00
mattwr18
b0bb00f7a5
Merge pull request #3068 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-publisher-5.11.1
build(deps): bump metascraper-publisher from 5.10.7 to 5.11.1 in /backend
2020-02-20 09:32:03 +01:00
dependabot-preview[bot]
312b950590
build(deps): bump @sentry/node from 5.12.3 to 5.12.4 in /backend
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.12.3 to 5.12.4.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.12.3...5.12.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 04:18:08 +00:00
dependabot-preview[bot]
196883c23c
build(deps): bump metascraper-publisher in /backend
Bumps [metascraper-publisher](https://github.com/microlinkhq/metascraper) from 5.10.7 to 5.11.1.
- [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.10.7...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 23:10:39 +00:00
dependabot-preview[bot]
64c03e13f0
build(deps): bump metascraper-author from 5.10.7 to 5.11.1 in /backend
Bumps [metascraper-author](https://github.com/microlinkhq/metascraper) from 5.10.7 to 5.11.1.
- [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.10.7...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 23:10:28 +00:00
dependabot-preview[bot]
eb6a949993
build(deps): bump metascraper-date from 5.10.7 to 5.11.1 in /backend
Bumps [metascraper-date](https://github.com/microlinkhq/metascraper) from 5.10.7 to 5.11.1.
- [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.10.7...v5.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 23:10:27 +00:00
Robert Schäfer
cfd25842c9
Merge pull request #3066 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-audio-5.11.1
build(deps): bump metascraper-audio from 5.10.7 to 5.11.1 in /backend
2020-02-19 16:55:42 +01:00
Wolfgang Huß
3421afe4e0 Refactor tests, next step 2020-02-19 13:33:00 +01:00
Wolfgang Huß
5ffaac193d Refactor tests, going on 2020-02-19 11:37:31 +01:00
dependabot-preview[bot]
b6bca1879f
build(deps-dev): bump apollo-server-testing in /backend
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server) from 2.10.0 to 2.10.1.
- [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.10.0...apollo-server-testing@2.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 08:51:19 +00:00
Robert Schäfer
b7896f9c4e
Merge pull request #3101 from Human-Connection/3088-fix_notificationAdded_is_null
fix(subscriptions): Don't publish undefined
2020-02-19 09:47:38 +01:00
Wolfgang Huß
f380915b2c Refactor GQL and tests, first approach 2020-02-19 08:09:14 +01:00
mattwr18
a346632fff Avoid running cypher statement if not needed
- it just feels safer to not run a cypher statement if there is no user
  in the idsOfUsers array. Why risk notifications pointing to empty
nodes? It doesn't seem like this happens, but I'm not sure how to write
a test to verify, and why run cypher statements, if there is no need to?
2020-02-18 23:19:14 +01:00
mattwr18
54caaaaa0a Remove unnecessary guard clause
- filter returns an empty array, and no notification is created if
  idsOfUsers is an empty array
2020-02-18 22:43:19 +01:00
mattwr18
7fe6fb110b Remove unnecessary negation of negation, refactor
- tests to use `toMatchObject`, which checks that only one notification
  is indeed created
2020-02-18 22:21:49 +01:00
Robert Schäfer
b003fb3f10
Merge pull request #2589 from Human-Connection/2587-geolocation-swap-lng-with-lat
fix: swap lat and lng
2020-02-18 17:55:57 +01:00
roschaefer
f32bfc7e36 fix(subscriptions): Don't publish undefined
Fix #3088
2020-02-18 16:25:11 +01:00
mattwr18
44d503c53c
Merge pull request #3090 from Human-Connection/2202_do_not_encode_the_entire_user_in_bearer_token
fix(jwt): Whitelist encoded JWT attributes
2020-02-18 14:37:15 +01:00