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
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
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
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
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
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
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
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