Commit Graph

1195 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Constantin Popa
41516285f4 MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
- small fix for an incorrect merge

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:34:52 +00:00
Constantin Popa
461db4a173 Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135141 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3)
      135076 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
         - removed redundant test which was also causing problems to AbstractInvitationServiceImplTest because of a name clash
           SiteService.deleteSite doesn't remove a site completely, instead it leaves behind authorities and permissions, thus a SiteService.createSite would throw an exception
           even though SiteService.getSite returns null.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135151 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:32:38 +00:00
Constantin Popa
d81b9be2ad Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135140 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3)
      135064 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
         - added test ActivitiInvitationServiceImplTests to its own suite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:32:12 +00:00
Constantin Popa
0138579bac Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135139 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3)
      135063 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
         - added the @Category(BaseSpringTestsCategory.class) to ActivitiInvitationServiceImplTests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:31:31 +00:00
Constantin Popa
58322870eb Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135138 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3)
      135053 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
         - moved the ActivitiInvitationServiceImplTests test to the proper suite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:29:59 +00:00
Constantin Popa
ff91dc2cbb Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135137 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3)
      135050 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
         - Enabled test ActivitiInvitationServiceImplTests by adding it to AllUnitTestsSuite
         - Fixed a couple of failing tests from ActivitiInvitationServiceImplTests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135147 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:28:30 +00:00
Constantin Popa
80586e5a72 Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135136 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3)
      135040 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails
         - Remove the ASPECT_ANULLABLE from an invited user if the invitation is accepted successfully


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-14 16:22:55 +00:00
Jan Vonka
483d79a548 REPO-1986: Upload Failing due to Metadata Extraction Issue (MNT-17436) - part 2
- part 2 - enable "addTags" to handle configurable list of separators (when using "enableStringTagging" option of "extract-metadata" action)
- initial default separators/delimiters => comma, semi-colon & vertical bar (pipe)
- also means we can re-enable & fix ContentMetadataExtractorTagMappingTest

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-09 16:04:00 +00:00
Jan Vonka
70108770f1 REPO-1986: Upload Failing due to Metadata Extraction Issue (MNT-17436) - part 1
- part 1 - ignore "addTags" failure & log warning instead (when using "enableStringTagging" option of "extract-metadata" action)
- note: add ContentMetadataExtractorTagMappingTest to the test suite (however, initially comment-out existing failing testTagMapping which has previously regressed)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-09 11:24:42 +00:00
Jan Vonka
9c2c455d3c Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
134728 jvonka: REPO-1580: Thumbnails are not updated with the latest document version
   - fix merge fallout/conflict (compile failure) when back-porting from 5.2.N to 5.1.N 
   - also relates to REPO-1644, MNT-17113, MNT-15135


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-24 08:32:28 +00:00
Jan Vonka
99ed972800 Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
134713 jvonka: REPO-1580: Thumbnails are not updated with the latest document version
   - add extra JUnit test for locked doc ...
   - ... check lastThumbnailModification is updated (if thumbnail is requested by ano user, with read-only access]
   - also relates to REPO-1644, MNT-17113, MNT-15135
   - minor refactor of existing tests to remove duplicate code


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:50 +00:00
Jan Vonka
e03e26f6ba Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
134685 aforascu: REPO-1580 / MNT-17113 - Preview not updated after new versions, AOS and manual upload
       - added Junit test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:23 +00:00
Constantin Popa
1233beb56e Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
134647 cpopa: APPSREPO-105 : Add an API to download multiple file/folders as a zip
      - Shy attempt to fix the TestCustomModelExport.testCreateDownload test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-20 12:56:40 +00:00
Alex Mukha
88f99d6e9a Merged DEV to 5.2.N (5.2.1)
133903 sglover: MNT-17247 "Disabled user can log into Alfresco Share using external authentication" take user disabled status in to account for external authentication subsystem + tests
   133907 sglover: MNT-17247 "Disabled user can log into Alfresco Share using external authentication" don't propagate user disabled exception
   133930 sglover: MNT-17247 "Disabled user can log into Alfresco Share using external authentication" move test class and add to a test suite
   134295 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
      - Added a test to simulate creation of missing person during external auth log in.
   134315 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
      - Added a fallback to supprt the logging in by non provisioned users.
   134354 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
      - Added a test with deauthorized user. Refactored existing test to start context once.
   134359 jvonka: REPO-1227: External authentication - prevent disabled user from authenticating
      - add log warning (with masked username, similar to brute force attack) if authentication bypassed when setting user details
   134372 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
      - Updated core and data model (contain new logging)
   134390 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
      - isEnabled flag for users is returned correctly
      - Added tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-17 13:57:05 +00:00
Constantin Popa
97baf5757a Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
134007 cpopa: Merged 5.0.N (5.0.5) to 5.1.N (5.1.3)
      134006 cpopa: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.5)
         134005 cpopa: MNT-17011 : Site Blog Post's tag filter always limits to 10 results and offers no paging to go through all results if larger than 10
            - ensure the tag filter returns correct information so as to allow the user to page though all the results


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-22 14:37:45 +00:00
Ramona Neamtu
5d546877f2 SHA-1966: Deleting a link causes huge memory and cache usage and eventually OOM error
- Replaced XPATH search for links to a canned query
   - Removed the XPATH search for existing nodes with the same name =>catch exception

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-21 10:04:36 +00:00
Ancuta Morarasu
dd08919347 REPO-1682 / MNT-15447: getCurrentVersion(node) throws ConcurrencyFailureException after creating multiple versions of a node
- Changes after review (broader check on the type of node + formatting).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-19 18:37:05 +00:00
Ancuta Morarasu
9794eb72dc REPO-1682 / MNT-15447: getCurrentVersion(node) throws ConcurrencyFailureException after creating multiple versions of a node
- Throw IllegalArgumentException when not a 'live' noderef is used for retrieving the current version.
   - Added Junit test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-19 12:05:24 +00:00
Martin Muller
1292beeb9a MNT-13097 content reverted as well to head version if you delete last version of node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-16 10:49:25 +00:00
Martin Muller
b264e2c4ec MNT-13097 content reverted as well to head version if you delete last version of node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 16:39:38 +00:00
Martin Muller
3c8f669b98 MNT-13097 content reverted as well to head version if you delete last version of node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 13:29:14 +00:00