Commit Graph

6464 Commits

Author SHA1 Message Date
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
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
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
d94bb9bd5b REPO-1986: Upload Failing due to Metadata Extraction Issue (MNT-17436) - trivial
- fix when debug logging (if rawValue is null - nothing to do)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-10 11:55:49 +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
Matt Ward
6b5088f812 Merged mward/repo-1844-sortorder (5.2.1) to 5.2.N (5.2.1)
134816 mward: REPO-1844: sort order problems with ID


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 15:43:20 +00:00
Jan Vonka
76d670370e Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
134687 amorarasu: REPO-1580 / MNT-17113: Preview not updated after new versions/content
      - The fix is similar to the proposed patch + some code moving (disabling audit and versioning)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:34 +00:00
Constantin Popa
c5baf57662 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
134630 cpopa: APPSREPO-105 : Add an API to download multiple file/folders as a zip
      - Added an API for creating a download, retrieving download info and canceling a download


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-20 12:56:01 +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
Michael Suzuki
5a92f185d8 SEARCH-284, fix highlight isssue raised by SHA-1887. Removed maxAnalyzedChars in favour of solrs default values.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-05 17:01:02 +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
Derek Hulley
f19c49b05f MNT-17045: CONTENT INTEGRITY ERROR too generic. we would need to ouput the path of the missing file we check
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-22 10:09:32 +00:00
Ancuta Morarasu
934fd3414e REPO-1681 / MNT-17228: CMIS: Attempt to delete non-current version throws "Unexpected: current version does not appear ..."
- code review change.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-21 10:07:16 +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
f371dd270a REPO-1681 / MNT-17228: CMIS: Attempt to delete non-current version throws "Unexpected: current version does not appear ..."
- Fixed the misuse of the version node instead of live node
   - Added permission check for deleting a version
   - Uncommented the test added by JanV (REPO-1228) + added testcase for deleting with no permission
   - PublicApiCallContextHandler inherits basic auth parameters from BasicAuthCallContextHandler, to ensure proper exceptions are thrown by CMIS servlets (in this case, CmisPermissionDeniedException instead of CmisUnauthorizedException).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-21 07:25:38 +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
Derek Hulley
dd552a22a9 Fixed formatting during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-19 15:20:40 +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
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
Michael Suzuki
4e75c45fd9 SEARCH-207, revert changes introduced in commit 133606
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-13 20:52:30 +00:00
Michael Suzuki
9151aaaae9 SEARCH-207, fixed creation on solr core when using SSL. Added secureComms to solr beans in the subsystem and updated admin UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-13 11:31:40 +00:00
Alex Mukha
5a2abbd721 REPO-1687: ACE-5662: The AuthenticationServiceImpl.ProtectedUser is not suitable for clustered cache
- Added additional check to avoid problems with very small usernames.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-07 16:37:35 +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
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
3a3c78c5db Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133084 jkaabimofrad: APPSREPO-61: Corrected the debug messages.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133217 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:53:49 +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
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
529834ebad Bring imports into line during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 11:42:51 +00:00
Ramona Neamtu
aa591b1362 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
Andrew Hind
a514f96d30 Fix for ACE-5608 SOLR 6 - Dynamic shard registration does not support secure sharding
- tested against SOLR4/6 sharded and unsharded

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:25:23 +00:00
Ramona Neamtu
a2b7f645d3 MNT-16942 : Unknown mimetype when using Upload New Version action.
- changed the mimetype to lowercase

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-17 10:22:45 +00:00
Ramona Neamtu
13fc175c56 SHA-1860 : Incorrect tooltip when hovering over the icon of a link in Document Library
- Set title and description properties when create link for a node in order to build tooltip corectly

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-14 14:57:05 +00:00
Stefan Kopf
c9f08144b0 REPO-1535 - HotFix: MNT-16991: Mixed case user name issue for public workflow REST API
MNT-16991 - Mixed case user name issue for public workflow REST API
- AuthorityDAOImpl: Normalize username before reading from or writing to the cache
- AuthorityServiceTest: Added test case using mixed case user names

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 11:30:45 +00:00
Ramona Neamtu
dbe2c44536 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
Jamal Kaabi-Mofrad
b49bb8f36c 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
Ramona Neamtu
93043fd80c 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