Commit Graph

2205 Commits

Author SHA1 Message Date
Roxana Lucanu
d5efeec830 RM-3030 - renamed variable and changed comment 2016-04-06 17:52:38 +03:00
Roxana Lucanu
1de1bcf5f4 RM-3030 - added filePlan aspect for every thumbnail from renditions 2016-04-06 16:49:42 +03:00
Roy Wetherall
6486923ca8 RM-3181, RM-3195: ensure JSON conversion component works when no file plan is found 2016-04-06 10:24:27 +10:00
Roy Wetherall
d5031599fa RM-3181 and RM-3195 - error accessing caveatConfig.json after modifications
Caveat config file had filePlanComponent applied, but wasn't contained
within a file plan.
2016-04-05 14:38:36 +10:00
Roy Wetherall
2858241aed Merge branch 'feature-2.4/RM-3077_LinkedAndCutOffRecordsPropertiesNotAvailableForUsersWithNoAccessToLinkedFolder' into 'release/V2.4'
Feature 2.4/rm 3077 linked and cut off records properties not available for users with no access to linked folder

Uses runAsSystem for obtaining instructions, recordCategory and categoryId in RecordsManagementNodeFormFilter.AddTransientProperties()

See merge request !94
2016-04-04 01:59:29 +01:00
Roy Wetherall
a3a9748e02 Merge branch 'feature-2.4/RM-2967_RMAuditErrorIfUserIsDeleted' into 'release/V2.4'
Feature 2.4/rm 2967 rm audit error if user is deleted

RM-2967 - The admin tools audit throws an error when trying to access full information if deleted users created/updated data.
   - Added exists check in RecordsManagementAuditServiceImpl.java to avoid the illegal argument exception.
   - Added an empty check in rm-audit.js to remove the "-" if the username is empty because if the user is deleted the text is "Create Person -"
   - Added a null check in AuditLogGet.java because if you delete the RM site and access the audit page you get a null pointer exception

While testing the issue I noticed that the Create Person audit entry appears only after the user is deleted. The audit event is created with immediate auditing on false which makes sense if we only want to audit users related to RM site. If the "Create Person" log appears only after the user was deleted there isn't a reason to try getting the username property at all from a node that we know it doesn't exist.

See merge request !95
2016-04-04 01:55:11 +01:00
Ana Bozianu
5487aa1773 RM-2967 - added exists, null and empty checks to solve the problems 2016-04-01 19:02:29 +03:00
Silviu Dinuta
9908fc0c3d RM-3077 : Used runAsSystem to obtain disposition instructions,
recordCategory and
categoryId
2016-04-01 12:40:41 +03:00
Tuna Aksoy
0e3f27f4e2 RM-3229 (Repo AMP contains unwanted libraries) 2016-03-30 20:12:39 +01:00
Roy Wetherall
1844ecc199 Consolidate pluginExecution sections in root POM 2016-03-30 09:57:54 +11:00
Roy Wetherall
ad07c548ee Merge branch 'release/V2.4' of gitlab.alfresco.com:records-management/records-management into feature-2.4/RM-3148-RuleInheritancePatch 2016-03-30 09:44:33 +11:00
Ana Bozianu
b582b248d9 Merge branch 'feature-2.4/RM-3000_setPropertyValueInRMRulesNotWorking' into 'release/V2.4'
Feature 2.4/rm 3000 set property value in rm rules not working

RM-3000 - The set property value action can not be used in RM rules page.

Because the actions were not working as expected in other languages the mechanism has been changed to use localization in MNT-6350 and a caching mechanism has been implemented. So the getLocalizedParameterDefinitions is called only once at server startup. The actions in RM have been added before this change and we continued to implement getParameterDefintions.

The method getLocalizedParameterDefinitions which is protected calls addParameterDefinitions to build the results so I've overridden addParameterDefinitions to include the delegate's parameters for DelegateAction.

The actions executeScript and sendEmail were also affected by this change. I've added unit test to cover all 3 of them.

