3566 Commits

Author SHA1 Message Date
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
Moriz Wahl
5b41561cc4 throw error added to template 2020-02-18 14:16:46 +01:00
mattwr18
1b62dc3b2e Remove sequence for slug as it's not needed 2020-02-18 13:40:48 +01:00
mattwr18
6f6b1534df Reload page to add Category button
- I believe the cypress test is so fast that we visit the post/create
  page before the relationship CATEGORIZED is added, and therefore, we
must refresh the page.
- I am not happy about this solution, but I'm not sure what we can do...
  maybe wait for the post to be succesfully created with all it's
relationships?
2020-02-18 13:33:34 +01:00
roschaefer
e41a639cf1 fix(jwt): Encode only 3 attributes in JWT
This will prevent unintentional encoding of users email addresses in the
JWT.

@steffi201028 this might be interesting for you as well.
2020-02-18 11:23:04 +01:00
mattwr18
0f74273b5b Let post factory create default category
- since we have factories that ensure a post has a category created, we
  don't need extra code to create a category before the post
2020-02-18 10:36:34 +01:00
mattwr18
ee3a85f70f Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3054-add-e2e-tests-image-uploader 2020-02-18 09:38:56 +01:00
roschaefer
6bba756856 Fix seeds, don't create additional categories 2020-02-18 00:30:53 +01:00
mattwr18
3398c2c12a Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3054-add-e2e-tests-image-uploader 2020-02-17 18:38:09 +01:00
Wolfgang Huß
ba3cfa8e04 Set sensible report properties to moderators only in the permissionsMiddleware 2020-02-14 16:52:51 +01:00
mattwr18
6ea2f3c8a9
Merge pull request #3029 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-23.7.0
build(deps-dev): bump eslint-plugin-jest from 23.6.0 to 23.7.0 in /backend
2020-02-14 11:28:18 +01:00