Commit Graph

1176 Commits

Author SHA1 Message Date
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
Alan Davis
877fdb05e8 MNT-15359,MNT-14437,ALF-21479,MNT-16609: Remove dependency on filename for office transformations
<< Root cause for these 4 issues was a fix made in 4.2.4 MNT-11279. That fix was trying to
      use the file name field value in a document when transformed to PDF. In addition to the
      3  problems found, using file names supplied by users is a potential security issue.
      We have not found a way to exploit the use of the original file name, but that should
      not stop us from closing off the possibility. Fix is being merged to the dot N branches
      of 5.2, 5.1, 5.0 and 4.2 so the fix will be in the next service pack for each branch.
      The original MNT-16609 fix is also being reverted as the original code included the source
      extension in the temporary file name. >>> 
      Reverse merged 5.2.N (5.2.1)
         129407 skopf: MNT-16609 - Alfresco OOTB install doesn't show preview for .EML files on Windows
         94626 adavis: Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
            89429: ACE-2649: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
               89386: Merged DEV to 4.2-BUG-FIX (4.2.4)
                  85587: MNT-11279: Docx Preview: FileName in the document header not previewing correctly
                     - Keep original name during convertion.
                     - Add unit test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 11:14:17 +00:00
Martin Muller
f4e2424af7 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@133689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-14 16:41:07 +00:00
Alan Davis
c03a2cc411 MNT-17017 Remove folder name from title when folders are unzipped from the Unzip to action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-14 13:37:27 +00:00
Jan Vonka
1d5917dbe9 REPPO-1688: Implement a failing test to demonstrate the issue when a site restore can fail due to locks (and custom behaviours)
- follow-on for MNT-14671 (noticed as part of investigation for MNT-17093, CLD-28 and ACE-5465)
- note: the test is currently not active (pending agreement to introduce and implement the proposed fix)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-08 18:34:34 +00:00
Alex Mukha
16e7095d93 REPO-1687: ACE-5662: The AuthenticationServiceImpl.ProtectedUser is not suitable for clustered cache
- Changed the implementation to use Serializable objects in cache.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 20:23:04 +00:00
Derek Hulley
3c8205b03f Fix code formatting for code in 'org.alfresco.repo.action' packages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-01 14:31:04 +00:00
Alex Mukha
2cce1b76d5 REPO-1489: Slowdown of brute force attack on passwords
- Added a fix to when the Warn is shown (next login after protection is enabled)
   - extended tests to cover protection enabled flag.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133276 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-29 13:02:59 +00:00
Jamal Kaabi-Mofrad
5fcc679ac7 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133213 jkaabimofrad: APPSREPO-61: Based on code review, made the expiry action executor to be private. Also, fixed a silly typo!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:54:37 +00:00
Jamal Kaabi-Mofrad
698587d616 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/BRANCHES/DEV/5.2.N/root@133222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:54:32 +00:00
Jamal Kaabi-Mofrad
090b7bbe41 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
Jamal Kaabi-Mofrad
7e67a40024 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133087 jkaabimofrad: APPSREPO-61: Minor clean up (removed the schedule interval, left from testing different scenarios)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:53:58 +00:00
Jamal Kaabi-Mofrad
9faaad1d45 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133081 jkaabimofrad: APPSREPO-61: First cut of automatic time expiry enhancement to the quick-sharing functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:53:39 +00:00
Derek Hulley
41dbd4564b MNT-17001: Handle overflow condition; improve test to cover
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 13:26:14 +00:00
Alex Mukha
972a52c4f0 REPO-1489: Slowdown of brute force attack on passwords
- Extended tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-26 15:21:07 +00:00
Derek Hulley
dfc1f8ab7b Fix MNT-17001: Querying the audit with cmis throws 'CmisRuntimeException: maxResults must be greater than 0'
- Fix overloading of local variable when calculating audit query limit
 - Enhance test to cover negative (expected failure), zero, one and more
 - Addition of new property: opencmis.connector.default.contentChangesDefaultMaxItems=10000


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-25 21:43:15 +00:00
Alex Mukha
75286950f1 REPO-1489: Slowdown of brute force attack on passwords
- Added the implementation based on REPO-1539.
   - Added JUnit tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-25 21:20:31 +00:00
Derek Hulley
5682ef0c34 Undo fix for REPO-1022: MNT-16271. Tests working locally but race conditions are possible.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 21:05:13 +00:00
Derek Hulley
b6358642e4 REPO-1022: MNT-16271 SiteGroups of existing sites are deleted if site of the same name exists in the Trashcan.
- It is not possible to create a site if a same-named site has not been deleted and purged
 - Before this change came in, there were cases where sites had been created while same-named sites existed in the trashcan
 - Purging those sites was detrimental to the live sites
 - Added the workaround and associated test as suggested by Andrea on MNT-16271


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 13:13:22 +00:00
Derek Hulley
b4f68c0630 Removed for class after review of MNT-16991root\projects\repository\source\test-java\org\alfresco\repo\security\authority\AuthorityServiceTest.java
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-11 13:52:26 +00:00