Commit Graph

34 Commits

Author SHA1 Message Date
Jan Vonka
cc0b2e2157 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/BRANCHES/DEV/5.2.N/root@134718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:42 +00:00
Jan Vonka
0cf4d0793d 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/BRANCHES/DEV/5.2.N/root@134715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:10 +00:00
Martin Muller
7fa1d5b889 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/BRANCHES/DEV/5.2.N/root@129180 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:41 +00:00
Martin Muller
a65e2f48f1 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/BRANCHES/DEV/5.2.N/root@129179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:37 +00:00
Martin Muller
3c1341e808 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/BRANCHES/DEV/5.2.N/root@129178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:33 +00:00
Martin Muller
a95eb5613e 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/BRANCHES/DEV/5.2.N/root@129174 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:16 +00:00
Martin Muller
ebeb96f576 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/BRANCHES/DEV/5.2.N/root@129171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:03 +00:00
Andrei Rebegea
a1facc20f9 Merged HEAD (5.2) to 5.2.N (5.2.1)
128106 jvonka: 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/BRANCHES/DEV/5.2.N/root@128127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-10 13:49:18 +00:00
Alan Davis
dc067d1878 Merged HEAD (5.2) to 5.2.N (5.2.1)
127617 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 15:19:29 +00:00
Alan Davis
c03a318ce9 Merged HEAD (5.2) to 5.2.N (5.2.1)
127532 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127642 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:00:15 +00:00
Alan Davis
bfa0404bab Merged HEAD (5.2) to 5.2.N (5.2.1)
127528 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127638 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 13:59:39 +00:00
Alexandra Leahu
0fe50bd9f0 Merged HEAD (5.2) to 5.2.N (5.2.1)
127445 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-01 13:37:58 +00:00
Ancuta Morarasu
bb0598991a 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/BRANCHES/DEV/5.2.N/root@126998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 14:24:54 +00:00
Ancuta Morarasu
587a169e0e Merged HEAD (5.2) to 5.2.N (5.2.1)
126564 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:42 +00:00
Ancuta Morarasu
b6453a149c Merged HEAD (5.2) to 5.2.N (5.2.1)
126562 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:24 +00:00
Ancuta Morarasu
c6c6de6783 Merged HEAD (5.2) to 5.2.N (5.2.1)
126561 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:14 +00:00
Ancuta Morarasu
5a6fe335dc Merged HEAD (5.2) to 5.2.N (5.2.1)
126560 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:04 +00:00
Ancuta Morarasu
5c719b8f02 Merged HEAD (5.2) to 5.2.N (5.2.1)
126559 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:53 +00:00
Ancuta Morarasu
ce9e9057a1 Merged HEAD (5.2) to 5.2.N (5.2.1)
126558 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:43 +00:00
Ancuta Morarasu
0654c216a0 Merged HEAD (5.2) to 5.2.N (5.2.1)
126557 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:33 +00:00
Ancuta Morarasu
e212513df3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126556 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:24 +00:00
Ancuta Morarasu
32e88e8a12 Merged HEAD (5.2) to 5.2.N (5.2.1)
126552 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:45 +00:00
Ancuta Morarasu
ae11fef3de Merged HEAD (5.2) to 5.2.N (5.2.1)
126543 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:06:18 +00:00
Ancuta Morarasu
3d53b94976 Merged HEAD (5.2) to 5.2.N (5.2.1)
126529 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:00:45 +00:00
Ancuta Morarasu
04d203e507 Merged HEAD (5.2) to 5.2.N (5.2.1)
126523 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:55 +00:00
Ancuta Morarasu
e48ed0687b Merged HEAD (5.2) to 5.2.N (5.2.1)
126515 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:56:20 +00:00
Ancuta Morarasu
c3282977ec Merged HEAD (5.2) to 5.2.N (5.2.1)
126513 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:48:09 +00:00
Ancuta Morarasu
53d06c6ff8 Merged HEAD (5.2) to 5.2.N (5.2.1)
126510 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:47:42 +00:00
Ancuta Morarasu
5fe5afaf0b Merged HEAD (5.2) to 5.2.N (5.2.1)
126509 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:47:33 +00:00
Ancuta Morarasu
f053fca565 Merged HEAD (5.2) to 5.2.N (5.2.1)
126489 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:43:54 +00:00
Ancuta Morarasu
3d71d8c3ee Merged HEAD (5.2) to 5.2.N (5.2.1)
126476 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:37:00 +00:00
Ancuta Morarasu
88b0a9159f Merged HEAD (5.2) to 5.2.N (5.2.1)
126472 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:35:46 +00:00
Ancuta Morarasu
854869c4a9 Merged HEAD (5.2) to 5.2.N (5.2.1)
126470 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:35:29 +00:00
Ancuta Morarasu
775380563a Merged HEAD (5.2) to 5.2.N (5.2.1)
126468 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:35:12 +00:00