Commit Graph

1696 Commits

Author SHA1 Message Date
Dave Ward
51090f6a13 Merged PATCHES/V3.2.0 to HEAD
19089: (RECORD ONLY) Merged V3.2 to PATCHES/V3.2.0
      Merged DEV/TEMPORARY to V3.2
         19005: Group Admin Scalability (SAP) implementation
         19078: ALF-1934: change the behaviour of 'Manage User Groups' similar to 'Manage System Users'
   19205: (RECORD ONLY) Merged HEAD to V3.2.0
      19203: ALF-1999: Refactored AuthorityService.findAuthorities to support search options required by Alfresco Explorer client in efficient manner
         - optional parentAuthority argument - when set will only search for authorities under a given group
         - optional immediate flag - when false means do a recursive search. When true means only return first level. When true and parentAuthority is null means root groups.
         - search expression - which is tested against the short name and the display name
         - reworked all existing calls for new semantics
         - this method is for UI search only - not for existence checking!
         - removed some ill-informed calls
   19206: (RECORD ONLY) Undid accidental change to log4j.properties
   19212: (RECORD ONLY) Merged HEAD to V3.2.0
      19210: Build fix
         - Corrected lookup of root groups
         - Improved root group search in the process
         - Spent ages trying to work out why GROUP_BUFFY wasn't being deleted!
   19758: Merged DEV/BELARUS/V3.2-2010_03_17 to V3.2.0
      19733: ALF-442: With SSO enabled, visiting wcservice URL and logging in redirects to My Alfresco
   19793: (RECORD ONLY) Merged HEAD to V3.2.0
      19786: Refactor of previous test fix. I have pushed down the OOo-specific parts of the change from AbstractContentTransformerTest to OpenOfficeContentTransformerTest leaving an extension point in the base class should other transformations need to be excluded in the future.
      19785: Fix for failing test OpenOfficeContentTransformerTest.testAllConversions.
         Various OOo-related transformations are returned as available but fail on our test server with OOo on it.
         Pending further work on these failings, I am disabling those transformations in test code whilst leaving them available in the product code. This is because in the wild a different OOo version may succeed with these transformations.
         I had previously explicitly disabled 3 transformations in the product and I am moving that restriction from product to test code for the same reason.
      19707: Return value from isTransformationBlocked was inverted. Fixed now.
      19705: Refinement of previous check-in re OOo transformations.
         I have pulled up the code that handles blocked transformations into a superclass so that the JodConverter-based transformer worker can inherit the same list of blocked transformations. To reiterate, blocked transformations are those that the OOo integration code believes should work but which are broken in practice. These are blocked by the transformers and will always be unavailable regardless of the OOo connection state.
      19702: Fix for HEAD builds running on panda build server.
         OOo was recently installed on panda which has activated various OOo-related transformations/extractions in the test code.
   It appears that OOo does not support some transformations from Office 97 to Office 2007. Specifically doc to docx and xls to xlsx. These transformations have now been marked as unavailable.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-26 16:44:35 +00:00
