Commit Graph

7000 Commits

Author SHA1 Message Date
Martin Muller
d8f90ea98d Reverse merged 5.2.N (5.2.1)
136820 mmuller: MNT-15365 Forbid pending rule applying on working copies. Added test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-22 09:24:43 +00:00
Jamal Kaabi-Mofrad
eeb40852b4 ACE-5782: Reverted MNT-15457 fix, and added tests to check for Solr specials facets, TAG and SITE, when registered via custom property file.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 17:31:49 +00:00
Martin Muller
24fbd605ff 136820 mmuller: MNT-15365 Forbid pending rule applying on working copies. Added test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 15:17:15 +00:00
Jan Vonka
1e3a40232a REPO-2449 - Service Pack: MNT-17561: Unable to preview .zip file contents in Share
- oops this should have been comitted as false ! ... 
- ... but at least we've proven that it works (see 5.2.N b618 & b619) ;-)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 08:58:22 +00:00
Jamal Kaabi-Mofrad
54e6489b48 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136796 jkaabimofrad: Added a test for MNT-17824 fix.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 08:32:32 +00:00
Jamal Kaabi-Mofrad
2d714be75d Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136785 jkaabimofrad: MNT-17824: Added a workaround for retrieving authorities (i.e. group or role) that were created with 'GROUP_' prefix before MNT-14958 fix.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 08:32:26 +00:00
Jan Vonka
1ee1cbd533 REPO-2449 - Service Pack: MNT-17561: Unable to preview .zip file contents in Share
- add embedded testArchiveToPdf & ensure ArchiveContentTransformerTest is added to suite (wasn't being run before ?)
- minor refactor of related tests to ensure "Transformers" subsystem is started before checking content transformer registry
- add TEMP workaround to attempt to (re-)start LibreOffice/OpenOffice when running in local env

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-18 15:21:20 +00:00
Alan Davis
34940ab70a MNT-17601 "My completed tasks" error with embedded sub process
- The reason that no tasks were found was that the ActivitiTypeConverter.findUserTasks(...)
     method simply did not take sup processes into account. Transitions in a sub process were
     not being walked, so no user tasks inside the sub process were found. A test was added that
     ensures that the task inside the sub process of the sample workflow is now found. 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-18 14:35:03 +00:00
Constantin Popa
77b1df5335 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136713 cpopa: APPSREPO-183 : Create repository unit tests for the new policies added for PermissionService and AuthorityService
      - trivial fix to use diamond syntax


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-12 12:05:41 +00:00
Constantin Popa
2b7575e8ed Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136703 cpopa: APPSREPO-183 : Create repository unit tests for the new policies added for PermissionService and AuthorityService
      - added Junit tests that exercise the new PermissionServicePolicies and AuthorityServicePolicies


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-12 12:05:18 +00:00
Constantin Popa
ab81943a66 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136412 cpopa: APPSREPO-66: Capture and transmit permission changes to the client
      - Added AuthorityServicePolicies policies which are invoked when a group is deleted, an authority is added or removed from a group
      - Added PermissionServicePolicies policies which are invoked when a local permissions is granted/removed, permission inheritance is enabled/disabled


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-04-25 14:03:02 +00:00
Jamal Kaabi-Mofrad
3094a66ea5 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136277 jkaabimofrad: APPSREPO-173: Added "smartFoldersEnabled" parameter into the HeartBeat class so it reports whether the smart folders feature is enabled or not.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-04-12 17:06:08 +00:00
Gethin James
e4eab9db4f SEARCH-435: Using SolrJSONResultSet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-04-05 11:00:25 +00:00
Gethin James
696eb94564 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136071 gjames: SEARCH-334: Adding pivot to the request


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:28 +00:00
Gethin James
724ff9c30e Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136070 gjames: SEARCH-334: Processing pivot response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:20 +00:00
Gethin James
1103100d4d Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136069 gjames: SEARCH-334: Moved generic facet classes to repo so they can be used by SolrJSONResultSet


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:12 +00:00
Gethin James
30ec01a0d6 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135772 gjames: SEARCH-419: Correct handling of fieldfacet label and exclusion filters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:16 +00:00
Gethin James
e2395b1f57 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135626 gjames: SEARCH-339: Corrected field encoding in the test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:04 +00:00
Gethin James
af8eb71945 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135623 gjames: SEARCH-339: Correct use of the interval field


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136089 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:50 +00:00
Gethin James
9800efdec7 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135579 gjames: SEARCH-339: Better timezone handling for the test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:27 +00:00
Gethin James
55b34dedd4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135568 gjames: SEARCH-339: Adding permissionService mock


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:10 +00:00
Gethin James
9a9e731bb4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135512 gjames: SEARCH-339: Adding enhanced date parsing facet interval requests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:52 +00:00
Gethin James
cc6cee0aca Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135433 gjames: SEARCH-339: Sending facet interval requests to solr and processing the result


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:33 +00:00
Gethin James
01e90174e6 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135428 gjames: Using a @FunctionalInterface


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:11:12 +00:00
Michael Suzuki
94c231dac6 Fix broken unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-23 11:22:42 +00:00
Michael Suzuki
9a04e4b078 SEARCH-347, fix to skip TMDQ when faceting is involved
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-23 11:20:05 +00:00
Jamal Kaabi-Mofrad
8bb66c2e40 APPSREPO-132: Changed the log level from WARN to DEBUG.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136039 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-21 19:33:28 +00:00
Ancuta Morarasu
aa7dfcfa3d REPO-2164: Implement the fix for transfer service
- Added tests for the proxy helper methods.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-21 07:55:09 +00:00
Ancuta Morarasu
40a906012c Merged 5.1.N (5.1.4) to 5.2.N (5.2.1)
135900 amorarasu: REPO-2164 / MNT-17555: Transfer jobs should work with a proxy
      - Made the httpclient communicating with the fstr server, aware of the proxy settings.
      - Moved the proxy config logic to a helper class.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135967 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-17 17:03:08 +00:00
Jamal Kaabi-Mofrad
467db88fa5 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135878 jkaabimofrad: APPSREPO-118: A few minor tweaks based on peer review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:42 +00:00
Jamal Kaabi-Mofrad
3053256b6f Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135805 jkaabimofrad: fixed tests failures.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:37 +00:00
Jamal Kaabi-Mofrad
de94938b0d Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135804 jkaabimofrad: APPSREPO-35, APPSREPO-118: Added tests for reset password service and REST API.
       - Added a utility class (EmailUtil) to work with MailActionExecutor in test mode
       - Added a new workflow task responsible for sending the reset password confirmation email (per peer review)
       - Changed the reset-password endpoint to return a 202 response for an inactive workflow or invalid workflow id, key or mismatched user
       - Some other minor changes as the result of adding tests
       - Also, fixed tests failures by changing the reset password workflow definition target namespace URI.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:31 +00:00
Jamal Kaabi-Mofrad
b96832b0fd Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135590 jkaabimofrad: APPSREPO-35: Added password reset V1 API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:24 +00:00
Andrei Forascu
c9c30849f9 REPO-2156 / MNT-16748: Failing to extract auditing entries from SearchService using Share, CMIS.
- Added two JUnit tests that test that the audit records are added when using SearchService query(SearchParameters): one in the AuditMethodInterceptorTest and another one in AuditWebScriptTest that is using the Rest-API get audit method to query the audit
- Refactored also an existing test in AuditMethodInterceptorTest

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 15:11:27 +00:00
Cristian Turlica
242cc5b406 REPO-2189: Service Pack: MNT-17239: Unexpected changes of cm:modified and cm:modifier
- IncompleteNodeTagger disables cm:auditable and cm:versionable when making changes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 13:24:07 +00:00
Alan Davis
9eaffa8b04 MNT-14316 2013/2014 iWork Transformation Failure
Remove commented out code in test - no need to backport

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 10:07:49 +00:00
Alan Davis
61686ffd6a MNT-14316 2013/2014 iWork Transformation Failure
* Support the creation of thumbnails for 2008/9 and 2013/14 iWorks file types.
* Support the preview of 2008/9 and 2013/14 iWorks file types. It should be noted that the
  embedded PDF files from 2008/9 no longer are used for the preview, so the quality is not
  as good as it was in the past. It is however using the embedded JPEG and quality is reasonable.   
* AppleIWorksContentTransformer no longer supports PDF as an target mimetype, as the newer
  iWoks 2013/14 formats no longer includes an embedded PDF file. Having PDF supported by the
  transformer resulted in Share always trying PDF which was one of the reasons that the newer
  formats did not preview. The other reason was that the embedded JPEG filename also changed.
* Added 'quick' files for testing.
* Also modified the exception message thrown when the iWorks file did not contain an embedded
  preview file, which is optional. An example would is "The source numbers file did not contain
  a jpg preview", rather than "Unable to transform numbers file to jpg". This should reduce the
  number of issues raised with support.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135869 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-15 13:46:22 +00:00
Jan Vonka
4fc7f98618 Merged 5.2.N-REPO-2156 (5.2.1) to 5.2.N (5.2.1)
135730 jvonka: REPO-2165: MNT-16748: Failing to extract auditing entries from Search & CMISQuery
   - SearchService (using Share) or CMISQueryService (using CMIS Query)
   - to follow: temporarily change pom to use data-model 6.9-SNAPSHOT


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-15 11:52:47 +00:00
Cristian Turlica
f180ab89c8 REPO-2191 : Service Pack: MNT-17523: Loss of information, field values truncated when auditing long strings (implement fix)
- string value with length grater than the DB max string length is saved as serializable
   - removed unneeded trimStringsIfNecessary and tests added in MNT-12196

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135761 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-13 07:58:14 +00:00
Alan Davis
b4b391199d MNT-17022 Errors in 5.1.1 when displaying any document linked to jBPM workflow
The getWorkflowsForContent method has been modified to catch the exception and return
one less item in the list of workflows to be processed when the workflow is jBPM (or
any other unregistered workflow - including future ones). It also logs a debug.
For example:

Workflow Component for engine id 'jbpm' is not registered. Ignored workflow on
workspace://SpacesStore/a0afc2d8-01e4-4fa5-a3b0-08d91d1fda03

Having examined the the rest of WorkflowServiceImpl (and spoken to the original
author), I don't believe there are other points in the code that we need worry about
for the UI perspective, even though there are 22 other methods directly calling the
method that throws the exception.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-10 16:16:14 +00:00
Andrei Rebegea
c944a33fdc MNT-16882 : CMIS does not detect text encoding correctly
- using the private visibility for a small utility method to allow for optimization

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-07 11:27:56 +00:00
Andrei Rebegea
792bba21c8 MNT-16882 : CMIS does not detect text encoding correctly
- explicit charset requests are not supported by Alfresco repository. we use guess encoding methods
   - the fix is to correctly interpret the mimetype text for the CMIS requests and make CMIS behave similarly to REST V1 APIs when working with content.
   - added tests for the 3 affected methods

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-07 10:44:08 +00:00
Ancuta Morarasu
a75200b776 REPO-2043 / MNT-16053: Extending cm:person causes activiti to fail
- Ensure the 'scope' is set when converting properties with multiple=true, on ActivitiScriptNode nodes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-06 16:41:28 +00:00
Jamal Kaabi-Mofrad
9a4e44dc98 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135561 jkaabimofrad: APPSREPO-137: Minor change  based on peer review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-03 11:42:04 +00:00
Jamal Kaabi-Mofrad
44fadd0888 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/BRANCHES/DEV/5.2.N/root@135566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-03 11:41:58 +00:00
Jamal Kaabi-Mofrad
6cfc6a74d3 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135227 jkaabimofrad: APPSREPO-132: Make ClientAppConfig generic so it could be used by other V1 APIs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-03 11:41:47 +00:00
Martin Muller
9a8de7518b MNT-16236 changed the property to opencmis.maxContentSizeMB / opencmis.memoryThresholdKB and adjusted the test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-27 17:08:26 +00:00
Jan Vonka
e9da15d93a REPO-1204 / MNT-16742: getChildren returns duplicate nodes
- fallout from MNT-12894
- noticed by customer when iterating via CMIS getChildren with no explict sort order
- we need to put back an implicit sort order, if none is specified
- note: todo - we could consider optimising further for those use-cases where maxItems is greater than a pre-configured threshold (eg. > 1000) and we don't expect to sensibly page through that many results

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135457 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-27 16:09:00 +00:00
Martin Muller
46e86d6717 MNT-16236 added changeable setMaxContentSize CMIS configuration for uploading a file + unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-23 14:41:42 +00:00
Andrei Rebegea
cc9876de74 MNT-17427 : api/invite/cancel deletes records in the database with a GET: CSRF/XSS attack
- delete the script/org/alfresco/repository/invite/invite.get
   - use the alternatives: script/org/alfresco/repository/site/invitation/invitation.post and script/org/alfresco/repository/site/invitation/invitation.delete
   - updating the tests
   - updating the controller for the invitation.delete to a java controller
   - fix test fallout (SiteServiceTest testInviteDisabledUser - expected error status code)
   - improve security by allowing only invitationIDs that belong the the site passed as parameter to be canceled
   - be consistent and return 404 when an invitationID can not be found

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-20 09:04:45 +00:00