2609 Commits

Author SHA1 Message Date
Neil McErlean
b39667ad40 RenditionService. Providing extra extension point in thumbnail-rendition conversion
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-07 14:49:32 +00:00
Neil McErlean
ef6595c3de Fixed bug in test code that was causing test failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-07 14:26:01 +00:00
Neil McErlean
bce28a5599 Merging DEV_TEMPORARY to HEAD (RenditionService)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-05 20:02:52 +00:00
Andrew Hind
ad84497735 Build Fix: Collateral damage from Fix for ALF-1578: Custom property data fields not searchable due to lucene DEFAULT.ftsIndexerJobDetail exception
- isIndexed needs a default is it is mandatory in the binding

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-05 13:18:33 +00:00
Roy Wetherall
81111c11d8 Added option to execute all rules on children
Added a boolean parameter to execute all rules action which traverses all child folders and executes all their rules too.  This should be used with caution as it it potentially expensive.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-05 01:34:47 +00:00
Andrew Hind
1862567b34 Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 22:38:02 +00:00
Andrew Hind
b77cbc5ee2 Fix for ALF-1578: Custom property data fields not searchable due to lucene DEFAULT.ftsIndexerJobDetail exception
- corrected default behaviour in the M2 model by  moving from the JibXed classes (we tend not to define default values in the m2 binding)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 15:05:45 +00:00
Mark Rogers
e14e100480 A few more package-info
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 13:47:32 +00:00
Andrew Hind
9636cc5209 SAIL-342: Alfresco to CMIS ACL mapping: change isExtract to isExact on CMISAccessControlReport
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 11:17:24 +00:00
Jan Vonka
765ee0c581 AVM unit test improvements
- ensure AVMServiceTest.testSetup can run after AVMServicePermissionsTest.*
- include avm/**/*TestP.java (as per AVMTestSuite, until re-introduced)
- allow PurgeTestP to fail (if orphanReaper does not finish in max cycles)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 11:09:03 +00:00
Brian Remmington
7f66912891 Reintroduced the transfer test case that was showing a problem with the recent changes made to the TransactionalCache. This is now working.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 09:02:39 +00:00
Roy Wetherall
1544887f4e Link rules now automatically re-links
- Calling link rules on an already linked folder will automatically unlink from the exisiting folder before linking to the new one.
 - Unit tests updated



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-04 00:15:09 +00:00
Dave Ward
673add1796 Allow management of Alfresco Aspects through CMIS REST and SOAP APIs
- In CMIS methods that allow setting of node properties, the <cmis:properties> element may carry an <alf:setAspects> extension that lists
  - aspectsToRemove    
  - aspectsToAdd
  - properties (properties to set belonging to aspects rather than the node type)
- In CMIS methods that allow retrieval of node properties, the <cmis:properties> carries an <alf:getAspects> extension that lists
  - appliedAspects
  - properties (properties belonging to aspects rather than the node type)
