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
- multi-threaded AVM->DM Share surf-config remote store migration
- patch is now active and will migrate your site/user dashboards to the Sites folder
- all new site/user dashboard config will be created under the Sites folders
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- sort out SOLR per core analyzer properties
- required DD refactoring for loading these particular properties and not using I18NUtils as SOLR needs to over-ride the class loader used ....
- dictionary DAO now supports over-riding the default datatype behaviour (much easier to change the analyser properties file used)
- property added in repositoy.properties
- lucene.defaultAnalyserResourceBundleName=alfresco/model/dataTypeAnalyzers
- models can define per property, class(type and aspects) and model analysis behaviour by specifying an analyser bundle - see the data type model for model level config
- the same notation is used elsewhere
- SOLR and Repository config for this has to be kept in sync by hand - consider syncing these later
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28741: Merged DEV/TEMPORARY to V3.4-BUG-FIX
28740: ALF-8993: IMAP favourite star is not visible if imap is enabled via JMX
The org.alfresco.repo.imap.ImapService interface was extended to expose getEnabled() and made the webscript to call ImapService.getEnabled().
28742: ALF-8801: Broken French strings
28745: ALF-6470: French string correction
28746: ALF-5607: Installer deletion of directories on installation cancel.
28756: ALF-9211: Install fails when path selected that contains accents or double byte chars (e.g. Japanese)
- Fix from Bitrock
- Not internationalized yet
28758: Merged DEV to V3.4-BUG-FIX
28743: ALF-8029: JSON returned by some audit queries not valide
Quote user in query.get.json.ftl if it has value.
28761: Merged DEV to V3.4-BUG-FIX
28739: ALF-9123 : "Content URL conversion failed" error being thrown
Note: Actually changed the implementation but the principle remains.
In future, use a thread-safe boolean e.g. AtomicBoolean to carry data
around about the running state; don't use a class member variable as
it can be manipulated by competing threads, etc.
28762: Fix ALF-9376: Typo in Version2Model
28763: Merged DEV to V3.4-BUG-FIX
28754: ALF-8461: Invalid property cm:source (cm:copiedFrom) causes not be become sys:incomplete
Configurable property called 'propertiesToIgnore' was added to IncompleteNodeTagger,and configured to ignore "cm:source".
Merge note: I fixed the stored 'propertiesToIgnore' to be a Set<QName> to prevent unnecessary conversions
28764: ALF-9036: Fix NPE on XForm session timeout
28765: ALF-9211: Externalized new installer message
- Needs localizing
28789: ALF-9407: Single quote characters in messages containing {} need to be doubled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28793 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
- The public service interceptors prevent unauthenticated access,
while the internal services ('little' services) should not apply any permission checks
- Added explicit Authority-related test to check
- ALF-9033, ALF-9129 (RINF 50), ALF-9322, ALF-7167 (RINF 11)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28737 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
- initial refactor - we have the option to push-down some of the prop filtering
- note: BlogServiceImpl did not need to change
- TODO: review tag req w/ Neil (either remove and/or push down)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28650: Merged DEV/TEMPORARY to V3.4-BUG-FIX
28637: ALF-5601: WCM Reviewer should be able to modify 'Launch Date' of the review item.
Set "wcmwf:launchDate" to read-only on "submitpendingTask".
28697: Fix for ALF-2711 - Fix to handle incorrect (negative size!) content length headers sent by Adobe Flash when uploading files over 2GB.
28702: Merged DEV to V3.4-BUG-FIX
28693: ALF-9314: Unable to add to multi-valued properties via AVM Console
The node property value of Collection type must be set within square braces
as a comma separated values without spaces. E.g. [aaa,bbb,ccc]
28718: Merged PATCHES/V3.4.2 to V3.4-BUG-FIX
28569: ALF-9253 / ALF-9166: 'A valid SecureContext was not provided in the RequestContext' exception on startup following upgrade to 3.4.1
28618: ALF-8385 / ALF-9364: Merged DEV/TEMPORARY to PATCHES/V3.4.2
28565: ALF-5887 Addition of RenameUser command line toolContext
- PersonServiceImpl should not disable normal behaviour when handling duplicate Person NodeRefs as the userAuthorityCache does not get updated correctly
- Tool (base class for Import, Export and RenameUser command line tools) should not automatically login if setLogin(false) has been called.
28719: Merged V3.4 to V3.4-BUG-FIX
28648: ALF-9103: Remove obsolete (and mis-spelled) use-old-dm-alcs-context.xml.sample
28701: Corrected library for - Fix for ALF-7860 - Regression: Close button doesn't work in Node Browser
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261