Commit Graph

19 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
2c6a56e463 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126661 jvonka: RA-1045: As requested for SFS, allow rendition details (available/created renditions only) for shared link to be listed via no auth.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 09:48:34 +00:00
Jamal Kaabi-Mofrad
2d42ff0831 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124754 jvonka: RA-773: SharedLinkApiTest - bring back test - for now create "doclib" rendition for pdf
    - not sure why build m/c fails to create "doclib" rendition for txt


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:38:58 +00:00
Jamal Kaabi-Mofrad
f7ada20a00 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124732 jvonka: RA-773: SharedLinkApiTest - temporarily comment-out test (apparently rendition is not created on build m/c)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:56 +00:00
Jamal Kaabi-Mofrad
302c79c98a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124623 jkaabimofrad: SFS-405, RA-778: Added tests and as the result did some minor modifications. Also, removed the ability to set or remove a client via JMX (Read only).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:35:15 +00:00
Jamal Kaabi-Mofrad
f752a61061 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123902 jvonka: RA-750: Shared links API - get limited share link info (no auth required)
   - additional changes, as per updated A/Cs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:25:32 +00:00
Jamal Kaabi-Mofrad
a4bd736581 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123165 jkaabimofrad: RA-829, RA-830: Added 304 response tests in the:
      - retrieve content for a shared link API
      - retrieve renditioned content for a shared link API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:22:47 +00:00
Jamal Kaabi-Mofrad
38788678c1 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123056 jvonka: (Quick) Shared Links API - find links (fix 500 -> 401 if not authenticated)
   - add more -ve tests to check methods that require auth return 401 if unauthenticated
   RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:20:15 +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
8e27cb0de1 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123021 jvonka: (Quick) Shared Links API - as requested, add extra +ve/-ve tests for optional "attachment" header when getting file/rendition content (via unauthenticated shared link)
   - note: also tested via the NodeApiTest (when getting file/rendition content)
   RA-829, RA-830


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:19:29 +00:00
Jamal Kaabi-Mofrad
a2541568a8 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122978 jvonka: RA-766: Update REST fwk - implement "include" query param (used by nodes & shared-links) and deprecate "select" (still used by tasks & cmm).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:19:16 +00:00
Jamal Kaabi-Mofrad
6c41c9a1c2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122954 jvonka: (Quick) Shared Links API - add optional select/include of "allowableOperations" when authenticated and getting shared link info or find links (or even after create)
   RA-750, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:18:51 +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
44f7dfb7de Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122926 jvonka: (Quick) Shared Links API - updates and fixes
   - A/C changed from 400 to 409 if shared link already exists
   - tweak 404 error message (entity id not found)
   - change response from sharedId to just id
   - add optional filter when finding links, eg. where=(sharedByUser/id='userId') (userId can also be -me-)
   - TODO add a few more tests (rendition download, filtered find)
   RA-708, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:17:59 +00:00
Jamal Kaabi-Mofrad
e9e5027d83 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122770 jvonka: Nodes & Shared Links APIs - some test refactoring
    - primarily introduce createTextFile helper (in addition to createFolder/createNode) to reduce dependency on "repoService" test helper
   - also means we're using the v1 api to upload test content :-)
   RA-388, RA-773


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:16:24 +00:00
Jamal Kaabi-Mofrad
2f420b6a16 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122732 jvonka: (Quick) Shared Links API - 1st cut for find shared links (for current user)
   - TODO filter by shared by user, option to include/select allowableOperations, ... + more tests :-)
   RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:13:41 +00:00
Jamal Kaabi-Mofrad
33cd988c18 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122727 jvonka: (Quick) Shared Links API - update shared links api tests for create, get & delete
   RA-708, RA-776, RA-750


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:13:27 +00:00
Jamal Kaabi-Mofrad
490e8448e0 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122722 jvonka: (Quick) Shared Links API - update shared links api test for delete
   - extra test for ensuring that modified/modifier (=> modifiedAt, modifiedByUser) did not change due to delete (after merging MNT-15654)
   RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:13:17 +00:00
Jamal Kaabi-Mofrad
d5c7c07e85 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122702 jvonka: (Quick) Shared Links API - update shared links api tests for create & delete (+ve & -ve)
   RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:12:54 +00:00
Jamal Kaabi-Mofrad
e4cab7d9b2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122697 jvonka: (Quick) Shared Links API - first-cut for shared links api tests (+ve & -ve)
   - also tweaks to REST api test 'fwk' (harness)
   RA-773, RA-708, RA-776, RA-750, RA-829, RA-775


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