9249 Commits

Author SHA1 Message Date
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]
eb76afbf2c
build(deps-dev): bump jest from 25.1.0 to 25.2.1 in /webapp
Bumps [jest](https://github.com/facebook/jest) from 25.1.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/compare/v25.1.0...v25.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 12:27:40 +00: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]
6c6fedf217
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0
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:49 +00:00
Robert Schäfer
094973aeb5
Merge pull request #3336 from Human-Connection/dependabot/npm_and_yarn/backend/babel-jest-25.2.0
build(deps-dev): bump babel-jest from 25.1.0 to 25.2.0 in /backend
2020-03-26 13:24:55 +01:00
Robert Schäfer
b9cb023136
Merge pull request #3338 from Human-Connection/dependabot/npm_and_yarn/webapp/nuxt-2.12.1
build(deps): bump nuxt from 2.12.0 to 2.12.1 in /webapp
2020-03-26 13:24:38 +01:00
mattwr18
cb0a3f5cdd chore: Fix lint w/ new linting rules 2020-03-26 10:14:51 +01: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
dependabot-preview[bot]
14577f6b3c
build(deps): bump nuxt from 2.12.0 to 2.12.1 in /webapp
Bumps [nuxt](https://github.com/nuxt/nuxt.js) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.12.0...v2.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 08:28:18 +00:00
mattwr18
4078c44ceb
Merge pull request #3340 from Human-Connection/dependabot/npm_and_yarn/webapp/babel-jest-25.2.0
build(deps-dev): bump babel-jest from 25.1.0 to 25.2.0 in /webapp
2020-03-26 09:27:14 +01: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
mattwr18
3e7acd8214
Merge pull request #3333 from Human-Connection/dependabot/npm_and_yarn/expect-25.2.0
build(deps-dev): bump expect from 25.1.0 to 25.2.0
2020-03-26 09:26:19 +01:00
mattwr18
47fec0835f
Merge pull request #3332 from Human-Connection/dependabot/npm_and_yarn/webapp/nuxtjs/sentry-4.0.0
build(deps): bump @nuxtjs/sentry from 3.3.1 to 4.0.0 in /webapp
2020-03-26 09:26:01 +01:00
mattwr18
ea76471efb
Merge pull request #3316 from Human-Connection/dependabot/npm_and_yarn/webapp/babel/core-7.9.0
build(deps-dev): bump @babel/core from 7.8.7 to 7.9.0 in /webapp
2020-03-26 09:25:39 +01:00
mattwr18
09ffcbdbca
Merge pull request #3313 from Human-Connection/dependabot/npm_and_yarn/backend/babel/core-7.9.0
build(deps-dev): bump @babel/core from 7.8.7 to 7.9.0 in /backend
2020-03-26 09:25:14 +01:00
dependabot-preview[bot]
aa91402296
build(deps-dev): bump babel-jest from 25.1.0 to 25.2.0 in /webapp
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 04:21:15 +00: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
dependabot-preview[bot]
2a49f7d2ac
build(deps-dev): bump expect from 25.1.0 to 25.2.0
Bumps [expect](https://github.com/facebook/jest/tree/HEAD/packages/expect) 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/expect)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 04:14:24 +00:00
dependabot-preview[bot]
d71b38d0e4
build(deps): bump @nuxtjs/sentry from 3.3.1 to 4.0.0 in /webapp
Bumps [@nuxtjs/sentry](https://github.com/nuxt-community/sentry-module) from 3.3.1 to 4.0.0.
- [Release notes](https://github.com/nuxt-community/sentry-module/releases)
- [Changelog](https://github.com/nuxt-community/sentry-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sentry-module/compare/v3.3.1...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 20:26:44 +00:00
dependabot-preview[bot]
0a7591ca0a
build(deps-dev): bump @babel/core from 7.8.7 to 7.9.0 in /webapp
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:24:36 +00: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
4c6fc92cd4
Merge pull request #3319 from Human-Connection/dependabot/npm_and_yarn/webapp/babel/preset-env-7.9.0
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0 in /webapp
2020-03-25 21:22:04 +01: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
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
mattwr18
e1733201e8 chore: Fix lint, follow @alina-beck suggestions 2020-03-25 11:02:28 +01:00
Alina Beck
478e4fa08f include magic numbers in tokens, fix tests 2020-03-25 11:02:28 +01:00
Alina Beck
d9c3412b41 outsource styling to FilterMenuSection component
@mattwr18 great work and great styling so far! ;)
fyi: I noticed there was a lot of duplicate CSS and the solution I came up with is this new component, using slots
2020-03-25 11:02:28 +01:00
mattwr18
863656f718 chore: add story for LabeledButton 2020-03-25 11:02:28 +01:00
mattwr18
70bf870e4a chore: update name for HashtagsFilter 2020-03-25 11:02:28 +01:00
mattwr18
771fe49da6 chore: Fix locales sorting 2020-03-25 11:02:28 +01:00
mattwr18
eb4536d855 refactor: test the functionality separately 2020-03-25 11:02:28 +01:00
mattwr18
5b8fecc6ef refactor: Extract LanguagesFilter to its own spec 2020-03-25 11:02:28 +01:00
mattwr18
bb183b1211 refactor: Extract FollowingFilter to its own spec 2020-03-25 11:02:28 +01:00
mattwr18
27c3c02e07 refactor: Extract CategoriesFilter to it own spec 2020-03-25 11:02:28 +01:00
mattwr18
38d2edf0f2 refactor: Extract EmotionsFilter to its own spec 2020-03-25 11:02:28 +01:00
mattwr18
4f8a4c6753 Refactor LanguageFilter to remove ds-flex 2020-03-25 11:02:28 +01:00
mattwr18
e400a10c45 chore: rename/refactor filter, make responsive
- Make the emotions filter similar in style to CategoriesFilter
2020-03-25 11:02:28 +01:00
mattwr18
0f03d09723 refactor: Extract FollowingFilter as own component
Co-authored-by: Alina Beck <alina.beck@mail.com>
2020-03-25 11:02:28 +01:00
mattwr18
b19a2a8dea Refactor GeneralFilter to remove unnecessary code
- remove ds-flex, ds-flex-item, ds-space, ds-heading
- not really happy with the design, and in mobile the divider border is
  hidden(!?)
2020-03-25 11:02:28 +01:00
Alina Beck
1ffde6bf10 refactor: CategoriesFilter to not use ds-flex
Co-authored-by: mattwr18 <mattwr18@gmail.com>

- introduce LabeledButton component
- rename FilterMenu to HashtagsFilter and FilterPosts to FilterMenu
2020-03-25 11:02:00 +01:00
dependabot-preview[bot]
6b5fda4517
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0 in /webapp
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-25 09:06:06 +00:00