Commit Graph

876 Commits

Author SHA1 Message Date
Rodica Sutu
9bbb0b3516 refactor the code to fix the sonar issue "Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed." 2019-11-04 17:24:09 +02:00
Rodica Sutu
f05afb2399 Merge branch 'master' of https://git.alfresco.com/records-management/records-management into feature/RM-7020_AlowUpdateOfPropertiesForSystemNameSpaceUri 2019-11-04 11:47:37 +02:00
Rodica Sutu
671d6b954c add unit tests 2019-11-04 11:39:35 +02:00
Ramona Popa
8c25f6bec7 RM-6860: Add hold service policies
- Added HoldServicePolicies interface
2019-11-03 06:47:29 +00:00
cagache
751dfb3578 Remove unused service 2019-11-01 10:53:08 +02:00
Rodica Sutu
c33e703be9 add a list of namespace URIs for properties, which should be always editable for a frozen node 2019-11-01 09:51:48 +02:00
Ross Gale
1608781182 Merge branch 'feature/RM-7014_CheckForRmSite' into 'master'
RM-7014 add code to check an rm site has been created before running the...

Closes RM-7014

See merge request records-management/records-management!1277
2019-10-19 11:26:07 +01:00
Ross Gale
bd4c398205 Update RMv32HoldChildAssocPatch.java 2019-10-18 18:34:03 +01:00
Ross Gale
6792522163 RM-7014 code review comments 2019-10-18 14:26:48 +01:00
Ross Gale
6c1808731b RM-7014 add code to check an rm site has been created before running the patches that require an rm site 2019-10-17 17:49:01 +01:00
Ramona Popa
5bae9d32a1 RM-7003: [Upgrade] Generate Hold Report fails for a hold if has active content
- added new the patch to update the hold report template
2019-10-17 08:06:15 +01:00
Ross Gale
94bb04d7f8 Removing unused import from RMv32HoldChildAssocPatch.java 2019-10-16 08:46:16 +01:00
Ross Gale
1c30a04c5b Resolve RM-6995 "Feature/ createnewassocpatch" 2019-10-15 14:17:39 +01:00
Ross Gale
81aa1f2c5c RM-6993 replace old assoc with new 2019-10-08 13:25:30 +01:00
Ross Gale
d50b552be6 RM-6928 adding check to allow specified properties on frozen nodes to be updated 2019-09-24 16:45:51 +01:00
Ramona Popa
066503b515 RM-6945: Display available actions on held active content inside a hold
- added actions for isFreezeActiveContent
2019-09-16 09:08:14 +01:00
Rodica Sutu
c087c888c6 add an end to end test to check the search disposition schedule properties 2019-09-04 16:07:38 +03:00
Rodica Sutu
15e6b5c107 Merge branch 'master' of https://git.alfresco.com/records-management/records-management into feature/RM-6931_RetentionWIthRetainStepWithFrozenRecords_v2 2019-09-04 14:20:49 +03:00
cagache
9a3f52cc5b Merge remote-tracking branch 'remotes/origin/release/V3.1' into merge/MNT-20740_BinDuplicationHotFix 2019-09-03 17:10:21 +03:00
cagache
c1b3decae4 Merge remote-tracking branch 'remotes/origin/release/V3.0' into merge-3.1/MNT-20740_BinDuplicationHotFix 2019-09-03 13:36:48 +03:00
Rodica Sutu
44c35a454e remove unwanted logs 2019-09-03 11:36:00 +03:00
cagache
995a771b51 Merge remote-tracking branch 'remotes/origin/release/V2.7' into merge-3.0/MNT-20740_BinDuplicationHotFix
# Conflicts:
#	rm-community/rm-community-repo/unit-test/java/org/alfresco/module/org_alfresco_module_rm/util/ContentBinDuplicationUtilityUnitTest.java
#	rm-enterprise/rm-enterprise-repo/src/unit-test/java/org/alfresco/module/org_alfresco_module_rm/content/ContentDestructionComponentUnitTest.java
2019-09-03 10:10:18 +03:00
Rodica Sutu
f4f18f1047 disable on properties update for a frozen aspect 2019-09-03 09:01:15 +03:00
cagache
fa48983bb6 apply code style 2019-09-02 13:33:37 +03:00
Roy Wetherall
a48cb2755c Deal with review comments 2019-08-30 11:28:44 +10:00
Roy Wetherall
8e26f5aad5 Addition tests for records, fixed up a couple of issues in the query method as a result. 2019-08-29 21:35:00 +10:00
Roy Wetherall
1c539f9f05 Fix issue with inaccurate results returning from content URL query
* added integration test for MNT scenarios
* checked for nodeId's that don't exist in query results
* changed DAO method to return set of node references rather tha nodeId strings
* turned off logging by default
2019-08-29 12:28:04 +10:00
Roy Wetherall
211ebba2f2 Add logging to rm query DAO implementation 2019-08-29 09:50:57 +10:00
Rodica Sutu
ba9a192950 disable on update properties for frozen items when setting the record search properties 2019-08-27 09:34:30 +03:00
Sara Aspery
d79caf2466 Merge branch 'feature-2.7/MNT-20740_BinDuplicationHotFix' into hotfix-2.7/MNT-20740_BinDuplicationHotFix
# Conflicts:
#	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/module-context.xml
#	rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/util/ContentBinDuplicationUtility.java
2019-08-22 12:29:45 +01:00
Sara Aspery
18bd7d7fac MNT-20740 New db query 2019-08-22 11:19:34 +01:00
Claudia Agache
a03fce52d3 Merge branch 'feature/RM-6911_AddActiveContentToHoldRestAPI' into 'master'
RM-6911 Add/Remove Active Content To/From Holds via REST API

