Commit Graph

6805 Commits

Author SHA1 Message Date
Jared Ottley
26223cb435 [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/BRANCHES/V2.0.1.x@55998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-25 18:18:14 +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
Jared Ottley
7c9e0e7253 [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/BRANCHES/V2.0.1.x@55708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 21:26:43 +00:00
Pavel Yurkevich
add6400535 RM-976: CLONE: RM: Cache overrides break Alfresco clustering
Any custom configuration in 'config/alfresco/extension' of RM module has precedence over the configuration in 'tomcat/shared/classes'. This may cause problems as described at MNT-9520



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@55528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 10:41:31 +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
Roy Wetherall
91c2a02b7c RM-731: Impossible to add 'read and file' permissions for default categories
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@55510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 01:30:25 +00:00
Roy Wetherall
b0a375221b RM-731: Impossible to add 'read and file' permissions for default categories
* permissions set on the file where not being correct set down the file plan heirarchy



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@55508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 00:44:57 +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
Jared Ottley
c0f6b25140 Merge recordsmanagement/BRANCHES/V2.0 to recordsmanagement/BRANCHES/V2.0.1.x:
RM-904: Actions are missing within Records Management Site for Record Series and its children
        r52262: RM-757: Permission confusion after upgrade from 1.0 
		RM-753: Can't edit former seria untill it's vital


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0.1.x@55428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 20:35:26 +00:00
Alan Davis
8efc9da209 Reverse merged the version label increment as this had already been done.
55368: Incremented version label (2.0.1.2)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0.1.x@55384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 09:22:17 +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
Jared Ottley
65d6601ecd Incremented version label (2.0.1.2)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0.1.x@55368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 19:54:13 +00:00
Jared Ottley
d755bbaf85 Merge recordsmanagement/DEV/DODRECERT to recordsmanagement/BRANCHES/V2.0.1.x for:
RM-904: Actions are missing within Records Management Site for Record Series and its children:
	r51134: DOD Recert:  Upgrade issues  
              * added patch to fill in missing file plan root node reference
              * default site id set when retrieving saved searches


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0.1.x@55365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 19:35:16 +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