3916 Commits

Author SHA1 Message Date
67595f6400
missing change for windows comment 2019-05-29 15:45:32 +02:00
7e44667dd1
modified .env file for neo4j import since its had problems with file locks on windows (cypher-shell) 2019-05-29 15:45:02 +02:00
6f0447515a
- fixed several errors handling import
- split graphql schema into parts
- which data is imported which is not - a list
2019-05-29 15:37:28 +02:00
Matt Rider
f732ff44d0 Merge branch 'master' of github.com:Human-Connection/Human-Connection into dependabot/npm_and_yarn/webapp/prettier-1.17.1-fix_incompatibility 2019-05-29 10:33:43 -03:00
Robert Schäfer
e1a113e7e4 Fix wrong mountpath
We're saving the files to /uploads. If the maintenance-worker does not
mount the uploads persistent volume there, we don't get persistent
files.
2019-05-29 15:16:08 +02:00
Robert Schäfer
7cb77c8c8d Increase volume size for uploads 2019-05-29 15:11:05 +02:00
aonomike
0111e60f1d Resolve Upload image rerender and double submit
- Make Upload component re-render on failed upload
- Resolve double submit of uploaded to the backend when uploading with drag and drop

Co-authored-by: @mattWr18
Co-authored-by: @tirrok
2019-05-29 16:09:34 +03:00
Robert Schäfer
2c8dcaa592 Yet another typo 2019-05-29 15:08:14 +02:00
Robert Schäfer
95fe115198 Fix typo 2019-05-29 15:01:56 +02:00
Matt Rider
ff0b4b6867 Fix lint 2019-05-29 09:47:24 -03:00
aonomike
7def0b4c20 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 691_handle-large-file-sizes-bug 2019-05-29 15:35:12 +03:00
Robert Schäfer
5622b1aa30 Avoid deletion of entire namespace by accident
Yep, that happened to me. I did

```
kubectl delete -f deployment/human-connection
```

 and I forgot about the namespace in that folder. Now everything is gone.
