Commit Graph

2199 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
Andrew Hind
cbb241f466 Fix for ACE-5615 Site cannot be found after several sites are created
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 13:16:19 +00:00
Jan Vonka
3f6c638929 REPO-1635: V1 REST API - minor fix for error code (update node/people details)
- invalid data type conversion should return 400 instead of 500
- REPO-1635, REPO-1641

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 09:37:35 +00:00
Raluca Munteanu
a85512572b REPO-557: Retrieve Permissions For Node
-  Renamed field according to REST API code conventions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-25 15:45:10 +00:00
Raluca Munteanu
c9753d62cd REPO-557: Retrieve Permissions For Node
-  Fixed build failure

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-25 10:38:00 +00:00
Matt Ward
6fb7ce78ab REPO-1627: oldPassword/password validation improvement
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 16:58:55 +00:00
Raluca Munteanu
ded07a19fa REPO-557: Retrieve Permissions For Node
-  Added tests and minor changes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 14:28:13 +00:00
Raluca Munteanu
87ec45860b REPO-558, REPO-557: Update Permissions For Node
- Fixed build failure, related to REPO-1538

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 16:15:50 +00:00
Raluca Munteanu
5b10029042 REPO-558, REPO-557: Update Permissions For Node
- Merged changes from branch 5.2.N-NODEPERMS-REST-API
   - Added tests for update node permissions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133021 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 11:55:08 +00:00
Ramona Neamtu
6fb6732eb2 SHA-1930 : Unable to delete folder, when the folder contains shortcut link to the same folder
- Check link for PENDING_DELETE aspect before trying to delete it
   - Added unit test for case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 11:51:11 +00:00
Matt Ward
4ff13314a2 Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132987 mward: REPO-1544: correcting silly typo in new error message (relates to review: CR-620)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:29:05 +00:00
Matt Ward
1f30e5b5f1 Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132966 mward: REPO-1544: replaced use of unprotected person service with runAsSystem (review: CR-620)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:28:56 +00:00
Matt Ward
fb8ea2a971 Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132960 mward: REPO-1544: reindent with spaces (review: CR-620)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:28:43 +00:00
Matt Ward
02d9631a18 Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132959 mward: REPO-1544: added error message (review: CR-620)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:26:35 +00:00
Matt Ward
af14559c74 Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132930 mward: REPO-1544: further tests (people can update themselves, except for 'enabled' flag)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:26:25 +00:00
Matt Ward
3c8c8f03ac Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132914 mward: REPO-1544: allow people to update their own password


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:26:06 +00:00
Matt Ward
396e471807 Merged mward/5.2.n-optionalcustomprops (5.2.1) to 5.2.N (5.2.1)
132978 mward: REPO-1395: make aspectNames, properties optional 'includes' when listing people


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:18:58 +00:00
Matt Ward
8c41b61084 Merged mward/5.2.n-custpeopleprops (5.2.1) to 5.2.N (5.2.1)
132803 mward: REPO-1395: add further tests and tweak functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-17 15:00:36 +00:00
Matt Ward
c14aedf7d1 Merged mward/5.2.n-custpeopleprops (5.2.1) to 5.2.N (5.2.1)
132754 mward: REPO-1395: add custom properties to people create/get/update.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-17 15:00:17 +00:00
Raluca Munteanu
62e90cd0a8 REPO-1530: Create Person - enabled flag should be optional
- Added default value true for enable on create person and fixed test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-14 09:13:08 +00:00
Raluca Munteanu
7e89c53fe8 REPO-1457: The create site REST API implementation has appropriate extension points
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 16:04:34 +00:00
Raluca Munteanu
9d2773c492 REPO-1543: Refactor tests for list site filtering
- Clear the authentication context on tear down

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 11:46:30 +00:00
Ramona Neamtu
5fda93abb9 SHA-1892 : Error appears when Consumer or Contributor is trying to create a link on a document
- After creating the link for a node, add the marker aspect (LINKED) to the original node as System user. 
   - Added test for case 
   - Added a new test for DocumentLinkServiceImplTest for updated fucntionality

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 09:39:15 +00:00
Raluca Munteanu
a41343b0a8 REPO-1543: Refactor tests for list site filtering
- Fixed build failure by clearing the authentication context on a previous test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 07:36:33 +00:00
Jamal Kaabi-Mofrad
bb4a6cbbae Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
132578 jkaabimofrad: APPSREPO-59: Modified the model validator to ignore the TYPE_NAMESPACE when there is a DIFF_DELETED type.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-09 10:45:19 +00:00
Raluca Munteanu
1eba269df5 REPO-1543: Refactor tests for list site filtering
- site are now created with a default site preset
   - refactored tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-09 09:20:07 +00:00
