* Enhancements
- Added possibility to force local temporary storage for local browser instances #50
* Fixes
- Exports on CLI are working again #52
- A local browser is terminated correctly even if errors occur #51
- Changes from 0.10.0
- Support for PHP 8.0
- Raised minimum required version of PHP to 7.2
- It is now possible to use a remote instance of Chrome
- Support for a cover page has been added (Used by the reporting module >= 0.9.2)
- Several improvements were made to ensure exports work fine
- Added automatic page break capability
- A standardized style for the header and footer of pages is now available
- Font icons, static images served from Icinga Web 2's public/ directory and those served by modules are now shown in exports
- More logging
- The debug log now gives detailed info about how the browser is instrumented
- The error log contains messages about network and media related errors (Useful if there are missing images in the export)
OBS-URL: https://build.opensuse.org/package/show/home:ecsos:monitoring/icingaweb2-module-pdfexport?expand=0&rev=8
27 lines
1.4 KiB
Diff
27 lines
1.4 KiB
Diff
Index: icingaweb2-module-pdfexport-0.10.1/application/forms/ChromeBinaryForm.php
|
|
===================================================================
|
|
--- icingaweb2-module-pdfexport-0.10.1.orig/application/forms/ChromeBinaryForm.php
|
|
+++ icingaweb2-module-pdfexport-0.10.1/application/forms/ChromeBinaryForm.php
|
|
@@ -21,7 +21,7 @@ class ChromeBinaryForm extends ConfigFor
|
|
{
|
|
$this->addElement('text', 'chrome_binary', [
|
|
'label' => $this->translate('Local Binary'),
|
|
- 'placeholder' => '/usr/bin/google-chrome',
|
|
+ 'placeholder' => '/usr/bin/chromium',
|
|
'validators' => [new Zend_Validate_Callback(function ($value) {
|
|
$chrome = (new HeadlessChrome())
|
|
->setBinary($value);
|
|
Index: icingaweb2-module-pdfexport-0.10.1/library/Pdfexport/ProvidedHook/Pdfexport.php
|
|
===================================================================
|
|
--- icingaweb2-module-pdfexport-0.10.1.orig/library/Pdfexport/ProvidedHook/Pdfexport.php
|
|
+++ icingaweb2-module-pdfexport-0.10.1/library/Pdfexport/ProvidedHook/Pdfexport.php
|
|
@@ -39,7 +39,7 @@ class Pdfexport extends PdfexportHook
|
|
|
|
public static function getBinary()
|
|
{
|
|
- return Config::module('pdfexport')->get('chrome', 'binary', '/usr/bin/google-chrome');
|
|
+ return Config::module('pdfexport')->get('chrome', 'binary', '/usr/bin/chromium');
|
|
}
|
|
|
|
public static function getForceTempStorage()
|