- ALF-8806 RINF 41: Lucene Removal: Fix CopyService
- ALF-9028: RINF 41: Fix Aspect cm:copiedFrom
- ALF-9029 RINF 49: Lucene Removal: CheckOutCheckInService API
- ALF-9032: RINF 49: fixes to cm:workingcopy aspect
28996: Dev branch for De-Lucene work pending patches
29004: Evaluator runs in read-only txn
29006: Additional PermissionCheckedCollection.create method
- Use an existing collection's permission check data (cut-off, etc) to wrap a new collection
29007:
CopyService and CheckOutCheckInService refactors to remove Lucene
CopyService:
Removed cm:source property from cm:copiedfrom aspect and replaced with a cm:original association.
Added CQ-based APIs to query for copies
Added APIs to support bi-directional walking of copy association
Fixed sundry uses of cm:copiedfrom esp. all uses related to cm:workingcopy
CheckOutCheckInService:
Check-out now creates a source aspect cm:checkedOut with 1:1 relationship to cm:workingcopy via cm:workingcopylink
Removed explicit use of cm:workingcopy aspect and replaced it with calls to COCI API
29083: Audit tests fail when indexing is turned off.
Also removed a getReader() call during rule evaluation, leading to a 'sub-action' read being recorded.
29113: NodeDAO.getNodesWithAspects supports paging
29135: Removed unused patch queries
29139: Basic patch (still terminates with error) to upgrade cm:copiedfrom and cm:workingcopy
29157: Tested patch for cm:copiedfrom and cm:workingcopy aspects
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added start of the Flickr channel. Channel creation and authorisation is complete (written as a new Spring Social module). API not currently working.
- Fixed a problem with SlideShare API: it relies on the file extension to determine the type of the file, so needed to alter the way the files are sent.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Now a more general findBlogPosts(), which simplifies the webscript implementation slightly & removes possibility of an UnsupportedOperationException.
Also added new test case that finds before/after/within specified date ranges.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28988 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- SlideShare channel now tested (the service seems pretty flaky, but the publishing works fine).
- A couple of tweaks to ensure that credentials are being stored correctly for each channel.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Also moved the BlogService_Security bean from blog-context.xml into public-services-security-context.xml.
Loads of imports had to be repointed, hence the long change set. Also some spring config.
Didn't repackage BlogIntegrationService as it has been released in previous Alfresco versions in its current location.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Added findSites() method which uses Lucene queries to retrieve sites.
This method supports a CONTAINS query on cm:name, title, description.
All listSites() methods are now immediately consistent - as opposed to eventually.
However in moving these method implementations to CannedQueries, they now only
support STARTS_WITH_IGNORE_CASE queries on cm:name, title, description.
I've highlighted this in the javadoc.
ScriptSiteService now uses the eventually consistent findSites() method for searches.
Also some fallout in the tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
SiteService.listSites calls have been partially reimplemented to use GetChildrenCannedQueries.
For queries that search with a filter on sitePreset name, the searches are now CannedQueries.
This is because those queries were formerly using string equality comparisons to filter results, which GCCQ supports.
For queries that search with a filter on site cm:name, it is less simple. Searches such as "foo" are converted to (cm:name, "*foo*") comparisons in Lucene. Such 'contains' comparisons are not supported by GCCQ. These searches still use Lucene pending agreement on which approach to take to reimplementation here. Consistency with user & group searches is required.
This check-in injects the necessary getChildrenCannedQuery beans into the SiteService.
It adds a new method listSites() which returns PagingResults<SiteInfo>. This is used where possible within the old listSites() lucene-based method and is exposed in the public Service for use by third parties.
Also added MethodSecurityInterceptor-based SiteService_security bean to the public-services-security-context.xml
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28791 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- ALF-9322: RINF 11: AbstractCannedQueryPermissions enhancements
- Pulled in logic around hasMore() so that subclasses just have to obey
- Added in cut-off size estimates
- ALF-9337: RINF 11: Consolidate interceptor wrappers
- Permissions respect PermissionCheckedValue
- Added last-in-chain "afterAclMarking" to "afterInvocationManager": marks collections as checked
- Added 'mixin' interfaces to handle input and output for permission checking of collections
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Add latest gdata libs (1.45.0) with source code
- cleaned the publishing context files out of the top-level application context
- removed the notion of "content root" from publishing channels
- added YouTube publishing channel with actions to publish and unpublish
- added dummy channel types to ease UI development
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Clean up javadocs (remove uncommented parameters and fix method comments)
- ALF-8996: Administrator users can disable themselves
- Administrator users cannot be disabled (the repo ignores the request)
- Administrator users cannot expire, be locked; they remain active no matter what
- UI attempts to disable admin but the request just does nothing (UI could gray it out, I suppose)
- (ALF-8805) ALF-9056: RINF 40: Fix XPath query to use selectNodes
- Final (Team-introduced) Lucene query in PersonServiceImpl
- Cleanup and better tests
- Unit test template retrieval for user notification (not easy via UI)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
WorkflowService Java API now has a hasWorkflowImage() method which is used in the existing workflow instance REST API to determine whether to return a URL to the diagram ("diagramUrl" property) in the response. A new REST API has also been added (/api/workflow-instances/<id>/diagram) to allow retrieval of the PNG image data.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28236: ALF-8810: Removed trailing space from discussion.discussion_for Italian translation
28241: Incremented version revision for 3.4.4
28284: ALF-835 - WCM/AVM: copy (empty) folder into itself
28285: ALF-6863: More than one cifs device breaks the web UI (explorer)
28290: ALF-8840: user-*.atomentry.ftl
28291: ALF-6863: Continuation of fix by Arseny
28336: ALF-8768: Fixed typo in comment on wcm-bootstrap-context.xml
28363: Merged DEV to V3.4-BUG-FIX
28262: ALF-8847: WCM: OrphanReaper contention throws error after 39 retries.
Checkin Comment:
Use JobLockService to make sure that only one OrphanReaper job is working.
Generate list of nodes that must be processed in OrphanReaper.doBatch() transaction.
28386: ALF-9100: Merged PATCHES/V3.4.1 to V3.4-BUG-FIX
28249: ALF-8946: Avoid one full table scan per batch in full reindex
- Now each batch scans a single time sample, dynamically adjusted based on the number of transactions
in the previous sample, always aiming for 1000 transactions per sample.
28394: Fixed ALF-9090: NPE during inter-cluster subsystem messaging
- Bean ID is a List<String> and might not be recognized on receiving machine
- Log warning when bean ID is not available (unsymmetrical configuration, perhaps?)
28396: Merged DEV to V3.4-BUG-FIX
28384: ALF-6150: Initial state lost when non-versionable document is saved for the first time
Creation of new version of document before writing its content was added to
- AbstractAlfrescoMethodHandler->putDocument (this method is used by Office 2003, 2007)
- VtiIfHeaderAction->doPut (this method is used by Office 2007 and 2010 on Windows 7)
Creation of new version was added twice to AbstractAlfrescoMethodHandler to avoid affecting
initial version when transaction is committed.
28432: Merged DEV to V3.4-BUG-FIX
28431: ALF-8530: Pressing the info icon creates an unrecorded file in the ContentStore
Use ContentService.getTempWriter() in BaseContentNode$TemplateContentData.getContentAsText() method.
28435: Merged DEV/TEMPORARY to V3.4-BUG-FIX
28428: ALF-9015: cm:modifier not updated when document is updated via CIFS
In ContentDiskDriver.closeFile() added ContentModel.PROP_MODIFIER property update.
28436: ALF-8550: Number of http requests (currentThreadsBusy) increases when session times out during creation of webform
- Corrected use of read and write locks
28465: Fix for ALF-8023 Share preview doesn't work if...
fixed as outlined by Dmitry.
28478: Merged BRANCHES/DEV/ALAN/AUDIT to BRANCHES/DEV/V3.4-BUG-FIX:
28062-28477 (28062,28063,28080,28081,28302,28303,28334,28340,28464,28469,28477) ALF-8438 Need higher level audit of user actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* extended site service Java API so that the *type* of site can be optionally specified. This must be a sub-type of st:site
* extend site service JScript API to allow site type to be optionally specified
* extend site service REST API to allow site type to optionally specified
* add the site type rm:rmsite to the RM model
* modify the RM web script to create the RM site with type rm:rmsite
* added behaviour listening to the creation of rm:rmsite. This creates the documentlibrary with the correct rm:fileplan type
* tested
Note: this is an issue that has been noted before (need to track down the JIRA), but became significantly worse with the move to HEAD.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28029: Added more tests for PublishingEventHelper and PublishingQueueImpl. Also added WebPublishingTestSuite.
28034: Support for ALF-8792: RSOLR 036: SOLR APIs to support index integrity checking
- ACL and ACLTX support
28036: WCM QS ML UI tweaks for marking something as the initial translation
28038: ALF-8548: WPUB: F165: Foundation API: Cancel a scheduled publishing event
- Code and initial test cases
28051: Fix for ALF-8836: No permission checks for SolrJSONResultSet
28057: WCM QS ML support for claiming intermediate non-translated folders when translating documents, with tests
28058: ML-WQS: Slight refactoring to remove RootNavInterceptor.
This functionality has been brought into the ApplicationDataInterceptor.
The effective root section is now made available to templates and components in the model.
28059: ALF-8499. SVC 10: Action Forms.
This checkin adds an ActionFormProcessor which supports the generation and persistence of Forms based on
Alfresco spring-injected action beans. The form processor produces a form field for each defined action parameter
as well as the ubiquitous executeAsynchronously boolean for action execution.
There is no styling of configuration of these forms and therefore NodeRef parameters will allow selection of any
cm:cmobject nodes and action constraints like ac-aspects will return every aspect defined in the system.
To expose these forms in the product, we would need to add form configuration for the built-in actions in order to manage and control such data.
28064: Fix for ALF-8857: Fix SOLR query caching to respect locale for ordering
28067: ALF-8846 : Intermittent: DMDeploymentTargetTest
added more debug logging and throw an explicit exception on trying to create a duplicate directory.
28068: Publishing: Tidy-up (javadoc and removal of a few unnecessary operations) prior to sprint 1 demo.
28069: Implemented EnvironmentImpl.checkStatus() method. Also created an AbstractWebPublishingIntegrationTest
and extended many of the web publishing tests from htis class.
28076: Publishing: More javadoc
28078: RINF 11: Canned queries
- minor: rename CannedQuery "query" to "queryAndFilter" and update/fix related JavaDoc (ALF-8827)
- update PagingRequest - precursor to merge with (Script) PagingDetails (ALF-8855)
28079: RINF 40: Lucene Removal: PersonService API (ALF-8805) - W.I.P.
- add GetChildren CQ support for (initially string) property filtering, including unit tests
- update GetChildren CQ to allow up to three filter and/or sort props
- add GetChildren CQ unit test for existing DB-based filtering of child types
- fix GetChildren CQ sorting, for spoofed referenceable props (including missing name)
28083: Fix for ALF-8858: Fix cache bugs (TX and ACLTX docs not tracked)
28097: Fix hard-coded checks for aspect counts following sys:localized changes
28126: Build/test fix (GetChildrenCannedQueryTest.testPropertyStringFiltering)
28147: RINF 40: Lucene Removal: PersonService API
- initial impl w/ unit tests
- note: separate task required to update JavaScript API (People.getPeople)
28157: RINF 40: Lucene Removal: PersonService API (ALF-8805)
- fix People.getPeople - put back FTS option (pending ALF-8924)
28162: Added PublishWebContentJbpmTest to test the Jbpm publish web content process definiion.
28178: Build fix. Removing a trailing comma that my ant build objects to.
28180: Preventing a NPE within TikaCharsetFinder. Was observed as part of tests for ALF-3757.
28182: RSOLR 037: Integrate CMIS Dictionary into SOLR engine
28183: ALF-8846 - fix DMDeploymentTarget(Test)
- make system auth explicit
- minor: fixup debug logging
28187: Fix for ALF-7308. The imgpreview thumbnail ... scale up small images...
I've exposed an ImageMagick configuration option ('>') as a new ImageRenderingEngine parameter, "allowEnlargement".
It's not mandatory, defaults to true, and is set to false for doclib and imgpreview thumbnails.
The net result is that doclib and imgpreview thumbnails of small graphics files (e.g. icons) will never have sizes exceeding their original size.
28191: RINF 09: Update FileFolderService (ALF-7168)
- minor: clean-up debug/trace logging
28192: Fix MT for GetChildren CQ
- FileFolderService -> list (ALF-7168)
- PersonService -> getPeople (ALF-8805)
28194: RINF 09: CMIS getChildren sorting fixes (part of ALF-7168)
- fix sorting by cmis:contentStreamMimeType and/or cmis:contentStreamLength
- add warning + debug (if some orderBy sort props need to be ignored - eg. too many or unknown)
- reviewed w/ Florian
28195: ALF-8910: RSOLR 037: Integrate CMIS Query Parser into SOLR engine
28211: Changes for ALF-8646: "RINF 38: Text data encryption"
28227: Changes for ALF-8646: "RINF 38: Text data encryption"
o fix build issue relating to missing property definition
28232: ALF-8928 - Performance degradation when loading documents from RepoStore
28233: Attempt to resolve OOM hangs in SWIFT builds
- Set mem.size.max=2048m
28234: Implementation of ALF-8986. Add support for transformation of Apple iWorks files.
A new transformer transforms (pages, numbers, keynote) iWorks 09 files to image or SWF for doclib & webpreview thumbnailing.
This transformer extracts an embedded JPEG or PDF file from a well-known location within the iWorks zip structure & uses that
to create Alfresco thumbnails. If these zip entries are not present for whatever reason, then the transformation fails in the usual way.
All of our iWorks 09 test files have an embedded JPEG and more than half have embedded PDFs.
28243: Init/refresh repo webscripts in single txn
- found whilst investigating ALF-8928
28268: Started implementing PublishEventAction. Also updated mapping of nodes from source to live environment to use associations.
28308: PublishEventAction now supports updating of nodes that have already been published.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261