mattwr18
dfd30cbaac
Remove check for setting name to null or undefined
...
- this was making things more likely to fail from the frontend, we would
need to consider doing a db manipulation for users from the old alpha
who have user.name as null.
- it only protects against someone who bypasses our UI and sends a
message directly to the backend, but if they can do that we have bigger
problems.
2019-12-13 10:17:19 +01:00
mattwr18
fd1e2c91fd
Refactor to consolidate UpdateUser mutations
2019-12-12 18:48:56 +01:00
Alina Beck
a210dd599d
Merge branch 'master' into migrate-styleguide-icons
2019-11-20 19:35:03 +03:00
Alina Beck
4e6572a042
replace ds-icon with base-icon
2019-11-19 12:26:07 +03:00
roschaefer
36062ffa8c
Fix lint
2019-11-16 14:34:23 +01:00
Matt Rider
a110a067fa
Add teaser image to contribution form
2019-06-08 14:24:55 -03:00
Matt Rider
8e96179b33
Remove unused prop, add error boundary handling
2019-06-04 08:57:22 -03:00
Matt Rider
57a253637c
Remove annoying vue-dropzone messages
2019-06-04 08:20:51 -03:00
Matt Rider
19667762ce
Remove unneeded/unused code
2019-06-04 07:52:21 -03:00
Matt Rider
5c6147ee47
Fix broken tests, revert changes to error watch property
...
- causing breaking change in the tests
2019-06-03 19:14:29 -03:00
Matt Rider
31a6d36e59
Get overlay working, refactor
...
- use arrow function for error watch property, remove let that = this
2019-06-03 18:54:39 -03:00
Matt Rider
e5ccdb91d2
Use custom slot for hc-avatar
2019-06-03 16:54:45 -03:00
Matt Rider
e09ef35c4a
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 691_handle-large-file-sizes-bug
2019-06-01 16:05:43 -03:00
Matt Rider
068f6c2b49
Add logo as default avatar background image
2019-05-30 16:04:16 -03: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
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
Matt Rider
b08b29ba8e
Fix user avatar jumping on upload
2019-05-28 20:35:47 -03:00
aonomike
154b6a6f78
Fix large file sizes bug
2019-05-28 23:31:57 +03:00
Matt Rider
39d4771ce1
Fix lint
2019-05-24 08:48:52 -03:00
Matt Rider
cebd1046c7
Write cypress tests, show dropzone conditionally
...
- If it's the user's profile, show vueDropzone, if not show just the user's avatar
- apollo mutation is being called twice for drag and drop events
2019-05-24 01:26:37 -03:00
Matt Rider
d62f722381
Write component tests
2019-05-23 23:30:55 -03:00
Matt Rider
fd90006dff
Merge branch 'uploads-on-server' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-21 17:32:02 -03:00
Matt Rider
4ac8c7f06b
Fix failing tests
2019-05-21 16:53:50 -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
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
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
Robert Schäfer
b7632ed1fa
Follow "folder with spec and component" convention
2019-05-18 13:49:13 +02:00