See merge request records-management/records-management!1218
2019-08-22 06:36:39 +01:00
cagache
27496b81f1 code review comments 2019-08-21 18:19:18 +03:00
Ross Gale
1575124fd7 Merge branch 'feature/RM-6873_RemoveActiveContentFromHold' into 'master'
RM-6873 adding code to allow for the removal of active content from a hold

See merge request records-management/records-management!1216
2019-08-21 08:44:56 +01:00
cagache
5230a9e0e8 RM-6926 Don't trigger onUpdateProperties policy when a frozen node is added to another hold 2019-08-20 14:56:46 +03:00
cagache
d990f30e8c Merge changes from feature/RM-6873_RemoveActiveContentFromHold 2019-08-20 08:09:32 +03:00
Ross Gale
3d4175078d Merge branch 'feature/RM-6904_PreventUpdateHeldActiveContent' into feature/RM-6873_RemoveActiveContentFromHold 2019-08-19 15:47:32 +01:00
cagache
a5d245b5f6 Throw PermissionDeniedException instead of AccessDeniedException and internationalized the messages. 2019-08-19 15:02:40 +03:00
cagache
3dfc01f716 Added check for Remove From Hold capability 2019-08-19 09:32:33 +03:00
cagache
f858d6d203 Added fix to not trigger onUpdateProperties policy when deleting a hold. 2019-08-16 19:08:54 +03:00
cagache
cc968e5aa8 small fix 2019-08-16 17:28:53 +03:00
cagache
54420ca212 RM-6906 Add integration tests for prevent update of held content. Added fix to not trigger onUpdateProperties policy when removing the frozen aspect. 2019-08-16 16:10:09 +03:00
cagache
b9a4df14f5 code review comments 2019-08-16 10:56:08 +03:00
cagache
221a633c2a Merge changes from feature/RM-6873_RemoveActiveContentFromHold 2019-08-16 09:44:56 +03:00
Ross Gale
a5722c31c4 RM-6873 adding in edit protection changes 2019-08-15 13:25:18 +01:00
rlucanu
4f03687e83 RM-6904 code review changes 2019-08-14 17:54:37 +03:00
cagache
f972c54efb Moved instanceOf method from ServiceBaseImpl class to a utility class 2019-08-14 17:04:04 +03:00
Ross Gale
2af340c5d6 RM-6873 sonar update 2019-08-14 13:40:39 +01:00
cagache
947b293c76 Merge remote-tracking branch 'remotes/origin/feature/RM-6873_RemoveActiveContentFromHold' into feature/RM-6911_AddActiveContentToHoldRestAPI 2019-08-14 15:22:27 +03:00
Ross Gale
dff5b452d9 RM-6873 code review changes 2019-08-14 11:20:18 +01:00