99377: BENCH-369: BM-0004: API and internals for Alfresco server
- Move commons Math3 to 'core' project for general reuse
- Clone NormalDistributionHelper class from Benchmark projects to Alfresco 'core'
- API added: http://localhost:8080/alfresco/s/api/model/filefolder/load
JSON:
{
"folderPath":"/Sites/t2/documentLibrary",
"fileCount":"1",
"minFileSize":"1024",
"maxFileSize":"2048",
"maxUniqueDocuments":"10000"
}
- Above JSON will create 1 file in the 't2' site document library with spoofed plain text
- Change away from deprecated API for TransactionListenerAdapter
- Fix imports and neatness
- Improve FileNotFoundException details
- Disable timestamp propagation on the parent folder to reduce CPU overhead
- Document changes relating to the addition of cm:description properties
- Add options to control generation of MLText cm:description fields
- descriptionCount: number of cm:description translations to include
- descriptionSize: size in bytes of each cm:description translation
- Use released 'alfresco-text-gen' V1.1
- Use fixed text-gen component to prevent ArrayIndexOutOfBOunds
- Tighten up error message when errors occur on reading content strings
- Fix random seed generation bug
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
99376: BENCH-371: BM-0004: Copy Alfresco and set up build plan
- Modify FileContentStore to service 'spoof://' URLs
- SpoofedTextContentReader to generate consistent text for URL
- Fix FileContentStoreTest so that tests actually execute
- Add override for @After so that no NPEs are thrown
- Add tests for the 'spoof://' protocol
- Some additional checks for IllegalArgumentException on SpoofedTextContentReader construction
- Force delete of 'spoof' to return false but not fail with an exception
This is handled neatly by the EagerContentStoreCleaner, which accepts that the stores may protect data according to their own needs e.g. Centera
- Add spoofing option to FileFolderPerformanceTester
290 files/s for 1K files vs 460 files/s for spoofed text files (no binary streaming required)
- Start FileFolderLoader component that will be used by the API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90779: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
90654: Merged DEV to V4.2-BUG-FIX (4.2.4)
88809: MNT-12502: Updating parent node (folder) fails using CMIS, if any of contained children is locked
Check if HiddenAspect and IndexControlAspect exist on folder items before actually remove aspects.
Apply cascade of the (un-)hide to children even if a child is locked. Add unit test for case.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78359: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
76619: Merged DEV to V4.2-BUG-FIX (4.2.4).
76456: MNT-10693 Changing permission on a document changes its modified fields in Share
76496: MNT-10693 Changing permission on a document changes its modified fields in Share
76499: MNT-10693 Changing permission on a document changes its modified fields in Share
- In PermissionServiceTest.testPreserveAuditableData() was made changes.
76520: MNT-10693 Changing permission on a document changes its modified fields in Share
- In AbstractPermissionTest was changed visibility of 'applicationContext' to 'protected'.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
71614: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
71278: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
70686: Merged DEV to V4.1-BUG-FIX (4.1.9)
70361: MNT-11120: FileFolderService.list does not order properly
- Check next sort properties if current are null for both nodes.
- Add unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74703 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68116: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
67126: Merged DEV to V4.2-BUG-FIX (4.2.3)
66872 : MNT-10169 : Sort order by name is not always correct when the file name has alphanumeric characters
- Overwrite RuleBasedCollator rules to consider space-character. Fix related test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61350: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
61114: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
61011: Merged DEV to V4.1-BUG-FIX (4.1.8)
60967: MNT-10610: FilenameFilteringInterceptor.java readability
MNT-10561 : If a folder is renamed with 8 characters that are within A-F and 0-9, the sys:temporary aspect is applied to it
Implemented a JUnit test to simulate the issue.
Added a check for a node to be without content in FilenameFilteringInterceptor.isNameOfTmporaryObject(String, NodeRef).
Fixed code and JavaDoc formatting.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61049: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60931: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
60806: Merged BELARUS/V4.1-BUG_FIX-2013_11_27 (4.1.8) to V4.1-BUG-FIX (4.1.8)
58341: MNT-8109: Moving a file over WebDAV changes the modification date although the file was not modified
'system.preserve.modificationData' property has been added. The property controls if the logic of auditable aspect should be executed or not.
- 'FileFolderServiceImplTest' has been fixed in accordance with changes in 'FileFolderServiceImpl';
- 'FileFolderServicePropagationTest' has been added
58456: MNT-8109: Moving a file over WebDAV changes the modification date although the file was not modified
'system.preserve.modificationData' property has been added. The property controls if the logic of auditable aspect should be executed or not. Default value has been modified to 'false'. Tests were modified appropriately to respect the default value:
- 'FileFolderServiceImplTest' has been reverted to the original state;
- 'FileFolderServicePropagationTest' has been improved to avoid further modifications if the default value is changed;
- 'FileFolderServicePropagationTest' has been added to 'ModelTestSuite';
- Getter for the 'system.preserve.modificationData' property has been added to the 'FileFolderServiceImpl'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60938: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60837: MNT-10333: WebDAV - Cannot save existing Alfresco Microsoft Office 2011 documents into Alfresco on Mountain Lion
- Update unit test that is failing after fix was merged to 4.2-BUG-FIX
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261