- Content move is now done in a post-commit phase because rollback is not possible on content stores
- Added unit tests for case
- Added onAddAspect handling to detect auto-addition of aspect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Is an alternative fix for ETHREEOH-1936 (undoes CHK-7199)
- Removed nested read-write txn in 'upload.js'.
The script was attempting to operate on the same node in both the nested and outer transactions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Set of overridable properties now centralized to new global-properties bean and referenced by repository-properties, hibernateConfigProperties and subsystems
- Installer defaults can now be specified in classpath:alfresco-global.properties
- A special BeanFactoryPostProcessor ensures backward compatibility with existing alfresco/extension/*-context.xml files overriding repository-properties or hibernateConfigProperties.
- Subsystems pick up initial property values from global-properties. Placeholders expanded.
- Messages now output when subsystems stopped and started
- Object names lists to allow better hierarchical organisation
- Composite properties now supported by child application contexts
- Materialized in context.xml as ListFactoryBeans - lists of beans
- Configured values injected before application context started
- Configurable via alfresco-global.properties or JMX
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Some collapsing of common code in Constraint hierarchy.
- Added aspect 'cm:storeSelector' with property 'cm:storeName'.
- Defined a new, unused content store 'storeSelectorContentStore' (see content-services-context.xml).
If this store is used, then setting the 'cm:storeName' property will force content to be stored in one
of the named stores. A LIST constraint is indirectly enforced for the 'cm:storeName' property.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Query, language (lucene, xpath, jcr-path and alfresco-fts etc), store (workspace or avm), multi-column sorting and paging all supported via search definition object
- A query definition object with a number of parameter objects can be as to use as:
var results = search.query({query: "TEXT:alfresco"});
- Or as richly defined as:
var sort1 =
{
column: "@{http://www.alfresco.org/model/content/1.0}modified",
ascending: false
};
var sort2 =
{
column: "@{http://www.alfresco.org/model/content/1.0}created",
ascending: false
};
var paging =
{
maxItems: 100,
skipCount: 0
};
var def =
{
query: "cm:name:test*",
store: "workspace://SpacesStore",
language: "fts-alfresco",
sort: [sort1, sort2],
page: paging
};
var results = search.query(def);
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- changePassword(string oldpw, string newpw) - changes password for the current user only, old password must be supplied
- setPassword(string userName, string password) - set the password for the given user - only executable by an admin user
Fix up and clean up of my-sites.get.js so that IMAP favorites are only retrieved if the IMAP server is enabled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Update xstream library to v1.2.2 to be compatible with IBM JDK
- Custom patch to truexml-1_29.jar to enable free trial period license to work on IBM JDK
- Bugfix FileContentStore so that it doesn't respond to refresh events sent by child application contexts
- Fixes to web.xml: data source now Unshareable and all empty env entries now of type java.lang.String
- Share fix: webframework.classpathstore.contentassociation and webframework.classpathstore.pageassociation class path stores now have mustExist = false, because Websphere doesn't unzip empty directories
- Addition of META-INF/ibmconfig directory to alfresco-enterprise.ear so that it can be installed on Websphere with classloading set up automatically
- Additional artefact generated by the continuous build: myfaces1_1-websphere-shared-lib.zip - unzips to $WAS_INSTALL_ROOT to provide myfaces 1.1 shared library referenced by .ear file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
13902: Merged V2.2 to V3.1
13900: Fixed ETHREEOH-1846: NullPointerException in ADMLuceneIndexerImpl if localized string is null
14167: MT - fix ETHREEOH-2015
14198: MT - fix ETHREEOH-210 and add unit tests (will also fix ALFCOM-2823 when merged forward to HEAD)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14204 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
14069 Introduce CMIS v0.61 XSDs
- fix samples that don't validate
14073 CMISTests passing, complying with 0.61 XSDs.
14078 CMIS v0.61 data model and AtomPub binding API compliance.
- delta from 0.6 recorded in changes_v0.6_to_v0.61.txt
- updated CMIS test harness
- tests pass
- added Patch request type to Web Script test server
14079 Allow for HTTP PATCH method for remote Web Script tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261