Dave Ward
256e7434bd Merged PATCHES/V3.1.2 to HEAD
19823: (RECORD ONLY) Merged HEAD to PATCHES/V3.1.2 (back-port escalation request)
      19710: Fix for ALF-2216 - completed support for single and multi-byte range requests via the download content servlet
      19711: Bring GuestDownloadContentServlet inline with Download servlet changes
   19751: Fix for ALF-934 - View Details does not refresh the doc properties when displaying multiple documents via Direct URL


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19994 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-26 16:34:28 +00:00
Dave Ward
7612a95c3e ALF-679: Corrected regular expression matching logic in DefaultRemoteUserMapper
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-26 14:21:12 +00:00
Kevin Roast
4cae5cd7e7 Fix for ALF-2512 - ability to execute JavaScript via cmd servlet by a non-admin user disabled by default.
- user script execution privileges can be reactivated if required via web-client-config flag <allow-user-script-execute>

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 12:11:40 +00:00
Kevin Roast
82dc2c6ab5 Fix for ALF-2510 - filtering out of doclib thumbnails from lists of templates and scripts retrieved from Data Dictionary in Explorer client.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 10:21:13 +00:00
Steven Glover
9d9cf7d7cd Fix for http://issues.alfresco.com/jira/browse/ALF-918
System error after click button "cancel" on page Regenerate Renditions Wizard for Content Publisher (Contributor or Reviewer)
- missed file in previous commit

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19925 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 08:06:53 +00:00
Steven Glover
08f36b2012 Fix for http://issues.alfresco.com/jira/browse/ALF-918
System error after click button "cancel" on page Regenerate Renditions Wizard for Content Publisher (Contributor or Reviewer)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 17:19:03 +00:00
Mark Rogers
93cace15e3 ALF-2363 - Fix to Alfresco Explorer to immediatly clean up temp files after upload to repo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19850 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-14 13:49:07 +00:00
Gavin Cornwell
32421b33e0 Applied contribution (with one other addition) for ALF-1947: When overriding the UIPropertySheet (in some cases), client side validation code breaks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-13 11:05:10 +00:00
Gavin Cornwell
c6ac8d8243 Merged BRANCHES/DEV/BELARUS/HEAD-2010_01_11 to HEAD (with modifications)
18309: ALF-514 & ALF-775: Changes not being applied during online modification of Web Content in WebKit based browsers


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19817 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 12:05:40 +00:00
Kevin Roast
2bf2fc4d91 Content download merging of byte range requests for MSIE user-agent.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-01 11:55:59 +00:00
Kevin Roast
16e70c676f Fix to disable multipart byte range combining for older versions of firefox.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19712 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 21:14:26 +00:00
Kevin Roast
e46ab2ca96 Bring GuestDownloadContentServlet inline with Download servlet changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 19:21:19 +00:00
Kevin Roast
7361e96e06 Fix for ALF-2216 - completed support for single and multi-byte range requests via the download content servlet.
- Supports single range, open start/ended single range and multipart/byteranges response type for multiple ranges
 - Supports merged sequential ranges for optimal transfer
 - Tested with IE+AdobeReader and FireFox+AdobeReader combination - which transmit any sequence and any number of multi-byte range requests for an embedded PDF document - various sizes and types of documents also tested

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 18:46:35 +00:00
Dave Ward
769cdb0aa4 Merged V3.2 to HEAD
19617: ALF-1890: Improvements to make ALL WebDAV methods retryable
      - Solution from PutMethod promoted to request wrapper that will handle ALL calls to getInputStream and getReader
   19623: ALF-1890: Correction to previous checkin to allow defaulting of request body charset
   19624: ALF-2231: Merged DEV/BELARUS/V2.2-2009_12_01 to V3.2
      17704: ENH-681: alfresco webdav does not respect webdav locks
   19647: ALF-2231: Merged DEV/BELARUS/V2.2-2009_12_01 to V3.2 
      17704: ENH-681: alfresco webdav does not respect webdav locks 
   19655: ALF-1997: Share with NTLM SSO enabled now supports form-based login as a fallback
      - If you use the new sample webscript framework NTLM config and go to http://localhost:8080/share/page?f=default&pt=login you can log in as any user in the repository, even an LDAP user!
      - When you log out again, it will fall back to your NTLM credentials
      - WebScriptNTLMAuthenticationFilter modified to create the session user for the /api/login call
      - AlfrescoAuthenticator modified to cope with cookie propagation as well as ticket propagation
      - LoginServlet bugfixed to kill the old session on login rather than the new one!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 11:51:35 +00:00
