Commit Graph

24 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
fe2d166702 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
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
2016-06-02 21:18:41 +00:00
Jamal Kaabi-Mofrad
90920131ca Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125406 jvonka: RA-779 / RA-780: Sites API - initial commit for create site [default/functional Share site ;-)] & delete site


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:17:46 +00:00
Jamal Kaabi-Mofrad
ce95d147e1 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127427 jkaabimofrad: RA-1052: Modified the upload API so that the failure of the async request to create a rendition wouldn't fail the upload.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127445 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-31 10:08:07 +00:00
Jamal Kaabi-Mofrad
a2378b1422 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124548 jvonka: RA-834, RA-678: create "renditions" request only applicable when creating/uploading file via multipart/form-data (not when creating empty file via json request)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:54 +00:00
Jamal Kaabi-Mofrad
46a6a657c2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124337 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
   - for some reason works locally but not on build machine


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:40 +00:00
Jamal Kaabi-Mofrad
f4bbfa35d4 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
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
2016-05-10 11:29:25 +00:00
Jamal Kaabi-Mofrad
205ee78b7a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124327 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
   - add/fix missing test file


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:08 +00:00
Jamal Kaabi-Mofrad
5ff4c963c0 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124300 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
   - more test tweaks


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:49 +00:00
Jamal Kaabi-Mofrad
158cafb9cc Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
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
2016-05-10 11:28:37 +00:00
Jamal Kaabi-Mofrad
23caf308ae Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124273 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)
   - follow-on to fix test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:21 +00:00
Jamal Kaabi-Mofrad
c1d3421cc8 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124269 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:14 +00:00
Jamal Kaabi-Mofrad
114c591c55 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124205 jvonka: RA-881: Prevent the creation of multiple renditions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:27:27 +00:00
Jamal Kaabi-Mofrad
f79e7be94d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
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
2016-05-10 11:24:48 +00:00
Jamal Kaabi-Mofrad
071f8481d6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
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
2016-05-10 11:21:17 +00:00
Jamal Kaabi-Mofrad
ad207dc72f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
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
2016-05-10 11:20:08 +00:00
Jamal Kaabi-Mofrad
a519130b4c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122947 jvonka: (Quick) Shared Links API - updates
   - test for get rendition content via share link (no auth)
   - add optional filter (sharedByUser) to find links
   RA-830, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:18:18 +00:00
Jamal Kaabi-Mofrad
262d23c3b2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122834 jkaabimofrad: RA-678: Modified the response, to return 409 rather than 400 when the rendition requested already exists.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:17:52 +00:00
Jamal Kaabi-Mofrad
39bbd9bacf Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122805 jkaabimofrad: Fixed test failure .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:17:03 +00:00
Jamal Kaabi-Mofrad
4bdc30e566 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
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
2016-05-10 11:16:54 +00:00
Jamal Kaabi-Mofrad
6d8e8e5ecd Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122631 jkaabimofrad: RA-676: Added node's renditions REST API.
           - Download renditioned content + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:11:15 +00:00
Jamal Kaabi-Mofrad
f7d7bef19d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122483 jkaabimofrad: RA-678: Updated create rendition Api + tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:09 +00:00
Jamal Kaabi-Mofrad
84947ba6de Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122394 jkaabimofrad: RA-677: Added node's renditions REST API.
           - Retrieve information about a rendition of a node + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:42 +00:00
Jamal Kaabi-Mofrad
115e9d73ff Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122329 jkaabimofrad: Fixed API tests failure.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:01 +00:00
Jamal Kaabi-Mofrad
cb6a9ce73e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122327 jkaabimofrad: RA-673, RA-678: Added node's renditions REST API. 
                 - Retrieve Renditions For Node + tests
                 - Create Rendition


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:40 +00:00