1250 Commits

Author SHA1 Message Date
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
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
roschaefer
a8dded2263 Fix #1616 2019-09-17 17:47:26 +02: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
Robert Schäfer
092bbae573
Merge pull request #1608 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-6.4.0
Bump eslint from 6.3.0 to 6.4.0 in /backend
2019-09-17 16:41:28 +02:00
Robert Schäfer
34dd22486a
Merge pull request #1606 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-publisher-5.7.4
Bump metascraper-publisher from 5.6.6 to 5.7.4 in /backend
2019-09-17 16:40:45 +02:00
Robert Schäfer
43cc907078
Merge pull request #1605 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.2.1
Bump date-fns from 2.1.0 to 2.2.1 in /backend
2019-09-17 16:40:29 +02:00
Robert Schäfer
3720ddbe33
Merge pull request #1604 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-audio-5.7.4
Bump metascraper-audio from 5.6.6 to 5.7.4 in /backend
2019-09-17 16:40:09 +02:00
Wolfgang Huß
b509a224ce Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1276-hashtag-links-url-safe 2019-09-17 10:16:35 +02:00
Wolfgang Huß
d28a1f17f1 Merge branch '1276-hashtag-links-url-safe' of https://github.com/Human-Connection/Human-Connection into 1276-hashtag-links-url-safe 2019-09-17 10:01:17 +02:00
Wolfgang Huß
b06b353f6a Corrected comment to unicode letter(s) 2019-09-17 09:58:35 +02:00
mattwr18
7926cb39ba Improve English descriptions 2019-09-17 08:50:22 +02:00
dependabot-preview[bot]
2d430ee72c
Bump graphql from 14.5.4 to 14.5.6 in /backend
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.5.4 to 14.5.6.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.5.4...v14.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 04:25:24 +00:00
dependabot-preview[bot]
541cd371ac
Bump eslint from 6.3.0 to 6.4.0 in /backend
Bumps [eslint](https://github.com/eslint/eslint) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.3.0...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 04:23:37 +00:00
dependabot-preview[bot]
9f4d1be37e
Bump metascraper-publisher from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-publisher](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 04:22:52 +00:00
dependabot-preview[bot]
a189b388d9
Bump date-fns from 2.1.0 to 2.2.1 in /backend
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.1.0...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 04:22:13 +00:00
dependabot-preview[bot]
a8aee791df
Bump metascraper-audio from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-audio](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 04:21:41 +00:00
Robert Schäfer
793a4b7882
Merge pull request #1582 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-image-5.7.4
Bump metascraper-image from 5.6.6 to 5.7.4 in /backend
2019-09-17 02:17:16 +02:00
dependabot-preview[bot]
e480c389ee
Bump metascraper-image from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-image](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-16 21:21:47 +00:00
Robert Schäfer
3c775b0bb5
Merge pull request #1578 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-soundcloud-5.7.4
Bump metascraper-soundcloud from 5.6.7 to 5.7.4 in /backend
2019-09-16 23:20:52 +02:00
Robert Schäfer
36adef2e8b
Merge pull request #1580 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-video-5.7.4
Bump metascraper-video from 5.6.6 to 5.7.4 in /backend
2019-09-16 23:20:38 +02:00
Robert Schäfer
2a0e5f7e2f
Merge pull request #1584 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-date-5.7.4
Bump metascraper-date from 5.7.0 to 5.7.4 in /backend
2019-09-16 23:20:06 +02:00
Robert Schäfer
4f6725c588
Merge pull request #1585 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-lang-5.7.4
Bump metascraper-lang from 5.6.6 to 5.7.4 in /backend
2019-09-16 23:19:49 +02:00
roschaefer
431de3319f Make data-hashtag-id authoritive for #links
This adds consistency: The mention links with `@` was implemented
that way already. Instead of parsing the URL, we add some redundancy and
add another attribute: data-hashtag-id

So, what characters are valid for html attributes?
Read: https://stackoverflow.com/questions/925994/what-characters-are-allowed-in-an-html-attribute-name

Thanks to @Tirokk, who added some validations on the hahstag ids, I
think we are all set. If you try to write a hashtag with a `"` double
quotation mark for example, it gets automatically replaced with a valid
hashtag. If someone wants to send us invalid hashtag ids to the backend
directly, the regex there would filter it out.
2019-09-16 23:09:32 +02:00
Wolfgang Huß
15816dd97b Update backend/src/middleware/hashtags/hashtagsMiddleware.spec.js
Co-Authored-By: Robert Schäfer <git@roschaefer.de>
2019-09-16 22:06:36 +02:00
Wolfgang Huß
82d5ac99df Make hashtag links URL safe 2019-09-16 22:06:36 +02:00
Robert Schäfer
cb574dd850
Merge pull request #1595 from Human-Connection/1454-security-issue-comment-mutations
Remove deleted/disabled/createdAt from Comment mutations
2019-09-16 18:20:35 +02:00
mattwr18
de0837bbd3
Merge pull request #1572 from Human-Connection/set_created_at_in_cypher
Fix bug where Post.createdAt is sometimes null
2019-09-16 14:38:13 +02:00
mattwr18
f66d234e85 Fix lint 2019-09-16 13:41:10 +02:00
mattwr18
70c72e8f95 Remove deleted/disabled/createdAt from Comment mutations 2019-09-16 12:35:14 +02:00
mattwr18
14d1932a18
Merge pull request #1591 from Human-Connection/dependabot/npm_and_yarn/backend/hapi/joi-16.0.1
Bump @hapi/joi from 15.1.1 to 16.0.1 in /backend
2019-09-16 09:05:56 +02:00
dependabot-preview[bot]
293b597f44
Bump metascraper-date from 5.7.0 to 5.7.4 in /backend
Bumps [metascraper-date](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-16 07:05:28 +00:00
dependabot-preview[bot]
210166e10f
Bump metascraper-lang from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-lang](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-16 07:04:59 +00:00
dependabot-preview[bot]
dc9c27448a
Bump metascraper-soundcloud from 5.6.7 to 5.7.4 in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.6.7 to 5.7.4.
- [Release notes](https://github.com/microlinkhq/metascraper-soundcloud/releases)
- [Commits](https://github.com/microlinkhq/metascraper-soundcloud/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 07:04:08 +00:00
dependabot-preview[bot]
54a6c34148
Bump metascraper-video from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-video](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-16 07:04:06 +00:00
mattwr18
7c1af36b9a
Merge pull request #1581 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-description-5.7.4
Bump metascraper-description from 5.6.6 to 5.7.4 in /backend
2019-09-16 09:03:21 +02:00
mattwr18
2d73308131
Merge pull request #1579 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-logo-5.7.4
Bump metascraper-logo from 5.6.6 to 5.7.4 in /backend
2019-09-16 09:02:49 +02:00
mattwr18
e186502d55
Merge pull request #1577 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-youtube-5.7.4
Bump metascraper-youtube from 5.6.7 to 5.7.4 in /backend
2019-09-16 09:02:21 +02:00
mattwr18
5c7fd072b9
Merge pull request #1576 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-url-5.7.4
Bump metascraper-url from 5.6.6 to 5.7.4 in /backend
2019-09-16 09:01:54 +02:00
dependabot-preview[bot]
2c4c63f268
Bump @hapi/joi from 15.1.1 to 16.0.1 in /backend
Bumps [@hapi/joi](https://github.com/hapijs/joi) from 15.1.1 to 16.0.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/v15.1.1...v16.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 04:25:30 +00:00
dependabot-preview[bot]
8afd3f199e
Bump metascraper-description from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-description](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-13 21:50:31 +00:00
dependabot-preview[bot]
06dd347a08
Bump metascraper-logo from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-logo](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-13 21:50:05 +00:00
dependabot-preview[bot]
da6029dc9b
Bump metascraper-youtube from 5.6.7 to 5.7.4 in /backend
Bumps [metascraper-youtube](https://github.com/microlinkhq/metascraper-youtube) from 5.6.7 to 5.7.4.
- [Release notes](https://github.com/microlinkhq/metascraper-youtube/releases)
- [Commits](https://github.com/microlinkhq/metascraper-youtube/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 21:50:02 +00:00
dependabot-preview[bot]
e4029b4a0a
Bump metascraper-url from 5.6.6 to 5.7.4 in /backend
Bumps [metascraper-url](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-13 21:50:01 +00:00
mattwr18
99b48429b8
Merge pull request #1562 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-date-5.7.0
Bump metascraper-date from 5.6.6 to 5.7.0 in /backend
2019-09-13 23:48:28 +02:00
mattwr18
a4a4722bd5
Merge pull request #1561 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-title-5.7.0
Bump metascraper-title from 5.6.6 to 5.7.0 in /backend
2019-09-13 23:47:52 +02:00
mattwr18
bec629e8ef Fix intermittent failing test
- not concerned about the order of the notification in this test
2019-09-13 20:51:15 +02:00
mattwr18
d1ecac4580 Write tests to ensure createdAt is not deleted on update
- we had a silly serious bug by overwriting all attributes at the time
of UpdatePost
- tests in place to ensure we don't accidentally delete our createdAt
attribute
2019-09-13 20:14:47 +02:00
mattwr18
60c473bb94 Create UpdateComment resolver, update UpdateUser
- UpdateUser should update updatedAt at point of insertion in the
database as well
2019-09-13 20:14:47 +02:00