Gavin Cornwell
8f8fcb283c Fix for ALF-2080: Regress: Impossible to create Web Form - "Invalid standard action" error (will also fix several similar unreported issues)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19638 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-29 13:25:28 +00:00
Kevin Roast
dbe45ccf6a Merged V3.2 to HEAD
19580: Fix for ALF-1612 - set default encoding for create-inline content in Explorer Client to sensible default.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-25 11:54:59 +00:00
Kevin Roast
a75a7de12f Fix for ALF-212 - new usernames trimmed during entry in Explorer client admin screen.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-25 11:21:12 +00:00
Gavin Cornwell
8a2b2db807 Merged V3.2 to HEAD
19542: Fix for ALF-2001: WCM - Problem rendering the dateTime xsd component into webforms

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-24 15:30:49 +00:00
Dave Ward
822e6c5edb Merged V3.2 to HEAD:
19472: ALF-725: Revert to using jTDS JDBC driver for SQL Server in 3.2 SP1, since the Microsoft driver doesn't work with the v3.2.r iBATIS stuff
      - All example/installer alfresco-global.properties updated
      - Wiki updated http://wiki.alfresco.com/wiki/Database_Configuration#MS-SQL_Databases
      - Logged doc bug ALF-2144 and release note bug ALF-2145
   19501:Merged DEV/BELARUS/V3.2-2010_02_24 to V3.2 (with corrections)
      19243: ALF-757: Cannot start up on JBoss 5.1 due to audit configuration error
         - Removed getPath() method because it is incompatible with JBoss and other app servers where resources can't be resolved to a file
         - Now use Spring ResourceLoader instead of creating FileInputStream
         - getLastModified() still returned where the resource resolves to a file; otherwise the server startup time
   19503: (RECORD ONLY) ALF-2100: Merged HEAD to V3.2
      19155: ALF-1995: Removed remaining direct dependencies on portlet API from Alfresco Explorer classes
         - Moved into AlfrescoFacesPortlet
         - portlet.jar was removed from alfresco.war for Liferay compatibility
   19506: Merged PATCHES/V3.1.2 to V3.2
      19218: (RECORD ONLY) Created hotfix branch off TAGS/ENTERPRISE/V3.1.2
      19229: (RECORD ONLY) Merged V3.1 to V3.1.2
         18577: Fix for ETHREEOH-4117, based on CHK-11154
      19341: Merged DEV/BELARUS/V3.1-2010_02_05 to PATCHES/V3.1.2 (with corrections)
         19156: ALF-1906: splitPersonCleanUpBootstrapBean is not able to remove duplicated users
         Also
         - improved detection of 'split' persons
         - added unit tests for person splitting and deleting
         - fixed duplicate person caching and sorting problems
         - prevented onUpdateProperties from firing needlessly in PersonServiceImpl and AuthorityDAOImpl when persons and authorities are created initially
      19342: (RECORD ONLY) Incremented version number
   19508: Merged PATCHES/V3.2.0 to V3.2
      18762: (RECORD ONLY) Created hotfix branch off V3.2.0-ENTERPRISE-FINAL
      18789: (RECORD ONLY) Merged BRANCHES/V3.2:r17905,18254,18319 to PATCHES/V3.2.0
         r17905 | markr | 2010-01-06 16:55:12 +0000 (Wed, 06 Jan 2010) | 3 lines
            ETHREEOH-3809 - WCM - First test server deploy fails.
               added yet another transaction to read the previous snapshot transaction.
               added a new system test based upon the WCM services.    The beginnings of testing against layered authored sandboxes.
         r18254 | janv | 2010-01-22 18:15:43 +0000 (Fri, 22 Jan 2010) | 1 line
            WCM/AVM - ETHREEOH-2057 (Submitting WCM Content through WF JSF Error - due to AVM Sync issue)
         r18319 | royw | 2010-01-27 12:18:27 +0000 (Wed, 27 Jan 2010) | 4 lines
            Merged BRANCHES/DEV/BELARUS/V3.2-2010_01_11 to V3.2
               18273: ETHREEOH-3834: WCM: An extral .xml.html file is created when editing newly created content
      18822: (RECORD ONLY) Merged DEV_TEMPORARY to PATCHES/V3.2.0
         18478: SAP XForms errors - ACT 15969
         18699: ETHREEOH-4171: HTTP 500 when filling in a WCM webform - ACT 15969
      18842: (RECORD ONLY)  Merged V3.2 to PATCHES/V3.2.0
         18701: Merged DEV_TEMPORARY to V3.2
            18693 : ETHREEOH-4182: ASR deployer fails to set the contentUrl of documents on the target system
               - Merged in fix related to closing output streams.
               - Increased coverage of unit test.
      18854: (RECORD ONLY) Merged V3.2 to V3.2.0
         18019: ETHREEOH-3770: LDAP sync now supports attribute range retrieval to get around limits imposed by Active Directory on multi-valued attributes
            - Meant that groups with more than 1000 members were getting truncated in Active Directory
            - Now switched on in ldap-ad and off in ldap subsystem
            - Also switched off result set paging in ldap subsystem by default for wider compatibility with non-AD systems
         18272: Merged DEV/BELARUS/V3.2-2010_01_11 to V3.2
            18257: ETHREEOH-4002: User/Group sync does not handle LDAP communication failures
               - Merged with corrections
         18276: ETHREEOH-4002: Correction to previous checkin - modification dates are only persisted after successful processing of users and groups, so need to delete them on comms failure
         18340: ETHREEOH-4069: LDAP sync cannot resolve DNs containing a slash character
            - Due to JNDI interpreting the slash character as a separator
         18403: ETHREEOH-4008: LDAP sync should preserve case of group members
            - Was incorrectly extracting attributes from lower-cased DN
         18846: ETHREEOH-4233: LDAP sync now synchronizes group display names
            - New ldap.synchronization.groupDisplayNameAttributeName property provides name of LDAP attribute
      18877: (RECORD ONLY) Merged /alfresco/BRANCHES/V3.2:r18616
         r18616 | markr | 2010-02-12 14:08:52 +0000 (Fri, 12 Feb 2010) | 1 line
            ETHREEOH-4181 - Access denied exception when deploying via avm deployment receiver
      19319: ALF-2043: User ID case sensitivity issues with Sharepoint Connector and External Authentication Subsystem
         - DefaultRemoteUserMapper and AlfrescoUserGroupServiceHandler should use personService.getUserIdentifier() to 'normalize' a username according to case sensitivity settings
         - NtlmAuthenticationHandler should also leave the normalization to personService
      19320: (RECORD ONLY) Incremented version label
      19380: ALF-2043: Revisit user ID case sensitivity in DefaultRemoteUserMapper
         - Has to use public PersonService in case it is accessed outside of a transaction
         - Fixed regular expression matching
         - Added unit tests to try out all the remote user mapper options
   19509: Merged PATCHES/V3.2.r to V3.2
      18803: (RECORD ONLY) Created hotfix branch off V3.2.r-ENTERPRISE-FINAL
      18833: (RECORD ONLY) Turn on Repo Doclib by default
      19054: (RECORD ONLY) Merging V3.2 to PATCHES/V3.2.r
         18787: MT: fix ETHREEOH-4125 - authority migration / batch processor (when upgrading groups from 3.1 to 3.2)
      19358: (RECORD ONLY) Merged DEV/BELARUS/V3.2-2010_01_11 to PATCHES/V3.2.r
         18699: ETHREEOH-4171: HTTP 500 when filling in a WCM webform
      19447: (RECORD ONLY) Incremented version label
   19518: ALF-757: Corrected audit config resource URL so that it resolves inside Tomcat as well as JUnit!
   19525: ALF-708: Use BatchProcessor to process duplicate persons in small batches in SplitPersonCleanupBootstrapBean
      - Even tested in a unit test!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-24 13:49:03 +00:00
