2892 Commits

Author SHA1 Message Date
dependabot-preview[bot]
5097c41cec
build(deps-dev): bump @storybook/vue from 5.3.9 to 5.3.10 in /webapp (#2961)
Bumps [@storybook/vue](https://github.com/storybookjs/storybook/tree/HEAD/app/vue) from 5.3.9 to 5.3.10.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.10/app/vue)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 01:30:37 +01:00
dependabot-preview[bot]
6c15d6cf09
build(deps): bump @nuxtjs/axios from 5.9.4 to 5.9.5 in /webapp (#2962)
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.9.4 to 5.9.5.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.9.4...v5.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 01:30:20 +01:00
mattwr18
335e7127b8 Update mute/unmute icon to unused icon
- we are already using eye/eye-slash for disable/release
2020-02-03 21:14:38 +01:00
mattwr18
34ec61153a
Fix typo (#2966) 2020-02-03 15:06:08 +01:00
dependabot-preview[bot]
367084155b
build(deps-dev): bump @babel/core from 7.8.3 to 7.8.4 in /webapp (#2939)
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [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.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 18:29:10 +01:00
mattwr18
c8c71a52c6 Follow @Tirokk PR review suggestions
- Favor lowercase for words in a sentence after the first
- Use exclamation marks for successful actions that use a toastr
- place events at the end of the list on components
- place class above events
- it would be nice to come to a consensus based on best practices, like
  I had a doubt and places the class definition below the props, is that
what others do?
2020-01-31 13:09:37 +01:00
mattwr18
701411e270 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1680-Direct_answer_on_Comment 2020-01-31 13:08:31 +01:00
mattwr18
44250d2f66
Merge pull request #2932 from Human-Connection/dependabot/npm_and_yarn/webapp/babel/preset-env-7.8.4
build(deps-dev): bump @babel/preset-env from 7.8.3 to 7.8.4 in /webapp
2020-01-31 12:42:06 +01:00
dependabot-preview[bot]
d5b664ece4
build(deps-dev): bump @babel/preset-env from 7.8.3 to 7.8.4 in /webapp
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [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.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 07:44:28 +00:00
dependabot-preview[bot]
30e77c38ec
build(deps): bump @nuxtjs/axios from 5.9.3 to 5.9.4 in /webapp
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.9.3 to 5.9.4.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.9.3...v5.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 04:21:28 +00:00
mattwr18
60cd593826 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1724-block-users 2020-01-30 10:47:50 +01:00
mattwr18
bcc1ab167e Improve styling per @alina-beck review 2020-01-30 10:46:43 +01:00
mattwr18
16185ce03e
Merge pull request #2925 from Human-Connection/dependabot/npm_and_yarn/webapp/cookie-universal-nuxt-2.1.1
build(deps): bump cookie-universal-nuxt from 2.1.0 to 2.1.1 in /webapp
2020-01-30 09:40:06 +01:00
dependabot-preview[bot]
00a644996f
build(deps): bump @nuxtjs/sentry from 3.0.1 to 3.1.0 in /webapp
Bumps [@nuxtjs/sentry](https://github.com/nuxt-community/sentry-module) from 3.0.1 to 3.1.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.0.1...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 04:18:54 +00:00
dependabot-preview[bot]
01aa015960
build(deps-dev): bump eslint-config-prettier in /webapp
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.9.0...v6.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 09:03:48 +00:00
dependabot-preview[bot]
277fd4d9dd
build(deps): bump cookie-universal-nuxt from 2.1.0 to 2.1.1 in /webapp
Bumps [cookie-universal-nuxt](https://github.com/microcipcip/cookie-universal) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/microcipcip/cookie-universal/releases)
- [Commits](https://github.com/microcipcip/cookie-universal/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 04:21:36 +00:00
Robert Schäfer
65811e2d8b
Merge pull request #2898 from Human-Connection/add_underline_menu_button
feat(editor): Underline markup for posts+comments
2020-01-28 22:34:30 +01:00
mattwr18
c2764e5565
Merge pull request #2914 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-a11y-5.3.9
build(deps-dev): bump @storybook/addon-a11y from 5.3.8 to 5.3.9 in /webapp
2020-01-28 11:35:43 +01:00
mattwr18
abeb2e97ed
Merge pull request #2871 from Human-Connection/fix-avatar-issues
fix(webapp): 🐛 Adjust Avatar Sizes and 'z-index'
2020-01-28 01:09:55 +01:00
mattwr18
d6a2f2d9e3 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1680-Direct_answer_on_Comment 2020-01-27 20:08:37 +01:00
Alina Beck
c74eebfcdc use $event instead of event in vue template 2020-01-27 19:25:46 +01:00
Alina Beck
73a1d54915 remove z-index from UserAvatar 2020-01-27 19:17:22 +01:00
dependabot-preview[bot]
3a67361dbd
build(deps-dev): bump @storybook/addon-a11y in /webapp
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/addons/a11y) from 5.3.8 to 5.3.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.9/addons/a11y)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 15:39:32 +00:00
mattwr18
3f3634210a
Merge pull request #2913 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/vue-5.3.9
build(deps-dev): bump @storybook/vue from 5.3.8 to 5.3.9 in /webapp
2020-01-27 16:36:47 +01:00
mattwr18
8561d28adf
Merge pull request #2905 from Human-Connection/dependabot/npm_and_yarn/webapp/graphql-14.6.0
build(deps): bump graphql from 14.5.8 to 14.6.0 in /webapp
2020-01-27 15:11:05 +01:00
dependabot-preview[bot]
9fe83b4a49
build(deps-dev): bump @storybook/vue from 5.3.8 to 5.3.9 in /webapp
Bumps [@storybook/vue](https://github.com/storybookjs/storybook/tree/HEAD/app/vue) from 5.3.8 to 5.3.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.9/app/vue)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 14:00:59 +00:00
mattwr18
ca276f24e6
Merge pull request #2910 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-notes-5.3.9
build(deps-dev): bump @storybook/addon-notes from 5.3.8 to 5.3.9 in /webapp
2020-01-27 14:58:22 +01:00
mattwr18
36130d9d7c Check that stubbed component method is called 2020-01-27 13:44:40 +01:00
dependabot-preview[bot]
ee3718f0f1
build(deps): bump graphql from 14.5.8 to 14.6.0 in /webapp
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.5.8 to 14.6.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.5.8...v14.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 11:38:23 +00:00
mattwr18
983e846d54
Merge pull request #2916 from Human-Connection/dependabot/npm_and_yarn/webapp/cross-env-7.0.0
build(deps): bump cross-env from 6.0.3 to 7.0.0 in /webapp
2020-01-27 12:36:04 +01:00
dependabot-preview[bot]
bfba2c7993
build(deps-dev): bump @storybook/addon-notes in /webapp
Bumps [@storybook/addon-notes](https://github.com/storybookjs/storybook/tree/HEAD/addons/notes) from 5.3.8 to 5.3.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.9/addons/notes)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 09:53:49 +00:00
mattwr18
bade898914
Merge pull request #2915 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook-design-token-0.5.1
build(deps-dev): bump storybook-design-token from 0.5.0 to 0.5.1 in /webapp
2020-01-27 10:52:43 +01:00
mattwr18
215770cac9
Merge pull request #2912 from Human-Connection/dependabot/npm_and_yarn/webapp/validator-12.2.0
build(deps): bump validator from 12.1.0 to 12.2.0 in /webapp
2020-01-27 10:52:10 +01:00
dependabot-preview[bot]
c8e7aab4c3
build(deps): bump cross-env from 6.0.3 to 7.0.0 in /webapp
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v6.0.3...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 09:52:06 +00:00
dependabot-preview[bot]
b51ddde470
build(deps-dev): bump storybook-design-token in /webapp
Bumps [storybook-design-token](https://github.com/UX-and-I/storybook-design-token) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/UX-and-I/storybook-design-token/releases)
- [Commits](https://github.com/UX-and-I/storybook-design-token/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 04:21:08 +00:00
dependabot-preview[bot]
287ed2698f
build(deps): bump validator from 12.1.0 to 12.2.0 in /webapp
Bumps [validator](https://github.com/chriso/validator.js) from 12.1.0 to 12.2.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.1.0...12.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 04:19:34 +00:00
dependabot-preview[bot]
578d2875a7
build(deps-dev): bump @storybook/addon-actions in /webapp
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.3.8 to 5.3.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.9/addons/actions)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 04:18:13 +00:00
roschaefer
789c40c34e feat(editor): Underline markup for posts+comments
We had tiptap's underline and never used it. A user has asked for it, so
why not implement it right away?

Suggested by `@raimundo@human-connection.social`:
https://human-connection.social/post/612bf465-91ce-4be8-906e-3bde63617346/hcsocial-dein-netzwerk-news-mit-dennis-and-robert-1#commentId-b864d04f-1e8c-48c4-9ed0-98aefaed1c02
2020-01-26 20:39:52 +01:00
Mike Aono
d49afc25cf test(cypress): Cover "Pinned post" feature
* Implement cypress tests

- Start implementation of cypress tests for pinned posts

* Test that Admin can pin a post

- Tests the process of an admin pinning a post

* Resolve failing tests

- Fix ordering of posts immediately after pinning posts by reloading page
- Check that tests are pinned posts are displayed first for role user

* Refactor to seperate the initialization

- Of the post data created in the database during setup

* Fix toaster test

* test(cypress): Add missing parts for pin feature

* docs(cucumber): Link to admin 🥒 folder

* Follow @mattwr18's suggestions

* test(backend): Order pinned posts like frontend

@mattwr18 I think this was a false negative.

Co-authored-by: Robert Schäfer <git@roschaefer.de>
2020-01-23 20:30:12 +01:00
mattwr18
bbb4dd56cd Follow review suggestions/add button to unblock
- @roschaefer gave several suggestions
- we have a button to unblock/unmute users on profile page
2020-01-23 19:18:12 +01:00
mattwr18
853ff9b92b Stub component, rename component, refactor
- We need to stub the Editor since it throws difficult to interpret
  errors about view.root.getSelection, but we want to stub it's methods
as well, so that we don't need a guard clause just for tests.

- CommentForm is already multiword
- Favor update over result for Vue apollo smart queries
2020-01-23 14:03:14 +01:00
mattwr18
d15037607c Add component test for direct reply to comment
- we have found it challenging to add component tests that mount the
  tiptap editor, so we are stubbing it, which means that we will add e2e
tests to up the coverage of how much of the workflow has automated tests
2020-01-23 13:05:36 +01:00
mattwr18
2177f5e139
Merge pull request #2868 from Human-Connection/dependabot/npm_and_yarn/webapp/jest-25.1.0
build(deps-dev): bump jest from 24.9.0 to 25.1.0 in /webapp
2020-01-22 22:35:00 +01:00
mattwr18
07797d8f87
Merge pull request #2867 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/vue-5.3.8
build(deps-dev): bump @storybook/vue from 5.3.7 to 5.3.8 in /webapp
2020-01-22 22:34:09 +01:00
Alina Beck
7c090cc3ed set z-index for UserTeaser only on PostCard 2020-01-22 18:09:44 +03:00
Alina Beck
0392826211 set avatar size to small in AvatarMenu and for Anonymous users 2020-01-22 18:05:00 +03:00
dependabot-preview[bot]
2b52d7599c
build(deps-dev): bump jest from 24.9.0 to 25.1.0 in /webapp
Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 25.1.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/v24.9.0...v25.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 14:22:28 +00:00
dependabot-preview[bot]
8f88d03239
build(deps-dev): bump @storybook/vue from 5.3.7 to 5.3.8 in /webapp
Bumps [@storybook/vue](https://github.com/storybookjs/storybook/tree/HEAD/app/vue) from 5.3.7 to 5.3.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.8/app/vue)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 13:07:47 +00:00
dependabot-preview[bot]
dff9f6ea84
build(deps-dev): bump babel-jest from 24.9.0 to 25.1.0 in /webapp
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.9.0 to 25.1.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.1.0/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 13:07:23 +00:00
Alexander Friedland
9776efe760
Merge branch 'master' into 1680-Direct_answer_on_Comment 2020-01-22 11:46:04 +01:00