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