Skip to content
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 API contact properties update + documents + photos + avatar #3302

Merged
merged 24 commits into from Dec 18, 2019

Conversation

@asbiin
Copy link
Member

asbiin commented Dec 14, 2019

Close #2716
Close #2905

Adds some api routes:

  • PUT /contacts/{contact}/work to update work informations
  • PUT /contacts/{contact}/food to update food preferences
  • PUT /contacts/{contact}/introduction to update the firstMet information
  • PUT /contacts/{contact}/avatar to update the avatar of a contact
  • POST /documents to store a new document
  • DELETE /documents/{document} to destroy a document
  • GET /photos to get every photos
  • GET /photos/{photo} to get one photo
  • POST /photos to upload a photo (contact_id required to link it to the photo)
  • DELETE /photos/{photo} to destroy a photo
asbiin added 6 commits Dec 14, 2019
@asbiin asbiin requested a review from djaiss Dec 14, 2019
asbiin added 9 commits Dec 14, 2019
fix
@asbiin asbiin changed the title feat: add API contact properties update feat: add API contact properties update + documents + photos + avatar Dec 15, 2019
@asbiin

This comment has been minimized.

Copy link
Member Author

asbiin commented Dec 15, 2019

@djaiss I've updated the content of this PR recently, would you like to review it please?

Copy link
Member

djaiss left a comment

Outstanding work @asbiin 👍

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
app/Services/Contact/Avatar/UpdateAvatar.php Outdated Show resolved Hide resolved
asbiin and others added 6 commits Dec 17, 2019
Co-Authored-By: Regis Freyd <djaiss@users.noreply.github.com>
Co-Authored-By: Regis Freyd <djaiss@users.noreply.github.com>
Co-Authored-By: Regis Freyd <djaiss@users.noreply.github.com>
Co-Authored-By: Regis Freyd <djaiss@users.noreply.github.com>
Copy link
Member Author

asbiin left a comment

Outstanding work @asbiin +1

Thanks!

@asbiin asbiin merged commit 99f84c2 into master Dec 18, 2019
17 checks passed
17 checks passed
Semantic Pull Request ready to be squashed
Details
SonarCloud Code Analysis Quality Gate passed
Details
continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/styleci/push The analysis has passed
Details
license/cla Contributor License Agreement is signed.
Details
monica CI Build #20191218.27 succeeded
Details
monica CI (Build build) Build build succeeded
Details
monica CI (Build phpstan) Build phpstan succeeded
Details
monica CI (Build psalm) Build psalm succeeded
Details
monica CI (Build reporting) Build reporting succeeded
Details
monica CI (Build test_migrations) Build test_migrations succeeded
Details
monica CI (Build tests 1) Build tests 1 succeeded
Details
monica CI (Build tests 2) Build tests 2 succeeded
Details
monica CI (Build tests 3) Build tests 3 succeeded
Details
monica CI (Build tests 4) Build tests 4 succeeded
Details
monica CI (Build tests_browser) Build tests_browser succeeded
Details
security/snyk - package.json (monicahq) No manifest changes detected
@asbiin asbiin deleted the feat/api-contact-properties-2019-12-14 branch Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.