Commit Graph

30 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
50f50eeecf Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133145 jkaabimofrad: APPSREPO-54: Added support to the quick-share V1 API to allow setting an optional expiry date when creating a shared link.
              - Also, fixed the overloaded shareContent method which was missed during code clean-up.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:54:07 +00:00
Raluca Munteanu
316a9644d4 REPO-1355: Get Rendition info - add automated tests
- added tests for /shared-link/{sharedLinkId}/renditions/{renditionId} endpoint

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:33:59 +00:00
Martin Muller
4350d8026b Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129011 adavis: REPO-243 People Live Search
      - Fix build failures
      - replace tabs in Person.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:23 +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
c4a20ca692 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128561 jvonka: V1 REST API: Api Test cleanup and rationalisation (re: helper methods / runAs user / admin) - round 1b
   - follow-on to fix test fallout
   REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:07 +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
9203c6884a Merged HEAD (5.2) to 5.2.N (5.2.1)
128104 jvonka: Merged RETURN-OF-THE-API (5.2.0) to HEAD (5.2)
      128054: REPO-495: When uploading/updating binary content, guess mimetype and encoding
      - follow similar pattern to v0 Upload API (ignore Content-Type header)
      - in the future, we might wish to loosen this restriction [pending MNT-16381] and/or allow admin's option to update mimeType/encoding directly via node metadata update


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-10 13:48:27 +00:00
Raluca Munteanu
94215263cf Merged HEAD (5.2) to 5.2.N (5.2.1)
127316 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      127312 jkaabimofrad: SFS-577, SFS-581: Fixed the shared-link no-auth APIs issue with multi-tenancy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-24 14:59:05 +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
742a76a7c7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126689 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:57:39 +00:00
Ancuta Morarasu
3802003bd7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126583 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:12:30 +00:00
Ancuta Morarasu
9d3444eee3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126579 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:11:54 +00:00
Ancuta Morarasu
e1322a88ae Merged HEAD (5.2) to 5.2.N (5.2.1)
126573 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:11:01 +00:00
Ancuta Morarasu
174a788369 Merged HEAD (5.2) to 5.2.N (5.2.1)
126545 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:06:37 +00:00
Ancuta Morarasu
a02a63b76f Merged HEAD (5.2) to 5.2.N (5.2.1)
126533 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:01:55 +00:00
Ancuta Morarasu
b8daf2457b Merged HEAD (5.2) to 5.2.N (5.2.1)
126524 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:59:04 +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
2e00e5c219 Merged HEAD (5.2) to 5.2.N (5.2.1)
126521 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126865 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:35 +00:00
Ancuta Morarasu
0f836e8090 Merged HEAD (5.2) to 5.2.N (5.2.1)
126520 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:26 +00:00
Ancuta Morarasu
a59b24b576 Merged HEAD (5.2) to 5.2.N (5.2.1)
126518 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:56:47 +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
d2fa56e4b1 Merged HEAD (5.2) to 5.2.N (5.2.1)
126514 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:48:19 +00:00
Ancuta Morarasu
5934340526 Merged HEAD (5.2) to 5.2.N (5.2.1)
126507 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:46:40 +00:00
Ancuta Morarasu
f0a700bcc2 Merged HEAD (5.2) to 5.2.N (5.2.1)
126501 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:46 +00:00
Ancuta Morarasu
45089abfb7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126500 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:37 +00:00
Ancuta Morarasu
bab77b5235 Merged HEAD (5.2) to 5.2.N (5.2.1)
126499 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126843 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:28 +00:00
Ancuta Morarasu
b157388816 Merged HEAD (5.2) to 5.2.N (5.2.1)
126497 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:13 +00:00
Ancuta Morarasu
b6eec668c7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126495 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:44:55 +00:00