* Added alternative approach for DBQueryEngine to page through the entire query using "LIMIT" requests instead of result set streaming
* Use the alternative approach for MySql
Main change is the removal of code from CombinedConfig into alfresco-transform-model as CombinedTransformConfig.The Code within LocalCombinedConfig has now moved to CombinedConfig as there is only one type of config now.
* Bump alfresco-transform-model from 1.3.1.1 to 1.4.0
* Add logWarn method
* PRODSEC-4331 - Upgrade spring version from 5.3.3 to 5.3.9 -> new methods added to the interface ApplicationEventMulticaster in the 5.3.9 version (removeApplicationListeners and removeApplicationListenerBeans)
* Content Service changes both ACS-1781 and 1782
* Ignore test temporarily
* ACS-1782 fix test
* ACS-1782 Test and service updates
* ACS-1781 Tests for Content Service and Store
* ACS-1782 disable rest api DAU
* Discovery API DAU Unit Tests - Asserts
* Discovery API DAU Unit Tests
* Discovery API DAU Unit Test Class
* Discovery API DAU
* ACS-1789 DiscoveryApi DAU
* Discovery API DAU Unit Tests Renamed Methods
* Integration Test Assert
* Unit Test Imports Removal
* Copyright Dates Updated
* Copyright Dates Updated
Co-authored-by: Sara Aspery <sara.aspery@alfresco.com>
* Content Service changes both ACS-1781 and 1782
* Ignore test temporarily
* ACS-1782 fix test
* ACS-1782 Test and service updates
* ACS-1781 Tests for Content Service and Store
* ACS-1782 disable rest api DAU
* ACS-1782 fix mocks in unit test
* ACS-1782 Fix integration test
* ACS-1781 Config set up and validation
* ACS-1781 Unit tests for config validation
* ACS-1865 Code tidy up
* ACS-1865 Updates from PR review
* ACS-1865 Updates from review
* Added validation to the ScriptActionExecuter class to enforce the existing constraints on parameter script-ref (Repo has the constraint to only allow scripts in Data Dictionary / Scripts and AGS has the constraint to only allow scripts in Data Dictionary / Records Management / Records Management Scripts") by validating if the given scriptRef is in the allowed valued of the constraint set on that param
* Added a new unit test for AGS to make sure that rmscript action still works as expected when the script is in the correct folder and fails when not
* Added new case in ActionServiceImpl2Test#testExecuteScript to assert that the transaction fails when we execute the action with an invalid script
* Moved test testActionResult from ActionServiceImplTest to class ActionServiceImpl2Test - Before it ran with a script not in Data Dictionary so with the added validation it started to fail. I moved the unit test do avoid duplicating the code to create the script in the correct location.
* period.getMillis() (joda lib) returns an int instead of a long, so on larger periods (like 30days) we get an error that the value cannot fit in an int
* Changed the validation to only calculate the remaining milliseconds in the edge case of the remaining days being zero (as both 23h before and 23h after correspond to 0 remaining days)
* Added a unit test that validates the usage 60 days up from the licence expiring to validate the problem stops occurring
Added a unit test that validates the usage 30 days after the licence expiring to cover all use cases
* MNT-21837 - License expires 23h earlier
* Original problem is that the remaining time to license expires is calculated in days (long, not double) and anything less then 24h computes to 0 days. The validation for license being valid is that the remaining days is more than zero.
* Added method calculateMs in DateUtil class to return the interval in ms considering 2 given dates and respective timezones
* Changed the validation to use the remaining milliseconds value instead of remaining days
* Added unit test where license expires 6 hours from now - repo is not supposed to enter read-only mode
* Added unit test where license expired 1 minute ago - repo is supposed to enter read-only mode
* Removed unused import
* Remove pdfbox jars as they should no longer be needed.
* Reintroduce tests that use Tika to 'guess' mimetypes as it was the tika parse that was pulling in the pdfbox libraries.
Classes that use Tika:
* HTMLRenderingEngine - removed as it is no longer used
* RemoteConnectorResponseImpl - called tika utility toByteArray so not using pdfbox
* TikaCharsetFinder - called to identify the charset not mimetype so not using pdfbox
* MimetypeMap - main use of Tika. Used to detect mimetypes. Might have been using pdfbox.
* SEARCH-2909 Return Http Status Code 501 (Not Implemented) in REST API for invocations to Search Services that are not supported.
* SEARCH-2909 Refactor exception mapping to simplify QueryParserException.
* SEARCH-2909 Add unit tests for postQuery.
This includes a test for the status code replacement with unsupported operations.
* SEARCH-2909 Add new unit test file to test suite.
Also add copyright header to test class.
Co-authored-by: Tom Page <thomas.page@alfresco.com>
* Changes made to correct the value of totalItems when performing a TMDQ
* Fixes after review
- Slight change was made to NodePermissionAssessor to log when permission
limits are exceeded
* Now pre-computing maxPermissionChecks value as per review suggestion
Originally fixed on 6.2.N. A couple of the Legacy classes no longer exist so changes are not on master. Changes to the renditions, default page limit and test still apply.
(cherry picked from commit 9d276aed7081e0078ed3f7f01dabdec20c599bfe)
(cherry picked from commit ddb299ab03)
Fixed the first approach. No longer catching the Exception and instead preventing to invoke the email action if the invited user does not have an email address
* LOC-303 Fix for this ticket - Fully updated and localised iptc-model.properties file in 15 languages
* LOC-303 Resubmitted - Fully updated and localised iptc-model.properties file in 15 languages
* Adding iptc-model.properties to be pulled for localisation
This behaviour has been inconsistent anyway: It failed and prevented the user from being added to the site if there was no email address. But it proceeded if the email could not be sent for other reasons, like an invalid server name or non existing account on that server.
* MNT-21694 500 error on new logo upload with Legacy transforms (#284)
The TransformationOptionsConverter class did not convert the newer transform option format a Map<String, String> to the legacy ImageTransformationOptions class that contains the commandOption (OPT_COMMAND_OPTIONS) property. As a result no legacy transformer is asked if it can do the transform.
Originally not fixed on ACS 7 as Legacy transformers were removed, however the fix was just in the converter class and it is helpful to have identical code on branches if possible.
* REPO-1319 - Migration to remove alf_server table
* Updated test schema reference
* Renamed test env. schema bootstrap configuration file
This is done to avoid test failing due to special spring configuration overrides
* [skip ci] Better output from test errors, fixed table patterns for MSSQL support
* Now message patterns for migration are case insensitive
* Fixed NPE in SchemaDifferenceHelperUnitTest
* Fixed path to special test spring configuration
* Changes after review
* Changes after review
Co-authored-by: Nana Insaidoo <insaidoo.nana@yahoo.it>
* Update schema validation report
- Introduced changes to tell apart problems due to optional unapplied
patches within schema validation report
* Update SchemaDifferenceHelper
- Now populating optionalUpgradePatches list during the schema bootstrap
registration to conform with patch registration mechanising already in use
- Added tests
* Make minor corrections
Co-authored-by: Nana Insaidoo <nana.insaidoo@meterian.com>