2019-05-29 14:22:49 +02:00
dependabot-preview[bot]
da0a4eabfc
Bump prettier from 1.14.3 to 1.17.1 in /webapp
Bumps [prettier](https://github.com/prettier/prettier) from 1.14.3 to 1.17.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.14.3...1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-29 11:30:33 +00:00
Robert Schäfer
df519c9828
Merge pull request #664 from Human-Connection/dependabot/npm_and_yarn/backend/prettier-1.17.1
Bump prettier from 1.14.3 to 1.17.1 in /backend
2019-05-29 13:28:20 +02:00
Robert Schäfer
ec1a24cbd3 Fix update incompatibility
It seems that prettier supports vue in version `v1.15` and above.
See: https://github.com/prettier/prettier/releases/tag/1.15.0

So I guess that interferes with the old vue linter rules in place. I
graduated the vlue rule from `recommended` to `essential` and now
running `yarn run lint --fix` is doing fine.
2019-05-29 13:21:55 +02:00
Robert Schäfer
ffd584ded1 Fix prettier 2019-05-29 12:36:26 +02:00
dependabot-preview[bot]
0003a98fd2 Bump prettier from 1.14.3 to 1.17.1 in /backend
Bumps [prettier](https://github.com/prettier/prettier) from 1.14.3 to 1.17.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.14.3...1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-29 12:35:23 +02:00
Robert Schäfer
66aa744e75
Merge pull request #700 from Human-Connection/685-fix-user-avatar-jumping-on-upload
Fix user avatar jumping on upload
2019-05-29 12:33:20 +02:00
Wolfgang Huß
19771a342e First approach to test '_slug.spec.js' 2019-05-29 12:19:51 +02:00
Wolfgang Huß
7807831e0e Merge remote-tracking branch 'origin/master' into 553-delete-comment 2019-05-29 12:17:24 +02:00
Wolfgang Huß
810746f138
Merge pull request #695 from Human-Connection/583-localize-tiptap-placeholder-text
Fix placeholder text not translating bug
2019-05-29 08:08:29 +02:00
Matt Rider
b08b29ba8e Fix user avatar jumping on upload 2019-05-28 20:35:47 -03:00
860a0d41d0
Merge pull request #697 from Human-Connection/2019/kw22/alpha_data_import
🍰 2019/kw22/alpha_data_import
2019-05-29 00:43:10 +02:00
4ccfe3822c
added existing data imports 2019-05-29 00:20:43 +02:00
7ed22883b0
Merge pull request #662 from Human-Connection/fix_duplicate_tags
Fix duplicate tags by using the name as the id
2019-05-28 23:06:33 +02:00
Robert Schäfer
ab7a4ffc3e
Fix duplicate tags by using the name as the id
@ulfgebhardt: I wondered about the list of tags after importing the
legacy db. It seems, each tag has at most 1 contribution. I guess it's
because we create a unique id for each tag, so two tags with the same
`name` e.g. `#hashtag` and `#hashtag` are not de-duplicated.

I'm currently sitting in the train and cannot run the data import myself, could
you double-check?
2019-05-28 22:41:51 +02:00
aonomike
154b6a6f78 Fix large file sizes bug 2019-05-28 23:31:57 +03:00
8a9d826e46
Merge pull request #696 from Human-Connection/collect_coverage_when_requested
Run coverage only if requested
2019-05-28 21:11:50 +02:00
014104e055
fixed data import from alpha data:
- include all collections (commented out)
- refactored neo4j import script
- use of .env file for (additional) configurations / configuration overrides
- lots of fiddeling with neo4j cql files and cypher shell
2019-05-28 18:53:05 +02:00
Robert Schäfer
3c580c9296
Merge pull request #694 from Human-Connection/2019/kw22/alpha_data_export
🍰 2019/kw22/alpha_data_export
2019-05-28 18:41:54 +02:00
Robert Schäfer
13c87ae889 Run coverage only if requested
I find it annoying to wait for code coverage tools to complete (~3
seconds) and especially to scroll up for every test run. So, this should
run coverage only on our build server *or* if you add `--coverage` on
the command line.
2019-05-28 18:27:52 +02:00
Robert Schäfer
f9ac22e560 Add executable UNIX permissions to export script
I encourage @ulfgebhardt to run the following command once:

```
SH_USERNAME=ulf SSH_HOST=***** MONGODB_USERNAME='hc-api' MONGODB_PASSWORD=***** MONGODB_DATABASE=hc_api MONGODB_AUTH_DB=admin UPLOADS_DIRECTORY=/data/api/uploads docker-compose -f docker-compose.maintenance.yml up --build
```

Once you're done with everything. You don't have to run docker for
development, but this procedure would ensure docker environment works
as expected.
2019-05-28 18:14:21 +02:00
Robert Schäfer
9c53e135c8
Merge pull request #693 from Human-Connection/689-fix_broken_image_urls_after_upload
689 fix broken image urls after upload
2019-05-28 17:48:06 +02:00
Matt Rider
97a374fd84 Fix placeholder text not translating bug
- tiptap-extensions are not reactive
- we must call a method to change them dynamically
- emit changeLanguage event, which is listened for by the Editor component, which then calls a method to set the emptyNodeText of tiptap
2019-05-28 12:46:52 -03:00
4b5138880d
missing default .env file 2019-05-28 17:07:54 +02:00
301e7fa60c
fixed data export for alpha:
- include all collections
- refactored mongodb export script
- renamed to export
- use of .env file for (additional) configurations / configuration overrides
2019-05-28 17:03:44 +02:00
Robert Schäfer
a07ca22e26 Replace <ds-avatar> on profile page 2019-05-28 15:20:24 +02:00
Robert Schäfer
db9596e276 Replace HcAvatar where possible
We still have `<ds-avatar>` in the code. It's used for the social media
icons. I'll leave it as it is for now.
2019-05-28 15:20:24 +02:00
Robert Schäfer
27b8848892
Merge pull request #690 from Human-Connection/582-edit-field-bug-comment-form
Fix edit field render bug(CommentForm)
2019-05-28 00:46:05 +02:00
dependabot-preview[bot]
4ab08fb472
Bump prettier from 1.14.3 to 1.17.1 in /webapp
Bumps [prettier](https://github.com/prettier/prettier) from 1.14.3 to 1.17.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.14.3...1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-27 22:20:08 +00:00
mattwr18
50f655173d
Merge pull request #676 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-import-2.17.3
Bump eslint-plugin-import from 2.17.2 to 2.17.3 in /backend
2019-05-27 19:18:03 -03:00
Matt Rider
745a326fbe Test refetching a Post with its comments 2019-05-27 19:16:27 -03:00
Matt Rider
b378bcb286 Fix edit field render bug(CommentForm)
- remove no-ssr, which was not necessary and causing the edit field not to appear the majority of the times visiting a Post.
- this was really bad user experience since a user would need to refresh the page to comment.
- removed args in refetchPostComments as there are no params passed in when it is called anymore
- needed to add an if statement since if there are no comments on a Post, then this.$apollo.queries.Post is undefined and it errors out trying to call refetch()
- update test to remove no-ssr

Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-05-27 17:02:00 -03:00
Robert Schäfer
7879dad940
Merge pull request #675 from Human-Connection/dependabot/npm_and_yarn/neo4j-driver-1.7.5
Bump neo4j-driver from 1.7.4 to 1.7.5
2019-05-27 19:44:59 +02:00
Robert Schäfer
65947cd8e3
Merge pull request #679 from Human-Connection/dependabot/npm_and_yarn/webapp/@vue/cli-shared-utils-3.8.0
Bump @vue/cli-shared-utils from 3.7.0 to 3.8.0 in /webapp
2019-05-27 19:43:59 +02:00
dependabot-preview[bot]
ebf59d3f46
Bump neo4j-driver from 1.7.4 to 1.7.5
Bumps [neo4j-driver](https://github.com/neo4j/neo4j-javascript-driver) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/neo4j/neo4j-javascript-driver/releases)
- [Commits](https://github.com/neo4j/neo4j-javascript-driver/compare/1.7.4...1.7.5)
2019-05-27 15:42:13 +00:00
Robert Schäfer
7f83cb9c3e
Merge pull request #684 from Human-Connection/600-fix_performance_issue_on_index_page
Use our own fork to workaround #600 for now
2019-05-27 17:40:28 +02:00
Robert Schäfer
cd9ea3cd48
Merge pull request #674 from Human-Connection/dependabot/npm_and_yarn/backend/express-4.17.1
Bump express from 4.17.0 to 4.17.1 in /backend
2019-05-27 17:29:26 +02:00
Robert Schäfer
0e9fce0a07 Add missing dependency git in Dockerfile 2019-05-27 15:37:08 +02:00
Wolfgang Huß
5380a5d6af Fixed Lint 2019-05-27 15:35:51 +02:00