Commit Graph

646 Commits

Author SHA1 Message Date
Roy Wetherall
77a9b6b8d2 RM: Merged BRANCHES/2.0.1.x To HEAD
55998: [RM-904][MNT-9589] Actions are missing within Records Management Site for Record Series and its children.  
        Add DOD5015 constants for old style audit entries.  Modify callback to look for and parse existing DOD5015 audit entries.  
        Add query to look for DOD5015 audit entries.  This call must be before the query for RM entries for the report to be ordered correctly.   



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 05:14:25 +00:00
Roy Wetherall
1ca6691beb Merged BRANCHES/2.0.1.x to HEAD:
55708: [RM-904] Actions are missing within Records Management Site for Record Series and its children. Patches are implemented as components.  Components are loaded in a single thread. The work of a patch should be wrapped in its own transaction to isolate it from the changes of other patches and allowing patches to commit work before working on the next patch.Moved all work of RMv2ModelPatch into the RetryingTransactionCallback.  RetryingTransactionHelper set to create new thread.
Add RetryingTransactionHelper to RMv2FilePlanNodeRefPatch. Move all of the work of the patch into the callback.  Helper creates new thread.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 04:57:47 +00:00
Roy Wetherall
edde3b929b RM-988: I18N id's not being looked up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 02:44:15 +00:00
Roy Wetherall
44c1fef683 RM-989: Can create a folder within a Record Folder in CIFS which breaks the Share UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 01:58:09 +00:00
Roy Wetherall
c69c9964cc RM-880: Cannot upload file into RM site over FTP/NFS file protocols
* if record has NO_CONTENT when assoc is created, postpone filling untill NO_CONTENT is removed



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 01:30:50 +00:00
Roy Wetherall
402110f843 RM-982: Normal user can File and Reject record they declared.
* 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
2013-09-25 07:05:10 +00:00
Samuel Langlois
c1f293eabf Upgrade the dependency to ENTERPRISE-HEAD build #1513
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-24 09:50:41 +00:00
Roy Wetherall
20efaab647 RM-911: User is prevented from changing the RM site's visibility to anything but public
* this is only enforced in the repository atm



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-24 05:42:00 +00:00
Roy Wetherall
6d9e315802 RM-183: All Language Packs: translation errors - Records Management site
* role groups wheren't being created with the resolved display label
 * I18N'ed the name of the 'all roles' group



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-24 05:03:57 +00:00
Gethin James
66a22b96af Added constraint title translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-23 09:48:08 +00:00
Gethin James
0fe09315ee More translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55768 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-20 17:16:56 +00:00
Gethin James
e56eb422a4 Various translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-20 14:12:37 +00:00
Roy Wetherall
c6d7e34f0c RM: Updated es property bundles.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 06:03:32 +00:00
Roy Wetherall
c677956ccb RM-975: Unable to change the name of a vital folder that contains a frozen record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 05:56:32 +00:00
Roy Wetherall
ce269f12b7 RM-424: Site-admin user using CIFS cannot open document after declaring it as a record.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 05:10:38 +00:00
Roy Wetherall
21a05812a2 RM: Update unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 03:54:33 +00:00
Gethin James
9c87adb0c7 Added events translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 16:15:21 +00:00
Gethin James
f3f389fe65 Added roles translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 16:15:17 +00:00
Gethin James
f943627c20 Added saved search translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 16:15:13 +00:00
Tuna Aksoy
019ec7005f Updated the dependency to ENTERPRISE-HEAD build #1494
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 15:29:09 +00:00
Tuna Aksoy
5d1e918c3e RM-972 (RM is not backwards compatible with the Community version)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 09:15:36 +00:00
Roy Wetherall
97469ddcf0 RM: Unit test fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 06:17:04 +00:00
Roy Wetherall
83c3ccd7d4 RM: Fix unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 04:45:22 +00:00
Roy Wetherall
8ca1a310af RM-967: Disposition actions appearing for records when disposition set to record folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 03:37:09 +00:00
Roy Wetherall
c40d3e4310 RM: Fix unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 02:39:51 +00:00
Roy Wetherall
2e89f0a43a RM-956: Destroy action is appearing unexpectedly
* destroy always capability has been deprecated .. it's highly confussing and isn't nessesary when delete is available
 * can be configured back in easily if required, but wasn't working in 2.0 so highly unlikely to be needed



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 02:07:03 +00:00
Roy Wetherall
90a63d7c71 RM-895: Ensure RM actions with side effects don't try and execute if things are frozen
RM-965: Unable to declare a record from the repository view.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 00:52:58 +00:00
Gethin James
11ec6eea5f Some translations fixes for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 15:18:32 +00:00
Tuna Aksoy
963bcaeb51 RM-959 (Admin user is not able to create users)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 14:37:44 +00:00
Craig Tan
80699e423e RM-924 Rule is executed incorrect if Edit Disposition Instructions
RM-923 Several actions don't trigger the updated rule
RM-925 The updated rule is triggered several timce by complete/undo event, cutoff/undo cutoff

