Commit Graph
11 Commits
Author SHA1 Message Date
Dhaval PatelandCopilot Autofix powered by AI 5b03dc315e ACS-12413 : enable deferred pre-commit hooks and normalize repo (#1333)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-08-12 09:49:11 +05:30
Sayan BhattacharyaandDamian Ujma f988401a75 ACS-10505 Prevent blind ssrf attacks in libre office transformations (#1167)
* ACS-10505 modifying libreoffice workdir and user's registryconfig file to block external links

* ACS-10505 modifying libreoffice workdir and user's registryconfig file to block external links

* ACS-10505 modifying libreoffice workdir and user's registryconfig file to block external links

* ACS-10505 modifying libreoffice workdir and user's registryconfig file to block external links

* ACS-10505 used a temp office manager to create a temp user profile.

* ACS-10505 libreoffice yml corrected

* ACS-10505 PMD Fixes

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 generating xcu file via script instead of officemanager

* ACS-10505 PMD fixes

* ACS-10505 PMD fixes

* ACS-10505 PMD fixes

* ACS-10505 registrymodifications.xcu is predefined

* ACS-10505 registrymodifications.xcu is predefined

* ACS-10505 registrymodifications.xcu is predefined in resources of libreoffice

* ACS-10505 libreoffice path corrected

* ACS-10505 header updated and test cases updated

* ACS-10505  test cases updated

* ACS-10505 removing redundent classes

* ACS-10505 removing redundent scripts

* ACS-10505 PMD Fixes

* ACS-10505 fixing review comments

* ACS-10505 fixing unit test cases

* ACS-10505 fixing unit test cases

* ACS-10505 updated md file and configurations

* ACS-10505 fixing test cases

* ACS-10505 fixing test cases for /test endpoints

* ACS-10505 fixing test cases for LibreOfficeProfileManagerTest

* ACS-10505 PMD Fixes

* Update engines/libreoffice/src/main/java/org/alfresco/transform/libreoffice/patch/LibreOfficeProfileManager.java

Co-authored-by: Damian Ujma <92095156+damianujma@users.noreply.github.com>

* ACS-10505 Logger warn fix

* ACS-10505 simplifying return statement.

* ACS-10505 simplifying return statement.

---------

Co-authored-by: Damian Ujma <92095156+damianujma@users.noreply.github.com>
2026-01-13 11:53:05 +05:30
cezary-witkowskiandCopilot 1b517361e6 Please [release] 5.2.3-A.1 [skip tests]. Updated ImageMagick engine configuration. (#1151)
* Please [release] 5.2.3-A.1 [skip tests]. Updated ImageMagick engine configuration.

* Update docs/external-engine-configuration.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 08:35:24 +02:00
cezary-witkowski 9cbbbe6068 [ACS-9839] Introduced ACTIVEMQ_URL_PARAMS to avoid the need to override spring.activemq.broker-url directly (#1110)
* [ACS-9839] Introduced ACTIVEMQ_CONN_OPTIONS to avoid the need to override spring.activemq.broker-url directly.

* [ACS-9839] ACTIVEMQ_CONN_OPTIONS -> ACTIVEMQ_URL_PARAMS rename

* [ACS-9839] Restore removed comment
2025-07-21 12:47:56 +02:00
KushalBanik cb9d070c9c Fix/mnt 25089 html transformations with ootb aio create extra whitespace (#1079) 2025-06-03 13:23:33 +05:30
tiagosalvado10 b9bcc3c9d2 [MNT-23960] Added new options (pdfFont, pdfFontSize) to textToPdf transformer (#885)
* [MNT-23960] Added options (pdfFont, pdfFontSize) and NotoSans fonts to textToPdf transformer

* [MNT-23960] Added 'MISC_PDFBOX_DEFAULT_FONT' and 'transform.core.misc.pdfbox.defaultFont' configuration to core-aio and misc T-Engines

* [MNT-23960] Added NotoSans fonts to core-aio and misc T-Engine images

* [MNT-23960] Improved logging: added messages, using placeholders

* [MNT-23960] Added DEFAULT_FONT constant (NotoSans-Regular)

* [MNT-23960] Splitted getFont(PDDocument, String) code into 3 methods. Added Javadoc.

* [MNT-23960] Return TransformCheckResult on transformTextAndCheck methods. Added assertion to testUTF8WithBOM test.
2024-02-06 16:26:25 +00:00
evasques f2c10d3fda ATS-985 - Upgrade LibreOffice to 7.2.5 (#568)
* Upgrade LO to 7.2.5

* Update dockerfiles to use version 7.2.5 of Libreoffice uplodaded to nexus

* Correct formatting of Dockerfiles
2022-03-16 12:46:01 +00:00
Alexandru-Eusebiu Epure 0aa6253150 ATS-935: Upgrade LibreOffice to 7.0.6 (from 6.3.5) (#418)
* MNT-22433 : LO never returns to AIO for one file
   upgrade LibreOffice to 7.0.6 (from 6.3.5)
   Remove test and test resource for .msg type
2021-06-11 11:23:10 +03:00
David Edwards 03d08d0c9e MNT-22082 transformation of pdf to text hang (#367)
A new constructor has been added to the TikaController to provide
the new spring config.
The creation of the TikaExecutor has been moved to "singleton pattern" as
the injection of the @Value happens after the instantiation of the
TikaJavaExecutor and does not pass the value correctly. The
instantiation is now done once, on the first transform request.
Param has been added to the AIO beans.
2021-04-13 09:59:42 +01:00
Epure Alexandru-Eusebiu 81b2b8a231 MNT-21869: libreoffice timeout set too high [trigger release]
Change SERVER.PORT to SERVER_PORT for consistency
2020-09-25 11:23:20 +03:00
Alexandru-Eusebiu Epure 32e48b413b MNT-21869 libreoffice timeout set too high (#295)
* MNT-21869 libreoffice timeout set too high
   Reduce default value of timeout for libreoffice from 2000min to 20min
   Add option to configure libreoffice timeout externally.
   Enable to configure externally the port on which the app starts.
  Add external-engine-configuration.md
2020-09-25 10:54:06 +03:00