2805 Commits

Author SHA1 Message Date
mattwr18
b7f289bad3
Merge pull request #3348 from Human-Connection/dependabot/npm_and_yarn/backend/sentry/node-5.15.2
build(deps): bump @sentry/node from 5.15.0 to 5.15.2 in /backend
2020-03-27 07:47:54 +01:00
dependabot-preview[bot]
16bc709fb3
build(deps): bump aws-sdk from 2.638.0 to 2.647.0 in /backend
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.638.0 to 2.647.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.638.0...v2.647.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 04:18:05 +00:00
dependabot-preview[bot]
fef2f4d700
build(deps): bump @sentry/node from 5.15.0 to 5.15.2 in /backend
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.15.0 to 5.15.2.
- [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.15.0...5.15.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 04:16:31 +00:00
dependabot-preview[bot]
315218caaa
build(deps-dev): bump jest from 25.2.0 to 25.2.3 in /backend
Bumps [jest](https://github.com/facebook/jest) from 25.2.0 to 25.2.3.
- [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/v25.2.0...v25.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 04:15:50 +00:00
mattwr18
ff348fdd5c chore: remove image nodes that point to nothing
- remove their relationships to posts/users as well
2020-03-26 19:01:09 +01:00
roschaefer
cedd0ac9e8 Code creep: Avoid migration errors
..because of existing indices. I think this is unnecessary, e.g. in
development.
2020-03-26 16:41:32 +01:00
roschaefer
2e1d5b6bb8 chore(migration): Remove dangling urls 2020-03-26 16:39:03 +01:00
Robert Schäfer
abd67a0103
Merge pull request #3314 from Human-Connection/dependabot/npm_and_yarn/backend/babel/preset-env-7.9.0
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0 in /backend
2020-03-26 15:54:27 +01:00
Robert Schäfer
67f7d3bfd4
Merge pull request #3341 from Human-Connection/dependabot/npm_and_yarn/backend/babel-jest-25.2.1
build(deps-dev): bump babel-jest from 25.2.0 to 25.2.1 in /backend
2020-03-26 15:54:20 +01:00
Robert Schäfer
43d1990d72
Merge pull request #3262 from Human-Connection/3250_upload_images_to_spaces
feat(backend): upload original image files on S3 object storage
2020-03-26 15:53:19 +01:00
mattwr18
bde6bfc5fa fix(migration): fix errors after dry run
- avoid content-type is not a string, by checking if there is a mimeType
  or giving it a default 'image/jpeg'
- check if the file exists before trying to upload it (maybe this is
  only an issue locally, but about half the files didn't exist in the
file system.
2020-03-26 14:03:21 +01:00
dependabot-preview[bot]
8ae8c9967e
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0 in /backend
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [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.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 12:26:59 +00:00
dependabot-preview[bot]
251c3b8eda
build(deps-dev): bump babel-jest from 25.2.0 to 25.2.1 in /backend
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 25.2.0 to 25.2.1.
- [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/v25.2.1/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 12:26:55 +00:00
dependabot-preview[bot]
1120b69b0d
build(deps-dev): bump babel-jest from 25.1.0 to 25.2.0 in /backend
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 25.1.0 to 25.2.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/v25.2.0/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 08:29:13 +00:00
mattwr18
75c1d93e85
Merge pull request #3335 from Human-Connection/dependabot/npm_and_yarn/backend/jest-25.2.0
build(deps-dev): bump jest from 25.1.0 to 25.2.0 in /backend
2020-03-26 09:26:53 +01:00
dependabot-preview[bot]
e5163deed4
build(deps): bump helmet from 3.21.3 to 3.22.0 in /backend
Bumps [helmet](https://github.com/helmetjs/helmet) from 3.21.3 to 3.22.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.21.3...v3.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 04:16:26 +00:00
dependabot-preview[bot]
cc7bfaf5f6
build(deps-dev): bump jest from 25.1.0 to 25.2.0 in /backend
Bumps [jest](https://github.com/facebook/jest) from 25.1.0 to 25.2.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/v25.1.0...v25.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 04:15:17 +00:00
Raphael Beer
ebebb56a36
Chore: apply prettier update to backend change 2020-03-26 04:18:00 +01:00
dependabot-preview[bot]
f1b0506ae3
build(deps-dev): bump @babel/core from 7.8.7 to 7.9.0 in /backend
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [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.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 20:23:53 +00:00
Robert Schäfer
7f90f5c050
Merge pull request #3305 from Human-Connection/dependabot/npm_and_yarn/backend/babel/register-7.9.0
build(deps-dev): bump @babel/register from 7.8.6 to 7.9.0 in /backend
2020-03-25 21:21:55 +01:00
Raphael Beer
481c96ee04
Change: seed db with all random users being followers/followed by user@example.com 2020-03-25 12:45:55 +01:00
roschaefer
8a90bf1642 Fix backend tests 2020-03-25 11:09:06 +01:00
roschaefer
79808fe692 fix(s3): Avoid invalid URL error on delete 2020-03-25 11:09:06 +01:00
roschaefer
e9bd969f0a Fix cypress tests 2020-03-25 11:09:06 +01:00
roschaefer
32da8b2982 refactor: Remove redundant credentials
aws-sdk reads them from environment variables.
2020-03-25 11:09:06 +01:00
roschaefer
eb838257d4 Ensure overwritten images are deleted on S3 2020-03-25 11:09:06 +01:00
mattwr18
2447e2b39b feat: Support/favor s3Uploads for new uploads 2020-03-25 11:08:57 +01:00
mattwr18
c33217c526 Find mimeType/update image.url 2020-03-25 11:07:57 +01:00
roschaefer
179d9d000a Start migration to bulk upload images to S3 2020-03-25 11:07:57 +01:00
dependabot-preview[bot]
b58f9e524e
build(deps-dev): bump @babel/register from 7.8.6 to 7.9.0 in /backend
Bumps [@babel/register](https://github.com/babel/babel) from 7.8.6 to 7.9.0.
- [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.8.6...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 09:05:47 +00:00
mattwr18
33237d8803
Merge pull request #3331 from Human-Connection/dependabot/npm_and_yarn/backend/sentry/node-5.15.0
build(deps): bump @sentry/node from 5.14.2 to 5.15.0 in /backend
2020-03-25 10:04:54 +01:00
dependabot-preview[bot]
688ca35bfe
build(deps): bump @sentry/node from 5.14.2 to 5.15.0 in /backend
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.14.2 to 5.15.0.
- [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.14.2...5.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 04:17:51 +00:00
roschaefer
6a0b5a22e0 Merge remote-tracking branch 'origin/master' into 17-Admin-Remove-user-profile 2020-03-24 21:48:22 +01:00
roschaefer
515aade3d0 Update eslint-config-* 2020-03-24 21:16:58 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
Robert Schäfer
0f471235e4
Merge pull request #3323 from Human-Connection/3322-fix-image-url-returns-undefined
fix(migration): return null for Image.url
2020-03-24 13:41:23 +01:00
mattwr18
a668329327
Merge pull request #3296 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-7.2.1
build(deps): bump graphql-shield from 7.2.0 to 7.2.1 in /backend
2020-03-24 09:39:09 +01:00
mattwr18
6e0459ca2d fix(build): make locations spec more resilient 2020-03-23 20:45:17 +01:00
mattwr18
2c997b2d0a fix(build): make locations spec more resilient 2020-03-23 20:43:31 +01:00
mattwr18
698c85b262 fix(backend): Obfuscate avatar/image fix test
- Then Image.url can be non-nullable because we return null if the
  resource is deleted.
2020-03-23 19:16:10 +01:00
mattwr18
e0e026a8b8 fix(migration): return null for Image.url 2020-03-23 18:46:28 +01:00
roschaefer
ed7b739d98 fix(migration): Avoid unique constraint violation 2020-03-20 20:25:37 +01:00
mattwr18
b08b2da0a1 chore: upgrade to v0.5.0 2020-03-20 12:35:20 +01:00
mattwr18
576b511d03
Merge pull request #3297 from Human-Connection/2143-search-for-hashtags
feat: Search for Hashtags
2020-03-20 12:25:47 +01:00
mattwr18
8f99851492
Merge pull request #3300 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-soundcloud-5.11.7
build(deps): bump metascraper-soundcloud from 5.11.6 to 5.11.7 in /backend
2020-03-20 10:42:10 +01:00
dependabot-preview[bot]
4e32ab7e6c
build(deps): bump metascraper-soundcloud in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.11.6 to 5.11.7.
- [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-03-20 04:17:58 +00:00
dependabot-preview[bot]
42c8754e88
build(deps): bump validator from 12.2.0 to 13.0.0 in /backend
Bumps [validator](https://github.com/chriso/validator.js) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/chriso/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chriso/validator.js/compare/12.2.0...13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 04:17:19 +00:00
Moriz Wahl
7d29400ef9 tag fulltext index added to store 2020-03-19 15:44:30 +01:00
Moriz Wahl
4e3705f607 specs for Search for Hashtags 2020-03-19 15:10:52 +01:00
Moriz Wahl
1c43d5fe6f Search for Hashtags works due watching route in pages/index.vue 2020-03-19 14:19:13 +01:00