See merge request !81
2016-03-24 06:28:19 +00:00
Roy Wetherall
c745543b5f RM-3148: Patch unit test 2016-03-24 13:35:23 +11:00
Roy Wetherall
813d3dee13 RM-3148 - File Plan containers rule inheritance patch implementation 2016-03-24 13:07:56 +11:00
Roy Wetherall
90ed398624 Adjust POM's so plugin execution errors are masked in Eclipse 2016-03-24 12:24:07 +11:00
Ana Bozianu
33e90196de RM-3000 - fixed issue for setPropertyValue, executeScript and sendEmail and added unit test 2016-03-23 13:03:34 +02:00
Tuna Aksoy
93f709edc2 Removed .gitattributes file as it was causing problems. 2016-03-23 08:18:51 +00:00
Tuna Aksoy
4372073088 Merge branch 'feature-2.4/crlf' into release/V2.4 2016-03-22 07:52:34 +00:00
Jean-Pierre Huynh
e64025e055 BDE-548:
- Modified pom to use the maven-release-plugin
- Disable doclint
- Removed the explicit call to maven-source-plugin. The source jars will be created by the maven-release-plugin
2016-03-18 16:01:54 +00:00
David Webster
1c7aa1de1f CRLF: Update following review. Remove explicit binary types and trust Git to work it out on its own 2016-03-16 14:45:32 +00:00
David Webster
87ffd26d09 Configure CRLF line endings for whole repo
(cherry picked from commit 5f594edd19e37e0c6a838104c80d0da93943c428)
(cherry picked from commit d179e44f7cba552554be5aa3bf30c5eec20dd2e5)
2016-03-16 14:42:00 +00:00
Tuna Aksoy
8fcc027af0 RM-3132 (Update license headers) 2016-03-16 10:26:58 +00:00
Tuna Aksoy
2c7ed37785 RM-3132 (Update license headers) 2016-03-15 15:48:38 +00:00
Roy Wetherall
2dfc8d0f27 Merge branch 'release/V2.4' of gitlab.alfresco.com:records-management/records-management into feature-2.4/RM-3148-FilePlanInheritedRulesNotFiring 2016-03-15 11:59:32 +11:00
Roy Wetherall
3768638ffe Remove now unessesary checks from rule execution (RM-3148) 2016-03-15 11:59:13 +11:00
Roy Wetherall
169b975b46 Extend integration test to show rule inheritance on record categories working as expected (RM-3148) 2016-03-15 11:20:53 +11:00
Roy Wetherall
587a966477 Ensure that rules are not inherited onto the file plan, unfiled records, holds and transfers root containers (RM-3148) 2016-03-15 10:49:19 +11:00
Tuna Aksoy
c923dc0b9f RM-3132 (Update license headers) 2016-03-14 17:15:02 +00:00
Tuna Aksoy
aa690919b2 RM-3132 (Update license headers) 2016-03-14 17:04:23 +00:00
Tuna Aksoy
687307edbe RM-3132 (Update license headers) 2016-03-14 17:01:03 +00:00
Tuna Aksoy
626f7e4da7 Merge branch 'feature-2.4/RM-3132_Update_license_headers' into release/V2.4
Conflicts:
	rm-community/rm-community-share/config/alfresco/site-webscripts/org/alfresco/rm/customizations/components/rules/rules-header.get.js
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/context/webscript-context.xml
	rm-enterprise/rm-enterprise-repo/src/main/java/org/alfresco/module/org_alfresco_module_rm/classification/package-info.java
	rm-enterprise/rm-enterprise-repo/src/main/java/org/alfresco/module/org_alfresco_module_rm/referredmetadata/package-info.java
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/config/rule-config-action.get.js
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/config/rule-config-condition.get.js
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/rule-details.get.js
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/rule-edit.get.js
2016-03-14 16:37:43 +00:00
Tuna Aksoy
ff1c81d825 RM-3132 (Update license headers) 2016-03-14 16:17:53 +00:00
Tuna Aksoy
54fba30c44 RM-3132 (Update license headers) 2016-03-14 16:12:09 +00:00
Tuna Aksoy
f01d2e1d41 RM-3132 (Update license headers) 2016-03-14 16:07:46 +00:00
Tuna Aksoy
27c76455c8 RM-3132 (Update license headers) 2016-03-14 16:05:44 +00:00
Tuna Aksoy
ba6dee1cd6 RM-3132 (Update license headers) 2016-03-14 15:26:32 +00:00
Tuna Aksoy
4804bffd89 RM-3132 (Update license headers) 2016-03-14 11:54:37 +00:00
Tuna Aksoy
8df85a69c1 RM-3132 (Update license headers) 2016-03-14 11:49:29 +00:00
Tuna Aksoy
69dbe0449f RM-3132 (Update license headers) 2016-03-14 09:51:05 +00:00
Tuna Aksoy
4191ba9495 Reverted all license header related changes 2016-03-13 21:48:44 +00:00
Tuna Aksoy
be2931b565 RM-3132 (Update license headers) 2016-03-13 20:52:10 +00:00
Tuna Aksoy
9886ffb374 Merge branch 'feature-2.4/RM-3082_UpdateAlfrescoCommunityDependency' into release/V2.4 2016-03-13 20:22:42 +00:00
Tuna Aksoy
41d8a7c0db Reverted changes 2016-03-13 20:22:25 +00:00
Tuna Aksoy
7ecfdd540b Merge branch 'feature-2.4/RM-3132_Update_license_headers' into release/V2.4 2016-03-13 16:41:46 +00:00
Tuna Aksoy
d41d325ba1 RM-3132 (Update license headers) 2016-03-11 23:03:18 +00:00
Tuna Aksoy
5d1d814e13 RM-3132 (Update license headers) 2016-03-11 17:28:49 +00:00
Tuna Aksoy
224b1c4116 RM-3132 (Update license headers) 2016-03-11 17:05:12 +00:00
Tuna Aksoy
2e3a1fa270 RM-3132 (Update license headers) 2016-03-11 16:50:48 +00:00
Tuna Aksoy
9ab4e9e17e RM-3132 (Update license headers) 2016-03-11 16:44:23 +00:00
Tuna Aksoy
848e5faae3 Merge branch 'feature-2.4/RM-3082_UpdateAlfrescoCommunityDependency' into 'release/V2.4'
Feature 2.4/rm 3082 update alfresco community dependency

See merge request !69
2016-03-11 12:03:08 +00:00