Kevin Roast
769c7481c2 Fix for ALF-1524 - debug level logging if failed to resolve JSF managed bean
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-24 12:18:41 +00:00
Kevin Roast
2fed36c870 Merged V3.2 to HEAD
19363: *RECORD ONLY* Fix for ALF-1952 - multi-pass HTML stripping
   19527: Fix for ALF-1037 - only documents modified by current user should be shown in My Documents dashlet filter
   19528: Fix for ALF-944 - list of users for Group admin in Explorer now only retrieves data required for values on display

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-24 12:15:41 +00:00
David Caruana
6a19ab8088 Test Surf web script documentation - basic updates to CMIS web script descriptors.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-23 16:57:28 +00:00
Gavin Cornwell
5a434db32d Merged V3.2 to HEAD
19499: Merged V2.2 to V3.2
      19496: Merged BRANCHES/DEV/BELARUS/V2.2-2010_02_03 to BRANCHES/V2.2
         19300: ALF-511: It is impossible to edit rendering templates for a web form

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-23 12:19:47 +00:00
Dave Ward
91f0379afa ALF-691: Make alfresco.war work on Liferay v5.2.3
- Addition of a WEB-INF/liferay-plugin-package.properties file with speed-filters-enabled=false turned off the hackery that was causing myfaces to stop working


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-22 17:34:05 +00:00
Kevin Roast
cd7526ceca Fix for ALF-2118:
- Added new method to MimetypeService to retrieve a valid mimetype given any extension, handling case and missing values
 - Updated JUnit tests for MimetypeService methods
 - Fixed callers of MimetypeService to use new method to protect against varying case of file extensions (ALF-2118 root cause)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-19 14:45:29 +00:00
Kevin Roast
7b4b6d3537 Fix for error shown if empty search string used in Add User to Group dialog in Explorer.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-19 14:40:05 +00:00
Kevin Roast
68a778ed9b Merged V3.2 to HEAD
19392: ALF-2101 - Integrated contribution to allow custom content types to be specified as the default when creating or adding content

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19395 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-19 13:14:34 +00:00
Kevin Roast
8eb4f2b2c3 Latest SpringSurf libraries:
- Cleanup and improvements to RequestContext related classes.
 - Removal of obsolete Alfresco util classes.
Fixed up imports back to Alfresco versions of unused SpringSurf util classes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-16 19:06:54 +00:00
Mark Rogers
5036b6b86a ALF-2031 - DR and VT can't start
- undeleted and reinstated use of org.alfresco.util.Pair
   - undeleted org.alfresco.util.PropertyCheck which is used in the deployment code.
   - undeleted other org.alfresco.util.* classes which probably should never have been moved to spring surf.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-16 15:05:47 +00:00