Ramona Neamtu
280bcff174 SHA-1875 : Link cannot be deleted if the original node is locked
- Removed aspect Lockable when the links are deleted 
   - In case of the user try to create links for locked or checked out nodes, throw an error 
   - Disabled audit when add marker aspect Linked 
   - Added tests for case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 12:48:09 +00:00
Ramona Neamtu
3ff3ba22c7 SHA-1867 : Unable to create links in Shared Files / My Files root node from the Search Results page
- Added method WebScriptUtil.resolveNodeReference() which will resolve nodeRef

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 11:47:03 +00:00
Raluca Munteanu
f39e851d7b REPO-556, REPO-1534: List People - OrderBy not working with "id"
- fixed orderBy issue, now people list can be ordered by "id" key
   - added more tests for list people endpoint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 14:51:48 +00:00
Cristian Turlica
104fd25dcc REPO-894: Disable Person
- updated so we receive an error when trying to disable an admin authority

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 13:42:55 +00:00
Cristian Turlica
d29606a407 REPO-1537: PUT people/personId retrieves unsupported userName instead of id
- updated to use id instead of userName

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 13:36:41 +00:00
Matt Ward
ba44c5f4b2 REPO-1536: corrected 404 error message for get person by ID (/person/{id})
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 13:06:24 +00:00
Alexandra Leahu
b4aed89bde REPO-1529: Ignore tests that fail recurrently on certain DBs for now
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 16:20:22 +00:00
Cristian Turlica
4941efdeda REPO-1506: Update Person - implement
- restrict rest api update person password for no authorization

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 14:19:31 +00:00
Alan Davis
29997bcbf9 Merged 5.2.N-SERVLET-3.0 (5.2.1) to 5.2.N (5.2.1)
131490: REPO-1238 / REPO-1413: Use data-model with the OpenCMIS upgrade.,
   131493: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0.
       - Compilation errors fixed
       - Removed old JAX-WS listener from web.xml + sun-jaxws.xml - obsolete after the upgrade (OpenCMIS has replaced JAX-WS with Apache CXF)
       - Set chemistry-opencmis-test-browser version to 0.14.0, since it was removed in 1.0.0 (TODO: see if something from 1.0.0 can be used instead)
       - Changed dependency on XmlSchema 1.4.7 to xmlschema-core 2.2.1 (required by Apache CXF) - implications of this change still to be addressed.,
   131569: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0.
       - Possible fix for the browser binding - since OpenCMIS 0.13.0, repository URLs always require a cmisselector parameter (see CMIS-893).,
   131671: REPO-843 Upgrade our Servlet API usage to 3.0.1 (from 2.4 / 2.5)
      - Modifications to weblogic-application.xml to allow Weblogic 12.2.1.1 to start with the changes
        made so far for the 1.0 Open CMIS upgrade (REPO-1238). This follows the Servlet 3.0 upgrade
        which resulted in WebLogic not starting. The Open CMIS upgrade has helped with fixing the WebLogic
        start up issue, however...
      - Some of the changes are TEMPORARY to pick up classes and resources from either the JRE or WebLogic
        rather than the alfresco.war. These should be coming from the alfresco.war, but we will still need to
        upgrade the jars that we package. See comments being added to REPO-1413 related to the CMIS upgrade.
      - It is likely that there are other entries in this file that are not needed.,
   131758: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0 - Fix for CMISTCKVersioning tests.
       - The VersioningSmokeTest from the OpenCMIS TCK has been enhanced with the case of checking-in documents with new properties (not just new content). This touches the part of code in CMISConnector that parses the secondary types (aspects), removes the old ones and adds the new. The problem was that even the working copy aspect was removed for checked out documents. This is illegal and an error was thrown.
       - Applies to CMIS 1.1.,
   131815: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0 - Fix for CMISTCKVersioning tests.
       - The VersioningSmokeTest from the OpenCMIS TCK has been enhanced with the case of checking-in documents with new properties (not just new content). So the tests check-in a document with the same name as the original name causing the rename of the working copy to fail. I added an extra check on the name format for working copies.
       - Applies to CMIS 1.0.,
   131843: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0 - Fix for CMISTCKCRUD tests.
       - The SetAndDeleteContentTest from the OpenCMIS TCK has been enhanced with tests that append content. The case where the content was 0 bytes failed, because of an "unnecessary" (hopefully) check on the content data length.,
   131859: REPO-1413 : Upgrade to OpenCMIS 1.0 - update dependencies and fix compilation and/or build test failures
      - fixed failing testVersioningPropertiesHaveDefaultValue ,
   131868: REPO-1413 : Upgrade to OpenCMIS 1.0 - update dependencies and fix compilation and/or build test failures
      - fixed new failing tests,
   131876: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
       - Fix for versioning related tests.,
   131907: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
       - Removed unused dependency on chemistry-opencmis-test-browser,
   132064: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
       - Removed unnecessary excludes, updated data-model, added junit dependency for legacy-lucene which was relying on a now unused dependency to get the junit.,
   132069: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
       - Upgrade jaxb libraries to 2.2.11, alfresco-core to 6.7.,
   132110: REPO-843 Upgrade our Servlet API usage to 3.0.1 (from 2.4 / 2.5)
      - Further modifications to weblogic-application.xml
        - Checked file only contains references to files that we actually package in alfresco.war.
        - Add additional entries identified by WebLogic's CAT
          - Exclude myfaces-api-1.1.10.jar classes (used by the Explorer UI, removed in 5.0 but still used by Cloud).
          - Exclude classes that cause start up exception. We must use the RT or Weblogic versions.,
   132161: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
       - code review changes
   132356: Change to using data-model 6.6


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 17:28:19 +00:00
Raluca Munteanu
bb0296b851 REPO-556: List People - Allow people to be retrieved via the /people collection
- added implementation for get people endpoint
   - added tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 15:34:33 +00:00
