Robert Schäfer
77ac0ce7a6
Rename db-migration-worker to maintenance-worker
2019-04-23 23:12:00 +02:00
dependabot[bot]
84f672ed2d
[Security] Bump jquery from 3.3.1 to 3.4.0 in /backend
...
Bumps [jquery](https://github.com/jquery/jquery ) from 3.3.1 to 3.4.0. **This update includes security fixes.**
- [Release notes](https://github.com/jquery/jquery/releases )
- [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-23 16:06:44 +00:00
Matt Rider
43d6254f3e
Add custom CommentByPost query
2019-04-23 12:23:21 -03:00
Matt Rider
a9f720753a
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 260-add-comment-form
2019-04-22 08:10:06 -03:00
6de253fd32
Merge branch 'master' into 2019/kw15/User_can_change_its_username_to_emptystring
...
# Conflicts:
# webapp/components/_mixins/seo.js
# webapp/components/mixins/seo.js
# webapp/layouts/blank.vue
# webapp/layouts/default.vue
# webapp/mixins/seo.js
2019-04-19 12:09:24 +02:00
dependabot[bot]
d1bc3847af
Bump graphql-shield from 5.3.3 to 5.3.4 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.3.3...v5.3.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-19 04:47:45 +00:00
Matt Rider
3d2a982d3f
Attempt to updated comments
...
- by pushing to the post.comments array, which updates the array, but doesn't rerender the comments component
- by updating the apollo store as seen here https://akryum.github.io/vue-apollo/guide/apollo/mutations.html#server-side-example and https://github.com/Akryum/vue-apollo-todos
2019-04-18 22:14:23 -03:00
Matt Rider
fc496aec51
Merge github.com:Human-Connection/Human-Connection into 260-add-comment-form
2019-04-18 19:00:05 -03:00
Robert Schäfer
57a53a44b2
Fix seeded notifications
2019-04-18 16:43:06 +02:00
Robert Schäfer
0811ca8248
Massive refactoring of factories
...
cc @mattwr18 @tirokk @ulfgebhardt @appinteractive
The factories don't use string interpolation now but they use variables.
This resolves some errors of escaping strings when you send html along
with `post.content`. It is much cleaner, too.
2019-04-18 16:41:34 +02:00
Matt Rider
0149f30f5f
Fix failing tests, refactor
...
- due to changes made to comments factories, which caused failures
- to use new custom CreateComment resolver syntax to relate a comment to post by passing in the postId
2019-04-17 20:27:35 -03:00
Matt Rider
f4744fa513
Remove unused import, variables, set debug to false
2019-04-17 18:37:44 -03:00
Robert Schäfer
91e11eb14d
Merge remote-tracking branch 'origin/master' into 347-display_notifications
2019-04-17 20:23:24 +02:00
Matt Rider
4dc39a97a8
Fix seeds
2019-04-17 12:51:30 -03:00
Robert Schäfer
b126b9b4bc
Merge pull request #476 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-import-2.17.2
...
Bump eslint-plugin-import from 2.17.1 to 2.17.2 in /backend
2019-04-17 17:48:16 +02:00
Matt Rider
f46e5ee58c
Use custom resolver
...
- add postId to type Comment
- remove it from params to create node without postId
- fix tests
Co-authored-by: Robert Schäfer <roschaefer@users.noreply.github.com>
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
Co-Authored-By: Mike Aono <aonomike@gmail.com>
2019-04-17 11:27:26 -03:00
2efc77097f
match specification of Dennis - minimum 3 characters for username, no hint for user to change the username to "Anonymous", Toast error if userdata cannot be changed due to username restrictions, display "Anonymous" if no username is found in database (even tho this is against implemented rules)
2019-04-17 14:49:03 +02:00
dependabot[bot]
d09755241e
Bump eslint-plugin-import from 2.17.1 to 2.17.2 in /backend
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.1...v2.17.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 12:29:51 +00:00
e5f98f2cee
Merge branch 'master' into 2019/kw15/User_can_change_its_username_to_emptystring
...
# Conflicts:
# webapp/locales/de.json
# webapp/locales/en.json
# webapp/pages/profile/_id/_slug.vue
2019-04-17 13:59:30 +02:00
Matt Rider
0bcfefe210
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 260-add-comment-form
2019-04-17 08:00:07 -03:00
Robert Schäfer
7a8617f901
Merge remote-tracking branch 'origin/master' into docs-improve_installation_instructions
2019-04-17 12:15:02 +02:00
Robert Schäfer
2d85e5496d
Merge pull request #449 from Human-Connection/219-refactor-follow-shout-mutations
...
refactor follow, unfollow, shout, unshout to custom mutations, but don't add date-time to relation yet
2019-04-17 11:35:47 +02:00
Matt Rider
c519bff743
Fix lint
2019-04-16 23:37:11 -03:00
Matt Rider
dd9383ef40
Create two custom resolvers, get working with front end
...
- Had difficulty adding a relationship with one custom resolver, if id for comment was not passed in, the comment was not created, hard coding it in also wasn't a good solution
2019-04-16 23:12:13 -03:00
Matt Rider
9bc0c0f92c
Add tests, create comments only when authenticated
2019-04-16 20:31:34 -03:00
Matt Rider
dfef4fe05f
Add custom resolver, update factories
2019-04-16 19:48:59 -03:00
Robert Schäfer
fe551ece47
Create notifications on UpdatePost, too
...
Note that we don't create duplicate notifications. I made use of the behaviour
of XSS-middleware: It removes all css classes from `<a>` anchors. Because
notifications rely on a css class `mention` which gets removed in a later
middleware, this gives us a nice behaviour for re-notifications without creating
duplicates. The downside is that it creates dependencies between middlewares and
it's not that obvious at all.
cc @mattwr18 @ulfgebhardt @appinteractive @Tirokk
2019-04-17 00:08:21 +02:00
Robert Schäfer
f86e98b32e
Implement right order of notifications middleware
2019-04-17 00:08:21 +02:00
Robert Schäfer
4a6ef3f9f6
Implement parsing of mention links
2019-04-17 00:08:21 +02:00
Robert Schäfer
cd2bbbef30
Change backend test to parse html not plain text
2019-04-17 00:08:21 +02:00
Robert Schäfer
c050bddf4e
Follow component directory strucutre in backend
2019-04-17 00:08:21 +02:00
Robert Schäfer
b42863a890
Follow suggestions by @mattwr18
2019-04-16 22:21:28 +02:00
Robert Schäfer
506906e344
Merge remote-tracking branch 'origin/master' into docs-improve_installation_instructions
2019-04-16 00:50:25 +02:00
Matt Rider
7102618569
Merge github.com:Human-Connection/Human-Connection into 347-display_notifications
2019-04-15 19:38:13 -03:00
Robert Schäfer
6e8661e29e
Merge pull request #465 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-5.3.3
...
Bump graphql-shield from 5.3.2 to 5.3.3 in /backend
2019-04-15 17:47:10 +02:00
Robert Schäfer
a723611aba
Merge pull request #466 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-import-2.17.1
...
Bump eslint-plugin-import from 2.16.0 to 2.17.1 in /backend
2019-04-15 17:46:51 +02:00
Robert Schäfer
73f2ff59e4
Merge pull request #237 from Human-Connection/236-list-social-media-accounts
...
List socialMedia links
2019-04-15 12:07:10 +02:00
dependabot[bot]
38c2ee4fcc
Bump eslint-plugin-import from 2.16.0 to 2.17.1 in /backend
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.16.0 to 2.17.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.16.0...v2.17.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 04:47:45 +00:00
dependabot[bot]
fb6262a16a
Bump graphql-shield from 5.3.2 to 5.3.3 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.3.2...v5.3.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 04:47:18 +00:00
Robert Schäfer
6714cebad8
Merge more backend docs
2019-04-15 00:58:30 +02:00
Robert Schäfer
6796469c9c
Merge installation with backend installation
2019-04-14 23:46:34 +02:00
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
c1d6caca38
Merge pull request #406 from Human-Connection/keep_private_rsa_key_secret
...
Don't expose private RSA key
2019-04-12 20:09:31 +02:00
Matt Rider
aadfd16374
Remove redundant "not"
2019-04-12 13:23:10 -03: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
0c8b478ce2
Update backend/src/middleware/passwordMiddleware.js
...
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2019-04-12 17:32:20 +02:00
Wolfgang Huß
023c636017
Query of "publicKey" is now tested unauthenticated and authenticated
2019-04-12 17:17:01 +02:00
Robert Schäfer
e5e1f0a9fc
Update backend/src/resolvers/user_management.spec.js
...
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2019-04-12 16:51:41 +02:00
Robert Schäfer
828ca50f19
Update backend/src/resolvers/user_management.spec.js
...
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2019-04-12 16:51:30 +02:00
Robert Schäfer
008d99c6ef
Update backend/src/resolvers/user_management.spec.js
...
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2019-04-12 16:51:10 +02:00