- Added dispositionActionDefinition to the list of types to be ignored by rule triggering just so that 'edit disposition steps' will not cause update rules to be triggered to avoid confusion.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 07:40:44 +00:00
Tuna Aksoy
5ba36de984 RM-945 (Manage Rules and Manage Permissions are disabled for Unfiled Records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-15 20:29:42 +00:00
Gethin James
ed5490c6f9 Make compile -> explodedDep depend on fetchWar - FetchWar will automatically download the dependencies with needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-15 12:51:40 +00:00
Tuna Aksoy
e422a6fa87 Updated the dependency to ENTERPRISE-HEAD build #1486
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-14 20:57:55 +00:00
Roy Wetherall
a7fc23dc6b RM-880: Cannot upload file into RM site over FTP/NFS file protocols
RM-881: Cannot rename a record over file protocols



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-13 08:40:09 +00:00
Craig Tan
309cb8c396 RM-925 The updated rule is triggered several timce by complete/undo event, cutoff/undo cutoff
- Ignored these type of node from being fired by rules:

dispositionSchedule
dispositionAction
eventExecution


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-13 04:29:30 +00:00
Roy Wetherall
b442407b01 DE, FR, IT and JP translations for RM 2.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 07:08:39 +00:00
Roy Wetherall
5923f7c593 RM: tweak Audit Service API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 06:39:52 +00:00
Craig Tan
19a4f06591 RM-838 Searching for audit logs by event doesn't work for some events' types
- Added a new Spring config property 'auditedImmediately' to work alongside 'auditable' property to indicate that the action should be audited immediately rather than after transaction commits. The default value of 'auditedImmediately' is false unless it is specified as true by individual action in rm-action-context.xml.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 06:07:29 +00:00
Roy Wetherall
97b7774eed RM-953: SOLR searches are not returning results as expected for RM artifacts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 05:47:56 +00:00
Roy Wetherall
c0245b05df RM-951: FilePlan is not refreshed automatically after creating a category
RM-950: Completed Records are not displayed for RM Admin
RM-949: RM admin can see only own Categories/Folders/Records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 05:06:40 +00:00
Craig Tan
b06676d146 RM-947 Remove unwanted properties from being audited for the 'Updated Metadata' event in RM
- Just tidied things up a little. Added the following override so that by default it is audited immediately and the audit entry isn't removed. This means a lot of the calling clients don't need to understand or define the last two properties.

@Override
public void auditEvent(NodeRef nodeRef, String eventName, Map<QName, Serializable> before, Map<QName, Serializable> after)
{
    auditEvent(nodeRef, eventName, before, after, true, false);
}

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 02:42:14 +00:00
Gethin James
c20e679651 Fixed RM-940 Location of transfer isn't being set when transfer completed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 16:12:02 +00:00
Craig Tan
16b8b97af6 RM-947 Remove unwanted properties from being audited for the 'Updated Metadata' event in RM
- Specified a list of properties in Spring's configuration to be ignored by audit.
- If an audit entry ends up with no changes in properties then we discard the entire audit map altogether. Currently this applies only to 'Update RM Object' events as other events still require to be audited even if there are no property changes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 09:46:33 +00:00
Roy Wetherall
859e21a838 RM-872: "admin" can access all areas of the file plan without have been given an explicit role or permissions.
* it now valid for admin to have access to the file plan
  * rmadmin is still created and always has admin rights to file plans, but by default is created with a random password
  * admin has permissions to reset rmadmin password if administration of RM file plans needs to be delegated
  * rmadmin name I18n'ed
  * rmadmin patch and creation code updated



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 04:49:39 +00:00
Roy Wetherall
c98ca8e89c RM-935: Transfers and Holds are not migrated from 2.0.x
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55204 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 01:37:33 +00:00
Craig Tan
af33a147e3 RM-936 Audit is producing too many 'object edited' entries.
- To eliminate multiple audit maps from being generated when events with the same name are required to be fired multiple times in the same transaction, the code checks on existing auditedNode stacked for the same combination of nodeRef and eventName. If there exists such an auditNode, update its 'after' properties with the latest set of properties and leave its 'before' properties unchanged so that it retains the original set of properties. The first 'before' and last 'after' will be diff'ed when comes to building the auditMap later when the transaction commits.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-10 06:39:18 +00:00
Roy Wetherall
c351d6fcdb RM-895: Can't Freeze record and folder witch contains record if updated rule to Freeze is set
* also dealt with exception that was not being handled by background job



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-10 06:32:12 +00:00
Tuna Aksoy
24ff46e982 Updated the dependency to ENTERPRISE-HEAD build #1473
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-09 11:21:48 +00:00
Roy Wetherall
86dd859040 RM-926: File plan filters (Hold, Transfer, Unfiled) may not show up to date results when Rm configured for SOLR
* 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
2013-09-09 01:57:58 +00:00
Tuna Aksoy
1ac5956888 Fixed failing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-08 07:30:18 +00:00