Dave Ward
1cafe11ec8 Merged V3.2 to HEAD
19251:Merged V3.2.0 to V3.2
      19224: ALF-1999: Alfresco Explorer Group searches by display name now make correct use of AuthorityService
      19111: Final part of fix for ALF-1934 - show group 'display name' rather than group 'identifier'
   19088: Merged DEV/TEMPORARY to HEAD
      19005: Group Admin Scalability (SAP) implementation
      19078: ALF-1934: change the behaviour of 'Manage User Groups' similar to 'Manage System Users'


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-12 13:07:12 +00:00
Kevin Roast
4b0ba5644c Merged V3.2 to HEAD
18305: Fixed merge of fix for ETHREEOH-1619 from V3.1
   18366: Hide Delete button as fix for ETHREEOH-3917
           - Corrected UI to use correct DELETE method call  - but it has not been fully implemented on the repository side...
   18401: Fix for ETHREEOH-4076
   18413: Fix for ETHREEOH-3284
   18511: *RECORD ONLY* Fix for ETHREEOH-4162
   19120: *RECORD ONLY* ALF-1958 - AbstractWebScript improvements to allow scripts that exit due to a JavaScript exception to set the status code and message
   19144: *RECORD ONLY* Added PRE tag to whitelist of safe tags for HTML stripping in Share.
   19194: Fix for ALF-1950 - corrected handling of site URL names starting with an ISO9075 encoded character in Share search data webscript.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 12:17:43 +00:00
Dave Ward
477e9d61a1 ALF-1999: Refactored AuthorityService.findAuthorities to support search options required by Alfresco Explorer client in efficient manner
- optional parentAuthority argument - when set will only search for authorities under a given group
- optional immediate flag - when false means do a recursive search. When true means only return first level. When true and parentAuthority is null means root groups.
- search expression - which is tested against the short name and the display name
- reworked all existing calls for new semantics
- this method is for UI search only - not for existence checking!
  - removed some ill-informed calls


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19203 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 18:46:02 +00:00
Dave Ward
893cc14f16 ALF-1995: Removed remaining direct dependencies on portlet API from Alfresco Explorer classes
- Moved into AlfrescoFacesPortlet
- portlet.jar was removed from alfresco.war for Liferay compatibility

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19155 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 14:34:39 +00:00
Derek Hulley
d3bd0ff2f0 Removed svn:executable tag
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 00:43:42 +00:00
David Caruana
b7fede42fb Replace CMIS FileShare browser with OpenCMIS version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 17:06:44 +00:00
Paul Holmes-Higgin
f0d4fea412 Updated files to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18984 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 13:45:47 +00:00
Paul Holmes-Higgin
e563eb7449 Updated files to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 13:08:14 +00:00
Paul Holmes-Higgin
5fb268186c Updated files to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 10:32:39 +00:00
Paul Holmes-Higgin
60c08702d5 Updated files to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 21:36:59 +00:00
Gavin Cornwell
6221cbde08 Merged V3.2 to HEAD
18862: Merged DEV_TEMPORARY to V3.2 
      18699: ETHREEOH-4171: HTTP 500 when filling in a WCM webform (ACT-15969)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 22:04:55 +00:00
David Caruana
b3cb4d3953 Merging BRANCHES/DEV/CMIS_10 to HEAD (phase 2 - currently up-to-date with branch):
18717: SAIL-166: Refactor CMIS to use shared services and resolve objectIds and error codes consistently
   18731: SAIL-169: CMIS REST versioning compliance
   18732: Fix failing change log test.
   18768: Add displayName and queryName attributes to rendered properties (in CMIS AtomPub binding).
   18775: Fix exception reporting when retrieving items that do not exist (in CMIS AtomPub binding).
   18784: Fix CMIS REST change logging
   18785: SAIL-174: CMIS Relationship lookup by association ID
   18812: SAIL-183: Support orderBy argument for getChildren and getCheckedOutDocs in CMIS REST and Web Service bindings
   18823: CMIS WS Bindings were moved to 1.0 cd07 schema.
   18838: Update to latest Chemistry TCK.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 15:02:44 +00:00
