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

Improved image and URL metadata handling #70

Merged
merged 6 commits into from
Sep 25, 2022
Merged

Conversation

roelofr
Copy link
Collaborator

@roelofr roelofr commented Jul 17, 2022

  • URLs no longer need to be alive, just valid
  • Use Laravel's HTTP library, not file_get_contents and streams
  • Replaced URL-image-upload mimetype test with test on HTTP response
  • Added a bunch of tests for the controller

@roelofr roelofr added the enhancement New feature or request label Jul 17, 2022
@roelofr roelofr linked an issue Jul 17, 2022 that may be closed by this pull request
roelofr added 4 commits July 17, 2022 17:26
- URLs no longer need to be alive, just valid
- Use Laravel's HTTP library, not file_get_contents and streams
- Added a bunch of tests
- Replaced URL-image-upload mimetype test with response test
It's likely already a dependency of most Laravel application
@roelofr roelofr force-pushed the improve-url-previews branch from 124ef34 to 1418caa Compare July 17, 2022 15:27
@roelofr roelofr requested a review from advoor July 18, 2022 05:44
@roelofr roelofr merged commit 4f9de04 into master Sep 25, 2022
@roelofr roelofr deleted the improve-url-previews branch September 25, 2022 12:27
@tractorcow
Copy link

This issue caused a regression when attaching links that have image metadata.

Something went wrong: Found extra param `imageUrl`

the meta.image.url field was just replaced with meta.imageUrl, but this was not reflected in the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

link a CNAME domain failed
2 participants