Raluca Munteanu
8e553ec442 REPO-1523: REGRESS: Site created from API cannot be accessed via Share
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132249 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:49:34 +00:00
Matt Ward
1d20c23a67 REPO-892: removed PersonUpdate class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132120 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 11:42:08 +00:00
Cristian Turlica
e0005cebcf REPO-1506: Update Person - implement
- added implementation for update personService
   - added tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 10:17:58 +00:00
Gethin James
010643ebbd SEARCH-227: Adding additional display information for facetting api
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 16:01:30 +00:00
Matt Ward
1a8fe7785f REPO-1503: password is now mandatory.
First check in at my new desk!

I've also removed the auto-generation of passwords (UUID) since this is no longer needed with a mandatory password field.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 15:02:25 +00:00
Matt Ward
247d2ad97a REPO-1503: allow setting of password
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 12:29:29 +00:00
Matt Ward
a8d705bb8c REPO-892: allow creation of enabled/disabled users
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 16:56:32 +00:00
Matt Ward
4d8673f058 REPO-892: correctly store and retrieve cm:persondescription as a cm:content blob.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 15:58:22 +00:00
Cristian Turlica
c70a9f960e REPO-1459: Make NodesImpl.isSpecialNode protected
- changed isSpecialNode method signature to protected and updated Java doc

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 13:05:57 +00:00
Matt Ward
9fd17791ff REPO-892: ensure presence of mandatory fields
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 11:12:19 +00:00
Jan Vonka
0e7a674d41 Minor - re-formatting only (fix tabs to spaces)
- noted via REPO-1390

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 14:35:42 +00:00
Matt Ward
96953c1bb7 Merged 131680:131794 from DEV/mward/5.2.n-createperson to 5.2.N
REPO-892: make sure not all fields need to be supplied during create.
  REPO-892: throws error if fields exclusively belonging to Person (that are not part of PersonUpdate) are sent in request.
  REPO-892: cleaned up PersonUpdateJSONSerializer a little, by removing unnecessary 'fullVisibility' switch.
  REPO-892: improved test for optional fields; added test for too few fields.
  REPO-892: added tests (and impl where needed) for -ve response codes as given in the open api spec for create person.
  REPO-892: fixed broken test due to reuse of username.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 13:14:41 +00:00
Matt Ward
8328ca78ab Merged 131464:131680 from DEV/mward/5.2.n_createperson to 5.2.n
Creating branch for REPO-892 (Create person REST API)
  REPO-892: create person - initial commit, bare-bones implementation and test.
  REPO-892: refactored test versions of Person and Company to reduce duplication.
  REPO-892: further refactoring to reduce prod/test duplication.
  REPO-892: add missing fields to the 'create person' operation.
  REPO-892: introduced PersonUpdate class for create (and I'm assuming update) operations.
  REPO-892: missing license header
  REPO-892: very minor refactoring - extract field in tests.
  REPO-892: make sure not all fields need to be supplied during create.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:21:31 +00:00
Ramona Neamtu
55e3a4c76c SHA-1629 : Creating a link to file in a different location
- Added support for multiple files in doclink.post webscript
   - Added unit test for api/node/doclink api
   - Added marker aspect app:linked for nodes that have links attached

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:09:59 +00:00