Dave Ward
22ec153ed9
SAIL-160: CMIS Policy no-op implementations
...
- SOAP and REST binding create/update methods throw exceptions allowed by spec and read method returns empty set
- Moved transaction interceptor into org.alfresco.repo.transaction package and removed redundant runAs call
- PropertyFilter parsing corrected and made a shared service
- Removed replicated code from webservice getTypeDefinition implementation
- Moved association property getting into CMISServices
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 22:41:13 +00:00
Roy Wetherall
546c0fb262
Work around to ensure rules are fired for empty inline documents
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 17:59:29 +00:00
N Smith
1bc48d5bb0
Refactored PerformRenditionActionExecutor to pull out RenditionNodeManager class which is responsible for deciding where the new rendition should be placed and putting it there, as well as handling what happens to any existing rendition. This will make this complex logic much easier to test.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19231 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 16:30:02 +00:00
N Smith
5a2d92ed5d
Added Javadoc to various RenditionService parameter constants.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 16:00:13 +00:00
Derek Hulley
c36fe6b6c0
Merged BRANCHES/V3.2 to HEAD:
...
18104: Merged in DEV/BELARUS/V3.2-2009_12_15 rev 17847: ETHREEOH-3746 DB2 upgrade issue
18476: Fixed ETHREEOH-3983: NodeLockedException: IncompleteNodeTagger fails for locked nodes
18761: Merged V3.1 to V3.2
18760 (RECORD-ONLY): Merged V2.2 to V3.1
18759: Merged DEV/BELARUS/V2.2-2010_02_03 to V2.2
18553: ResultSet closing was added to methods. This was fixed separately in V3.2.
18787: MT: fix ETHREEOH-4125 - authority migration / batch processor (when upgrading groups from 3.1 to 3.2)
19059: Fix read-only marker in test
19061: Handle missing alf_content_data ID for node cleaning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19226 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 15:08:37 +00:00
Mark Rogers
0c5d02d543
Transfer Service : implementing ScriptTransferService
...
- functionality to find transfertargets and do a synchronous transfer of a collection of nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 14:14:37 +00:00
Kevin Roast
e6df53908a
Merged V3.2 to HEAD
...
19216: ENH-506 - allow script compilation to be disabled for repository tier. Fix to unreported issue with return aspect array from a ScriptNode.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 12:31:51 +00:00
Derek Hulley
426d419e53
Merged BRANCHES/V3.2 to HEAD:
...
18564: Fixed ETHREEOH-4031: ParentAssocsCache gets out of date when parent NodeRefs are modified
18569: Fix ETHREEOH-3632: UI - View versioned properties fails when node associations are present
18579: Fix failing unit test after CHK-11190
18580: Fixed parentAssocsCache invalidation for parent NodeRef modification
18597: Fixed ETHREEOH-3996
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 11:03:29 +00:00
Brian Remmington
84b6373ddb
DM-DM tidying:
...
- Added NodeCrawlerFactory interface and standard implementation
- Removed test actions from the context files
- ensure that the temporary store node is deleted when the transfer ends
- Added missing error messages from the transfer properties file
- Inserted abstract NodeFinder and NodeFilter to clean those interfaces up a little
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 10:36:19 +00:00
Dave Ward
f2b334b68a
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!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-11 09:58:47 +00:00
Neil McErlean
a3a95cef81
Refactored RenditionService JS API to use ScriptNodes instead of ChildAssociations.
...
Consistent with the existing JavaScript APIs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19207 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 20:16:41 +00:00
Dave Ward
36cdb669b1
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
Derek Hulley
fbe601d121
Merged BRANCHES/V3.2 to HEAD:
...
18000: Merged DEV/BELARUS/V3.2-2009_11_24 to V3.2
17719: ETHREEOH-3393: AuditConfig file is read every time the audit method is called in HibernateAuditDAO
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 18:02:31 +00:00
Nick Burch
60573f6fdb
Merge the two Model tests suites together
...
Merging should save a little bit of startup time.
Also, add a few more checks inthe the MultilingualContentServiceImpl test,
along with more comments explaining what it does.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19199 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 17:46:41 +00:00
Derek Hulley
07a68c5fa6
Merged BRANCHES/V3.2 to HEAD:
...
17409: ETHREEOH-1630 Webscript Kind=org.alfresco.repository.content.stream returns information about the Thumbnail webscript
17444: Update svn:mergeinfo
17940: Updated JBPM log level (GraphElement) to hide errors which should be handled by Alfresco retrying txn handler
17989: AVM - unreported NPE in OrphanRepear (clustered)
17997: WCM clustering - ensure Alfresco/JBPM job executor handles retries (from Alfresco retrying txn handler)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 17:16:34 +00:00
Neil McErlean
f26115a739
Added JS API to the RenditionService
...
new renditionServiceScript bean
new test method in RenditionServiceIntegrationTest which uses test_renditionservice.js
ScriptRenditionService is the entry point to the JavaScript API impl
Can now render a ScriptNode with a Java-saved or built-in RenditionDefinition
Can get renditions for a source ScriptNode
get all renditions
get renditions from rendition definition x, e.g. "cm:doclib"
get renditions whose mimetype starts with prefix.
Added RenditionService to ServiceRegistry.
Necessary for the JS API, also desirable for completeness
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 16:06:07 +00:00
Nick Burch
6093fd4d1e
Package up the Workflow tests into their own suite
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 14:28:51 +00:00
Derek Hulley
9e6fc0052d
Made FileImportTest use an explicit folder for import tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 13:26:00 +00:00
N Smith
b2d3946da1
Changed ThumbnailServiceImpl to create renditions of type cm:thumbnail and set the thumbnail name property on them correctly.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 12:59:21 +00:00
Andrew Hind
4835da3dce
Build Fix. Checked list.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 09:13:08 +00:00
Brian Remmington
ec4529a360
Added a missing class from the last check in. Sorry.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-10 08:39:00 +00:00
Brian Remmington
2c9854b53b
Refactored XSLTRenderingEngine and TemplatingRenderingEngine (now called FreemarkerRenderingEngine) to extract common elements.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 21:19:25 +00:00
Nick Burch
47837f9286
Fix the AVM test suite so that all AVM tests can be run from it, and enable that instead of individual tests in build.xml
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 19:06:08 +00:00
Mark Rogers
ad5e708830
TransferService:
...
No-Op implementation of script transfer service.
TransferService interface rework for createTransferTarget
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 16:26:47 +00:00
Roy Wetherall
a3db9d0db7
Site service copes with site root missing
...
- List sites methods return emtpty list when site root is missing
- Create site throws excpetion with root site is missing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 15:31:37 +00:00
Brian Remmington
91ba631a3b
SAIL-244: Added an XSLT Template Processor (hooked into the template service) along with an XSLT rendering engine that makes use of it.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-09 14:02:55 +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
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
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
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
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
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
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