- Added extension types to Alfresco-Core.xsd and referenced in extended WSDL
- Plumbed in to Web Service and REST APIs

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 18:03:58 +00:00
Derek Hulley
9a966ac2b3 Reversed out 18868: Transactional caches in nested transactions force the outer txn caches to drop new data
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19002 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 15:54:09 +00:00
Mark Rogers
46f2fe2812 Implementing (some of) transfer service review rework.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-03 15:10:31 +00:00
Paul Holmes-Higgin
ec876e46dc 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
David Caruana
cd339edad4 Update to latest Chemistry TCK for new relationship tests
- also fix relationship issues as found by relationship tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 18:08:21 +00:00
Mark Rogers
96193a759a ALF-1590 - Checking twice for same property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 16:20:34 +00:00
Mark Rogers
22f074c9ab ALF-1584 - Wrong QName usage in org.alfresco.repo.jscript.ContentAwareScriptableQNameMap.get(Object name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 14:38:37 +00:00
Mark Rogers
9ad5ee91d3 ALF-1926 - org.alfresco.jcr.item.PropertyImpl.remove() throws ValueFormatException on multi-valued properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 14:23:52 +00:00
Neil McErlean
98b2c31c61 Despite recent changes which fixed this test on my local machine, it continues to fail on the build server.
I've disabled the tests in this class temporarily until the author gets back.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 10:57:52 +00:00
Roy Wetherall
7d80cb0867 Added reordering action
- the actioned upon node is the node that has the rules
- the rule nodes are provided as a multi-value property (list of node refs) and then reordered in the order found on the list
- additional existance checks where added to the link/unlink actions



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-02 00:27:35 +00:00
Paul Holmes-Higgin
cefda8c965 Updated header to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 22:48:39 +00:00
Paul Holmes-Higgin
43e93f3c14 Updated header to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 22:09:17 +00:00
David Caruana
038d7b9883 Further fix to cmis relationship direction enum handling.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 16:30:46 +00:00
David Caruana
f5386fa53c Fix relationship direction argument handling as found by OpenCMIS tests.
- added none value to enum
- fixed mapping of value to enum

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 15:30:29 +00:00
Mark Rogers
9a61ebaae1 JavaDoc for transfer service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 15:06:38 +00:00
Mike Hatfield
bbbb60c3af SAIL-97 - Granular permissions.
also: DocLib webscript refactor. Fix to ScriptNode's permissions API. TemplateNode's permissions API extended.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 14:37:17 +00:00
Mark Rogers
9d479d005a Fixed test which was creating test nodes in the wrong location. One test commented out for Brian to look at.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 13:06:32 +00:00
David Caruana
86e84a93af Fix canGetFolderParent and canGetObjectParents allowable actions for root folder.
- always returning true, but now take into account that parent actually exists and is readable.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 12:26:55 +00:00
Mark Rogers
ac71fed3db Bug fix for primary parent assoc in XMLTransferManifestReader
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 11:21:45 +00:00
Mark Rogers
e6813d1620 Test fix to Content Chunker.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 10:31:49 +00:00
Dave Ward
1b96984c3a SAIL-173: Added processing of includeRelationships argument to CMIS REST and SOAP bindings
- Despite its name, this argument is not a Boolean!
- TODO: Extend TCK to test relationships

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-27 15:23:11 +00:00
Dave Ward
73f11285b7 Merged DEV/CMIS_10 to HEAD
18731: SAIL-169: CMIS REST versioning compliance
      - Rendering of "via" link for working copy and "current-version" and "working-copy" links for documents
      - Added ability to dereference object IDs in cmisproperty() template function
      - Fixed broken CMIS index page


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-27 13:24:10 +00:00
David Caruana
396dbb6ef7 Fix CMISChangeLogServiceTest.
- initialise audit subsystem in separate transaction

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 18:49:28 +00:00
Nick Burch
94af793cd7 The content metadata and transform packages have their own test suites, with their own minimal contexts, so don't duplicate them in the main context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 17:07:52 +00:00
Nick Burch
c0912cfe09 New test which shows we can repeatedly stop and start the minimal context. (Tests to stop and start the full context are disabled as currently we can't...)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 16:24:28 +00:00
Jan Vonka
7e9618fb4e Fix WCM/AVM test failures (fix typo from r18840)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18889 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 16:06:28 +00:00
Dave Ward
eaa39abc27 Improved backward compatibility with default audit settings
- audit.useNewConfig=false is now the default setting and has a new meaning
- In this mode, audit information is broadcast to BOTH the old and new audit configuration, meaning that e.g. you can enjoy new RM and CMIS auditing capabilities whilst still retaining compatibility with your old audit configuration
- When audit.useNewConfig=true only the new config/alfresco/audit/*.xml configuration will be used exclusively. NOT config/auditConfig.xml.
- Note that auditing is still switched off by default and must be switched on with audit.enabled=true
- You can switch on and off individual applications in the new config using
   - audit.repository.enabled
   - audit.cmischangelog.enabled
   - audit.dod5015.enabled
- Simple!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 13:54:46 +00:00
David Caruana
f527228cfd Fix QueryTest after merges.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 12:56:16 +00:00
David Caruana
14a0a5623f Fix CMISPropertyServiceTest after merges.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 12:36:09 +00:00
Mark Rogers
31e459ff5e added a package-info for the transfer service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 12:21:24 +00:00
Dave Ward
fca37cba23 Fix CapabilitiesTest
- AuditComponentImpl should run data extractors as system user
- Simplified CMISChangeLogDataExtractor to use CMISServices

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 11:29:35 +00:00
Roy Wetherall
8c7fc4cc74 SAIL-307 : Changes in the action (condition) definitions
- Hide create-version action
   - add missing property definition for minor-version



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 05:31:09 +00:00
Roy Wetherall
f8ab3f22a7 Merge DEV/BELARUS/HEAD-2010_02_22 to HEAD
18845 : SAIL-200: Enhance webscript (Get all folder rules for folder) with inherited, linked rules



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-26 05:10:46 +00:00
Derek Hulley
44d2fc6bec Fixed ALF-1562: AuditModelRegistry and audit loading can fail when started on demand
- Transactional caches in nested transactions force the outer txn caches to drop new data
 - Forces a requery of transactional data in case the inner transaction caused it to go stale


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 23:46:34 +00:00
Derek Hulley
f8c7f7432d Minor JavaDoc trimming
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 23:35:22 +00:00
Mark Rogers
7524b7009b quick build fix to take account changes to AssociationRef
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 23:18:59 +00:00
Mark Rogers
14a4f808b8 Merge DM-DM_deployment to HEAD
18665 : Switch over to using new surf <formdata multipart-processing="false" /> configuration option.
   - now the PostContentCommandProcessor and PostSnapshotCommandProcessor handle their own MimePart processing.
  18683 : SAIL-288 Implementation of TransferService client side cancelAsync.
  18716 : Adding TransferEventBegin missed from asyncCancel work.
  18734 : Transfer format : implementation of null properties and Serialized base64 Java objects for type d:any
  18749 : SAIL-290: Added features that provide asynchronous commit on the receiver end and the ability to query commit status, as well as code that writes a progress report on the server side (currently only plain text) and the functionality to allow a transfer to be cancelled
  18750 : New files that should have been checked in with previous commit but weren't...
  18770 : Various transfer service work.
   - correction to transfer report name.
   - use surf Base64 Encoder
   - implementation of async commit to the TransferServiceImpl
   - implementation of the statusCommand through the HttpClientTransmitter.
  18773 : transferId was null.
  18780 : Changed the server-side commit to occur asynchronously.
	Added two test actions to transfer a single node or a tree of nodes.
	Tweaked TransferDefinition to provide varargs version of setNodes.
  18793 : SAIL-290:    Added a couple of test actions.
    	Added varargs versions of transfer and transferAsync on TransferService.
  18794 : SAIL-290: Added "targetExists" operation to the TransferService interface.
  18804 : SAIL-36: Fixed an issue where transfer could fail if numerous nodes with the same cm:name value are transferred.
  18805 : SAIL-36: Added model file that should have been with last commit.
  18808 Continuing work on transfer report.
  18825 TransferServiceImplTest green line.
  18836 : Added a little more output to the server-side transfer report. 
  18848 : More work on transfer report.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18865 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 23:02:27 +00:00
Mark Rogers
29bfaff367 build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 21:35:59 +00:00