Robert Schäfer
2a22aaa907
Fix edge case bug in extractIds
2019-05-21 02:01:00 +02:00
Robert Schäfer
2b03b515e2
Implement image upload for posts
2019-05-21 02:01:00 +02:00
Robert Schäfer
d624a3f232
Write tests for fileUpload
2019-05-21 02:01:00 +02:00
Matt Rider
99d6a75ccb
Get rid of deprecation warning
...
- DeprecationWarning: File upload property ‘stream’ is deprecated. Use ‘createReadStream()’ instead
2019-05-20 17:51:22 -03:00
Matt Rider
73fc0a420c
Improve CSS, add key to rerender Upload
...
- re-renders when avatar is successful updated
2019-05-20 17:30:51 -03:00
Matt Rider
5cd50ee00d
Remove apollo-upload-client
...
- we are using graphql-client, which under the hood uses apollo-upload-client
2019-05-20 16:42:13 -03:00
Matt Rider
d463312397
Get avatar upload working from frontend to backend
...
- there are several things to work on still
- the upload sets the avatar as the background image of the previewElement, which means that you must refresh the page to upload a different avatar
- the CSS is slightly different before and after successful upload
- the CSS is slightly broken in that the avatar is not in the "ideal" place, it is entirely inside the card, instead of half in, half out on the top
2019-05-20 16:37:02 -03:00
Matt Rider
e2d6d6217f
Merge branch 'uploads-on-server' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-20 15:45:17 -03:00
Matt Rider
3df7f588d2
Merge branch '399-user-profile-image-uploads' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-20 15:39:57 -03:00
Matt Rider
f60af6a704
Merge github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-20 15:38:30 -03:00
Matt Rider
1bb523a9ef
Set up to work with vddrop
...
- on vdropzone-drop call vddrop function, which sends the mutation to the backend
2019-05-20 15:37:08 -03:00
Robert Schäfer
4dbf1b2a2c
UpdateUser with avatarUpload
...
This is a curl request from a folder where I have a file `avatar.jpg`:
```
curl localhost:4000/ \
-F operations='{ "query": "mutation($id: ID!, $file: Upload) { UpdateUser(id: $id, avatarUpload: $file) { id name avatar } }", "variables": { "id": "u3", "file": null } }' \
-F map='{ "0": ["variables.file"] }' \
-F 0=@avatar.jpg
```
It uploads the avatar to the public folder. We should
* Write tests
* Change the `user.avatar` url and send it to `/api` in the frontend
2019-05-20 20:35:33 +02:00
Matt Rider
1c072b97b5
Add apollo-upload-client
2019-05-20 13:20:24 -03:00
dependabot[bot]
a96118cfaa
Bump cypress from 3.2.0 to 3.3.0
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Commits](https://github.com/cypress-io/cypress/compare/v3.2.0...v3.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:33:49 +00:00
Robert Schäfer
f2577bb06c
Merge pull request #628 from Human-Connection/dependabot/npm_and_yarn/cypress-cucumber-preprocessor-1.11.2
...
Bump cypress-cucumber-preprocessor from 1.11.0 to 1.11.2
2019-05-20 14:31:57 +02:00
3f030b9e11
more emoji, removed unused sections, more meta data
2019-05-20 11:23:11 +02:00
Wolfgang Huß
7e922fa0b0
Got the go to Index Page to work on Post Page deletion
2019-05-20 07:00:33 +02:00
dependabot[bot]
f27c8c5cc3
Bump tiptap-extensions from 1.19.4 to 1.19.8 in /webapp
...
Bumps [tiptap-extensions](https://github.com/scrumpy/tiptap ) from 1.19.4 to 1.19.8.
- [Release notes](https://github.com/scrumpy/tiptap/releases )
- [Commits](https://github.com/scrumpy/tiptap/compare/tiptap-extensions@1.19.4...tiptap-extensions@1.19.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 04:59:07 +00:00
dependabot[bot]
8cc4324a2c
Bump cypress-cucumber-preprocessor from 1.11.0 to 1.11.2
...
Bumps [cypress-cucumber-preprocessor](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor ) from 1.11.0 to 1.11.2.
- [Release notes](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/releases )
- [Changelog](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/compare/v1.11.0...v1.11.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 04:52:38 +00:00
Wolfgang Huß
8d6e3794cf
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 553-delete-comment
2019-05-20 06:08:55 +02:00
Robert Schäfer
859d3189f4
Merge pull request #616 from Human-Connection/docs-fix_wrong_instructions_where_to_find_external_ip_address
...
Fix wrong screenshot in kubernetes docs
2019-05-19 19:38:48 +02:00
Robert Schäfer
d73ec2288e
Merge pull request #626 from Human-Connection/613_revert-empty-component-to-use-img-tag
...
Refactor to use <img> instead of <hc-image> component for images
2019-05-19 19:25:44 +02:00
Wolfgang Huß
f5d9bc9ae4
First proof of functionality for Delete Comment and Post via DeleteModal
2019-05-19 12:54:25 +02:00
Wolfgang Huß
7f83f775a7
Clean up the delete-menu stuff for Comments and Posts
2019-05-19 08:23:51 +02:00
Wolfgang Huß
2016a9445b
Rename confirm callbacks
2019-05-19 07:42:55 +02:00
Wolfgang Huß
388e9ff6b2
Go ahead with refactoring of DeleteModal in Comments and Posts
2019-05-18 15:56:07 +02:00
341baa5e3b
fixed lint rules
2019-05-18 15:43:26 +02:00
e3f9d1fe73
dependencies, fixes
2019-05-18 15:33:12 +02:00
b4e7b9c40f
dependencies
2019-05-18 15:31:03 +02:00
161921c911
fixes
2019-05-18 15:29:21 +02:00
c7070fe4d6
fixes
2019-05-18 15:26:30 +02:00
afbfd00bec
jest plugin for eslint
2019-05-18 15:22:49 +02:00
9edce764e3
dependencies
2019-05-18 15:18:48 +02:00
1dc8f1a15f
dependencies
2019-05-18 15:17:56 +02:00
beab5571fd
included license and author in package.json
2019-05-18 15:12:31 +02:00
d9bd264106
updated package json
2019-05-18 15:11:37 +02:00
1e20bb4bce
updated package json
2019-05-18 15:08:57 +02:00
c69e5915f1
backend pretier, more linting rules
2019-05-18 15:07:02 +02:00
9dda50cfd8
define vscode extension recommendations
2019-05-18 14:41:32 +02:00
1351f1cee9
adjusted vscode settings
2019-05-18 14:37:35 +02:00
eb6a9b3034
added vscode settings to project, removed ignore from gitignore for .vscode folder
2019-05-18 14:36:35 +02:00
35853c049e
prettier setting frontend
2019-05-18 14:35:58 +02:00
Robert Schäfer
03bf8fb3d5
Merge remote-tracking branch 'origin/master' into 399-user-profile-image-uploads
2019-05-18 13:52:24 +02:00
Robert Schäfer
b7632ed1fa
Follow "folder with spec and component" convention
2019-05-18 13:49:13 +02:00
df3ec92cf1
Merge branch 'master' into 2019/kw20/fix_post_card_design
2019-05-18 13:01:40 +02:00
Wolfgang Huß
9af8c2b46c
Refactored handling of DeleteModal in Comments and Posts
2019-05-18 12:58:51 +02:00
a7fb3f0095
linting
2019-05-18 12:36:51 +02:00
eda58c25e3
ribbon tests, ribbon positions, fixed ssr stuff, fied missing language things
2019-05-18 12:33:41 +02:00
Wolfgang Huß
04deda57ae
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 553-delete-comment
2019-05-18 08:28:40 +02:00
Wolfgang Huß
8033556145
Investigation how to update the Comments List intelligent
2019-05-18 07:35:45 +02:00