Details
-
New Feature
-
Resolution: Fixed
-
None
-
High
-
IMPORTANT: update docker compose files to the new pdfconverter.
-
-
Empty show more show less
Description
We still have problems with the visualbrowser, the backchannel-communication simply does not work in some cases, it seems the internal docker network has "hickups/dropouts" for more then 150 sec.
The implementation should be as follows:
- New Container similar to the pdfconverter with PHP-runtime/server and Chrome inside
- This container takes Jobs with a zipped visual as POST and provides (currently) 2 endpoints/jobtypes: Reflow (for pdf-based visuals) and TextSize (for Image reviews) but more will come (e.g. print HTML page as PDF with chrome built in converter)
- Parts of the T5 Code needs to be moved/implemented in the container
- From T5s view this will work exactly like the pdfconverter
Code sections to implement in the Container:
editor_Plugins_VisualReview_Image_TextResizer::convertTargetFileWithGoogleChrome
editor_Plugins_VisualReview_TextReflow_Converter::convertTargetFileWithGoogleChrome
editor_Plugins_VisualReview_HeadlessChrome_Adapter
Library needed in the Container: https://github.com/chrome-php