3984 Commits

Author SHA1 Message Date
Matt Rider
b034d22732 Fix failing cypress test 2019-07-01 18:50:24 -03:00
Matt Rider
f302961376 Get categories working with UpdatePost, refactor 2019-07-01 18:00:55 -03:00
Matt Rider
b8ea32cfc1 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 778-categories-for-posts 2019-07-01 15:06:52 -03:00
mattwr18
730c18faec
Merge pull request #935 from Human-Connection/fix_cypher_injection
Patch cypher injection vulnerability
2019-07-01 12:30:31 -03:00
mattwr18
14b5109e78
Merge pull request #787 from Human-Connection/759-teaser-image-create-posts
Add teaser image to contribution form
2019-07-01 12:29:47 -03:00
Matt Rider
2edf99148d Remove test
- we don't set the form language because we want to have the name of the language as a placeholder, not its code
2019-07-01 08:22:46 -03:00
Matt Rider
51a7a0e5d8 Add back test accidentally deleted 2019-07-01 07:29:06 -03:00
mattwr18
2040c480fb
Merge pull request #930 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.0.0-beta.2
Bump date-fns from 2.0.0-beta.1 to 2.0.0-beta.2 in /backend
2019-06-29 22:54:26 -03:00
mattwr18
a57fdec86c
Merge pull request #928 from Human-Connection/dependabot/npm_and_yarn/webapp/date-fns-2.0.0-beta.2
Bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.2 in /webapp
2019-06-29 22:54:02 -03:00
mattwr18
9ac0c9b7cf
Merge pull request #924 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-2.6.7
Bump apollo-server from 2.6.6 to 2.6.7 in /backend
2019-06-29 22:53:39 -03:00
mattwr18
084447c743
Merge pull request #929 from Human-Connection/dependabot/npm_and_yarn/cypress-3.3.2
Bump cypress from 3.3.1 to 3.3.2
2019-06-29 22:53:13 -03:00
Wolfgang Huß
118e53fa02 Added a missing Deletable 2019-06-29 19:21:20 +02:00
Matt Rider
d6f0698ef7 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 759-teaser-image-create-posts 2019-06-29 13:53:37 -03:00
dependabot-preview[bot]
2e48a3529b
Bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.2 in /webapp
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.37 to 2.0.0-beta.2.
- [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.0.0-alpha.37...v2.0.0-beta.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-29 16:22:49 +00:00
Matt Rider
e06b05af90 Remove request for categories from CreatePost 2019-06-29 13:09:48 -03:00
Robert Schäfer
4e687a06ea Patch cypher injection vulnerability
@mattwr18 this patches the vulnerability. However we should never do
string interpolation with user input.
2019-06-29 13:48:40 +02:00
Matt Rider
865e2c0ec3 Refactor resolver, rename params
- Use one cypher statement

Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2019-06-28 10:17:22 -03:00
dependabot-preview[bot]
0271f95146
Bump date-fns from 2.0.0-beta.1 to 2.0.0-beta.2 in /backend
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-beta.1 to 2.0.0-beta.2.
- [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.0.0-beta.1...v2.0.0-beta.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 04:23:19 +00:00
dependabot-preview[bot]
5980249703
Bump cypress from 3.3.1 to 3.3.2
Bumps [cypress](https://github.com/cypress-io/cypress) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v3.3.1...v3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 04:22:52 +00:00
mattwr18
7763083bd6
Merge pull request #925 from Human-Connection/dependabot/npm_and_yarn/webapp/date-fns-2.0.0-beta.1
Bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.1 in /webapp
2019-06-27 18:18:13 -03:00
dependabot-preview[bot]
058eae515e
Bump apollo-server from 2.6.6 to 2.6.7 in /backend
Bumps [apollo-server](https://github.com/apollographql/apollo-server) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server@2.6.6...apollo-server@2.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 21:17:31 +00:00
mattwr18
49e99417ac
Merge pull request #923 from Human-Connection/dependabot/npm_and_yarn/webapp/graphql-14.4.0
Bump graphql from 14.3.1 to 14.4.0 in /webapp
2019-06-27 18:17:05 -03:00
mattwr18
6fe3fdc961
Merge pull request #909 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-config-prettier-6.0.0
Bump eslint-config-prettier from 5.0.0 to 6.0.0 in /backend
2019-06-27 18:16:43 -03:00
mattwr18
f5786b703f
Merge pull request #922 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.0.0-beta.1
Bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.1 in /backend
2019-06-27 18:16:19 -03:00
mattwr18
9002d1b889
Merge pull request #921 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-14.4.0
Bump graphql from 14.3.1 to 14.4.0 in /backend
2019-06-27 18:15:55 -03:00
mattwr18
df4ae95ae3
Merge pull request #920 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-testing-2.6.7
Bump apollo-server-testing from 2.6.6 to 2.6.7 in /backend
2019-06-27 18:15:31 -03:00
Matt Rider
351f258fab Refactor resolver, write component tests
- use UNWIND instead of iterating over categories(cypher magic)
- do not return nested categories on post creation as it's expensive and we don't use
- refactor backend test
- component tests for CategoriesSelect
2019-06-27 16:57:55 -03:00
dependabot-preview[bot]
3eab153164
Bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.1 in /webapp
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.37 to 2.0.0-beta.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.0.0-alpha.37...v2.0.0-beta.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 04:24:11 +00:00
dependabot-preview[bot]
84e81f88c4
Bump graphql from 14.3.1 to 14.4.0 in /webapp
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.3.1 to 14.4.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.3.1...v14.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 04:22:55 +00:00
dependabot-preview[bot]
71d98e5370
Bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.1 in /backend
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.37 to 2.0.0-beta.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.0.0-alpha.37...v2.0.0-beta.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 04:22:49 +00:00
dependabot-preview[bot]
0a05a52095
Bump graphql from 14.3.1 to 14.4.0 in /backend
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.3.1 to 14.4.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.3.1...v14.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 04:22:16 +00:00
dependabot-preview[bot]
d383592c09
Bump apollo-server-testing from 2.6.6 to 2.6.7 in /backend
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server-testing@2.6.6...apollo-server-testing@2.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 04:21:37 +00:00
Matt Rider
bb40e9d432 Update component tests for categories 2019-06-26 18:21:12 -03:00
Matt Rider
07576d084c Get categories working with CreatePost 2019-06-26 15:59:57 -03:00
Matt Rider
46b83c540d Add contentExcerpt to CreatePost Mutation 2019-06-26 13:53:11 -03:00
Matt Rider
d714927315 Set up backend for Post creation with categories 2019-06-26 11:26:44 -03:00
dependabot-preview[bot]
ee1be0ba27
Bump eslint-config-prettier from 5.0.0 to 6.0.0 in /backend
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v5.0.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 12:08:23 +00:00
89c367de86
Merge pull request #910 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-2.6.6
Bump apollo-server from 2.6.4 to 2.6.6 in /backend
2019-06-26 14:06:44 +02:00
31259b4341
Merge pull request #911 from Human-Connection/dependabot/npm_and_yarn/webapp/eslint-config-prettier-6.0.0
Bump eslint-config-prettier from 5.0.0 to 6.0.0 in /webapp
2019-06-26 14:06:13 +02:00
dependabot-preview[bot]
df29412dd1
Bump apollo-server from 2.6.4 to 2.6.6 in /backend
Bumps [apollo-server](https://github.com/apollographql/apollo-server) from 2.6.4 to 2.6.6.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server@2.6.4...apollo-server@2.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 09:06:01 +00:00
Robert Schäfer
0bdf051bb3
Merge pull request #912 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-testing-2.6.6
Bump apollo-server-testing from 2.6.4 to 2.6.6 in /backend
2019-06-26 11:04:04 +02:00
Robert Schäfer
421ee07b98
Merge pull request #913 from Human-Connection/dependabot/npm_and_yarn/webapp/eslint-plugin-promise-4.2.1
Bump eslint-plugin-promise from 4.1.1 to 4.2.1 in /webapp
2019-06-26 11:03:43 +02:00
Robert Schäfer
15c4059f5a
Merge pull request #914 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-promise-4.2.1
Bump eslint-plugin-promise from 4.1.1 to 4.2.1 in /backend
2019-06-26 11:03:20 +02:00
dependabot-preview[bot]
fad0447312
Bump eslint-config-prettier from 5.0.0 to 6.0.0 in /webapp
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v5.0.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 09:03:03 +00:00
Robert Schäfer
a7eebe7928
Merge pull request #915 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.0.0-alpha.37
Bump date-fns from 2.0.0-alpha.36 to 2.0.0-alpha.37 in /backend
2019-06-26 11:02:23 +02:00
Robert Schäfer
344ff9fce2
Merge pull request #916 from Human-Connection/dependabot/npm_and_yarn/webapp/date-fns-2.0.0-alpha.37
Bump date-fns from 2.0.0-alpha.36 to 2.0.0-alpha.37 in /webapp
2019-06-26 11:01:28 +02:00
Robert Schäfer
fa9fabbdc8
Merge pull request #917 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-6.0.1
Bump eslint from 5.16.0 to 6.0.1 in /backend
2019-06-26 11:00:52 +02:00
dependabot-preview[bot]
74b2199cae
Bump eslint from 5.16.0 to 6.0.1 in /backend
Bumps [eslint](https://github.com/eslint/eslint) from 5.16.0 to 6.0.1.
- [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/v5.16.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 04:25:36 +00:00
dependabot-preview[bot]
4f8122e117
Bump date-fns from 2.0.0-alpha.36 to 2.0.0-alpha.37 in /webapp
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.36 to 2.0.0-alpha.37.
- [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.0.0-alpha.36...v2.0.0-alpha.37)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 04:25:08 +00:00
dependabot-preview[bot]
978e4fa0ea
Bump date-fns from 2.0.0-alpha.36 to 2.0.0-alpha.37 in /backend
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.36 to 2.0.0-alpha.37.
- [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.0.0-alpha.36...v2.0.0-alpha.37)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 04:24:59 +00:00