David Caruana
03e7add24a Merging BRANCHES/DEV/CMIS_10 to HEAD:
17717: This check-in contains changes in Java and .NET TCK tests related to CMIS-43  and CMIS-44 JIRA tasks. Also some bugs were faced out and fixed in 
   17727: CMIS-69: Alfresco to CMIS ACL mapping: Part 1: API
   17732: Merge HEAD to DEV/CMIS10
   17756: MOB-563: SQL Tests - Lexer
   17764: CMIS-69: Alfresco to CMIS ACL mapping: get ACL support
   17802: More for CMIS-69: Alfresco to CMIS ACL mapping. Implementation for applyAcl.
   17830: Fixes for CMIS lexer and parser tests
   17838: Access fix ups for access by the WS/Rest layers
   17869: 1) remote-api:
   17874: SAIL-146: Alfresco to CMIS ACL mapping: Support to group ACEs by principal id
   17883: Adjust version properties for dev/cmis10 branch.
   17885: Update OASIS CMIS TC status.
   17889: Fix issue where objectid is not rendered correctly for CMIS private working copies.
   17890: SAIL-146: Alfresco to CMIS ACL mapping: Fixes for ACL merging when reporting and ordering of ACEs. Report full permissions and not unique short names.
   17902: Fix issue where CMIS queries via GET used incorrect defaults for paging.
   17909: Fix CMIS link relations for folder tree.
   17912: Fix CMIS type descendants atompub link
   17922: Update AtomPub binding to CMIS 1.0 CD05 XSDs.
   17924: SAIL-146: Alfresco to CMIS ACL mapping: Test set using full permissions (as opposed to short unique names)
   17927: Fix content stream create/update status to comply with CMIS 1.0 CD05.
   17934: Resolve encoding issues in CMIS AtomPub binding.
   17973: SAIL-171: CMIS Renditions REST binding
   17975: SAIL-146: Alfresco to CMIS ACL mapping: Completed AllowedAction and Permissions mapping. Added missing canDeleteTree.
   17990: Update CMIS AtomPub to CD06
   17996: Updates for cmis.alfresco.com for CD06 in prep for public review 2.
   18007: WS-Bindings were updated with CMIS 1.0 cd06 changes.
   18016: CMIS web services: Add missing generated files from WSDL
   18018: CMIS index page updates for cmis.alfresco.com
   18041: Merged HEAD to DEV/CMIS_10
   18059: SAIL-227:
   18067: SAIL-157: Strict vs Non-Strict Query Language: Enforce restrictions on the use of SCORE() and CONTAINS()
   18080: Fix for SAIL-213:Bug: Query engine does not check that select list properties are valid for selectors
   18131: SAIL-156: Query Language Compliance: Fix support for LIKE, including escaping of '%' and '_' with '\'.
   18132: SAIL-156: Query Language Compliance: Fix support for LIKE, including escaping of '%' and '_' with '\': Fix underlying lucene impl for prefix and fuzzy queries to match wildcard/like
   18143: SAIL-156: Query Language Compliance: Fix and check qualifiers in IN_TREE and IN_FOLDER. Improved scoring for CONTAINS()
   18173: SAIL-245: Exclude thumbnails from normal query results
   18179: SAIL 214: Query Language Compliance: Check for valid object ids in IN_FOLDER and IN_TREE
   18210: SAIL-156:  Query Language Compliance: Support for simple column aliases in predicates/function arguments/embedded FTS. Check property/selector binding in embedded FTS.
   18211: SAIL-156:  Query Language Compliance: Support for simple column aliases in predicates/function arguments/embedded FTS. Check property/selector binding in embedded FTS.
   18215: SAIL 156: Query Language Compliance: Fix CMIS type info to reflect the underlying settings of the Alfresco type for includeInSuperTypeQuery
   18244: SAIL 156: Query Language Compliance: includeInSuperTypeQuery -> includedInSuperTypeQuery: First cut of cmis query test model. Fixed modelSchema.xml to validate
   18255: SAIL 156: Query Language Compliance: First set of tests for predicates using properties mapped to CMIS Strings.
   18261: CMIS-49 SAIL-163: Alfresco to CMIS Change Log mapping - New CMIS Audit mapping is implemented. ChangeLogDataExtractor was added.
   18263: Build Fix
   18285: SAIL 156: Query Language Compliance: Restrictions on predicates that may be used by single-valued and multi-valued properties
   18287: SAIL-186: Changes to make CMIS Rendition REST bindings pass new TCK tests
   18291: Fix Eclipse classpath problems
   18323: CMIS-44 SAIL-187: Change Log tests (WS) – Java and .NET tests for change log were implemented.
   18325: SAIL 156: Query Language Compliance: Fixes and tests for d:mltext mappings
   18329: Updated Chemistry TCK jar including Dave W's rendition tests.
   18333: Fix compile error - spurious imports.
   18334: Fix issue where absurl web script method failed when deployed to root context.
   18339: Update CMIS index page for start of public review 2.
   18387: SAIL-147: CMIS ACL REST bindings + framework fixes
   18392: Fix typo
   18394: SAIL 156: Query Language Compliance: Fixes and tests for d:<numeric>
   18406: SAIL 156: Query Language Compliance: Remaining type/predicate combinations. Restriction of In/Comparisons for ID/Boolean
   18408: CMIS Query language - remove (pointless) multi-valued column from language definition
   18409: Formatting change for CMIS.g
   18410: Formatting change for FTS.g
   18411: CMIS TCK tests were updated to CMIS 1.0 cd06 schemas.
   18412: SAIL 156: Query Language Compliance: Tests and fixes for aliases for all data types in simple predicates (they behave as the direct column reference)
   18417: Update Chemistry TCK which now incorporates Dave W's ACL tests.
   18419: Update CMIS index page to include public review end date.
   18427: SAIL 156: Query Language Compliance: Expose multi-valued properties in queries. Tests for all accessors. Fix content length to be long.
   18435: SAIL 156: Query Language Compliance: Use queryable correctly and fix up model mappings. Add tests for baseTypeId, contentStreamId and path.
   18472: SAIL 156: Query Language Compliance: Tests and fixes for FTS/Contains expressions. Adhere strictly to the spec - no extensions available by default. Improved FTS error reporting (and stop any recovery).
   18477: SAIL-164: CMIS change log REST bindings
   18495: SAIL 156: Query Language Compliance: Tests and fixes for escaping in string literals, LIKE and FTS expressions.
   18537: SAIL 156: Query Language Compliance: Sorting support. Basic sort test for all orderable/indexed CMIS properties.
   18538: SAIL-164: CMIS change log fixes for TCK compliance
   18547: SAIL 156: Query Language Compliance: Ordering tests for all datatypes, including null values. 
   18582: Incorporate latest Chemistry TCK
   18583: Update list of supported CMIS capabilities in index page.
   18606: SAIL-156, SAIL-157, SAIL-158: Query Language Compliance: Respect all query options including locale. Fixes and tests for MLText cross language support.
   18608: SAIL-159: Java / Javascript API access to CMIS Query Language
   18617: SAIL-158: Query Tests: Check policy and relationship types are not queryable.
   18636: SAIL-184: ACL tests (WS) 
   18663: ACL tests were updated in accordance with last requirements by David Caruana.
   18680: Update to CMIS CD07
   18681: Fix CMIS ContentStreamId property when document has no content.
   18700: CMIS: Head merge problem resolution.

