Robert Schäfer
c67825392c
Silence expected error messages on build server
...
@ulfgebhardt we have a quite lengthy log output on our build server.
This `2> /dev/null` prevents the server from writing log output for
expected errors. E.g. we're testing if a user can log in with incorrect
credentials or we try to create duplicates for unique slugs. All of this
will output errors to the command line which we're not interested in.
We could think of configuring the `package.json` in a way that outputs
these error messages in case we set an environment variable:
```
DEBUG=1 yarn run test:jest
```
That would be an option. Or use the `debug` npm packages that
@Mastercuber has introduced.
2019-04-12 21:12:36 +02:00
Robert Schäfer
c0bff47275
Merge remote-tracking branch 'origin/master' into 236-list-social-media-accounts
2019-04-12 17:49:14 +02:00
Robert Schäfer
d3ff3ca241
Merge remote-tracking branch 'origin/master' into 342-merge_documentation
2019-04-12 14:48:27 +02:00
Robert Schäfer
216fc2b67c
DRY + Better naming: Testing flavours and Github
...
cc @mattwr18
I would suggest that each subfolder like `/backend/`, `/webapp/`,
`/deployment/` and so on should have a file README.md. Thus, not only
gitbook will pick it up but also Github itself. Github is looking for a
file called README.md when iterating through subfolders.
2019-04-12 13:48:47 +02:00
Robert Schäfer
627487629b
Merge more READMEs
2019-04-12 13:28:10 +02:00
00a95f956a
cypress fixes (windows)
2019-04-12 13:24:15 +02:00
Robert Schäfer
5339aa72d1
Rename h1 section titles
...
This is a great way to find out how Gitbook maps the title: Is it the
filename or the first section header?
2019-04-12 11:19:17 +02:00
Matt Rider
366c5d776b
Fix lint
2019-04-11 22:28:18 -03:00
mattwr18
4383431260
GitBook: [342-merge_documentation] 56 pages and 14 assets modified
2019-04-11 22:12:37 +00:00
Matt Rider
0bec423a81
Delete/move documentation markdown files
2019-04-11 19:02:55 -03:00
dependabot[bot]
90752629e1
Bump neo4j from 3.5.3 to 3.5.4 in /backend/neo4j
...
Bumps neo4j from 3.5.3 to 3.5.4.
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-11 04:54:37 +00:00
Robert Schäfer
cec94bf381
Merge pull request #366 from Human-Connection/dependabot/npm_and_yarn/backend/@babel/cli-7.4.3
...
Bump @babel/cli from 7.2.3 to 7.4.3 in /backend
2019-04-10 16:01:02 +02:00
Robert Schäfer
102a03f552
Merge remote-tracking branch 'origin/master' into 236-list-social-media-accounts
2019-04-10 15:17:18 +02:00
Robert Schäfer
65076d24db
Merge pull request #196 from Human-Connection/dependabot/docker/backend/neo4j/neo4j-3.5.3
...
Bump neo4j from 3.5.0 to 3.5.3 in /backend/neo4j
2019-04-10 14:33:55 +02:00
dependabot[bot]
87c651e253
Bump @babel/cli from 7.2.3 to 7.4.3 in /backend
...
Bumps [@babel/cli](https://github.com/babel/babel ) from 7.2.3 to 7.4.3.
- [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.2.3...v7.4.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-10 14:30:49 +02:00
Robert Schäfer
a28da06a00
Merge pull request #445 from Human-Connection/346-mark_as_read
...
Mark a notification in the backend as read
2019-04-10 14:04:34 +02:00
Robert Schäfer
81b84916a3
Merge branch 'master' into less_flaky_cucumbers
2019-04-10 11:39:49 +02:00
Robert Schäfer
da2cfd4be3
Merge branch 'master' into 346-mark_as_read
2019-04-10 11:39:46 +02:00
dependabot[bot]
8d8c75d6c1
Bump graphql-shield from 5.3.1 to 5.3.2 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.3.1...v5.3.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-10 08:58:34 +00:00
mattwr18
9c64220c92
Merge branch 'master' into 236-list-social-media-accounts
2019-04-09 21:06:41 -03:00
Robert Schäfer
b63200ac8e
Authorize and whitelist Notifications
2019-04-10 01:58:18 +02:00
Robert Schäfer
26caff5a9b
Fix lint
2019-04-10 01:58:18 +02:00
Robert Schäfer
0476c15163
Remove dots from matched @mention regex
2019-04-10 01:58:18 +02:00
Robert Schäfer
58019c8975
Avoid to send out notifications for email adresses
2019-04-10 01:58:18 +02:00
Robert Schäfer
771779348a
Fix test
2019-04-10 01:58:18 +02:00
Robert Schäfer
bab748e506
Create notifications on CreatePost
2019-04-10 01:58:18 +02:00
Robert Schäfer
4dead6e6f7
Sketch test to create a notificaion for a mention
2019-04-10 01:58:18 +02:00
Robert Schäfer
89914f9a1a
Disabling activityPub middleware again
...
I thought it might be a good thing to create RSA keys at least for
cucumber testing. At least that's where we test activitityPub. But it
caused too flaky tests and broken builds. @Mastercuber if you need to
create a user and you need the RSA keys, don't create it through seeds
but through the actual server.
2019-04-09 23:47:13 +02:00
dependabot[bot]
5b64ba1dd1
Bump nodemon from 1.18.10 to 1.18.11 in /backend
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.18.10 to 1.18.11.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.18.10...v1.18.11 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-09 04:52:26 +00:00
Matt Rider
4de8407620
Rename variable, mutation
...
- result is not a good name in this case because we know what is coming back, the result is a socialMedia node
- update the mutation name in the front end
2019-04-08 12:05:57 -03:00
Matt Rider
a1ebb89d64
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-08 11:57:35 -03:00
dependabot[bot]
419b80dae4
Bump cheerio from 1.0.0-rc.2 to 1.0.0-rc.3 in /backend
...
Bumps [cheerio](https://github.com/cheeriojs/cheerio ) from 1.0.0-rc.2 to 1.0.0-rc.3.
- [Release notes](https://github.com/cheeriojs/cheerio/releases )
- [Changelog](https://github.com/cheeriojs/cheerio/blob/1.0.0-rc.3/History.md )
- [Commits](https://github.com/cheeriojs/cheerio/compare/1.0.0-rc.2...1.0.0-rc.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-08 04:55:37 +00:00
ad307e7008
Merge branch 'master' into dependabot/docker/backend/neo4j/neo4j-3.5.3
2019-04-06 09:46:48 +02:00
63a646c6b1
Merge branch 'master' into dependabot/docker/backend/neo4j/neo4j-3.5.3
2019-04-05 20:01:07 +02:00
1b9ce269cf
Merge branch 'master' into quick-fix
2019-04-05 20:00:14 +02:00
Matt Rider
24d4259510
Add validURLMiddleware, remove unused package, extract tests
2019-04-05 09:15:22 -03:00
Matt Rider
2778bca11f
Merge branch '236-list-social-media-accounts' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-05 07:32:34 -03:00
Matt Rider
4d4978c0f2
Merge github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-05 07:29:44 -03:00
Robert Schäfer
c543d7558c
Merge pull request #415 from Human-Connection/350-query_current_users_notifications
...
350 query current users notifications
2019-04-05 12:00:11 +02:00
Robert Schäfer
a6c2fcebde
Merge pull request #388 from Human-Connection/dependabot/npm_and_yarn/backend/babel-jest-24.7.1
...
Bump babel-jest from 24.5.0 to 24.7.1 in /backend
2019-04-05 11:51:49 +02:00
Robert Schäfer
710a8515d3
Fix lint
2019-04-05 11:20:19 +02:00
Robert Schäfer
bb3a8525db
Only admins are allowed to query all notifications
2019-04-05 02:35:33 +02:00
Robert Schäfer
97d9b6d772
Add notifications to User
2019-04-05 02:35:33 +02:00
Robert Schäfer
03d4c93f96
Add Notification type
2019-04-05 02:35:33 +02:00
Robert Schäfer
8477e71c28
Sketch test for #350
2019-04-05 02:31:32 +02:00
Robert Schäfer
5df54309b1
So close @mattwr18
2019-04-05 00:05:23 +02:00
Matt Rider
a51190d4e9
Add custom resolver for createSocialMedia
2019-04-04 15:43:06 -03:00
dependabot[bot]
c30f0164eb
Bump babel-jest from 24.5.0 to 24.7.1 in /backend
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 24.5.0 to 24.7.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/v24.7.1/packages/babel-jest )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-04 10:51:46 +00:00
dependabot[bot]
ae5f60684b
Bump @babel/core from 7.4.0 to 7.4.3 in /backend
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.4.0 to 7.4.3.
- [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.4.0...v7.4.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-04 10:51:32 +00:00
Robert Schäfer
66f6987ab2
Merge pull request #383 from Human-Connection/338-fix_flaky_cucumbers
...
Fix flaky cucumbers
2019-04-04 12:49:23 +02:00