Commit Graph

25190 Commits

Author SHA1 Message Date
alandavis
ddb299ab03 MNT-22409 Legacy transformer fails to generate multi-page TIFF preview
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)
2021-05-17 17:38:35 +01:00
Dharan
19d214fcb0 [MNT-22183] Use absolute paths for stylesheets (#383) (#458)
* [MNT-22183] Use absolut paths for stylesheets

* added slash

* added context prefix

Co-authored-by: dhrn <dharan.g@muraai.com>

Co-authored-by: davidcanonieto <david.cano.nieto@gmail.com>
2021-05-13 21:19:04 +05:30
Travis CI User
870ff8cc64 [maven-release-plugin][skip ci] prepare for next development iteration 2021-05-11 13:20:37 +00:00
Travis CI User
aed08fe5d9 [maven-release-plugin][skip ci] prepare release 9.8 9.8 2021-05-11 13:20:33 +00:00
alandavis
a3b0541560 Feature/search 2802 shared secret auth (#382)
* SEARCH-2802: Filter HTTP requests (now "none" and "secret" communication methods are available) from X509 Web Filter.

* SEARCH-2802: HttpClientFactory (for Repository and Search Services clients) support for Shared Secret communication.

* SEARCH-2802: Fix HttpClientFactory base unit tests.

(cherry picked from commit 20dd0efc6f)
2021-05-11 13:16:50 +01:00
alandavis
2f6c5614c3 MNT-22295 - FixedACLJob not processing all nodes due to unordered results (#359)
* Added method selectNodesWithAspects that accepts a boolean as param to order values
* Added param ordered to IdsEntity class
* Added optional ordered param to the query template that orderes the results by node id in asc order
* Added method getNodesWithAspects that accepts a boolean as param to order values in nodeDAO
* FixedACLUpdater Job calls the new getNodesWithAspects, with the ordered param as true

(cherry picked from commit 3a495f7b3f)
[skip ci]
2021-05-11 13:15:20 +01:00
alandavis
82d3828351 MNT-21898 Unexpected ACLs when job runs Fix (#344)
* On move node, verify if parent has pending acl aspect applied and consider the pending shared ACL to update inheritance to avoid ending up with mixed permissions as children of pending acl nodes do not have the correct acls and when moved, keep their wrong acl.
* Add public method setInheritanceForChildren that receives an additional param: forceSharedACL. If an unexpected ACL occurs in a child, it can be overridden by setting it.
* Implement method setInheritanceForChildren that receives an additional parameter: forceSharedACL
* Add method setFixedAcls that receives an additional parameter: forceSharedACL - When a child node has an unexpected ACL, setting this parameter to true will force it to assume the new shared ACL instead of throwing a concurrency exception. When the shared ACL is forces, a warning is thrown in the log informing on what node exactly are we forcing the ACL. This is only possible when the child ACL is type SHARED and when it has an unexpected ACL
* All methods that called setFixedAcls without the new parameter will continue to operate as normal, as having forceSharedACL=false
* Added property forceSharedACL to the FixedACLUpdaterJob. If set to true it will force shared ACL to propagate through children even if there is an unexpected ACL
* When there is a exception detected when doing setInheritanceForChildren on the job, catch and log the error, but do not rollback the entire batch
* On copy/move unit tests I changed the ACL of the target folders on copy and move tests so that the old shared ACL accessed was never the same for origin and target folders as happens when performing these operations between sites
* Added unit test to verify fix for MNT-21898 - testAsyncWithNodeMoveChildToChildPendingFolder
* Added unit test to verify system property for the job: forceSharedACL - testAsyncWithErrorsForceSharedACL

(cherry picked from commit ace87c9c3b)
[skip ci]
2021-05-11 13:13:43 +01:00
alandavis
c986498481 MNT-21694 fix test 2021-05-11 13:06:33 +01:00
alandavis
c93d81379e 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.

There are no Legacy transformers in ACS 7, so this fix cannot be applied there as the class has been removed. Fixing on 6.2.N.

(cherry picked from commit 3a8cb74f26)
[skip ci]
2021-05-11 12:58:59 +01:00
Travis CI User
d348e0b72d [maven-release-plugin][skip ci] prepare for next development iteration 2021-05-10 17:00:36 +00:00
Travis CI User
dc5e7405cc [maven-release-plugin][skip ci] prepare release 9.7 9.7 2021-05-10 17:00:30 +00:00
alandavis
3c8bb7f154 Create release/7.0.N branch for 7.0.1
* Still need to cherry pick commits already merged to 6.2.N
2021-05-10 17:21:01 +01:00
Travis CI User
bb8d42d23c [maven-release-plugin][skip ci] prepare for next development iteration 2021-04-21 22:09:48 +00:00
Travis CI User
9c1aa53819 [maven-release-plugin][skip ci] prepare release 8.425 8.425 2021-04-21 22:09:43 +00:00
Travis CI User
885f4a49a5 [maven-release-plugin][skip ci] prepare for next development iteration 2021-04-12 10:35:00 +00:00
Travis CI User
9989ec3260 [maven-release-plugin][skip ci] prepare release 8.424 8.424 2021-04-12 10:34:55 +00:00
Alan Davis
78ad14b696 Bugfix/repo 5610 events are not actually sent to activemq (#360) (#380)
Original issue was ACS-1291, however the original commit for this on master was reverted and then later included in REPO-5610

REPO-5610 events are not actually sent to activemq (#360)
*   Add events tests
*  Polished put test: connects to JMS via TCP and validate that the event sent is also received back
*  Now the tests provides a simple main() that listens on the topic, useful for quick debug sessions
*  Now the user name is collected in the calling thread, so that the sendEvent does not silently fails
*  Apply changes following review
*  Now using queue system to guarantee events order
*  Add license
*  Updated logs and corrected comments
*  Remove empty methods
*  Now catering for spurious events at startup when database is bootstrapped
*  Now preserving the txn-id in all events
*  Moved up definitions in events2.xml after PR feedback
Co-authored-by: Bruno Bossola bruno@meterian.com
(cherry picked from commit 046116d)

Backport to alfresco-enterprise-repo will also include fixes for MNT-22301 Query Accelerator - datetime & stores
2021-04-12 10:56:08 +01:00
Travis CI User
8ae2009c13 [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-09 20:11:25 +00:00
Travis CI User
df92479664 [maven-release-plugin][skip ci] prepare release 8.423 8.423 2021-03-09 20:11:20 +00:00
Gloria Camino
40133c350e Fixed typo for CPUs in SPANISH (#342) 2021-03-09 18:24:23 +00:00
Travis CI User
f0c95819ad [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-09 16:14:43 +00:00
Travis CI User
1b3ae47b98 [maven-release-plugin][skip ci] prepare release 8.422 8.422 2021-03-09 16:14:38 +00:00
Alan Davis
6a017abf3e ATS-876 Update to T-Engine (#341) 2021-03-09 15:16:01 +00:00
dependabot-preview[bot]
19767d2fc7 Bump dependency.transform.model.version from 1.3.0 to 1.3.1 (#340) 2021-03-08 23:23:51 +00:00
Travis CI User
77935da9df [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-08 17:41:39 +00:00
Travis CI User
80612db4e3 [maven-release-plugin][skip ci] prepare release 8.421 8.421 2021-03-08 17:41:34 +00:00
araschitor
49b652f696 feature/APPS-update-dependencies:Removed suffix google-drive and aos version from pom (#339) 2021-03-08 18:57:31 +02:00
Travis CI User
999ce58b43 [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-08 08:26:37 +00:00
Travis CI User
2bf41ccfea [maven-release-plugin][skip ci] prepare release 8.420 8.420 2021-03-08 08:26:33 +00:00
Denis Ungureanu
f485581d5e ACS-855 : Long running patch in ACS 7.0.0.A2 upgrade (#338)
- revert  changes (sql and schema reference files) done in REPO-4547
2021-03-08 09:49:38 +02:00
Travis CI User
a4bf9b5e47 [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-05 12:35:24 +00:00
Travis CI User
1fde058fc4 [maven-release-plugin][skip ci] prepare release 8.419 8.419 2021-03-05 12:35:20 +00:00
Alan Davis
d60cd5ed1c ACS-1180 ACS 7 Stacks: MySQL 8 (#336) 2021-03-05 11:37:47 +00:00
Travis CI User
f77ceb2072 [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-05 11:09:00 +00:00
Travis CI User
b072d935aa [maven-release-plugin][skip ci] prepare release 8.418 8.418 2021-03-05 11:08:55 +00:00
Ancuta Morarasu
2b03e2bbf0 ACS-1201: Model integrity violation saving properties (#332)
- Fix the name property persistence in ContentModelFormProcessor to only save when the property value is actually changed. This prevents the FilenameFilteringInterceptor to be called when there are no changes to the file name.
2021-03-05 12:32:10 +02:00
Travis CI User
748272bcde [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-05 09:20:48 +00:00
Travis CI User
3aad844812 [maven-release-plugin][skip ci] prepare release 8.417 8.417 2021-03-05 09:20:44 +00:00
Alan Davis
1e5188a4a7 ACS-1071 revision not set in version.properties (#335) 2021-03-05 08:42:28 +00:00
Andreea Nechifor
f5e5093ead Update webscript version (#333) 2021-03-05 10:05:07 +02:00
Stefan Kopf
fef8cc9256 ACS-1217 Additional option for SOLR to authenticate with a shared secret (#334)
Co-authored-by: Alex Mukha <alex.mukha@alfresco.com>
2021-03-04 18:49:49 +01:00
Travis CI User
2e6b40d8c7 [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-04 15:59:43 +00:00
Travis CI User
4be06a5e20 [maven-release-plugin][skip ci] prepare release 8.416 8.416 2021-03-04 15:59:36 +00:00
Nithin Nambiar
f7ecb45991 MNT-22184 Add security header for admin console (#323) 2021-03-04 15:21:35 +00:00
Travis CI User
6349b6ff7b [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-04 08:35:16 +00:00
Travis CI User
16c998ca94 [maven-release-plugin][skip ci] prepare release 8.415 8.415 2021-03-04 08:35:09 +00:00
Simona C
a37bf29faa Upgrade TAS restapi (#327) 2021-03-04 09:58:20 +02:00
dependabot-preview[bot]
42d14c2abe Bump acs-event-model from 0.0.11 to 0.0.12 (#328)
Bumps [acs-event-model](https://github.com/Alfresco/acs-event-model) from 0.0.11 to 0.0.12.
- [Release notes](https://github.com/Alfresco/acs-event-model/releases)
- [Commits](https://github.com/Alfresco/acs-event-model/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-04 07:58:35 +01:00
dependabot-preview[bot]
8544f6f90e Bump restapi from 1.55 to 1.56 (#330) 2021-03-03 22:56:39 +00:00
alandavis
ee7936334e Remove commented out section [skip ci] 2021-03-03 17:15:14 +00:00