3734 Commits

Author SHA1 Message Date
dependabot[bot]
a35c77fbab
Bump graphql from 14.2.1 to 14.3.0 in /webapp
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.2.1 to 14.3.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.2.1...v14.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 04:51:14 +00:00
Matt Rider
696ddcb543 Revert webapp/package.json yarn.lock
- upgrading tiptap introduces a breaking change to the tests for the editor
- issue reported here https://github.com/scrumpy/tiptap/issues/188
2019-05-07 20:46:08 -03:00
mattwr18
fe4535e2d7
Merge branch 'master' into 554-add-component-test-CommentForm 2019-05-07 20:16:16 -03:00
Matt Rider
09a8ad78b8 Merge in changes in master from comments PR #536 2019-05-07 20:13:41 -03:00
48920f8b9d
empty strength bar for empty password field 2019-05-07 20:41:22 +02:00
f6b25fd8f2
reset form after successful pw change 2019-05-07 20:34:25 +02:00
0f2c0f7efe
updated styleguide to 0.5.17, fixed password cross validation & display passwordstrength on passwordchange 2019-05-07 20:22:38 +02:00
Robert Schäfer
099a5c9cf4 Remove obsolete docker-compose files
Since we moved to a monorepo, we have it in the top level folder.
2019-05-07 19:24:59 +02:00
305c999321
updated nitro-styleguide package 2019-05-07 16:42:35 +02:00
aonomike
399507c7fb Fix linting issues 2019-05-07 15:56:31 +03:00
aonomike
3ff034d014 Refactor <img> tags to use Image component 2019-05-07 15:21:42 +03:00
34fa8cf29a
blind changes - need updated sytleguide for verifying 2019-05-07 14:13:45 +02:00
Robert Schäfer
0637d97648 Merge remote-tracking branch 'origin/master' into 2019/kw15/User_can_change_its_username_to_emptystring 2019-05-07 14:09:10 +02:00
Robert Schäfer
c62e4a717c
Merge pull request #550 from Human-Connection/dependabot/npm_and_yarn/webapp/jest-24.8.0
Bump jest from 24.7.1 to 24.8.0 in /webapp
2019-05-07 14:00:48 +02:00
dependabot[bot]
90603007f3
Bump jest from 24.7.1 to 24.8.0 in /webapp
Bumps [jest](https://github.com/facebook/jest) from 24.7.1 to 24.8.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.7.1...v24.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 10:47:25 +00:00
dependabot[bot]
d538b4e195
Bump tiptap-extensions from 1.17.0 to 1.18.1 in /webapp
Bumps [tiptap-extensions](https://github.com/scrumpy/tiptap) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/scrumpy/tiptap/releases)
- [Commits](https://github.com/scrumpy/tiptap/compare/tiptap-extensions@1.17.0...tiptap-extensions@1.18.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 10:47:00 +00:00
Robert Schäfer
b8cecd7fe3
Merge pull request #536 from Human-Connection/352-add-authorship-to-comments
Add authorship to comments at creation
2019-05-07 12:03:29 +02:00
dependabot[bot]
30a5e394c7
Bump tiptap from 1.17.0 to 1.18.0 in /webapp
Bumps [tiptap](https://github.com/scrumpy/tiptap) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/scrumpy/tiptap/releases)
- [Commits](https://github.com/scrumpy/tiptap/compare/tiptap@1.17.0...tiptap@1.18.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-07 04:52:37 +00:00
Robert Schäfer
0d07873659
Merge pull request #515 from Human-Connection/dependabot/npm_and_yarn/webapp/node-sass-4.12.0
Bump node-sass from 4.11.0 to 4.12.0 in /webapp
2019-05-07 01:39:07 +02:00
Matt Rider
7e1f168ba3 Start writing component tests
- for some reason the error toaster is not being called even though the .catch is being called
2019-05-06 20:36:45 -03:00
Robert Schäfer
d0765f82c4
Merge pull request #504 from Human-Connection/469-add-coveralls
Add test coverage
2019-05-07 00:05:32 +02:00
Robert Schäfer
4097f0ed82
Merge pull request #452 from Human-Connection/451-lokalise-unlocalised-texts
[WIP] 451 lokalise unlocalised texts
2019-05-06 23:10:00 +02:00
dependabot[bot]
a58258c668
Bump node-sass from 4.11.0 to 4.12.0 in /webapp
Bumps [node-sass](https://github.com/sass/node-sass) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.11.0...v4.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 21:08:52 +00:00
Robert Schäfer
4bde7703ae
Merge pull request #531 from Human-Connection/dependabot/npm_and_yarn/webapp/nodemon-1.19.0
Bump nodemon from 1.18.11 to 1.19.0 in /webapp
2019-05-06 23:06:49 +02:00
Robert Schäfer
f27dca504b Refactor mixin with computed property
@ulfgebhardt I refactored the mixin because it's not enough code to
justify the additional complexity. If it's just two lines of code, I
find it the best solution to use a computed property.

You can use components and computed properties excessively, they tend to
be easier to maintain in the long run.
2019-05-06 22:59:25 +02:00
Robert Schäfer
ad111f5701 Double-check changed expectations, fix tests
See:
https://github.com/Human-Connection/Human-Connection/pull/478/files#r281267486

> We found the reason for it: If you have an exclamation mark in the schema e.g.
> email! and the response would e.g. expect the email for each User object, and
> the server does not have an email for the client, then the entire User object
> gets nullified.
2019-05-06 19:26:53 +02:00
Wolfgang Huß
41711c316a Get delete SocialMedia to work, refactored Frontend Jest tests, written Cypress tests
Optimised tests and Vue for add Social Media a bit.
Added localisation.

Finished this commit together with @mattwr18 !!!
Thank you so much dude! You did great stuff …
2019-05-06 17:31:02 +02:00
e26b2eabcc
transalte status messages in validation 2019-05-06 15:06:23 +02:00
f3f0b40537
bind to sytleguide on password strength component, transalte security settings labels, bind to user input validation function which is not working currently 2019-05-06 14:46:15 +02:00
9fcddfbd97
Merge branch 'master' into 2019/kw15/change_password_strength 2019-05-06 13:59:03 +02:00
dependabot[bot]
c046524b8f
Bump babel-jest from 24.7.1 to 24.8.0 in /webapp
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.7.1 to 24.8.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/v24.8.0/packages/babel-jest)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 04:59:48 +00:00
Matt Rider
ad46c2d059 Remove cypress test
- it is not part of the scope of this ticket, and therefore should be extracted and dealt with separately
2019-05-05 12:26:02 -03:00
Matt Rider
1fff9bbc46 Add cypress test to expose comment creation bug
- at the moment, one can create the same comment by clicking rapidly on the "Comment" button
- an idea for a fix https://stackoverflow.com/questions/53101521/prevent-repeated-queries-in-apollo-server-2
2019-05-04 18:46:34 -03:00
Wolfgang Huß
2af9b853a1 Add first try of Webapp Component Test
Add `ìd` to the SocialMedia data
2019-05-04 10:13:40 +02:00
Matt Rider
70fb34345d Improve test by mounting CommentList with data 2019-05-03 15:53:16 -03:00
Matt Rider
da218f8a58 Add component test for extracted CommentList.vue 2019-05-03 15:48:20 -03:00
Matt Rider
d1c8682710 Update method name to be more descriptive/accurate 2019-05-03 15:47:54 -03:00
aonomike
f4b054d4c5 Fix linting error 2019-05-03 20:46:58 +03:00
Matt Rider
ebc290c6af Delete CommentForm.test.js, remove console.log
- this test is not part of this PR and I'll create another issue and put in a different PR for it
2019-05-03 13:39:43 -03:00
Matt Rider
957d894322 Start writing component test
- restructured directories
2019-05-03 11:18:14 -03:00
aonomike
f8ff40148c Add implementation to prefix relative image urls with '/api' 2019-05-03 16:21:33 +03:00
Matt Rider
40f5b6acd5 Extract CommentsList component
- this allows to Query for comments by Post
2019-05-02 21:03:31 -03:00
Matt Rider
346158da7f Update to use autogenerated Comment Query
- using the custom CommentByPost Query was not returning the author of the Post, therefore the users avatar was not showing up
- there are some weird bugs with the comments, if you dblclick on the button, two comments with the same content are created
- sometimes the comments appear as the bottom of the list, sometimes they appear three comments from the bottom(?)
2019-05-02 19:59:35 -03:00
Robert Schäfer
b742efd02e
Merge branch 'master' into delete-posts 2019-05-02 19:29:24 +02:00
Wolfgang Huß
3294cffa88 Renamed handleDeleteSocialMedia 2019-05-02 18:09:46 +02:00
ad05dcf735
frontend tests, backend tests 2019-05-02 17:47:34 +02:00
Wolfgang Huß
b03cbb212a First Vue design of delete SocialMedia, custom mutation DeleteSocialMedia
Backend Jest tests for DeleteSocialMedia
New backend Jest tests for CreateSocialMedia
2019-05-02 17:41:54 +02:00
0be2891858
make email a required field for user, tests for front- & backend 2019-05-02 16:17:16 +02:00
Wolfgang Huß
a4f5fdc324 Make SocialMedia Links to target="_blank" 2019-05-02 07:22:32 +02:00
dependabot[bot]
4f0ded1ff0
Bump nodemon from 1.18.11 to 1.19.0 in /webapp
Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.11 to 1.19.0.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.18.11...v1.19.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-02 04:50:47 +00:00