358 Commits

Author SHA1 Message Date
Matt Rider
5058a0c778 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2019/kw15/change_password_strength 2019-05-08 20:31:21 -03:00
aonomike
bf57198815 Refactor code based on comments from PR review 2019-05-09 02:27:03 +03:00
0a1359ed63
Merge branch 'master' into 572-downgrade-tiptap-due-to-bug-introduced-in-newer-version 2019-05-09 00:40:40 +02:00
dependabot[bot]
2b67b7ddca
Bump @human-connection/styleguide from 0.5.15 to 0.5.17 in /webapp
Bumps @human-connection/styleguide from 0.5.15 to 0.5.17.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 21:57:33 +00:00
d6f423d845
Merge pull request #574 from Human-Connection/2019/kw19/codecov
2019/kw19/codecov
2019-05-08 23:55:20 +02:00
Daniel Grijalva
07bf1b4653 comply with tests 2019-05-08 13:57:47 -07:00
9c9522af8b
typo 2019-05-08 22:53:11 +02:00
63b7ded4b6
ignore test modules in coverage estimation 2019-05-08 22:42:33 +02:00
Daniel Grijalva
87c3f4619e lint fix 2019-05-08 13:29:39 -07:00
Daniel Grijalva
885a282b2a Merge branch 'delete-posts' of github.com:danielgrijalva/Human-Connection into delete-posts 2019-05-08 12:16:13 -07:00
Daniel Grijalva
6af29c6b8e DeleteModal tests 2019-05-08 12:15:48 -07:00
9d7a9fd3de
bavel plugin for dynamic imports, frontend test & coverage collection working fine 2019-05-08 20:40:03 +02:00
28c44f2781
corrected testMatch pattern, fixed backend coverage collection (?) 2019-05-08 20:16:18 +02:00
900dfb9693
renabled tests - it seems like the reports do not work very well 2019-05-08 20:04:55 +02:00
3ca04a5c1e
typo 2019-05-08 20:02:52 +02:00
ec9b3607d8
compute coverage over all code 2019-05-08 19:52:04 +02:00
4092a8873b
overall coverage seems not to be reported..., removed parts of tests not the whole thing 2019-05-08 19:38:01 +02:00
12ec2b8683
fixed codecov report layout, disabled tests in front- & backend for testing - should fail 2019-05-08 19:13:09 +02:00
Matt Rider
943a7c7a89 Revert tiptap upgrade
- it introduced a bug that caused failing tests
- I have found an open issue on the repo and commented what I experienced here https://github.com/scrumpy/tiptap/issues/188#issuecomment-490532736
2019-05-08 12:29:23 -03:00
Wolfgang Huß
c4a4d3d1f0 Wrote an additional frontend unit test
Skipped writing of a modal dialog before deletion, because many code parts are on the way in the delete post PR.
So makes no sense to write them twice.
I make a new issue …
2019-05-08 16:04:09 +02:00
Matt Rider
632ad37a3f Merge in changes from master 2019-05-08 09:55:55 -03:00
Matt Rider
cfef88fc6e Merge branch 'master' of github.com:Human-Connection/Human-Connection into 554-add-component-test-CommentForm 2019-05-08 09:44:07 -03:00
Wolfgang Huß
ff303fccd3 Fixed linting errors 2019-05-08 14:14:34 +02:00
Wolfgang Huß
0ffbe567c7 Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 463-delete-socialMedia 2019-05-08 08:54:11 +02:00
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