diff --git a/config/alfresco/application-context.xml b/config/alfresco/application-context.xml
index 3d5e0c6258..4506f69de6 100644
--- a/config/alfresco/application-context.xml
+++ b/config/alfresco/application-context.xml
@@ -19,7 +19,7 @@
-
+
@@ -1070,7 +1071,7 @@
org.alfresco.resourceBundleBaseNamesTransactionalCache
-
+
@@ -1099,7 +1100,7 @@
org.alfresco.loadedResourceBundlesTransactionalCache
-
+
@@ -1128,7 +1129,7 @@
org.alfresco.messagesTransactionalCache
-
+
@@ -1162,7 +1163,7 @@
org.alfresco.compiledModelsTransactionalCache
-
+
@@ -1191,7 +1192,7 @@
org.alfresco.prefixesTransactionalCache
-
+
@@ -1257,7 +1258,7 @@
org.alfresco.routingContentStoreTransactionalCache
-
+
@@ -1378,6 +1379,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.alfresco.cache.immutableSingletonCache
+
+
+
+
+
+
+
+
+
+
+
+
+ org.alfresco.cache.immutableSingletonTransactionalCache
+
+
+
+
diff --git a/config/alfresco/cmis-api-context.xml b/config/alfresco/cmis-api-context.xml
index 07da53f728..568a337583 100644
--- a/config/alfresco/cmis-api-context.xml
+++ b/config/alfresco/cmis-api-context.xml
@@ -44,9 +44,7 @@
-
-
-
+
diff --git a/config/alfresco/content-services-context.xml b/config/alfresco/content-services-context.xml
index 985b516203..f9c73f1b76 100644
--- a/config/alfresco/content-services-context.xml
+++ b/config/alfresco/content-services-context.xml
@@ -112,6 +112,9 @@
${policy.content.update.ignoreEmpty}
+
+ ${content.transformer.failover}
+
@@ -352,22 +355,6 @@
-
-
-
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- image/jpeg
-
-
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- image/jpeg
-
-
- application/vnd.openxmlformats-officedocument.presentationml.presentation
- image/jpeg
-
-
-
-
-
-
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- image/png
-
-
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- image/png
-
-
- application/vnd.openxmlformats-officedocument.presentationml.presentation
- image/png
-
-
-
@@ -536,7 +507,7 @@
application/pdf
-
@@ -656,47 +627,69 @@
-
+
+
+
+
+
+
+
+
+ * txt maxSourceSizeKBytes 0 ;
+
+ txt pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.txt.pdf.maxSourceSizeKBytes} ;
+ doc pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.doc.pdf.maxSourceSizeKBytes} ;
+ docx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.docx.pdf.maxSourceSizeKBytes} ;
+ docm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.docm.pdf.maxSourceSizeKBytes} ;
+ dotx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.dotx.pdf.maxSourceSizeKBytes} ;
+ dotm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.dotm.pdf.maxSourceSizeKBytes} ;
+ ppt pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.ppt.pdf.maxSourceSizeKBytes} ;
+ pptx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.pptx.pdf.maxSourceSizeKBytes} ;
+ pptm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.pptm.pdf.maxSourceSizeKBytes} ;
+ ppsx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.ppsx.pdf.maxSourceSizeKBytes} ;
+ ppsm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.ppsm.pdf.maxSourceSizeKBytes} ;
+ potx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.potx.pdf.maxSourceSizeKBytes} ;
+ potm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.potm.pdf.maxSourceSizeKBytes} ;
+ ppam pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.ppam.pdf.maxSourceSizeKBytes} ;
+ sldx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.sldx.pdf.maxSourceSizeKBytes} ;
+ sldm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.sldm.pdf.maxSourceSizeKBytes} ;
+ xls pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xls.pdf.maxSourceSizeKBytes} ;
+ xlsx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xlsx.pdf.maxSourceSizeKBytes} ;
+ xltx pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xltx.pdf.maxSourceSizeKBytes} ;
+ xlsm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xlsm.pdf.maxSourceSizeKBytes} ;
+ xltm pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xltm.pdf.maxSourceSizeKBytes} ;
+ xlam pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xlam.pdf.maxSourceSizeKBytes} ;
+ xlsb pdf maxSourceSizeKBytes ${content.transformer.OpenOffice.mimeTypeLimits.xlsb.pdf.maxSourceSizeKBytes} ;
+
+ * docx maxSourceSizeKBytes 0 ;
+ * docm maxSourceSizeKBytes 0 ;
+ * dotx maxSourceSizeKBytes 0 ;
+ * dotm maxSourceSizeKBytes 0 ;
+ * pptx maxSourceSizeKBytes 0 ;
+ * pptm maxSourceSizeKBytes 0 ;
+ * ppsx maxSourceSizeKBytes 0 ;
+ * ppsm maxSourceSizeKBytes 0 ;
+ * potx maxSourceSizeKBytes 0 ;
+ * potm maxSourceSizeKBytes 0 ;
+ * ppam maxSourceSizeKBytes 0 ;
+ * sldx maxSourceSizeKBytes 0 ;
+ * sldm maxSourceSizeKBytes 0 ;
+ * xlsx maxSourceSizeKBytes 0 ;
+ * xltx maxSourceSizeKBytes 0 ;
+ * xlsm maxSourceSizeKBytes 0 ;
+ * xltm maxSourceSizeKBytes 0 ;
+ * xlam maxSourceSizeKBytes 0 ;
+ * xlsb maxSourceSizeKBytes 0
+
+
+
+
+
+
+
@@ -712,41 +705,47 @@
-
-
-
-
-
-
- 0
-
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+ txt txt maxSourceSizeKBytes 0 ;
+ doc txt maxSourceSizeKBytes 0 ;
+ docx txt maxSourceSizeKBytes 0 ;
+ docm txt maxSourceSizeKBytes 0 ;
+ dotx txt maxSourceSizeKBytes 0 ;
+ dotm txt maxSourceSizeKBytes 0 ;
+ ppt txt maxSourceSizeKBytes 0 ;
+ pptx txt maxSourceSizeKBytes 0 ;
+ pptm txt maxSourceSizeKBytes 0 ;
+ ppsx txt maxSourceSizeKBytes 0 ;
+ ppsm txt maxSourceSizeKBytes 0 ;
+ potx txt maxSourceSizeKBytes 0 ;
+ potm txt maxSourceSizeKBytes ${content.transformer.OpenOffice.PdfBox.mimeTypeLimits.potm.txt.maxSourceSizeKBytes} ;
+ ppam txt maxSourceSizeKBytes 0 ;
+ sldx txt maxSourceSizeKBytes 0 ;
+ sldm txt maxSourceSizeKBytes 0 ;
+ xls txt maxSourceSizeKBytes 0 ;
+ xlsx txt maxSourceSizeKBytes 0 ;
+ xltx txt maxSourceSizeKBytes 0 ;
+ xlsm txt maxSourceSizeKBytes 0 ;
+ xltm txt maxSourceSizeKBytes 0 ;
+ xlam txt maxSourceSizeKBytes 0 ;
+ xlsb txt maxSourceSizeKBytes ${content.transformer.OpenOffice.PdfBox.mimeTypeLimits.xlsb.txt.maxSourceSizeKBytes}
+
+
+
+
+
+
+
diff --git a/config/alfresco/dao/dao-context.xml b/config/alfresco/dao/dao-context.xml
index e33d1262b0..f1f8a5df5e 100644
--- a/config/alfresco/dao/dao-context.xml
+++ b/config/alfresco/dao/dao-context.xml
@@ -123,6 +123,7 @@
+
diff --git a/config/alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-ALF.xml b/config/alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-ALF.xml
index f86e436319..06957ccff8 100644
--- a/config/alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-ALF.xml
+++ b/config/alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-ALF.xml
@@ -2420,6 +2420,47 @@
+
+
+
+ varchar(75)
+ false
+ false
+
+
+ bigint
+ false
+ false
+
+
+ bit
+ false
+ false
+
+
+ varchar(75)
+ true
+ false
+
+
+ varchar(255)
+ true
+ false
+
+
+ varchar(255)
+ true
+ false
+
+
+
+
+ id
+
+
+
+
+
diff --git a/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ALF.xml b/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ALF.xml
index 6106270b46..e1dc8fbdf1 100644
--- a/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ALF.xml
+++ b/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ALF.xml
@@ -2457,6 +2457,47 @@
+
+
+
+ varchar(75)
+ false
+ false
+
+
+ int8
+ false
+ false
+
+
+ bit
+ false
+ false
+
+
+ varchar(75)
+ true
+ false
+
+
+ varchar(255)
+ true
+ false
+
+
+ varchar(255)
+ true
+ false
+
+
+
+
+ id
+
+
+
+
+
diff --git a/config/alfresco/ehcache-default.xml b/config/alfresco/ehcache-default.xml
index 7e81230736..8376ab6b42 100644
--- a/config/alfresco/ehcache-default.xml
+++ b/config/alfresco/ehcache-default.xml
@@ -40,14 +40,14 @@
-
-
+
+
+
+
+
+
+
diff --git a/config/alfresco/extension/ehcache-custom.xml.sample.cluster b/config/alfresco/extension/ehcache-custom.xml.sample.cluster
index b9f04195eb..2863383ad5 100644
--- a/config/alfresco/extension/ehcache-custom.xml.sample.cluster
+++ b/config/alfresco/extension/ehcache-custom.xml.sample.cluster
@@ -87,7 +87,7 @@
-
-
-
-
-
-
-
diff --git a/config/alfresco/extension/mt/mt-admin-context.xml.sample b/config/alfresco/extension/mt/mt-admin-context.xml.sample
deleted file mode 100644
index d492032b1b..0000000000
--- a/config/alfresco/extension/mt/mt-admin-context.xml.sample
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${alfresco_user_store.adminusername}
-
-
-
-
-
- alfresco.messages.tenant-interpreter-help
-
-
-
-
-
diff --git a/config/alfresco/extension/mt/mt-contentstore-context.xml.sample b/config/alfresco/extension/mt/mt-contentstore-context.xml.sample
deleted file mode 100644
index 8366256327..0000000000
--- a/config/alfresco/extension/mt/mt-contentstore-context.xml.sample
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/config/alfresco/extension/mt/mt-context.xml.sample b/config/alfresco/extension/mt/mt-context.xml.sample
deleted file mode 100644
index 1ddff452ba..0000000000
--- a/config/alfresco/extension/mt/mt-context.xml.sample
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml
index e9a60d6a57..1f1e7b0e00 100644
--- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml
+++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml
@@ -927,7 +927,6 @@
order by
- assoc.assoc_index ASC,
assoc.id ASC
@@ -1288,6 +1287,18 @@
+
+ delete
+ txn
+ from
+ alf_transaction txn
+ left join alf_node n on (txn.id = n.transaction_id)
+ where
+ n.id is null
+ = #{minCommitTime}]]>
+
+
+