- does not in fact test the SimpleAuthorityService and effectively a subset of AuthorityServiceTest
- fixed by removing it !! ... likely not used since r2746 (sic) when groups were merged in as a non-ent only feature (Alf 1.2'ish ?)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added web script to return the status of the GDoc service (see ALF-8684)
- Refactor of service code to fix some of the issues when configuration details are changed via JMX or Share
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Major refactoring of existing onCreateNode/beforeDeleteNode(fm:post) behaviours. They now distinguish between
1. increment/decrement of previously rolled-up commentCounts
2. full recalculation of comment count for nodes that have no previous rollup (which would include nodes from pre-Swift repos).
Added a new registered behaviour: onUpdateProperties(fm:commentsRollup) in order to detect fm:commentCount being set to a "trigger value".
If this property is set to a negative number, then a full recalculation of the commentCount for that node will be performed.
New test cases for preSwift content & the recount trigger.
Added a skeleton (placeholder) CommentService to hold some comment-related methods I needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28583: Merged DEV/TEMPORARY to V3.4-BUG-FIX
28451: ALF-5601: WCM Reviewer should be able to modify 'Launch Date' of the review item.
Allows to modify "wcmwf:launchDate" and "wcmwf:autoDeploy" property during task management.
28591: ALF-9208: Site Service performance
- Avoid going through protected node service to access nodes already retrieved by it! Permission checks showing up as main performance drain.
- Optimized listMembersImpl to reduce the number of expensive calls to authorityService.getContainedAuthorities
28592: ALF-9208: Another unnecessary secondary permission check in createSiteInfo
28593: ALF-9208: Fix to permission evaluation in getSiteNodeRef()
28624: Merged PATCHES/V3.1.2 to V3.4-BUG-FIX
28622: ALF-9325: Merged V3.2 to PATCHES/V3.1.2
17523: ETHREEOH-3337: Fix NPEs in RepoServerMgmt operations
- Transactional cache can have entries with non-null keys and null values
28625: Merged DEV/TEMPORARY to V3.4-BUG-FIX (with corrections)
28621: ALF-9113: CommandServlet.java, line 179 (Header Manipulation)
1. Reject absolute URLs
2. Support request-relative URLs that resolve under request context root
28635: Merged V3.4 to V3.4-BUG-FIX
28560: ALF-9087: Missing dataTypeAnalyzers_ja.properties in V3.4
28634: ALF-9249: Stop potential 'ping pong' between subsystems starting and stopping in a cluster
- Regression introduced by ALF-8025 in Team / 3.4.3
- Introduced PENDING_BROADCAST_START state, so that a start() after a successful setProperties() broadcasts only once
- Also automatic subsystem stops aren't broadcast during subsystem export!
- Happens if sysAdmin edits have been persisted as sysAdmin will already have been started before we get to loading its properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28466: Fix for ALF-6541. maintainAspectRatio does not default to true as documented.
Fixed the javadoc to reflect reality.
Merged BRANCHES/DEV/SWIFT to HEAD:
28482 Implementation of ALF-8969 Lucene removal: Blog webscripts.
** Checking this in on Swift branch, as I have the work there. Will merge to HEAD.
The blog webscript controllers have been ported from JavaScript to Java.
A new foundation service, the BlogService has been added and the impls of the webscript controllers delegate into that service, thus encapsulating business logic within the service.
The API for this service is based on the requirements of the existing webscripts, but is for the most part a 'sensible' API. One controller (blogposts.get.js) had very domain-specific requirements (get all of my drafts and all published posts) and it is implemented as a deprecated public method on the service.
The API is not complete, but represents a good starting point for any future feature development.
The various Lucene queries have been replaced with calls to the nodeservice (as an impl detail within the BlogService) which get all blog post nodes and then post-filter them based on property values, aspect/property presence etc. This will be refactored into a CannedQuery in a subsequent check-in.
I've written new test cases aimed at this API & have extended the REST API tests.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28483 Prevent NPEs in some circumstances. Related to ALF-8969.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28484 Fixing activity reports for Blog posting. Following on from previous chagnes related to ALF-8969.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28597 ALF-8969. Introduction of brute force Canned Queries for BlogService query methods.
This will be merged to HEAD after a chat with Jan/Derek.
Introduced 'brute force' Canned Queries for the various BlogService query methods.
These use the underlying nodeService to retrieve result sets.
They must use the small-n nodeService in order to get full result sets.
Therefore I have had to add some AFTER_ACL_ENTRY checks to the BlogService_security bean for the query methods.
Added various CannedQuery classes for the BlogService queries. They currently split into two:
1. a GetBlogPostsCannedQuery which goes some way towards providing configurable query support, albeit driven by the needs of the Blog Service REST API.
2. a DraftsAndPublishedBlogPostsCannedQuery, which is a very specific CQ aimed at a very specific scenario in the REST API.
Changed the BlogService API to return a BlogPostInfo (simple POJO) rather than the less extensible NodeRef.
This affected the webscript implementations.
Added BlogPostInfo as an acceptable return type for security-based filtering in ACLEntryAfterInvocationProvider.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28598 Repackaged the CannedQuery-related classes to a dedicated subpackage. ALF-8969.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28602 Replacement of some JS controllers with Java-based ports. Part of ALF-8969.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28603 Disabling two test cases pending a refactoring. Related to ALF-8969.
Merged BRANCHES/DEV/SWIFT to HEAD:
r28604 Fixing a compilation error.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28546: Merged V3.4 to V3.4-BUG-FIX
28544: Fixes truncated German strings
28567: AccessAuditorTest and PropertyAccessFilterTest added to AuditTestSuite. These tests had been excluded by build.xml.
28570: Fixed ALF-7961: Constraint value with a comma shows multiple fields
28574: ALF-9222 / ALF-9290: Cannot edit a file using Webdav (MacOS specific)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28576 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
28513: Merged DEV/SKYITALIA to V3.4-BUG-FIX
26917: ALF-9145: AVM: fix "get store" (+ store not found)
- if root node id is not found - remove from cache and throw concurrency failure (see also r26916)
- add missing error info - report store name (if not found)
28514: ALF-9145: Fixed merge issue
28518: Fixed ALF-8511: Share - Property with prefix name with - can't be updated/found by Share
28525: Merged DEV to V3.4-BUG-FIX
28522: ALF-8197: Replication service fails to replicate Multilingual Containers
1) Inject list of excluded aspects into ReplicationActionExecutor using replication-services-context.xml.
2) Don't write value in XMLTransferManifestWriter.writeMLValue if it is null.
28534: Merged DEV/TEMPORARY to V3.4-BUG-FIX
28533: ALF-9085: Share version numbers wrong when uploading initial change, initial Inline edit or adding versionable aspect.
1. In ScriptNode.addAspect() if ContentModel.ASPECT_VERSIONABLE aspect added than call ensureVersioningEnabled(true, true) otherwise this.nodeService.addAspect (this.nodeRef, aspectQName, aspectProps)
2. In VersionServiceImpl.ensureVersioningEnabled() the call of createVersion(nodeRef, null) is replaced on createVersion(nodeRef, Collections.<String,Serializable>singletonMap(VersionModel.PROP_VERSION_TYPE, VersionType.MAJOR));
28536: Merged V3.4 to V3.4-BUG-FIX
28246: ALF-3037: Fixed English in patch message
28313: Latest L10N Updates from Gloria.
28335: Removed translations of untranslated bundle!
28364: Merged V3.4-TEAM to V3.4
26978: Fixes: ALF-6107 - Fixes Tab order issues with Add event form.
28387: Merged V3.4-BUG-FIX to V3.4
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.
28421: ALF-9064: commas in "tinymce_languages=en,de,es,fr,it,ja" had been translated.
28422: ALF-7882: security setting incorrect. FileFolderService.moveFrom arguments changed position, but not reflected in RM security file
28496: ALF-2740 - File Types are not properly recognized by Alfresco
28537: Merged V3.4 to V3.4-BUG-FIX (RECORD ONLY)
28240: Merged V3.4-BUG-FIX to V3.4 (3.4.3)
28535: Merged V3.4-BUG-FIX to V3.4
28534: Merged DEV/TEMPORARY to V3.4-BUG-FIX
28533: ALF-9085: Share version numbers wrong when uploading initial change, initial Inline edit or adding versionable aspect.
1. In ScriptNode.addAspect() if ContentModel.ASPECT_VERSIONABLE aspect added than call ensureVersioningEnabled(true, true) otherwise this.nodeService.addAspect (this.nodeRef, aspectQName, aspectProps)
2. In VersionServiceImpl.ensureVersioningEnabled() the call of createVersion(nodeRef, null) is replaced on createVersion(nodeRef, Collections.<String,Serializable>singletonMap(VersionModel.PROP_VERSION_TYPE, VersionType.MAJOR));
28538: ALF-8589: Fixes "Message could not be displayed" errors with IMAP in Outlook Express
- Corrected generation of subtypes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28540 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
Fix build failures related to Audit
28511: Fix build - VersionMigratorTest testMigrateVersionWithAssocs - defaultOnCreateVersion() being called for each aspect as default policy was bound as a service.
28505: Test failure - AbstractVersionServiceImpl was not running defaultOnCreateVersion() as AccessAuditor provided a policy to listen to events.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28517 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28489: RM: Saved Search Refactor
* Consolidated saved search service functionality into a java service
* added delete search to java service
* unit tests
* TODO ... refactor existing web scripts to use new service implementation
* TODO ... bootstrap saved searches with common searches
* Added RetryingTransactionHelperTestCase (fallout from a recent iDay)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28490 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
- Properties have to be encrypted and decrypted in code using MetadataEncryptor ('metadataEncryptor')
- No conversion, encryption or decryption is done by Alfresco
- Unencrypted values cannot be persisted and get thrown out
- ALF-8646: RINF 38: Text data encryption
- ALF-8956: RINF 38: Encryption key password specified by installer
- ALF-9055: RINF 38: Support encryption against existing data
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261