Phase 1: Merge up to and including revision 18700, as this the point where both AtomPub and Web Services TCK tests succeed completely on dev branch.

Note: includes CMIS rendition support ready for integration and testing with DM renditions.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-23 17:23:42 +00:00
Mark Rogers
cdbeba0cd0 Merged V3.2 to HEAD
17850 : Addition of AVM - DM deployment.
    17905 : ETHREEOH-3809 - WCM - First test server deploy fails.     
	- added yet another transaction to read the previous snapshot transaction.    
	 - added a new system test based upon the WCM services.    The beginnings of testing against layered authored sandboxes.
    17907 : ETHREEOH-3806 - WCM Contributor cant release test server.   
	 -  release test server now runs without permissions checks (like the deploy action does)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-18 14:50:06 +00:00
Gavin Cornwell
7cbb3a0daf Merged V3.2 to HEAD
18484: Merged DEV-TEMPORARY to V3.2 
                  18478: XForms errors - ACT 15969

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-05 21:02:51 +00:00
Gavin Cornwell
6989a3fcb3 Merged V3.2 to HEAD
18358: Merged DEV_TEMPORARY to V3.2
                  18177 & 18342:  ETHREEOH-3979: Web Forms: Inline images within TinyMCE controls aren't displayed correctly

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-01-28 21:18:35 +00:00
Mike Hatfield
974b578395 Merged V3.2 to HEAD
18306: ETHREEOH-4047 - Failure adding comment to a file or a folder in Repository
      ETHREEOH-4051 - Incorrect icon is displayed near the new added tag
      ETHREEOH-4053 - Inline action is not working via details page
   18312: Visible year updates (Explorer and Share clients)
   18313: ETHREEOH-4020 - Internet Explorer fixes for Repo DocLib & associated refactoring (first pass)
   18330: ETHREEOH-4020 - Internet Explorer fixes for Repo DocLib & associated refactoring (second pass, mostly IE7)
      ETHREEOH-4063 - It's impossible to upoad new version via documents details page
   18347: *RECORD ONLY* ETHREEOH-4070 - Update the Help URLs for 3.2r (Part 2 of 2)
   18348: *RECORD ONLY* ETHREEOH-4070 - Update the Help URLs for 3.2r (Part 1 of 2)
   18349: ETHREEOH-4068 - Diffrent behaviour after clicking Category Root link
      ETHREEOH-4067 - Incorrect behaviour after clicking the last category in breadcrumbs
      ETHREEOH-4073 - Issues with Forms in Share pop-ups (destroy old instances)
   18350: ETHREEOH-4073 - Issues with Forms in Share pop-ups (tabbing)
   18351: ALFCOM-3798 - Form Validation for Picker controls like category never fires

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-01-28 17:57:35 +00:00
Gavin Cornwell
3da6e266f8 Merged V3.2 to HEAD
17891: Merged DEV_TEMPORARY to V3.2
                  17873: ETHREEOH-3810: WCM - Recursion detector erroring
   18032: Merged V3.1 to V3.2
                 18030: Merged V2.2 to V3.1
                    17683: Merged DEV_TEMPORARY to V2.2 (back-port of fix)
                       17677: ETHREEOH-2778: davfs2 is not working correctly with Alfresco
                    17880: Merged DEV_TEMPORARY to V2.2 (record-only as fix is already applied to 3.1 branch)
                       17845: ETWOTWO-1289: My Web Files (Forms) dashlets: XSS Attck can be made when web project's details has been edited
   18062: Merged DEV_TEMPORARY to V3.2
                 18036: ETHREEOH-1844: Text field (areas) became non-editable if user use navigate-remove combination for repeatable elements on Create Web content based on web form screen
   18205: Merged V3.1 to V3.2 (record-only)
                  *RECORD ONLY* Merged DEV/TEMPORARY to 3.1
                  17837: ETHREEOH-3801: Creating users via the api does not add them to the user store
   18277: Merged DEV_TEMPORARY to V3.2
                  18178: ETHREEOH-3222: ERROR [org.alfresco.webdav.protocol] WebDAV method not implemented - PROPPATCH
   18311: Fix for ETHREEOH-3872: forms32 examples not working
   18317: Remaining fixes to forms samples (ETHREEOH-3872)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-01-27 12:13:56 +00:00
