1308 Commits

Author SHA1 Message Date
roschaefer
c24876c922 Add a double-check just to be sure 2019-09-23 13:51:21 +02:00
roschaefer
c669fc08eb Fix intermittent backend specs
@mattwr18 I still see those false positives. This should fix it.
2019-09-23 13:47:43 +02:00
Robert Schäfer
edfd1b3a0e
Merge pull request #1672 from Human-Connection/dependabot/npm_and_yarn/backend/helmet-3.21.1
Bump helmet from 3.21.0 to 3.21.1 in /backend
2019-09-23 12:32:33 +02:00
Robert Schäfer
328a41ab59
Merge pull request #1677 from Human-Connection/fix-intermittent-notifications-test
Fix intermittent failing test
2019-09-23 12:31:07 +02:00
mattwr18
865c562048 Fix intermittent failing test
- the test was regularly failing our build
- change from toEqual to toMatchObject since there is more info coming
back, like errors, etc...
2019-09-23 08:09:35 +02:00
dependabot-preview[bot]
cecdbd9aa4
Bump helmet from 3.21.0 to 3.21.1 in /backend
Bumps [helmet](https://github.com/helmetjs/helmet) from 3.21.0 to 3.21.1.
- [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.0...v3.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 04:21:20 +00:00
roschaefer
77d24b5a71 Add backend test for @mattwr18
This was already covered by `slugifyMiddleware.spec.js`. I do agree that
this is a better place for it. Also we're not testing GraphQL requests
here but the factories. As we're testing the existence of unique
constraints, I think it won't matter if we use factories or actual
GraphQL requests.
2019-09-23 00:09:08 +02:00
roschaefer
4fbabc879f Add tests for User validations 2019-09-20 20:16:18 +02:00
Robert Schäfer
ede9dc0d76
Merge pull request #1620 from Human-Connection/1612_refactor-moderator-spec
1612 refactor moderator spec
2019-09-20 20:01:34 +02:00
roschaefer
1952d63b3c Remove .only from moderation.spec.js
@aonomike @vbelolapotkov you made it!! You are the best.

Sure, the disable/enable can be improved by returning a union type. But
I leave that for another PR. 👍
2019-09-20 18:27:37 +02:00
Robert Schäfer
290e871189
Merge pull request #1654 from Human-Connection/dependabot/npm_and_yarn/backend/hapi/joi-16.1.2
Bump @hapi/joi from 16.1.1 to 16.1.2 in /backend
2019-09-20 18:15:25 +02:00
Vasily Belolapotkov
7cca60358c remove FollowTypeEnum from schema 2019-09-20 16:52:12 +03:00
aonomike
347f37efe4 Add enable resources test path 2019-09-20 14:23:39 +03:00
dependabot-preview[bot]
55711b4a1f
Bump @hapi/joi from 16.1.1 to 16.1.2 in /backend
Bumps [@hapi/joi](https://github.com/hapijs/joi) from 16.1.1 to 16.1.2.
- [Release notes](https://github.com/hapijs/joi/releases)
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hapijs/joi/compare/v16.1.1...v16.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-20 04:21:14 +00:00
Robert Schäfer
7759d1b98a
Merge pull request #1647 from Human-Connection/Provider_list_approval_hard_cut
Provider list approval hard cut
2019-09-19 19:56:01 +02:00
ogerly
b75ebfd004 edit providerlist + test all provider 2019-09-19 18:46:44 +02:00
Robert Schäfer
d830fa4ae4
Merge pull request #1596 from Human-Connection/1583-follow-mutation
Improve follow/ufollow mutation
2019-09-19 16:54:35 +02:00
aonomike
8f2456aec4 Test unauthanticated enable 2019-09-19 17:01:42 +03:00
Robert Schäfer
d992cbd9a0
Merge pull request #1642 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-prettier-3.1.1
Bump eslint-plugin-prettier from 3.1.0 to 3.1.1 in /backend
2019-09-19 13:52:47 +02:00
Wolfgang Huß
1fe4ae6619
Merge pull request #1599 from Human-Connection/configure-emails
Configure emails
2019-09-19 11:21:18 +02:00
Alina Beck
b25d552193 follow @Tirokk and @datenbrei suggestions 2019-09-19 09:52:47 +01:00
dependabot-preview[bot]
f13b6cb83b
Bump eslint-plugin-prettier from 3.1.0 to 3.1.1 in /backend
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-19 04:21:01 +00:00
Alina Beck
e843edeb13 unite email templates in templateBuilder 2019-09-19 01:15:52 +01:00
Alina Beck
a7d525deab refactor password reset 2019-09-19 00:55:06 +01:00
Alina Beck
b193e180c5 add wrong account html template 2019-09-19 00:42:42 +01:00
Alina Beck
e45948f4f0 use password reset template 2019-09-19 00:23:51 +01:00
Alina Beck
2bd7276523 improve padding 2019-09-19 00:14:13 +01:00
Alina Beck
a304dcbfdf add reset password template 2019-09-19 00:06:57 +01:00
Robert Schäfer
2f2011e068
Merge pull request #1610 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-author-5.7.4
Bump metascraper-author from 5.6.6 to 5.7.4 in /backend
2019-09-18 23:58:17 +02:00
Robert Schäfer
615a44a926
Merge pull request #1622 from Human-Connection/dependabot/npm_and_yarn/backend/hapi/joi-16.1.1
Bump @hapi/joi from 16.0.1 to 16.1.1 in /backend
2019-09-18 23:57:56 +02:00
aonomike
bdfc2127d5 fix code review issues 2019-09-18 22:29:14 +03:00
Alina Beck
ec0cf36256 refactor email middleware 2019-09-18 18:00:34 +01:00
aonomike
ca970eb30a Refactor disable post updates disabled 2019-09-18 17:59:29 +03:00
aonomike
e109b5f6b1 Refactor disable post updates disabledBy 2019-09-18 17:51:35 +03:00
aonomike
84c1d8ef25 Refactor to eliminate duplicate code and start implementing refactor for Post 2019-09-18 17:31:24 +03:00
Alina Beck
96ced53843 fix hover effect for language toggle 2019-09-18 15:16:53 +01:00
Alina Beck
5b8d2eb2f6 fix lint errors 2019-09-18 14:49:39 +01:00
Alina Beck
b3deea4918 add language toggle 2019-09-18 14:39:03 +01:00
ogerly
75ea8eaaf0 Provider list approval hard cut 2019-09-18 14:03:51 +02:00
mattwr18
e89aff1272 Fix bug where about must not be empty string
- add test case to test this use case since it is the default from our
UI
2019-09-18 13:09:33 +02:00
Vasily Belolapotkov
7d048b029d return user from follow/unfollow mutation 2019-09-18 09:49:59 +03:00
dependabot-preview[bot]
670dd919be
Bump cross-env from 5.2.1 to 6.0.0 in /backend
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 5.2.1 to 6.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/v5.2.1...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-18 04:20:14 +00:00
dependabot-preview[bot]
1f7f264718
Bump @hapi/joi from 16.0.1 to 16.1.1 in /backend
Bumps [@hapi/joi](https://github.com/hapijs/joi) from 16.0.1 to 16.1.1.
- [Release notes](https://github.com/hapijs/joi/releases)
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hapijs/joi/compare/v16.0.1...v16.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-18 04:19:14 +00:00
dependabot-preview[bot]
f9b310d358
Bump metascraper-author from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-author](https://github.com/microlinkhq/metascraper) from 5.6.6 to 5.7.4.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.6.6...v5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 20:16:32 +00:00
Robert Schäfer
ecf353d3bc
Merge pull request #1611 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-title-5.7.4
Bump metascraper-title from 5.7.0 to 5.7.4 in /backend
2019-09-17 22:14:38 +02:00
aonomike
3e7e240392 Refactor it updates disabled test for Comment 2019-09-17 18:59:21 +03:00
roschaefer
a8dded2263 Fix #1616 2019-09-17 17:47:26 +02:00
aonomike
5c06ba39e2 Refactor moderate Comment tests 2019-09-17 18:46:45 +03:00
dependabot-preview[bot]
471f94799e
Bump metascraper-title from 5.7.0 to 5.7.4 in /backend
Bumps [metascraper-title](https://github.com/microlinkhq/metascraper) from 5.7.0 to 5.7.4.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.7.0...v5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 14:42:44 +00:00
Robert Schäfer
321e50d20c
Merge pull request #1609 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-14.5.6
Bump graphql from 14.5.4 to 14.5.6 in /backend
2019-09-17 16:42:00 +02:00