-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add ability to upload documents #1912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…monica into 2018-09-22-add-document-upload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$contact->has_avatar = true; | ||
$contact->avatar_location = config('filesystems.default'); | ||
$contact->avatar_file_name = $request->avatar->storePublicly('avatars', $contact->avatar_location); | ||
// $contact->has_avatar = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Smell: Remove this commented out code. (php:S125)
Co-Authored-By: djaiss <djaiss@users.noreply.github.com>
Co-Authored-By: djaiss <djaiss@users.noreply.github.com>
…monica into 2018-09-22-add-document-upload
@asbiin I need your help. Deleting a document doesn't work. The error is about WrongIdException - meaning the hashID of the contact is not right when making the call. But I don't see what I do wrong. |
This pull request has been automatically locked since there |
This PR adds the ability to upload documents to a contact. In this PR, we can't upload a document through the API yet.
Front-end changes
Backend/models changes
If the code changes the SQL schema
vCard
and.csv
files.Other tasks
UNRELEASED
.