- Change solr query endpoint to that passed in to the method and remove redundant 'qt' parameter (consistent with other query methods)
- Parsing of stats response no longer expects a specific stats item, it just parses the first stats field object as there should only ever be one
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
82289: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
81646: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
81441: Merged DEV to V4.1-BUG-FIX
81113 : MNT-12145 : BM-0013 Soak test: Exception during generation of feeds org.springframework.dao.DataIntegrityViolationException.
Added RetryingTransactionHelper (before the job lock is created), which would deal with the exception neatly, and disabled force writable flag.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83202 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80966: Revere merged HEAD-BUG-FIX (5.0/Cloud)
<< Take out all OpenCMIS changes merged to HEAD-BUG-FIX that have come from V4.2-BUG-FIX >>
80355: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
<< And added alfresco-opencmis-extension 1.0 >>
79170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Commit is actually a reverse merge of the original merges from V4.2-BUG-FIX 79113,79128
rather than the changes from V4.2-BUG-FIX >>
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
80358: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
80365: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80356: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
- Commit missed delete of old alfresco-opencmis-extension-0.9 sources/javadoc
80366: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80337: MNT-11223 follow-up: bring back test dependencies in web-framework-commons pom, to make the Maven build pass again
80814: MNT-11223: Fix build (pt1)
- 80366: pom.xml contained a reference to an external surf which is now back in house.
80858: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80373: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
- Found another reference to version 0.9 rather than 1.0 of alfresco-opencmis-extensions
80861: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80397: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fixed TestCMIS.testMNT10430. Excluded sys:localized aspect from returned set in CMIS.
80865: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80840: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fix for CMISTCKCRUD test. Added special handling of content stream file name property via accessor.
80866: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80841: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Changed Solr to Lucene for tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83142 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80865: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80840: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fix for CMISTCKCRUD test. Added special handling of content stream file name property via accessor.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80709: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78667: ACE-1582: Made the facet config service and the relevant web scripts to accept single/multiple value(s) update (to support inline edits).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80698: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78457: ACE-1582: - Fixed facet's custom properties.
- Made the GET facets web-script to be accessed by all authenticated users rather than just the Search-Admin/Network-Admin users.
- Fixed FacetRestApiTests and added more tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80669: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78166: ACE-1582: Enhancements to the facet service to persist only the modified value(s) rather than the whole facet's properties. Also fixed facets cache and facets reordering NPE.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80643: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
76831: Enhancement to the /api/solr/facet-config REST endpoint to support facet reordering.
If you add a query parameter like so: /api/solr/facet-config/{filterID}?relativePos={relativePos?}
then the specified filterID will be moved by the specified relative position.
'3' means move it 3 places down the list. '-1' means move it one place up the list.
Note that currently you cannot provide a HTTP request body (JSON) at the same time as the relativePos param,
in other words you cannot update the facet metadata and reposition in in one REST call. It is either or.
We may enhance the webscript to support simultaneous edits of metadata and position at a future date.
Also added automatic management of facet position on facet create and delete. New facets are put at the
end of the list - this can easily be changed if it is not what's wanted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82937 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80628: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
76618: Initial commit of Java service changes for facet reordering. Part of ACE-1582.
Facet persistence has not been changed, but a property has been added to the folder
which contains the facet nodes. This property 'facetOrder' holds a sequence of strings
which are the ordered facet IDs.
Facets are now returned from the SolrFacetService in a sorted order, where this explicit
'facetOrder' is the primary source for sort order.
The sorting algorithm falls back to using indexes if no order is available.
It then falls back to using alphabetic sorting if no index is available.
These last two scenarios are likely to be corner cases.
Still to do: some enhancements to the Java service, webscripts as REST API endpoints.
the REST API will provide for reordering of existing facets.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80626: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
76614: Some minor enhancements to CollectionUtils which are of general utility.
These were made as part of work for ACE-1582.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80509: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
74144: ACE-1582: added:
- more facet props to the Model and the related JSON response
- GET one facet API
- Sorting by facet index
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80359: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80255: Merged DEV to V4.2-BUG-FIX (4.2.4)
80253: MNT-12191 : Intermittent test failure: CronScheduledQueryBasedTemplateActionDefinitionTest.testQueryTemplateFunctionsUnescapingMnt11598
Added guarding check for the test to avoid intermittent failures.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80355: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
<< And added alfresco-opencmis-extension 1.0 >>
79170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Commit is actually a reverse merge of the original merges from V4.2-BUG-FIX 79113,79128
rather than the changes from V4.2-BUG-FIX >>
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80110: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79475: Merged DEV to V4.2-BUG-FIX (4.2.4)
79324: MNT-11023 Admin Console:Search service. After enable noindex not possible to change search service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79326: Merged EOL to HEAD-BUG-FIX (5.0/Cloud)
79090: ACE-2013 EOL JCR, JCR-RMI, etc in 5.0
- Removed references to http://www.jcp.org/jcr (left in web-scripts-application-context.xml
and multiple versions of opencmis-gnamefilter-context.xml)
78990: ACE-2013 EOL JCR, JCR-RMI, etc in 5.0
- Removing references to "jcr-xpath" - Biggest changes were to: DocumentNavigator, NodeServiceXPath and NodeSearcher
- SearcherComponentTest has a lot of tests removed that appeared to be JCR specific
- There are still a lot of namespace references in XML files to http://www.jcp.org/jcr/1.0 etc.
- Left a few references to "JSR 170" and JCR in java classes as they looked like they might be common with other bits.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79314: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79222: MNT-12063: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
79141: MNT-12079 : CLONE - IMAP client failing to retrieve all folders
- Ignore mount point if it is not exists or user has no permissions to retrieve path
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79307: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79080: Merged V4.2.3 (4.2.3) to V4.2-BUG-FIX (4.2.4)
78999: MNT-12049 : After uploading a document via WebDAV using DnD or copy/paste, the document appears as locked to Alfresco
- Fixed build failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79306: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79078: Merged V4.2.3 (4.2.3) to V4.2-BUG-FIX (4.2.4)
78985: MNT-12049 : After uploading a document via WebDAV using DnD or copy/paste, the document appears as locked to Alfresco
- Fixed property comparison
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Commit is actually a reverse merge of the original merges from V4.2-BUG-FIX 79113,79128
rather than the changes from V4.2-BUG-FIX >>
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79113: ACE-484: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79089: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
78998: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
78962: Merged DEV to V4.1-BUG-FIX (4.1.10)
78800: MNT-12055 : IMAP causing high CPU/heap usage
Added a shortcut for favorite sites listing if mount point is sites' root.
78924: MNT-12055 : IMAP causing high CPU/heap usage
Optimized ImapServiceImpl.getFavouriteSites(String) to check the preferences and then check access to each site.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79033: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
78970: Merged DEV to V4.2-BUG-FIX (4.2.4)
78847: MNT-11760 : No auditing entries generated for failed logins with audit.alfresco-access.enabled=true configured
Fixed audit logging for failed logins.
78848: MNT-11760 : No auditing entries generated for failed logins with audit.alfresco-access.enabled=true configured
Fixed tests to highlight the issue.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78913: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
78866: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
78729: MNT-9257: Incorrect behaviour with password protected MS office documents
Check if failover transformers support transformation for mimetype before calling it. Add unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82655 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78782: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
78471: Merged dev. V4.2-BUG-FIX-2014_06_06 to V4.2-BUG-FIX (4.2.4)
73309: MNT-11631: CMIS property isPrivateWorkingCopy not set for the checked out object
- Property value accessor for 'cmis:isPrivateWorkingCopy' has been implemented. This property is introduced in CMIS 1.1
78473: MNT-11631: CMIS property isPrivateWorkingCopy not set for the checked out object
Test for 'cmis:isPrivateWorkingCopy' has been added into 'org.alfresco.rest.api.tests.TestCMIS'. Also this test class has been a bit refactored
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261