* record metadata aspects are now configured via spring and includes which file plan type they are relevant for
* added 'unit test' structure .. for 'real' unit tests, ie anything that doesn't load the application context
* included Mockito, new source location and unit test suite into POM
* added unit and functional tests for feature (server)
* refactored accordingly (webscripts, UI, etc)
* visual test of UI .. automation tests to follow
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59208: RM-1115: Manage Rules action is available for a Frozen folder - Added condition that manage rules isn't shown for frozen folders
59343: RM-1114: 'Loading the Document Library' message is displayed on a New Rule page in RM Site - Added appropriate message.loading properties to all languages for rule-details.get and rule-edit.get where this message is used
59361: RM-1105: Adding the RM module causes exceptions when listing the existing audit applications through the audit webscript - Added a try/catch for a ClassCastException around the check to see if the returned object contained a PROP_HOLD_REASON in the RMAfterInvocationProvider. The reason for this is that the containsKeys method will throw a class cast exception if we attempt to see if the keys contain an instance of QName if the returnedObject instance is a TreeMap containing strings as is the case when listing the audit applications through the RESTful interface.
59510: RM-1087: Increase default max number of site pages to 5 instead of 3 - Increased default maximum number of sites pages to 5 in rm-share-config.xml. This threw up an issue in the code that adds the RM Console widget so fixed that too. Important test case for this are that the number of widgets added to the site are smaller than, equal to and greater than the maximum displayed to ensure that the code adding the RM console is fully exercised.
60429: RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
* see MNT-10259
60430: RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
* see MNT-10259
* missed files
60431: RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
* failing tests
* see MNT-10259
60478: RM-1174 (Unable to view record details)
60698: RM-1175: Internal Error on details page of category/folder/record
60699: RM-1177: User's name link on User Rights Report page directs to Admin Console instead of User Profile Page
60700: RM-1176: Couldn't load email mappings
61227: RM-1164: RM 2.1.1 core language bundle refresh
62414: RM-1165 (RM 2.1.1 translation into Simplified Chineese)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* RM-1178: Add DOD site and file plan types to DOD specific content model
* RM-1179: Extend create site dialog to set allow creation of DOD compliant RM site
* RM-1180: Create a patch to update all existing file plans to be, by default, DOD compliant
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* merges from previous branches are now possible without tree conflicts
* added back missing commits when structure was changed (r59445, r59446) .. see RM-765
* updated Maven POM's to use existing code structure
* NOTE: r59454 and r59473 may have been missed in this update .. will go back and re-add
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Created a base report action and splitted the file report action to transfer report action and destruction report action, so that capability checks can be run for those actions separately and each action can pass additional properties to the report template model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Refactored RecordsManagementService and deprecated the methods. The methods have been moved to RecordService, RecordFolderService and DispostionService. The deprecated method calls in the code have been replaced and the bean definitions have been changed accordingly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* improve general reliability of record folder move
* fix up some issues with the way composite capabilities where being evaluated
* use capabilities to enforce conditions of move .. not behavior .. this improves the visibility of the move action in the UI
* unit test
* reproduced and fixed up UI issue .. was showing No Items red banner in a very specific edge case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* hold and transfer container permissions are set up the same as unfiled .. they can not be explicitly set .. instead they inherit from file plan
* holds and transfers inherit permissions from the containers .. in turn they are effected by changes to overall fileplan permissions
* in the future explicit permissions will be able to be set or implied but the held or transfered records
* edit freeze details capability requires filling permission
* unit test for the various scenarios
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* FileUnfiledRecords and RejectRecords are now assignable capabilities
* by default Admin, Records Manager, Security Manager and Power User have them
* they can be added and removed from custom or default roles via the management UI
* capability patch updated accordingly
* extedned get roles ReST API to include/exclude system roles
* In-Place Reader and In-Place Writer roles capabilities are configurable again, but their users and groups are not (as intended)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* transfer and hold containers created under file plan
* holds and transfers now contained within these containers
* holds named using folder level counter to avoid name clash in container
* hold and transfer filters now API driven .. so canned query driven .. so *live*
* unit test updates
* UI tested
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* refactored audit events to be spring configurable, registerable beans
* adjusted how actions are audited
* added missing action I18N labels
* adjusted how audit events are stored against the transaction so that more than one is recorded per transaction (previously it was the last event to happen that was recorded)
* unit test running and share tested
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* started out adding a RM query DOA so canned queries could be added .. turned out this wasn't required, but it's a handy
bit of framework to have in place for the future so I've left it in with an example query and unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261