134737 jvonka: Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
134718 jvonka: Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
134696 jvonka: REPO-1644: Add REST API level test to check lastThumbnailModification property update (on upload new version)
- fix local vs build
- also logged REPO-1834
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
134734 jvonka: Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
134715 jvonka: Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
134684 jvonka: REPO-1644: Add REST API level test to check lastThumbnailModification property update (on upload new version)
- note: will fail until we implement fix
- see also REPO-1580 / MNT-17113 (we need to confirm it's the same/related issue on 5.0.N)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125514 jvonka: RA-779 / RA-780: Sites API - create site & delete site
- fix delete/remove test status code
- note: also put back previous rendition status codes (=> raise separate local vs build issue)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124331 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
- one more attempt (works locally, but for some reason is failing on build machines)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124298 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)
- hmm, need to review whether it makes sense to request rendition for empty content (-> if it will fail)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123868 jkaabimofrad: RA-856: Added support for REST APIs “/content” endpoints to optionally set their own cache. (Currently, only the Renditions API is setting its own cache)
- Removed the http attachment header setting from the AbstractResourceWebScript, as the ContentStreamer already has this feature
- Reformatted ContentStreamer according to Alfresco code standards
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123126 jkaabimofrad: RA-676: Added 304 response tests in the download rendition api. Also, removed the check for "Expires" header in the tests (as we are using no-cache by default, the "Expires" header value always returns "Thu, 01 Jan 1970 00:00:00 GMT", so it is currently irrelevant).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123046 jvonka: Update API tests for - tweaks for common code, also check that Last-Modified and Expires are not null when downloading file content/rendition
RA-641, RA-676, RA-829, RA-830
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
122792 jkaabimofrad: RA-676, RA-677, RA-678:
- Added check to return 404 response when the renditionId is registered but is not applicable for the node's mimeType.
- Added check to return 400 when the source node has no content.
- Changed the create rendition response to return an empty body.
- Modified the exception when the renditionId is not registered.
- Fixed the framework to include “errorKey” in the error response which was missing from some exceptions such as EntityNotFoundException.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261