129183 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128662 jvonka: V1 REST API test improvements - allow tests to be run individually (as well as within a suite)
REPO-896
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129181 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128650 jvonka: V1 REST API: minor fixes (if running within default non-tenant context and single setup)
- fix couple of failed tests to make sure they're no longer inter-dependent when run in this mode
REPO-113
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129175 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128597 jvonka: REPO-900: Fix "autoRename not working if using a relativePath (with create/add node via json request)"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129173 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128583 jvonka: V1 REST API: Node Version History - tweak "delete version" operation
- cannot delete last version for now (return 422)
REPO-835
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129347 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129169 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128525 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
- follow-on to fix fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129168 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128517 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
- rationalise the code when handling POST for an API "operation" or POST to a collection that is marked as "allowMultiple=false"
- they should now consistently return the same existing error message: "Only 1 entity is supported in the HTTP request body"
- add api sanity tests to "create site", "create rating" and some of the node op's, such as "/move" & "/copy"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129342 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129167 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128516 jvonka: Api Tests: tweak test context - embedded "lucene" subsystem is now called "buildonly"
- useful if running embedded tests in a local devenv, eg. in an IDE
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129166 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128489 jvonka: V1 REST API: Node Version History - minor tweak for "delete version"
- re: fix-up versionType if deleting last version
REPO-835
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129161 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128476 jvonka: REPO-839: Follow-on to fix subtle issue in mimeType guess (ie. application/octet-stream should be last resort, if magic bytes indicate text and there is no file ext)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129160 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128460 jvonka: REPO-341: Minor fix to site creation to return generic error message, if try to create multiple sites in a single call.
- also relates to REPO-874
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129138 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128397 jvonka: Merged 5.1.N (5.1.2) to RETURN-OF-THE-API (5.2.0)
128318 jvonka: MNT-16446: Edit Comment permission (part 1)
- for v0 api so far (as per specifically described test case) ... more to follow !
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129135 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128208 jvonka: V1 REST API: Node Version History - test update
- test to show that optionally can create new file as a minor version (0.1)
REPO-156, REPO-159
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129134 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128207 jvonka: V1 REST API: Node Version History - add "revert version" operation
- ie. promote a previous version to become a new (most recent) version
- POST /nodes/nodeId/versions/versionId/revert (with request body, optionally majorVersion &/or comment)
REPO-236
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129133 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128173 jvonka: REPO-839: Fix guess mimetype (if no file ext) - on upload and/or update (after a rename)
- improvement to REPO-495
- will also apply to REPO-518 when implemented
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129132 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128172 jvonka: V1 REST API: Node Version History - minor: move relevant test from NodeApiTest to NodeVersionsApiTest
- REPO-313: list version history
- REPO-228: update node content/binary
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129130 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128162 jvonka: V1 REST API: Node Version History - initial api tests
- REPO-313: list version history
- REPO-327: get version info
- REPO-229: download version content
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129124 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128090 jvonka: Node Version History - 1st-cut impl (for initial review)
- REPO-313: list version history
- REPO-327: get version info
- REPO-229: download version content
- TODO api tests + spec updates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128660 jkaabimofrad: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128649 jkaabimofrad: Merged JAMAL/MNT-16371 (5.1.2) to 5.1.N (5.1.2)
128626 jkaabimofrad: MNT-16371: Turned off Inherit Permissions and explicitly added the Site Manager role for the Site to the surf-config folder when it is first created. Also, revoked ownership privileges for surf-config contents.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128569 adavis: MNT-16381 Transformers must validate the content stream mimetype
- Ensure error when indexer is the caller includes the file name rather than null.
NodeContentGet now calls transform method with TransformationOptions parameter and the original
transformer method was deprecated as it should be been when this extra parameter was added.
- Set the strictMimeTypeCheck and retryTransformOnDifferentMimeType properties on dynamically created
pipeline and fail over transformers from global properties as is don for static transformers.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128371 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
- fix merge for:
128341 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128260 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
128213 arebegea: MNT-16437 : CLONE - 4.2.N - 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
Merged V4.2.3 (4.2.3.25) to V4.2-BUG-FIX (4.2.7)
128177 arebegea: MNT-16376 : 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
- The batch worker threads did not have the thread context to know that they were dealing with CMIS version 1.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129285 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128360 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128341 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128260 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
128213 arebegea: MNT-16437 : CLONE - 4.2.N - 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
Merged V4.2.3 (4.2.3.25) to V4.2-BUG-FIX (4.2.7)
128177 arebegea: MNT-16376 : 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
- The batch worker threads did not have the thread context to know that they were dealing with CMIS version 1.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128215 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128190 amorarasu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
128171 amukha: MNT-16401: Delete comment notification from Blog or Links is not displayed in Site Activities dashlet
- Corrected the comemnts webscript.
- Added JUnit tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128168 adavis: MNT-16381 Transformers must validate the content stream mimetype
- Addition of AbstractContentTransformer2.strictMimeTypeCheck(...) to check that the
declared mimetype is the same as the Tika derived mimetype. Controlled by a new alfresco
global property content.transformer.strict.mimetype.check (set to true by default).
- Added the UnsupportedTransformationException to a number of transformation callers as
they should have been handling it already.
- Modified DifferrentMimeTypeTest to test the new strictMimeTypeCheck.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128093 arebegea: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128045 arebegea: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
127999 rneamtu: Merged DEV to 5.0.N (5.0.4)
127518 rneamtu: MNT-15457 : Can not define site filter via solr-facets-config-custom.properties file
- Set qname for SITE special facetable property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128985 amorarasu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128984 amorarasu: MNT-16469: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128478 amorarasu: MNT-16468: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
128228, 128380 amorarasu: MNT-16439: Merged V4.2.4 (4.2.4.23) to V4.2-BUG-FIX (4.2.7)
128107 amorarasu: MNT-16040: skipCount does not appear to work for Workflow tasks REST api
- Updated Activiti to version 5.19.0.3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@128986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261