- fixed duplication arising from indexing 0-1 and 0-2 against the index for near simultaneous snapshots
- tracking has not been modified nor has index rebuild - the latest index info from the AVM index is definitive and complete - we do not have to do additional work as we do for DM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Can't reproduce the bug but spotted a race condition in UserUsageTrackingComponent that may cause this in rare circumstances. Deal with this by throwing a ConcurrencyFailureException and let the txn retry handler retry the operation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- modified repository checkin to take into account name change on pwc (if it's changed, the checkin will rename the original)
- updated coci unit tests
- performed alfresco explorer tests
- updated Chemistry TCK to re-enable update of name on checkin test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
19453: Merged BRANCHES/DEV/BELARUS/V3.2-2010_03_17 to BRANCHES/V3.2:
19407: ALF-254: empty files (0 bytes) do not trigger content rules
- Some Javadoc cleanup added
19601: Follow-up fix for ALF-254: Empty files (0 bytes) do not trigger content rules
- CIFS uses 'sys:noContent' instead of 'sys:temporary'; the latter has other behaviour attached
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added new method to MimetypeService to retrieve a valid mimetype given any extension, handling case and missing values
- Updated JUnit tests for MimetypeService methods
- Fixed callers of MimetypeService to use new method to protect against varying case of file extensions (ALF-2118 root cause)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
19246: ALF-1940 - case-insensitive AVM path lookups fail on a DB that is (configured by default to be) case-sensitive
19280: AVM - preserve case on child lookup, add unit tests
19316: AVM - fix rename (change in 'case') & add unit tests (ALF-1725 & ALF-1767)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19337 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Cleanup and improvements to RequestContext related classes.
- Removal of obsolete Alfresco util classes.
Fixed up imports back to Alfresco versions of unused SpringSurf util classes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- undeleted and reinstated use of org.alfresco.util.Pair
- undeleted org.alfresco.util.PropertyCheck which is used in the deployment code.
- undeleted other org.alfresco.util.* classes which probably should never have been moved to spring surf.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Support for creating a RenditionDefinition from within JavaScript
Support for executing such an ad hoc rendition definition.
ScriptRendtionService now accepts long-form or short-form QNames where applicable.
Replaced "rendering actions" with "rendition definitions" in some javadoc and some private or local variable names.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19269 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
18023: RM: groundwork for custom metadata delete
18071: MT - fix ETHREEOH-3730 (reject invitation shows "Invitation not found" instead of Yes / No options)
18078: MT - fix ETHREEOH-3892 (it is not possible to create or manage any Tenants once the DOD5015 RM AMP is installed)
18903: RM Caveats - fix ALF-1894 (improvement for ESC - remove hardcoded "rmc" model/namespace)
19046: Improve dictionary debug logging (ALF-587)
19096: Merging PATCHES/V3.2.r to V3.2
19075: Merging DEV/BELARUS/V3.2-2010_02_24 to PATCHES/V3.2.r
18881: ALF-587: MT Upgrades to 3.2r fail unable to find Alfresco content types
19085: ALF-587 - test/build fix (follow on for r18881->r19075)
19145: Dynamic Models - follow-on for ALF-587 (& ALFCOM-2977) + additional unit tests
19176: Remove Java 6'ism
19198: Build/test fix (follow-on to r19145 - do not validate model delete of version nodes)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- 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
- 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
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
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
17716 : Copied alfresco/HEAD to alfresco/BRANCHES/DEV/BRIAN/DM-DM_deployment.
17721 : Moved alfresco/BRANCHES/DEV/BRIAN/DM-DM_deployment to alfresco/BRANCHES/DEV/DM-DM_deployment.
17809 : Bare Bones of TransferService.
17813 : more bones
17824 : bootstrap of the transfer spaces
17826 : Added username, path, and a getter for the password.
17832 : createTransferTarget, getTransferTargets() working.
17836 : transfer target
- duplicate name detection
- delete transfer target by name
- get transfer target by name
- TransferException added along with transfer-service.properties
17840 : transfer target
- enable / disable
- update properties
17851 : Added the notion of a transmitter for the transfer service, and an HttpClient implementation of it.
17852 : Added the web script needed for the receiving end of a transfer, along with a command processor for clients to
check availability of the service and credentials.
17856 : Added a Mockito-based test for HttpClientTransmitterImpl
17857 : Corrected javadoc for test class
17858 : Added test for overriding SSL socket factory
17859 : Wired up the transfer service to the transfer transmitter.
17896 : Rework to spring for app:transferDefinitions it's now app:transfer_definitio
- Add throws clauses to TransferService
- Bare bones of interface for begin and sendManifest
17944 : Work in progress on manifest file
17947 : added parent and child associations to the snapshot.
17956 : Now has the parent path implemented and introduces the TransferManifestNodeFactory.
17965 : Added content, MLText and collections.
17978 : addition of source and target peer associations.
17982 : Fixing parentNode information.
18008 : XML Manifest Reader checkpoint. (Still incomplete but lots working)
18040 : ParentPath is transmitted, fixes for source and target assocs.
18048 : SAIL-30: Initial commit of functionality for begin, sendManifest, and sendContent parts of the transfer process
18049 : Fix for parse of Locale type.
18054 : Added TransferManifestNodeHelper and more tests
18066 : Work in progress check in
- Implemented the content chunker
- sketched out more interfaces on TransferTransmitter.
- Please note that the chunker is not yet connected to the manifest file, that will come next.
r18069 : Wired up manifest reader to content chunker.
r18089 : Fiest cut of callback interface for review.
r18091 : added hashCode implementation which was missing from ContentData
r18095 : Start of the server-side commit. Note that this is an interim commit - not tested.
r18096 : Initial entry of a ContentData implementation of HttpClient's "Part"
r18155 : Work in progress check in.
TransferEvent - incomplete
HttpClientTransmitter - first cut complete (not tested)
Server side - first cut complete (not tested)
18156 : TransferMessage missing from last check in.
18166 : check in command processors
18167 : Work primarily on the transfer commit operation
18170 : corrected spring errors.
18176 : Further testing and fixing of transfer commit
18206 : Work in progress.
18236 : Work in progress - generally adding debug logging and sorting out exception handlers.
18240 : Fix to call "end" correctly after exception is thrown with "commit"
18242 : Aligning the manifest part names.
18243 : PostSnapshot calls the correct method on the receiver service.
18267 : First node has transferred.
18274 : Fixing abort to call end, debug statements, formatting code brackest
18275 : First code to handle updates. Also improved error messages passed back to client
18289 : Checked in work in progress. Content upload not working.
18290 : Update to ensure file type.
18300 : Added more log output and some of the error messages.
18301 : Work in progress
18302 : Added log output
18307 : Added a noddy transfer action
18315 : Sprint 2 complete - transfer and update one node.
18354 : Now the manifest file has deleted nodes.
- Adding copyright headers
18384 : Plumbing for unit tests on one box.
18416 : First end to end unit test working. (one node create and update)
18421 : Added path based update test and many send test.
18458 : Added the functionality to transfer deleted and restored nodes.
18481 : Implementation of transferAsync
18491 : SAIL-32, SAIL-35
- Added node crawler for DM-DM Transfer F6 and F9.
18620 : Basic transfer report implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
18717: SAIL-166: Refactor CMIS to use shared services and resolve objectIds and error codes consistently
18731: SAIL-169: CMIS REST versioning compliance
18732: Fix failing change log test.
18768: Add displayName and queryName attributes to rendered properties (in CMIS AtomPub binding).
18775: Fix exception reporting when retrieving items that do not exist (in CMIS AtomPub binding).
18784: Fix CMIS REST change logging
18785: SAIL-174: CMIS Relationship lookup by association ID
18812: SAIL-183: Support orderBy argument for getChildren and getCheckedOutDocs in CMIS REST and Web Service bindings
18823: CMIS WS Bindings were moved to 1.0 cd07 schema.
18838: Update to latest Chemistry TCK.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17717: This check-in contains changes in Java and .NET TCK tests related to CMIS-43 and CMIS-44 JIRA tasks. Also some bugs were faced out and fixed in
17727: CMIS-69: Alfresco to CMIS ACL mapping: Part 1: API
17732: Merge HEAD to DEV/CMIS10
17756: MOB-563: SQL Tests - Lexer
17764: CMIS-69: Alfresco to CMIS ACL mapping: get ACL support
17802: More for CMIS-69: Alfresco to CMIS ACL mapping. Implementation for applyAcl.
17830: Fixes for CMIS lexer and parser tests
17838: Access fix ups for access by the WS/Rest layers
17869: 1) remote-api:
17874: SAIL-146: Alfresco to CMIS ACL mapping: Support to group ACEs by principal id
17883: Adjust version properties for dev/cmis10 branch.
17885: Update OASIS CMIS TC status.
17889: Fix issue where objectid is not rendered correctly for CMIS private working copies.
17890: SAIL-146: Alfresco to CMIS ACL mapping: Fixes for ACL merging when reporting and ordering of ACEs. Report full permissions and not unique short names.
17902: Fix issue where CMIS queries via GET used incorrect defaults for paging.
17909: Fix CMIS link relations for folder tree.
17912: Fix CMIS type descendants atompub link
17922: Update AtomPub binding to CMIS 1.0 CD05 XSDs.
17924: SAIL-146: Alfresco to CMIS ACL mapping: Test set using full permissions (as opposed to short unique names)
17927: Fix content stream create/update status to comply with CMIS 1.0 CD05.
17934: Resolve encoding issues in CMIS AtomPub binding.
17973: SAIL-171: CMIS Renditions REST binding
17975: SAIL-146: Alfresco to CMIS ACL mapping: Completed AllowedAction and Permissions mapping. Added missing canDeleteTree.
17990: Update CMIS AtomPub to CD06
17996: Updates for cmis.alfresco.com for CD06 in prep for public review 2.
18007: WS-Bindings were updated with CMIS 1.0 cd06 changes.
18016: CMIS web services: Add missing generated files from WSDL
18018: CMIS index page updates for cmis.alfresco.com
18041: Merged HEAD to DEV/CMIS_10
18059: SAIL-227:
18067: SAIL-157: Strict vs Non-Strict Query Language: Enforce restrictions on the use of SCORE() and CONTAINS()
18080: Fix for SAIL-213:Bug: Query engine does not check that select list properties are valid for selectors
18131: SAIL-156: Query Language Compliance: Fix support for LIKE, including escaping of '%' and '_' with '\'.
18132: SAIL-156: Query Language Compliance: Fix support for LIKE, including escaping of '%' and '_' with '\': Fix underlying lucene impl for prefix and fuzzy queries to match wildcard/like
18143: SAIL-156: Query Language Compliance: Fix and check qualifiers in IN_TREE and IN_FOLDER. Improved scoring for CONTAINS()
18173: SAIL-245: Exclude thumbnails from normal query results
18179: SAIL 214: Query Language Compliance: Check for valid object ids in IN_FOLDER and IN_TREE
18210: SAIL-156: Query Language Compliance: Support for simple column aliases in predicates/function arguments/embedded FTS. Check property/selector binding in embedded FTS.
18211: SAIL-156: Query Language Compliance: Support for simple column aliases in predicates/function arguments/embedded FTS. Check property/selector binding in embedded FTS.
18215: SAIL 156: Query Language Compliance: Fix CMIS type info to reflect the underlying settings of the Alfresco type for includeInSuperTypeQuery
18244: SAIL 156: Query Language Compliance: includeInSuperTypeQuery -> includedInSuperTypeQuery: First cut of cmis query test model. Fixed modelSchema.xml to validate
18255: SAIL 156: Query Language Compliance: First set of tests for predicates using properties mapped to CMIS Strings.
18261: CMIS-49 SAIL-163: Alfresco to CMIS Change Log mapping - New CMIS Audit mapping is implemented. ChangeLogDataExtractor was added.
18263: Build Fix
18285: SAIL 156: Query Language Compliance: Restrictions on predicates that may be used by single-valued and multi-valued properties
18287: SAIL-186: Changes to make CMIS Rendition REST bindings pass new TCK tests
18291: Fix Eclipse classpath problems
18323: CMIS-44 SAIL-187: Change Log tests (WS) – Java and .NET tests for change log were implemented.
18325: SAIL 156: Query Language Compliance: Fixes and tests for d:mltext mappings
18329: Updated Chemistry TCK jar including Dave W's rendition tests.
18333: Fix compile error - spurious imports.
18334: Fix issue where absurl web script method failed when deployed to root context.
18339: Update CMIS index page for start of public review 2.
18387: SAIL-147: CMIS ACL REST bindings + framework fixes
18392: Fix typo
18394: SAIL 156: Query Language Compliance: Fixes and tests for d:<numeric>
18406: SAIL 156: Query Language Compliance: Remaining type/predicate combinations. Restriction of In/Comparisons for ID/Boolean
18408: CMIS Query language - remove (pointless) multi-valued column from language definition
18409: Formatting change for CMIS.g
18410: Formatting change for FTS.g
18411: CMIS TCK tests were updated to CMIS 1.0 cd06 schemas.
18412: SAIL 156: Query Language Compliance: Tests and fixes for aliases for all data types in simple predicates (they behave as the direct column reference)
18417: Update Chemistry TCK which now incorporates Dave W's ACL tests.
18419: Update CMIS index page to include public review end date.
18427: SAIL 156: Query Language Compliance: Expose multi-valued properties in queries. Tests for all accessors. Fix content length to be long.
18435: SAIL 156: Query Language Compliance: Use queryable correctly and fix up model mappings. Add tests for baseTypeId, contentStreamId and path.
18472: SAIL 156: Query Language Compliance: Tests and fixes for FTS/Contains expressions. Adhere strictly to the spec - no extensions available by default. Improved FTS error reporting (and stop any recovery).
18477: SAIL-164: CMIS change log REST bindings
18495: SAIL 156: Query Language Compliance: Tests and fixes for escaping in string literals, LIKE and FTS expressions.
18537: SAIL 156: Query Language Compliance: Sorting support. Basic sort test for all orderable/indexed CMIS properties.
18538: SAIL-164: CMIS change log fixes for TCK compliance
18547: SAIL 156: Query Language Compliance: Ordering tests for all datatypes, including null values.
18582: Incorporate latest Chemistry TCK
18583: Update list of supported CMIS capabilities in index page.
18606: SAIL-156, SAIL-157, SAIL-158: Query Language Compliance: Respect all query options including locale. Fixes and tests for MLText cross language support.
18608: SAIL-159: Java / Javascript API access to CMIS Query Language
18617: SAIL-158: Query Tests: Check policy and relationship types are not queryable.
18636: SAIL-184: ACL tests (WS)
18663: ACL tests were updated in accordance with last requirements by David Caruana.
18680: Update to CMIS CD07
18681: Fix CMIS ContentStreamId property when document has no content.
18700: CMIS: Head merge problem resolution.
Phase 1: Merge up to and including revision 18700, as this the point where both AtomPub and Web Services TCK tests succeed completely on dev branch.
Note: includes CMIS rendition support ready for integration and testing with DM renditions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Link and unlink actions avaible to allow one rule node to reuse the rule set from another rule set.
- Methods added to rule service API to get information about linked to and linked from rule nodes.
Note:
- The action execution queue REST API can be used to call the link and unlink actions.
- The rule set REST API needs to be extended to provid information about what links to and from a rule node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261