Mike Hatfield
482017a870 Merged V3.2 to HEAD
18207: Merged DEV/TEMPORARY to V3.2
      17887: ETHREEOH-3853: FF 3.0: Exception after double click on 'Add button'.
      18068: ETHREEOH-3623: Script Error on page "Web Form Details"
      18097: ETHREEOH-3826: System Error occurs on "More Actions" page for a Space after "Edit Details" page for the same Space has been previously opened
      18168: ETHREEOH-3789: Rule with simple workflow moves document to incorrect space
   18238: Fix for ETHREEOH-4000 - WebScript extensions readme.ftl template fixed.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-01-26 12:33:55 +00:00
Mike Hatfield
3f1fc77797 Merged V3.2 to HEAD
18052: Merged DEV/REPO-DOCLIB to V3.2
      17653: Checkpoint Repo DocLib prototype work
      17741: Repo DocLib checkpoint. Forms tag picker support for "create new tag". Data webscripts to also support create tag. Object picker appears in YUI panel rather than inline. Edit metadata dialog now uses Forms runtime. Document & Folder details pages working in non-site mode (but not actions). Added new Share form config file. RM fixes based on DocLib refactoring. Numerous other fixes throughout to support Repository mode.
      17742: Merged V3.2 to DEV/REPO-DOCLIB
         17633-17741: Latest V3.2 fixes
      17761: Repo DocLib checkpoint. New category code & visuals. Path fixes. Object picker fixes. New "locate" action.
      17783: Merged DEV/GAV/FORMS-33 to DEV/REPO-DOCLIB
         17673: First cut of rich text form control (tinymce)
         17691: Wrapped the Alfresco.util.RichEditor object as a Share JavaScript component (Alfresco.RichTextControl)
                Updated rich text control FTL to instantiate new Alfresco.RichTextControl component
         17699: Created separate controls for 'richtext' and 'content', both use same underlying JavaScript object though content control displays appropriate control or completely hides field depending on content's mimetype
                Added ability to persist content properties (now able to create new instance of cm:content from test form)
                Error message is now displayed when form fails to submit successfully
         17707: Mimetype of created content can now be controlled via form field
         17713: Content control now retrieves content so inline editing of textual content is now possible
      17810: Repo DocLib checkpoint. Create content
      17817: Fixed code path where mimetype for created content does not get set and thus defaults to octet-stream
      17979: Repo DocLib checkpoint. DocLib History manager (& YUI bugfix) and cross-Share filter handling refactor.
      18027: Repo DocLib checkpoint: Records Management DocLib refactor to new extension pattern. New config to show/hide Repository link in header (hidden by default). "Company Home" renamed to "Repository" to allow arbitrary nodeRefs as root (draft impl.)
      18035: Merged V3.2 to DEV/REPO-DOCLIB
         17743-18030: Latest V3.2 fixes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-01-26 11:59:29 +00:00