2624 Commits

Author SHA1 Message Date
Neil McErlean
b0cc34e96b RenditionService. Deprecated ContentModel.ASPECT_THUMBNAILED and ASSOC_THUMBNAILS and pointed
users to their replacements in the RenditionModel.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 10:56:45 +00:00
Gary Spencer
4eeef21b55 Merge 3.2 to HEAD:
17444: (record-only)
    18955: If CIFS is not enabled then do not create the thread/memory pools during startup. ALF-585.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 09:49:02 +00:00
Derek Hulley
22981d78a1 PermissionModel initialization is now driven by context start
- It was using afterPropertiesSet, which was triggering early EHCache initialization
 - Not actually causing problems, but was masking deeper context issues


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 00:51:39 +00:00
Derek Hulley
ccd0614e8a Hack-fix for Repository start/stop issues
- Nick will investigate further
 - JBPM is shutting down Hibernate (along with shared resources) in a finalize()


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 00:47:59 +00:00
Derek Hulley
7e837dcc74 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
Derek Hulley
7a18e7e52b Removed svn:executable tag
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19133 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 00:39:21 +00:00
N Smith
0a8f6f97dc Fixing a bug in CMISRenditionServiceImpl that was causing test failures.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 17:56:56 +00:00
Neil McErlean
52dc95264c RenditionService. Reintroduced the spring-based configuration of ThumbnailDefinitions.
Major overhaul to the ThumbnailDefinition - RenditionDefinition conversion code.
Removed the imported rendition definitions acp, replacing it with the original rendering_actions_space xml.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 17:18:40 +00:00
Nick Burch
724d28279b Add some more debugging on cache shutdown - if Debug level is set, report which caches get shutdown
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 17:16:18 +00:00
Nick Burch
d2c2565599 Catch the exception you get when you try to read from a cache with an invalid state, and re-throw a more helpful error message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 17:14:19 +00:00
Brian Remmington
db196b51d5 Altered test to use the rendition content model rather than the defunct thumbnail content model.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 15:56:29 +00:00
Nick Burch
21b6c8cf10 Tweak the minimal context to hopefully work on the build machine too, and then re-enable tests + combine one suite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 14:23:51 +00:00
Dave Ward
ad11a47457 Merged V3.2 to HEAD
19109: Merged V3.2.0 to V3.2
      19098: ALF-1960: Fixed issues when syncing with deeply nested LDAP groups


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 11:27:25 +00:00
David Caruana
5a523e8744 Incorporate newly separated chemistry-abdera jar.
- Abdera cmis extension split from TCK
- update classpath
- resolve util conflict dependency between surf / chemistry abdera jars

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 10:26:12 +00:00
Neil McErlean
dbf66edf52 Javadoc tidy-up and update. The ThumbnailService still mentioned now defunct types and associations from the old Thumbnail model. These have been replaced with the correct rendition model types.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-08 10:20:28 +00:00
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