Modified UserCSVUploadPost behaviour to use an empty string for password creation instead of the user's first name.
Modified RepositoryAuthenticationDao > createUser behaviour to treat the case when the password is an empty string or null.
Added a Unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- 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
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
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
129680 kroast: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2) (PARTIAL MERGE)
129458 cpopa: Merged 5.0.2 (5.0.2.24) to 5.0.N (5.0.4)
129454 cpopa: MNT-15376 : NTLM authentication sometimes fails with IE10+ (chrome OK) - concurrent socket threads
- Synchronize the processing of Type1 and Type3 messages on the same session.
- Synchronize safely by using WebUtils.getSessionMutex(session) than the session object directly
- Reuse the previously cached Type2Message in the Share SSOAuthenticationFilter
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129145 kroast: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128659 cpopa: Merged 5.0.2 (5.0.2.22) to 5.0.N (5.0.4)
128657 cpopa: MNT-15376 : NTLM authentication sometimes fails with IE10+ (chrome OK) - concurrent socket threads
- Reuse the previously created NTLM details cache when a type1 request is being reissued on the same session.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128649 jkaabimofrad: Merged JAMAL/MNT-16371 (5.1.2) to 5.1.N (5.1.2)
128626 jkaabimofrad: MNT-16371: Turned off Inherit Permissions and explicitly added the Site Manager role for the Site to the surf-config folder when it is first created. Also, revoked ownership privileges for surf-config contents.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Ensure error when indexer is the caller includes the file name rather than null.
NodeContentGet now calls transform method with TransformationOptions parameter and the original
transformer method was deprecated as it should be been when this extra parameter was added.
- Set the strictMimeTypeCheck and retryTransformOnDifferentMimeType properties on dynamically created
pipeline and fail over transformers from global properties as is don for static transformers.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128190 amorarasu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
128171 amukha: MNT-16401: Delete comment notification from Blog or Links is not displayed in Site Activities dashlet
- Corrected the comemnts webscript.
- Added JUnit tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Addition of AbstractContentTransformer2.strictMimeTypeCheck(...) to check that the
declared mimetype is the same as the Tika derived mimetype. Controlled by a new alfresco
global property content.transformer.strict.mimetype.check (set to true by default).
- Added the UnsupportedTransformationException to a number of transformation callers as
they should have been handling it already.
- Modified DifferrentMimeTypeTest to test the new strictMimeTypeCheck.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128045 arebegea: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
127999 rneamtu: Merged DEV to 5.0.N (5.0.4)
127518 rneamtu: MNT-15457 : Can not define site filter via solr-facets-config-custom.properties file
- Set qname for SITE special facetable property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127454 jkaabimofrad: MNT-16224, RA-1093: Fixed Quickshare issue where deleting a shared node didn't remove the 'shared' aspect. The fix also takes care of the shared nodes that have been deleted but not yet restored, as well as, shared nodes that have already been restored from the trashcan (allow the user to un-share).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126543 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123868 jkaabimofrad: RA-856: Added support for REST APIs “/content” endpoints to optionally set their own cache. (Currently, only the Renditions API is setting its own cache)
- Removed the http attachment header setting from the AbstractResourceWebScript, as the ContentStreamer already has this feature
- Reformatted ContentStreamer according to Alfresco code standards
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124423 aleahu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124409 cturlica: MNT-15715: CLONE - The file extension of any unknown mimetype is lost during download and replaced by .bin.
- Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
122029 amukha: MNT-14412: The file extension of any unknown mimetype is lost during download and replaced by .bin.
- Now the mimetype guessing is not done for IE if the mimetype is binary (possibly unknown for Alfresco)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124450 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124146 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124109 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124108 amorarasu: MNT-15801 : onContentUpdate policies not working for updates via webdav
- Fixed code merged from 4.1.N, a different LockInfo method is used.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124145 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124106 rmunteanu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124105 amorarasu: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.7)
123915 rmunteanu: Merged V4.1.7 (4.1.7.18) to V4.1-BUG-FIX (4.1.11)
MNT-15801 : onContentUpdate policies not working for updates via webdav
- Reverted changes made for MNT-11185 and MNT-10966 , reverts that will fix MNT-15746
- Changed fix for MNT-5882 by adding the ASPECT_NO_CONTENT after the content is updated, this way preventing MNT-10966 from reproducing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
122553 aleahu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
122494 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
122434 rneamtu: Merged V4.2.6 (4.2.6) to V4.2-BUG-FIX (4.2.7)
122333 amorarasu: Merged DEV to V4.2.6 (4.2.6)
121922 122190 122271 122292 amorarasu: MNT-13739: Site consumers are able to lock documents (they did not create) via WebDAV
- Went back to using the secured lock service
- Unlock resource after MOVE only if the it was locked
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261