Commit Graph

13 Commits

Author SHA1 Message Date
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