Alexandru Epure
d4af90d5ab
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129180 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128642 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 5b
- fix test fallout
REPO-113
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:36 +00:00
Alexandru Epure
14b303bbca
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129179 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128640 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 5
REPO-113 (also relates to REPO-28, REPO-114, REPO-825)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:27 +00:00
Alexandru Epure
d45f80e0c7
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129178 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128608 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 4
REPO-113 (also relates to REPO-28, REPO-114, REPO-825)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:17 +00:00
Alexandru Epure
472785f0bd
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129174 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128594 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 2
REPO-113
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:39 +00:00
Alexandru Epure
e44796d1ec
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129171 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128537 jvonka: V1 REST API: Api Test cleanup and rationalisation (re: helper methods / runAs user / admin) - round 1
REPO-113
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:11 +00:00
Jan Vonka
5c4a450d30
Merged RETURN-OF-THE-API (5.2.0) to HEAD (5.2)
...
128071: REPO-495: Update + add tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@128106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-09 16:14:36 +00:00
Alan Davis
9818f16f2a
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
126998 amorarasu: Update source headers - add new Copyrights for new Java files synced from Head (part 3).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-06 09:17:00 +00:00
Jamal Kaabi-Mofrad
f660ff4c3f
Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
...
127512 jkaabimofrad: REPO-47: Per peer review, changed the upload API to throw an exception when requesting multiple renditions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:25:24 +00:00
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