30342: Dev branch for Site performance issues (including rework of AuthorityService.getAuthorities() to use a 'lazy' set and DM indexing rework)
ALF-9899 Huge share site migration, add group to site and user access site related performance issue.
ALF-9208 Performance issue, during load tests /share/page/user/user-sites is showing to be the most expensive.
ALF-9692 Performance: General performance of Alfresco degrades when there are 1000s of sites present
- ancestor-preloading
- hasAuthority
- huge site test
30370: - Save changed to do with adding childAuthorityCache to AuthorityDAOImpl
- Increase aspectsTransactionalCache size as it blows up
30387: Experimental solution to 'cascading reindex' performance problem
- Now only Lucene container documents for a single subtree are reprocessed on addition / removal of a secondary child association
- No need to delete and re-evaluate ALL the paths to all the nodes in the subtree - just the paths within the subtree
- Lucene deltas now store the IDs of ANCESTORs to mask out as well as documents to reindex
- Merge handles deletion of these efficiently
- Node service cycle checks changed from getPaths to recursive cycleCheck method
- Adding a group to 60,000 sites might not require all paths to all sites to be re-evaluated on every change!
30389: Missed files from last checkin
30390: Optimizations / fixes to Alan's test!
30393: Bug fix - wasn't adding new documents into the index!
30397: Fixed a problem with bulk loading trying to bulk load zero parent associations
Also tweaked reindex calls
30399: Correction - don't cascade below containers during path cascading
30400: Another optimization - no need to trigger node bulk loading during path cascading - pass false for the preload flag
30404: Further optimizations
- On creation of a secondary child association, make a decision on whether it is cheaper to cascade reindex the parent or the child, based on the number of parent associations to the child
- Assumes that if there are more than 5 parent associations, it's cheaper to cascade reindex the parent
- Add a new authority to a zone (containing 60,000 authorities) - cascade reindex the authority, not the zone
- Add a group (in 60,000 sites) to a site - cascade reindex the site, not the group
- Caching of child associations already traversed during cascade reindexing
- Site creation time much reduced!
30407: Logic fix: Use 'delete only nodes' behaviour on DM index filtering and merging, now we are managing container deletions separately
30408: Small correction related to last change.
30409: Correction to deletion reindex behaviour (no need to regenerate masked out containers)
- Site CRUD operations now all sub-second with 60,000 sites!
30410: Stop the heartbeat from trying to load and count all site groups
- Too expensive, as we might have 60,000 sites, each with 4 groups
- Now just counts the groups in the default zone (the UI visible ones)
30411: Increased lucene parameters to allow for 'path explosion'
- 9 million lucene documents in my index after creating 60,000 Share sites (most of them probably paths) resulting in sluggish index write performance
- Set lucene.indexer.mergerTargetIndexCount=8 (142 documents in smallest index)
- Increased lucene.indexer.maxDocsForInMemoryMerge, lucene.indexer.maxDocsForInMemoryIndex
30412: Test fixes
30413: Revert 'parent association batch loading' changes (as it was a bad idea and is no longer necessary!)
- Retain a few caching bug fixes however
30416: Moved UserAuthoritySet (lazy load authority set) from PermissionServiceImpl to AuthorityServiceImpl
30418: - Remove 'new' hasAuthority from authorityService so it is back to where we started.
- SiteServiceHugeTest minor changes
30421: Prevent creation of a duplicate root node on updating the root
- Use the ANCESTOR field rather than ISCONTAINER to detect a node document, as the root node is both a container and a node!
30447: Pulled new indexing behaviour into ADMLuceneIndexerImpl and restored old behaviour to AVMLuceneIndexerImpl to restore normal AVM behaviour
30448: - Cache in PermissionServiceImpl cleared if an authority container has an association added or removed
Supports the generateKey method which includes the username
Supports changes in group structures
- Moved logic to do with ROLE_GUEST from PermissionServiceImpl to AuthorityServiceImpl
30465: - Tidy up tests in SiteServiceTestHuge
30532: - Added getContainingAuthoritiesInZone to AuthorityService
- Dave Changed PeopleService.getContainerGroups to only return groups in the DEFAULT zone
- Fixed RM code to use getAuthoritiesForUser method with just the username again.
30558: Build fixes
- Fixed cycleCheck to throw a CyclicChildRelationshipException
- More tidy up of AVM / ADM indexer split
- Properly control when path generation is cascaded (not required on a full reindex or a tracker transaction)
- Support indexing of a 'fake root' parent. Ouch my head hurts!
30588: Build fixes
- StringIndexOutOfBoundsException in NodeMonitor
- Corrections to 'node only' delete behaviour
- Use the PATH field to detect non-leaf nodes (it's the only stored field with which we can recognize the root)
- Moved DOD5015Test.testVitalRecords() to the end - the only way I could work out how to get the full TestCase to run
30600: More build fixes
- Broadcast ALL node deletions to indexer (even those from cascade deletion of primary associations)
- Allows indexer to wipe out all affected documents from the delta even if some have already been flushed under different parents by an intricate DOD unit test!
- Pause FTS in DOD5015Test to prevent intermittent test failures (FTS can temporarily leave deleted documents in the index until it catches up)
- More tidy up of ADMLuceneIndexerImpl
- flushPending optimized and some unnecessary member variables removed
- correction to cascade deletion behaviour (leave behind containers of unaffected secondary references)
- unused MOVE action removed
- further legacy logic moved into AVMLuceneIndexerImpl
30620: More build fixes
- Cope with a node morphing from a 'leaf' to a container during its lifetime
- Container documents now created lazily in index as and when necessary
- Blank out 'nth sibling' field of synthesized paths
- ADMLuceneTest now passes!
- TaggingServiceImplTest also passes - more special treatment for categories
30627: Multi tenancy fixes
30629: Possible build fix - retrying transaction in ReplicationServiceIntegrationTest.tearDown()
30632: Build fix - lazy container generation after a move
30636: Build fix: authority comparisons are case sensitive, even when that authority corresponds to a user (PermissionServiceTest.testPermissionCase())
30638: Run SiteServiceTestHuge form a cmd line
set SITE_CPATH=%TOMCAT_HOME%/lib/*;%TOMCAT_HOME%/endorsed/*;%TOMCAT_HOME%/webapps/alfresco/WEB-INF/lib/*;\
%TOMCAT_HOME%/webapps/alfresco/WEB-INF/classes;%TOMCAT_HOME%/shared/classes;
java -Xmx2048m -XX:MaxPermSize=512M -classpath %SITE_CPATH% org.alfresco.repo.site.SiteServiceTestHuge ...
Usage: -Daction=usersOnly
-Dfrom=<fromSiteId> -Dto=<toSiteId>
-Dfrom=<fromSiteId> -Dto=<toSiteId> -Daction=sites -Drestart=<restartAtSiteId>
-Dfrom=<fromSiteId> -Dto=<toSiteId> -Daction=groups -Drestart=<restartAtSiteId>
30639: Minor changes to commented out command line code for SiteServiceTestHuge
30643: Round of improvements to MySites dashlet relating to huge DB testing:
- 10,000 site database, user is a member of ~2000 sites
- Improvements to site.lib.ftl and related SiteService methods
- To return MySites dashlet for the user, order of magnitude improvement from 7562ms to 618ms in the profiler (now ~350ms in the browser)
30644: Fixed performance regression - too much opening and closing of the delta reader and writer
30661: More reader opening / closing
30668: Performance improvements to Site Finder and My Sites in user profile page.
- faster to bring back lists and site memberships (used by the Site Finder)
- related further improvements to APIs used by this and My Sites on dashboard
30713: Configuration for MySites dashlet maximum list size
30725: Merged V3.4-BUG-FIX to DEV/ALAN/SITE_PERF
30708: ALF-10040: Added missing ReferenceCountingReadOnlyIndexReaderFactory wrapper to IndexInfo.getMainIndexReferenceCountingReadOnlyIndexReader() to make it consistent with IndexInfo.getMainIndexReferenceCountingReadOnlyIndexReader(String, Set<String>, boolean) and allow SingleFieldSelectors to make it through from LeafScorer to the path caches! Affects ALL Lucene queries that run OUTSIDE of a transaction.
30729: Use getAuthoritiesForUser rather than getContainingAuthorities if possible.
SiteServiceTestHuge: command line version
30733: Performance improves to user dashboard relating to User Calendar
- converted web-tier calendar dashlet to Ajax client-side rendering - faster user experience and also less load on the web-tier
- improvements to query from Andy
- maximum sites/list size to query now configurable (default 100 instead of previously 1000)
30743: Restore site CRUD performance from cold caches
- Introduced NodeService.getAllRootNodes(), returning all nodes in a store with the root aspect, backed by a transactional cache and invalidated at key points
- Means indexing doesn't have to load all parent nodes just to check for 'fake roots'
- Site CRUD performance now back to sub-second with 60,000 nodes
30747: Improvement to previous checkin - prevent cross cluster invalidation of every store root when a single store drops out of the cache
30748: User dashboard finally loading within seconds with 60,000 sites, 60 groups, 100 users (thanks mostly to Kev's UI changes)
- post-process IBatis mapped statements with MySQL dialect to apply fetchSize=Integer.MIN_VALUE to all _Limited statements
- Means we can stream first 10,000 site groups without the MySQL JDBC driver reading all 240,000 into memory
- New NodeService getChildAssocs method with a maxResults argument (makes use of the above)
- Perfected getContainingAuthoritiesInZone implementation, adding a cutoff parameter, allowing only the first 1000 site memberships to be returned quickly and caches to be warmed for ACL evaluations
- New cache of first 10,000 groups in APP.SHARE zone
- Cache sizes tuned for 60,000 site scenario
- Site service warms caches on bootstrap
- PreferencesService applies ASPECT_IGNORE_INHERITED_RULES to person node to prevent the rule service trying to crawl the group hierarchy on a preference save
- WorkflowServiceImpl.getPooledTasks only looks in APP.DEFAULT zone (thus avoiding site group noise)
30749: Fix compilation errors
30761: Minor change to SiteServiceTestHuge
30762: Derek code review: Reworked fetchSize specification for select_ChildAssocsOfParent_Limited statement for MySQL
- Now fetchSize stated explicitly in a MySQL specific config file resolved by the HierarchicalResourceLoader
- No need for any Java-based post processing
30763: Build fix: don't add a user into its own authorities (until specifically asked to)
30767: Build fix
- IBatis / MySQL needs a streaming result statement to be run in an isolation transaction (because it doesn't release PreparedStatements until the end)
30771: Backed out previous change which was fundamentally flawed
- Resolved underlying problem which was that the select_ChildAssocsOfParent_Limited SQL string needs to be unique in order to not cause confusion in the prepared statement cache
30772: Backed out previous change which was fundamentally flawed
- Resolved underlying problem which was that the select_ChildAssocsOfParent_Limited SQL string needs to be unique in order to not cause confusion in the prepared statement cache
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
A new property "system.workflow.jbpm.definitions.visible" has been added, set to false by default. This means that when the JBPM engine is enabled (the default for upgrades) in-flight workflows can continue but the JBPM definitions will not be returned and therefore hide them from the UI preventing new instances from being created.
If customers want to show the JBPM workflows again all is required is to set the "system.workflow.jbpm.definitions.visible" property to true.
The Workflow MBean has also been updated to expose the new property and the Workflow admin console now displays the value.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30356 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added email-notification control for use in "Start Workflow" forms, it's essentially a copy of the checkbox control but defaults to checked i.e. it ignore the field.value
- Updated form config to use new custom email-notification control
- Updated form config so 'Send Email Notifications' setting is shown on workflow summary page and start task forms
- Set the 'pooled' flag for Activiti tasks when sending notification
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
29508: Workflow Notification - First Cut
* Notification service to consolidate sending of user notifications (kinds of notifications are provided by Sprung in notification providers)
* EMail notification provider implementation (uses standard Email action to send email)
* Frist cut workflow email template (still needs lots of details added)
* AMP, etc for email template
* Hook point within Activit and JBMP implementations
* Property added to model (startTask) indicating whether email notifications should be sent
* Hook points sensitive to property
* Wf forms updated to show property
29703: Workflow Notification:
* Remove AMP and replace with exploded XMl and template (easier to maintain)
* Bootstrap updated
* Patch added
* Refactored hooks to use generic workflowTask object (tidies up helper methods)
* I18n'ed messages
* Task and work package information placed in template model
* Email template built with reference to Lintons wire's (still needs some polish!)
* Added Notification Servcice to Service Registry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Both Activiti and JBPM can now be "disabled" using the properties "system.workflow.engine.activiti.enabled" and "system.workflow.engine.jbpm.enabled", respectively. However, disabling JBPM is NOT recommended as several parts of the system are reliant on it. Furthermore, "disabled" just means the process definitions are not deployed and the engine is not registered with the WorkflowService, all DB tables etc. are still present. This means the engines can be disabled and re-enabled at will.
Also added back-end support for ALF-9392: More workflow metrics are required on the Workflow Console Admin Tool. An MBean is now available in Enterprise mode that provides the number of tasks, workflow definitions deployed and workflow instances in the system.
Added ENGINE_ID constant to JBPMEngine and globally replaced use of "jbpm" hard coded string.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
A new method has been added to WorkflowService that takes an additional "name" parameter. The WorkflowDeployer now passes the name of the file being deployed as the name parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28993: HomeFolderProviderSynchronizer: Provider used for LDAP to continue to use username as home folder name directly under .../app:company_home/app:user_homes
Property spaces.user_homes.regex.pattern now set to "" rather than "^(..)" which would have given a single level hash structure.
28970: Merge DEV/ALAN/HOME_FOLDER to DEV/V3.4-BUG-FIX
28947: - Introduction of version 2 HomeFolderProvider2 and re-factor of version 1
so that the code used to create the folders is now in the HomeFolderManager.
- Re-factor homeFolderProviderSynchronizer to handle HomeFolderProvider2.
- Addition of AbstractHomeFolderProvider.V2Adaptor to allow external providers
that extend AbstractHomeFolderPathProvider to be handled by
homeFolderProviderSynchronizer.
28860: Minor change to class comment and removed unused imports
28858: ALF-4727 Hashed home folder provider added and used by default for LDAP sync users - based on Romain Guinot work.
ALF-7797 HomeFolderProviderSynchronizer added to move existing users (normally those added by LDAP sync) into location preferred by home folder provider.
- HomeFolderProviderSynchronizer bug fixes
- tenant accounts supported for first time
- addition of a phase to create parent folders before moving home folder to avoid a race condition
- check for conditions that would result in FileExistExceptions as we don't want a the transaction to be discarded as this results in retries.
- HomeFolderProviderSynchronizerTest integration test including tenant services
- HomeFolderManager now sets the HOME_FOLDER_PROVIDER if it uses a default when HOME_FOLDER_PROVIDER is not set.
- AbstractHomeFolderProvider clears cache when path reset as it will be invalid.
- UIDBasedHomeFolderProvider.createNewParent creates its own mutable List as the one passed in may not be mutable.
28580: Save code changes - added comments to do with LDAP syn overriding the HFP value and related to this added a global property to keep empty parent folders.
28347: HomeFolderProviderSynchronizer
- issue to do with new run of sync having created a user via UI that has a home folder as one of the parent folders.
- issue to do with catching exception when creating temporary folder - transaction is gone
- give up if error in any phase
28298: Addition of HomeFolderPathProvider (based on Romain's work) and addition of HomeFolderProviderSynchronizer.
28956: Merged DEV to V3.4-BUG-FIX
ALF-9428: Multitenancy users not preserved after upgrade from 3.2.2.7 to 3.4.2
- Provide correct RunAs context in FixUserQNamesPatch batching.
28941: ALF-9361 : CLONE -sync Flat IMAP client with Alfresco is slow and inaccurate
28916: ALF-9421 The AlfrescoJavaScript action now includes company home in the JavaScript scope.
28879: Fixed ALF-9296: Alfresco Dashboard: Impossible to approve/reject task from My Tasks dashlet on My Alfresco
28875: Fixed ALF-6329: SPANISH - Share, translation on Transfer Target configuration
28864: Message:
ALF-9430: RuntimeExec waitForCompletion logic is obscure
- Only a single flag 'isCompleted'
- Set flag in try-finally
- Added notify()
However, the wait() code doesn't, in practice, get called because the waitForCompletion is synchronized with the run()
and is called a while after the reading thread is triggered. So the logic is less obscure and safer for the finally.
28800: File for rev 28799: ALF-9240
28799: Merged DEV to V3.4-BUG-FIX
28797: ALF-9240: Issue with adding an aspect with large multivalued list
Added unit test to stress, but could not reproduce
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28995 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
27600: ALF-8522: MyBatis: Performance: ensure <association> elements are properly keyed
27608: RINF 09 / RINF 10: DB-based paged query for get children (DocLib & CMIS)
- update FileFolder paging API
- update GetChildren canned query sorting (to return sort props prior to batched pre-load)
27614: RINF 09 / RINF 10: DB-based paged query for get children (DocLib & CMIS)
- add missing file (and fix my SmartSVN ignore unversioned list ;-)
- follow-on to r27608
27621: RINF 11: Extended generalized CannedQueryDAO to support common selects
- MyBatis resultset termination included
- RINF 11: Integrate existing CannedQueryDAO (ALF-8417)
- RINF 11: Canned queries (ALF-7167)
27623: RINF 09 / RINF 10: DB-based paged query for get children (DocLib & CMIS)
- if total count not requested then can cut-off permission checks (based on max items) and instead set "hasMore" flag (if applicable)
- now used by Share DocLib folder tree listing (on LHS) - see ALF-6570
27636: RINF 09 / RINF 10: DB-based getChildren
- improvements to treenode (push down sort by name, get subfolders with max 1, remove redundant max check) - re: ALF-6570
- add default child assoc sort (if no sort requested)
- minor tweak to getChildren CQ trace logging
27641: RINF 11: Extended generalized CannedQueryDAO
- add temporary MyBatis workarounds for ResultHandler-based queries
--> support unlimited queries for nested results maps (MyBatis #129)
--> clear cache to return results on subsequent calls (MyBatis #58 ...)
27642: RINF 16: Ordered associations: Added NodeService.setAssociations
- All reordering, deleting and adding node by NodeService impl.
- ALF-7405 (ALF-7404 RINF 16: Peer association enhancements)
27643: ALF-8183 SVC 01: I18N List of values constraint.
Added ListOfValuesConstraint.getDisplayLabel(constraintAllowableValue) method which uses the usual I18NUtil methods
to retrieve a localised display-label for the LoV constraint values.
These can be added to resource bundles in the usual way using a key as follows:
listconstraint.test_list1.ABC=ABC display where "listconstraint." is a fixed prefix.
"test_list1" is the shortform QName for the constraint with colon replaced by underscore.
"ABC" is one of the allowed values for the named constraint.
The test case changes & the associated model & property changes should make things clear.
27644: Test cases for ChannelService.createChannel and ChannelService.getChannels
27645: ALF-8183. I18N LIST constraint.
This check-in ensures that requests for a LIST.value display label for:
a non-existent value returns null
an unlocalised value returns the allowableValue String from the model (backwards compatibility).
27651: Fixing compile errors caused by moving NodeLocator classes.
27652: RINF 09 / RINF 10: DB-based getChildren CQ
- replace direct use of "sqlSessionTemplate" with "cannedQueryDAO"(RINF 11)
27657: RINF 09: GetChildren CQ
- temp fix for cm:modified (when qname does not exist) - TODO review
27666: Support for ALF-8594: RSOLR 039: SOLR sorting
- sorting for all single valued types
27671: Ignore virtual tomcat build
27673: Projects core, datamodel and solr now explicitly list their library dependencies and no longer include the 3rd party project
27681: Added pub:channelInfo aspect tows:webasset and ws:section.
Also ws:website now extends pub:DeliveryChannel.
Added new behaviours to section and website to ensure the channel info is populated.
27682: Added example SOLR config dir and instructions on how to set up - simple dev set up only subject to lots of change
27685: Cleanup: Removed non-javadoc; Removed unused methods; Added @override
27689: Update SOLR test instance dependencies
27692: ALF-8183 SVC 01: I18N Lost of values constraint.
Added code to the FormService's PropertyFieldProcessor so that the allowedValues for a ListOfValuesConstraint
have both the allowed value and its localised display label, if there is one.
Added English property values for the bpm:allowedStatus constraint and also for the LIST constraint in the FDK.
27693: WCM-QS ML work - Have the webscript return more details on the node and its parents,
and begin to use this in the UI to allow you to create as well as manage translations
27695: Workaround/fix for ALF-5747. Incompatibilities with OpenOffice 3.3
It looks like OOo 3.3.0 shipped with a missing component. The ConfigurationRegistry, which is used to remotely query the
OOo version, was not implemented in 3.3.0 and therefore gives an ugly (and unavoidable) exception on OOo startup.
There's not much we can do here, beyond getting users to upgrade their OOo install.
I've added a catch clause that detects this problem and emits a slightly friendlier warning to the log.
27720: ALF-8532: WPUB: F148: Foundation API: Request that a node be published to the live environment
27727: Removed duplicates
27734: WCM-QS ML Updates to handle marking a node as an initial translation, and a start on creating translations
27735: Fixed generics warning
27736: Added PermissionService.getReaders(List<Long> aclIds)
- Support for ALF-8335: RSOLR 013: DAOs and remote APIs for ACL changesets (ALF-7072)
- Also cleaned up empty javadoc
27739: Implemented NodeFilters and NodeFinders for AbstractChannelType and ChannelServiceImpl.
27741: RINF 09: GetChildren CQ - fix sorting - with unit tests (for default Share DocLib fields)
- partial ALF-8638
- ALF-8584 (follow-on for r27657)
27746: Start on linking the WCM-QS ML ui and the forms service for creating the translation
27747: Added --INCLUDE: directive to SQL scripts to allow importing of DB-specific snippets
- ALF-8498: SVC 06: Property holding comment count for a node
27748: Web scripts for ACLs and ACL readers
- Unit tests at all levels (Webscripts, Service and DAO)
- Tweaks to the DB queries to support index-based sorting
- Support for ALF-8335: RSOLR 013: DAOs and remote APIs for ACL changesets (ALF-7072)
27753: Fixed enum naming
27754: Undo changes to ChannelServiceImplIntegratedTest made in 27739 that broke the build
27762: Part I: ALF-7992: RSOLR 024: Locale support for query: SOLR
- restructure and split localisation from generic query parsing
- Lucene impl migrated and tested
- No SOLR impl yet
- Fix CMIS QueyTest
- Fix references for LuceneQueryParser mostly to AbstractLuceneQueryParser
27763: Initial implementation of ALF-8498. SVC 06: Property holding comment count for a node.
This check-in adds a rollup property to hold the commentCount (fm:commentCount under fm:discussable).
It adds registered behaviours for fm:post deletion/creation that will decrement/increment the commentCount for the discussable ancestor node.
I've also added a new test class to test this rollup property. There was no existing test class at this level and indeed there is no
CommentService or DiscussionService. Instead the REST API of comment.put.desc.xml uses the ScriptNodeService to create the correct node structure.
Therefore the test code has had to do the same thing.
27766: Slight reimpl of ALF-8498. Moved the rollup property onto its own aspect.
So now we have fm:discussable, as before, for generic discussions and posts (including Explorer comments).
And we have fm:commentsRollup which is only for rolling up Share comments.
27777: WCM QS ML Forms config and related tweaks to support having newly created nodes made multilingual where required
27781: Add repository project dependency for test context and debug
- fixes model issue with SOLRAPIClientTest
27782: SOLR - move back to dynamic catch all field which seems to be working
-> simpler build and model management
27810: ALF-8405 SiteAspect needs to handle child types of Site as well as Site itself
27821: ALF-7070: Fixed SOLRSerializer to handle residual properties (not in dictionary)
27828: RINF 11: Canned Queries (CQ)
- update API post review .
- add underlying pageRequest/pageResult for single page (or max items if skip is 0)
- add hasMoreItems (ALF-8470) and update unit tests
- return total count range - accurate count (if lower=upper), approximation (lower<upper) or more than (lower known, upper unknown)
- update option to request total count with max (if cutoff/trimmed then returns unknown upper count)
27829: RINF 09: GetChildren CQ - paging support for FileFolderService list
- update impl wrt CQ API changes (follow-on to r27828)
- add factory method to return CQ with common params & update FileFolderService
- update CMIS getChildren (AlrescoCmisService)
- update scripting layer (ScriptNode, ScriptPagingNodes)
- update Share DocLib (including doclist & treenode)
- ALF-8641 - add proto (UI subject to review) to demo Share DocLib requesting max total count (eg. "Showing items 1 - 50 of 1000++")
27837: Moving the pdfbox, fontbox, jempbox libs from 1.3.1 to 1.5.0, which adds various bugfixes.
27838: Web scripts for ACLs and ACL readers
- Simplification of paging API for ACLs
- Support for ALF-8335: RSOLR 013: DAOs and remote APIs for ACL changesets (ALF-7072)
27839: SOLR ACL tracking client code and tests
- Support for ALF-8335: RSOLR 013: ACL changesets client APIs (ALF-8463)
27844: Build fix. Making SiteServiceImplTest more tolerant of preexisting sites.
27845: Build fix. Making SiteServiceTest more tolerant of preexisting sites in databse.
27846: Build fix relating to ALF-8183. An extra test constraint requires an increment to a assertion expectedValue in this test.
27849: ALF-8532: WPUB: F148: Foundation API: Request that a node be published to the live environment
- Added more necessary interfaces and framework code
27850: RINF 09: GetChildren CQ - update sorting unit test + fixes
- nulls sort 'low'
- fix multi sort props
27858: ALF-8532: WPUB: F148: Foundation API: Request that a node be published to the live environment
- Initial cut of persisting publishing events (not tested yet)
27861: WCM QS ML webscript work - fix some issues, and start on webscript unit test
Also updates a failing test with details of why it's failing (switch from JSON to XML some time ago)
27864: Fix context minimal tests - web publishing context is already included from the high level context, and shouldn't be in the core one
27867: ALF-8184: SVC 02: Encode and decode of forms itemId should be done in the REST layer and not in each individual form processor.
27868: Sample Adobe Illustrator files from Linton, for use in testing future metadata/transformer support
27869: Fixed ChannelServiceImplTest failures.
27870: Created JBPM process definition to publish scheduled Publishing Events.
27872: Sample Adobe Illustrator 3 file (PS not PDF based) from Linton, for use in testing future metadata/transformer support
27874: OpenCMIS update
27875: Change the Tika auto transformer to register aliases of mime types, as well as the canonical ones, for when Alfresco uses the alias
27876: RINF 11: Permission checking in canned queries (ALF-8419)
27877: RINF 39: Optimise GetChildren CQ for unsorted maxItems (ALF-8576)
27878: RINF 09: Update FileFolderService - all list methods should use GetChildren CQ (ALF-8733)
27882: ALF-8532: WPUB: F148: Foundation API: Request that a node be published to the live environment
- Unit test for the publishing package serializer/deserializer
27885: Change order of publishing context so it comes after transfer service context.
27886: Fix for ALF-7992: RSOLR 024: Locale support for query: SOLR
- d:mltext, d:text. d:content
- phrase, term, prefix, wild, ranges, fuzzy etc
- localised tokenisation
- consistent tokenisation for cross language support ( phrase, term, prefix, wild, ranges, fuzzy etc)
- CMIS related stuff to be tested later
27897: Minor tweak to prevent repeated gets of the default locale when writing properties
27900: WCM QS ML webscript tests
27905: Fixed PostgreSQL HeartbeatTest: WorkflowDeployer was checking for read-only server too late
27906: Remove unused imports
27907: Used common SQL snippets for DB2 node inserts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Added a getWorkflowImage(String workflowInstanceId) method to WorkflowService and WorkflowComponent interfaces. JBPM implementation will always return null, Activiti implementation will return an InputStream when diagramming information is available.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261