Commit Graph

36 Commits

Author SHA1 Message Date
Andrei Rebegea
eb82985892 Merged 5.2.N (5.2.2) to HEAD (5.2)
136757 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      136752 jkaabimofrad: APPSREPO-147: Renamed 'pathInfo' to 'path' to be consistent with other APIs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-15 11:07:59 +00:00
Andrei Rebegea
9112b8117a Merged 5.2.N (5.2.2) to HEAD (5.2)
136710 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      136704 jkaabimofrad: APPSREPO-165: Added tests for testing the 'include' parameter with 'path' and/or 'allowableOperations' upon creating a shared link.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-15 11:07:07 +00:00
Andrei Rebegea
6f2ed57436 Merged 5.2.N (5.2.2) to HEAD (5.2)
136709 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      136698 mbhave: APPSREPO-184: Added integration test for /shared-links?include=path


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-15 11:07:01 +00:00
Andrei Rebegea
a74c71116a Merged 5.2.N (5.2.2) to HEAD (5.2)
135566 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      135505 jkaabimofrad: APPSREPO-137: Made quick-share email template configurable via properties file. The template path property value could be an XPATH, a NodeRef of the template or a class path of the template.
          - Added a helper class to provide email template related utility functions
          - Added share as a default registered client for sending email - the template assets (images) will be available in share.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-14 17:07:23 +00:00
Alan Davis
d55a13c3c3 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133222 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      133185 jkaabimofrad: APPSREPO-61: As part of code review, renamed the quick share expiry date period flag.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:23:05 +00:00
Alan Davis
88dfe85b18 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133221 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      133163 jkaabimofrad: APPSREPO-54: Fixed build failure.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:22:55 +00:00
Alan Davis
3bebc4d444 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133219 jkaabimofrad: 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/HEAD/root@133404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:22:36 +00:00
Alan Davis
7778664fda Merged 5.2.N (5.2.1) to HEAD (5.2)
131303 rmunteanu: 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/HEAD/root@132241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:48:14 +00:00
Alexandru Epure
fa0020fa58 Merged 5.2.N (5.2.1) to HEAD (5.2)
129189 mmuller: 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/HEAD/root@129363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:16:06 +00:00
Alexandru Epure
14b303bbca Merged 5.2.N (5.2.1) to HEAD (5.2)
129179 mmuller: 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/HEAD/root@129353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:27 +00:00
Alexandru Epure
d45f80e0c7 Merged 5.2.N (5.2.1) to HEAD (5.2)
129178 mmuller: 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/HEAD/root@129352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:17 +00:00
Alexandru Epure
472785f0bd Merged 5.2.N (5.2.1) to HEAD (5.2)
129174 mmuller: 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/HEAD/root@129348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:39 +00:00
Alexandru Epure
6084cc72b5 Merged 5.2.N (5.2.1) to HEAD (5.2)
129172 mmuller: 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/HEAD/root@129346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:20 +00:00
Alexandru Epure
e44796d1ec Merged 5.2.N (5.2.1) to HEAD (5.2)
129171 mmuller: 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/HEAD/root@129345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:11 +00:00
Jan Vonka
939ed76c22 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/HEAD/root@128104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-09 16:13:50 +00:00
Alan Davis
9818f16f2a Merged 5.2.N (5.2.1) to HEAD (5.2)
126998 amorarasu: 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/HEAD/root@127854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-06 09:17:00 +00:00
Jamal Kaabi-Mofrad
0c017176a3 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/HEAD/root@127316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-23 10:11:10 +00:00
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