Repository navigation
Allow processing of PDF files with ImageMagick - #2431
Merged
Merged
Conversation
Contributor
Author
|
As you can see from the Slack thread the issue is solved by this change. |
Member
|
I rebased this, pushed an image for it, gave it a specific image. |
rfay
requested changes
Aug 10, 2020
rfay
left a comment
Member
There was a problem hiding this comment.
As far as I can tell, this is the same policy.xml as in the original container, so this PR as yet does nothing.
Please update to provide a policy.xml which does what you want. Note that this has been rebased, so you'll have to reset to your remote after fetching it.
To go in, this will also have to have a manual testing technique provided, or I won't have any idea how to determine if it works right.
gilbertsoft
commented
Aug 11, 2020
rfay
approved these changes
Aug 11, 2020
rfay
left a comment
Member
There was a problem hiding this comment.
Looks great to me. Thanks for all the help getting through this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Problem/Issue/Bug:
TYPO3 is able to convert PDF files to images for a preview with the help of ImageMagick / GraphicsMagick but ImageMagick blocks PDF files by default on Debian.
How this PR Solves The Problem:
The policy.xml file distributed by the APT package on Debian is added to the web server container image and the related line is commented out to have PDF conversion enabled by default in DDEV.
Manual Testing Instructions:
Go to the TYPO3 Backend and under environment in the admin / install tool run the image test. There should not be an error and the PDF should be shown as image in the related test.
The important test:
In case something is broken it looks like this:
Automated Testing Overview:
Related Issue Link(s):
Release/Deployment notes: