2813 Commits

Author SHA1 Message Date
Roy Wetherall
f9b7237eab ALF-2703: Incorrect folder sctructure is created in Google Docs
If the transaction within which folders or documents are created within Google Docs fails then the created items will be rolledback as if part of the Alfresco transaction.  This prevents the behaviour reported in this issue.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-13 09:32:35 +00:00
David Caruana
a9267014d7 Fix ALF-2774: Atompub createDocument with versioningState=checkedout followed by checkin does not create major version
Fix ALF-2782: AtomPub binding incorrectly handles atom:title when no value is provided (often done for compliant atom entry)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-12 10:10:01 +00:00
David Caruana
39febbbcd8 Fix ALF-2765: Renditions created via 3.3 RenditionService are not exposed via OpenCMIS rendition API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-10 18:15:53 +00:00
Andrew Hind
8a1936796a First part of fix for ALF-2718: DOD5015 module breaks CMIS Atom DiscoveryService webscripts
- unlimited result sets with no security enforcement were not sized correctly

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-07 20:22:42 +00:00
N Smith
682e614cbb Fixing failing test InvitationServiceImplTest.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-05 10:46:24 +00:00
N Smith
59b038daeb ALF-959
The invitation email 'subject' can now be set as a localizable property in invitation-services.properties: 

invitation.invitesender.email.subject 

The various roles can also be substitued with properties which are set in the same file. The property key format is: 
invitation.invitesender.email.role.<RoleName> 
where <RoleName> is replaced by the specific role to be localized. E.g: 
invitation.invitesender.email.role.SiteManager 
invitation.invitesender.email.role.SiteConsumer 
Etc. 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-04 17:26:11 +00:00
Neil McErlean
30084dde24 Merge from V3.3 to HEAD
20069 Fix for unreported issue where the Rendition Service's JavaScript API cannot be used to execute ad hoc rendition definitions.

Rendition Definitions can be created and executed programmatically. This works fine via the Java Foundation API, but is broken in the JavaScript API.
The rendition nodes are not correctly created for ad hoc rendition definitions created in JavaScript.
Note that the built-in rendition definitions work fine in JavaScript.

This fix:
    - ScriptRenditionDefinition now extends ScriptAction in order to reuse its parameter handling and execution code.
    - ScriptRenditionDefinition now mimics ScriptAction so you can call
            renditionDef.execute(testSourceNode); in JavaScript.
    - more test coverage in the test_renditionService.js to reproduce the issue.
    - adds debug logging in various places in the rendition service.
    - changes ScriptAction to be a non-final class so that it can be extended by ScriptRenditionDefinition.
    - fixes some fragile asserts in test code.
    - changes a few fields to protected visibility and provides an extension point so that the rendition service can execute its "actions" as renditions rather than simple actions.
    - trivial. tidied up some unused imports in ScriptNode.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-04 15:31:23 +00:00
Roy Wetherall
f827a88a31 Google Doc Integration
- improved logging



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 14:08:44 +00:00
Roy Wetherall
3a8e5b4cfe GoogleDoc integration
- sharing email for a person is now first taken from the googleusername property on the person object, if thisn't set it falls back to the user's email
  - if google rejects the email (with a server error) when setting the permissions on a document, this no longer rolls back the transaction, but logs the error instead
  - unit tests 
  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 13:35:52 +00:00
Brian Remmington
5c87d5eb87 Fixed a bug that shows itself when placing a new rendition directly under Company Home, and also tweaked the name of the "companyHome" object on the path template model to be "companyhome" to be consistent with the naming in the script API.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 12:11:57 +00:00
N Smith
133ddec64a Fixing broken test InviteSenderTest.testSendInviteWorkingPath.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 11:53:20 +00:00
Andrew Hind
77c21e5be4 Fix for ALF-2609: CMIS ACL mapping improvements
- missing changes to the permission model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 11:21:48 +00:00
Andrew Hind
54c67e5aa2 Fix for ALF-2609: CMIS ACL mapping improvements
- repository specifc reporting includes actual assigned permissions + CMIS permissions reported as indirect 
- CMIS format reports cmis permissions directly set for Read, Write and All only
- Apache Chemistry CMIS AtomPub TCK pass
- cmis-tck-ws ACL test pass

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 10:26:39 +00:00
David Caruana
f71a5f7267 Fix ALF-2637: objectTypeId updatability reported as "readonly" rather then "oncreate"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 09:38:22 +00:00
Roy Wetherall
4678f1420f Fix up google doc tests
- Added service initialisation method to service so the "health" of the service can be determined
- Unit tests do not fail if the google doc service has not been configured correctly



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 09:04:09 +00:00
Roy Wetherall
6563c1c008 Removal of google doc now works
- Calling delete on google doc service API now successfully perminantly deletes the corresponding google document
 - Unit test used to show document deleted
 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 08:14:13 +00:00
N Smith
f09e9b85b1 ALF-1568 Expanded the JSON returned by the api/sites/{siteName}/invitations webscript and various other related webscripts. The JSOn now includes an "invitee" object with a structure
{  "avatar" : "avatarThumbnailURI",
   "firstName" : "John",
   "lastName" : "Smith",
   "userName" : "johnsmith"
}

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-29 11:14:15 +00:00
Brian Remmington
aa06314b72 ALF-2620: Fixed problem with the paths being used in rendition path template model. "cwd" is now a file/display path and "companyHome" is a TemplateNode.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-28 15:58:18 +00:00
Gary Spencer
8bf1c1042c Added file allocation size tracking to the repo filesystem. Part of ALF-1554.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20024 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-28 09:04:34 +00:00
Mike Hatfield
cda2cccfd3 Merged DEV/GDOCS to HEAD
Google Doc Integration
- The following configuration must be added to your alfresco-global.properties in order to enable the googleeditable repository behaviour:
  googledocs.username=myuser@bob.com
  googledocs.password=pwd123pwd
  googledocs.googleeditable.enabled=true
Google Docs Share Integration
- Enabled via share-config (see share-config-custom.xml.sample for details)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 17:08:09 +00:00
Dave Ward
a289049b41 Merged V2.2 to HEAD
19977: (RECORD ONLY) Merged PATCHES/V2.2.7 to V2.2
      19778: (RECORD ONLY) Incremented version label
   19976: Merged PATCHES/V2.2.7 to V2.2
      19776: ALF-2011: Audit doesn't take into account CIFS authentication
         - Now that we've backported the ticket granting auditing, converted the Alfresco CIFS authenticators to use ticket-based authentication, rather than directly manipulating ACEGI
         - Needs thorough testing with password, NTLM, Passthru and Kerberos
      19891: ALF-2011: Audit doesn't take into account CIFS authentication
         Since each child of the CifsAuthenticator is not a Spring configured bean it has no Transaction interceptor. The Transaction wrapping functionality was added into the CifsAuthenticator.setCurrentUser() to fix a Transaction Synchronization issue after successful authentication of the user.
         Several little corrections added into the InMemoryTicketComponentImpl to allow "Null user". "Missing ticket for null" exceptions will be thrown instead of the NullPointerException
      19903: ALF-2011: Minor cleanup/formatting only
   19975: (RECORD ONLY) Merged PATCHES/V2.2.7 to V2.2
      19769: ALF-2011: Backported dependencies
         ALF-2360: Merged V3.1 to PATCHES/V2.2.7
            17314: ETHREEOH-3158: Fix RepoServerMgmt to work with external authentication methods
               - AuthenticationService.getCurrentTicket / getNewTicket now call pre authentication check before issuing a new ticket, thus still allowing ticket enforcement when external authentication is in use.
         ALF-2361: Merged V3.2 to PATCHES/V2.2.7
            17456: Fix for: ETHREEOH-1465: It's impossible to get the login history for a given user (Audit)
               - all authentication routes (SSO and password) can now audit getting a new ticket for a session. SSO does not authenticate via the alfresco AuthenticationService API
               - you can now use auditing to track new sessions for users.
   19834: (RECORD ONLY) Increment version (from 2.2.7 to 2.2.8)
   19833: (RECORD ONLY) Merged PATCHES/V2.2.7 to BRANCHES/V2.2:
      19832: Merged BRANCHES/V3.1 to PATCHES/V2.2.7:
           17255: Fixed ETHREEOH-3180: Error appears when trying to search resources on Manage Task page
   19578: (RECORD ONLY) Merged V3.0 to V2.2
      19574: Merged V3.1 to V3.0
         19573: Merged V3.2 to V3.1
            19539: Merged HEAD to V3.2
               19538: Build fix - fix build speed


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 14:14:48 +00:00
Neil McErlean
7aba799ed8 SAIL-352 Added i18n keys and values for the Rendition Service's rendering engines (actions) and their parameters.
This included some overrides of getParamDisplayLabel() in the RenditionService classes to support i18n key-value pairs which are common across many rendering engines.

These actions and their parameters have been hidden by Erik in the default Alfresco config. The changes contained in this check-in mean that 3rd parties could show these actions and parameters and see useful labels.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 12:41:03 +00:00
Dave Ward
051508c21d Merged PATCHES/V3.2.r to HEAD
19546: (RECORD ONLY) Merged V3.2 to PATCHES/V3.2.r
      19432: Merged V3.1 to V3.2
         19427: Merged V3.0 to V3.1
            19423: Merged V2.2 to V3.0
               19391: Fix for ALF-2076: AUTO does not work if a document has been added and deleted since the index backup
               19419: V2.2 Build Fix
               19421: Fix for ALF-2076: AUTO does not work if a document has been added and deleted since the index backup
      19463: Merged V3.1 to V3.2
         19459: Merged V3.0 to V3.1
            19457: Merged V2.2 to V3.0
               19449: Addition Fix for ALF-2076: AUTO does not work if a document has been added and deleted since the index backup
      19493 Merged V3.1 to V3.2
         19471: Build fix after changes for ALF-2076 were merged forward. Index checker correctly understands INDETERMINATE state of indexed transactions
   19547: (RECORD ONLY) Incremented version label
   19555: (RECORD ONLY) Merged V3.2 to PATCHES/V3.2.r
      19552: Merged V3.1 to V3.2
         19551: Further fix after changes for ALF-2076 were merged forward. Final fix to check for InIndex.No
   19566: (RECORD ONLY) Merged V3.2 to PATCHES/V3.2.r
      19539: Merged HEAD to V3.2
         19538: ALF-2076: Build fix - fix build speed
   19802: (RECORD ONLY) ALF-2382, ALF-2383: Merged V3.2 to PATCHES/V3.2.r
      19647: ALF-2231: Merged DEV/BELARUS/V2.2-2009_12_01 to V3.2 
         17704: ENH-681: alfresco webdav does not respect webdav locks 
      19624: ALF-2231: Merged DEV/BELARUS/V2.2-2009_12_01 to V3.2
         17704: ENH-681: alfresco webdav does not respect webdav locks
      19623: ALF-1890: Correction to previous checkin to allow defaulting of request body charset
      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
      19614: ALF-1890: Merged V2.2 to V3.2
         17709: Merged DEV_TEMPORARY to V2.2
            17700: ETWOTWO-1393: concurrent writes to webdav lead to data loss (0kb resulting file)
         19613: Merged DEV/BELARUS/V2.2-2010_02_03 to V2.2
            19157: ALF-1890: concurrent writes to webdav lead to data loss (0kb resulting file)
   19803: ALF-558: File servers (CIFS / FTP / NFS) can now handle concurrent write operations on Alfresco repository
      - ContentDiskDriver / AVMDiskDriver now use retrying transactions for write operations
      - Disable EagerContentStoreCleaner on ContentDiskDriver / AVMDiskDriver closeFile() operations so that they may be retried after rollback (Sony zero byte problem)
      - Allow manual association of AVM ContentData with nodes so that closeFile() may be retried
      - Propagation of new argument through AVM interfaces
   19804: (RECORD ONLY) Merged PATCHES/V3.2.0 to PATCHES/V3.2.r
      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@20004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 10:57:47 +00:00
Derek Hulley
9a7df0ed38 Added protected method AbstractContentAccessor.setContentUrl
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 10:39:57 +00:00
Derek Hulley
bfe6034e5c ALF-2591: FixNameCrcValuesPatch needs to use Savepoint (PostgreSQL)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20002 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 10:13:11 +00:00
Derek Hulley
c46bc9dd26 Fix ALF-2591: FixNameCrcValuesPatch needs to use Savepoint (PostgreSQL)
- PostgreSQL doesn't have automatic recovery after constraint violations
 - Added in calls to new ControlDAO's createSavepoint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 09:58:28 +00:00
Neil McErlean
a8764cd8ad Fix for ALF-1937. title property text gets cut off after fullstop character found and filename extension is appended during document TransformAction
Also tidied up the handling of names and titles during transform to avoid other potential bugs. Added a Unit Test class to cover the obvious cases.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-26 19:21:12 +00:00
Jan Vonka
f367dd8e74 Unit test fix for PostgreSQL (which does not support '\u0000' embedded in a string)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-26 15:42:35 +00:00
Andrew Hind
6239095959 Part 1 of fix for ALF-2500: (CMIS) query with a ! in contains search make it strange
- refactor CMIS SQL to have its own full text search parser and not reuse the Alfrecso FTS parser
- working parser and unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-26 14:32:59 +00:00
Andrew Hind
0c047b153a Test fix after change to default namespace use in query
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-23 20:18:22 +00:00
Andrew Hind
6013702f8d Fix for ALF-63: Search: Property names are case sensitive
- fixed all query looks up against the DD to be case insensitive - unless there is any ambiguity
- exact matching will be faster

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-23 19:36:33 +00:00
Mark Rogers
4a59aba351 ALF-2549 - FixNameCrcValues attempts to create log in current directory.
- now the log is created in a long life temp dir.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-23 14:50:34 +00:00
Andrew Hind
6f82287b74 Fix for ETWOTWO-400 : Group names can not contain "
- authority service find query now uses lucene to escape all chars in the phrases it builds for user and people search.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-23 11:28:39 +00:00
Andrew Hind
1b80efb03c Fix for ETWOTWO-725: API Spelling error in method CategoryService.createClassifiction should be CategoryService.createClassification
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 19:57:37 +00:00
Andrew Hind
050d96e38b Fix for ETWOTWO-352: Searching for categories with comma characters gives query parser exception
- added unit test that upper cased encodings are valid

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 19:52:27 +00:00
Neil McErlean
42390dfd1b Fix for ALF-2047. The fix was to ensure that rendition definitions that produce thumbnails always have PARAM_RENDITION_NODETYPE=cm:thumbnail. To do this, I removed the parameter from the create thumbnail code and added it to the ThumbnailRenditionConvertor, from where it will be picked up by all the code that needs it.
Formerly, the parameter was only set for create thumbnail calls, but not for update thumbnail calls. Therefore when the content nodes were changed as described in the issue, the updated thumbnails were of the default type in the rendition service, which is cm:content which leads to problems in various views.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 14:40:10 +00:00
Neil McErlean
c3e0afa696 Reimplementation of ALF-2220 fix. The ThumbnailRegistry.initThumbnailDefinitions method now detects if the transaction service is read-only and if it is it does not persist any thumbnail definitions. This behaviour fixes ALF-2220.
As part of this change, I have reverted the behaviour so that (for write-mode databases) thumbnail definitions will be persisted on startup even if they have already been persisted. In this way, we can support 3rd party developers who are changing their thumbnail definitions during development.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 13:58:15 +00:00
Jan Vonka
f5e487cc96 Activities feed cleaner: improvement to maxFeedSize (to take into account current Share Activitities dashlet use-case)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 12:27:36 +00:00
Gary Spencer
c18a123228 Refactor of the file state cache code. (Part 2 of 2).
Removed the repo specific file state cache code.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 12:16:04 +00:00
Mark Rogers
ebc24ad0e0 ALF-2126 - more updates for the FileFolderService.
- bug fix 
   - unit test expansion
   - have now deprecated the search methods

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-22 11:57:07 +00:00
Mark Rogers
3d3460241d ALF-2126 - IMAP extremely slow (read: unusable) if messages are uploaded to server
- updates to the file folder service for deep listings

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 18:37:47 +00:00
David Caruana
e64c4114a2 Update CMIS index page - spec references.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 15:26:01 +00:00
Andrew Hind
c3a112f425 Fix for ALF-927: sp.setMaxItems(0) miss interpreted while searching.
- fixed comment to reflect behaviour as required.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19936 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 14:35:33 +00:00
Mark Rogers
10ee7dc2dc Merge DEV to HEAD
19768 : ALF-2346 - IMAP Image File not extracted from body of email

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 11:49:59 +00:00
Andrew Hind
65695eda66 Build fix: Full index recovery test now recovers all indexes (we now delete the indexes on FULL rebuild which means subsequent test will fail to validate)
- DM index ignores AVM stores
- AVM stores are also rebuilt in the test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 11:44:00 +00:00
Nick Burch
8a3a6ed4f9 Try to improve information on if/when the context won't cleanly shutdown, by making the close more explicit, which will hopefully help with ALF-2485
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 11:21:56 +00:00
Nick Burch
45c757fee8 Add metadata extractor support for .dwg files (ALF-2262)
The code for extracting .dwg files has been contributed to Apache tika, and the Alfresco metadata extractor deep calls into Tika to have the work done. We retain our own tests of this however.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19927 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-21 10:17:11 +00:00
Andrew Hind
2861feadb6 Fix for ALF-2329: Parameter to automatically remove the existing index directories before doing a FULL re-index
- full reindex now deletes any existing DM and AVM indexes
- the index directory is tidied up int eh backround which may take some time
- includes fix to check async snapshots are in the index (it was checking sync twice ...)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 16:51:17 +00:00
Jan Vonka
d74f934789 Fix ALF-2499 (Deleting a web project also deletes similarly named web projects - Potential Data Loss)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 15:36:45 +00:00
Mark Rogers
b53c4f4fae Merge DEV to HEAD
19904 : ALF-2126 - IMAP extremely slow (read: unusable) if messages are uploaded to server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 13:05:05 +00:00