Commit Graph

876 Commits

Author SHA1 Message Date
Rodica Sutu
3919622169 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
65e8810dd7 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
3f4e35ba90 add unit tests 2019-11-04 11:39:35 +02:00
Ramona Popa
a1be193a3f RM-6860: Add hold service policies
- Added HoldServicePolicies interface
2019-11-03 06:47:29 +00:00
cagache
95f700051e Remove unused service 2019-11-01 10:53:08 +02:00
Rodica Sutu
657f03b85d 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
7a9b4bcb78 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
0de5888170 Update RMv32HoldChildAssocPatch.java 2019-10-18 18:34:03 +01:00
Ross Gale
dd0d032895 RM-7014 code review comments 2019-10-18 14:26:48 +01:00
Ross Gale
83fcbd62e6 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
5140c9208e 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
61ac4d9e41 Removing unused import from RMv32HoldChildAssocPatch.java 2019-10-16 08:46:16 +01:00
Ross Gale
84380dde3f Resolve RM-6995 "Feature/ createnewassocpatch" 2019-10-15 14:17:39 +01:00
Ross Gale
7133ecc84f RM-6993 replace old assoc with new 2019-10-08 13:25:30 +01:00
Ross Gale
87ff9e6fc8 RM-6928 adding check to allow specified properties on frozen nodes to be updated 2019-09-24 16:45:51 +01:00
Ramona Popa
5f95f4cbdb 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
da6d3c454a add an end to end test to check the search disposition schedule properties 2019-09-04 16:07:38 +03:00
Rodica Sutu
7d0ee221ac 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
1fa85668b0 Merge remote-tracking branch 'remotes/origin/release/V3.1' into merge/MNT-20740_BinDuplicationHotFix 2019-09-03 17:10:21 +03:00
cagache
c8e9c34c62 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
40e32b4b01 remove unwanted logs 2019-09-03 11:36:00 +03:00
cagache
045f19f8d9 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
522dcb6b89 disable on properties update for a frozen aspect 2019-09-03 09:01:15 +03:00
cagache
1f6bb8c277 apply code style 2019-09-02 13:33:37 +03:00
Roy Wetherall
02411e3e59 Deal with review comments 2019-08-30 11:28:44 +10:00
Roy Wetherall
88e538ddbb 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
e282c0584e 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
4518cd8615 Add logging to rm query DAO implementation 2019-08-29 09:50:57 +10:00
Rodica Sutu
c98ee43af5 disable on update properties for frozen items when setting the record search properties 2019-08-27 09:34:30 +03:00
Sara Aspery
30f770a504 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
ecbaa3b40c MNT-20740 New db query 2019-08-22 11:19:34 +01:00
Claudia Agache
584aaca2cb 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
20feb42ecd code review comments 2019-08-21 18:19:18 +03:00
Ross Gale
b84870aa4f 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
b9039afde2 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
ee9efedebe Merge changes from feature/RM-6873_RemoveActiveContentFromHold 2019-08-20 08:09:32 +03:00
Ross Gale
23b762c661 Merge branch 'feature/RM-6904_PreventUpdateHeldActiveContent' into feature/RM-6873_RemoveActiveContentFromHold 2019-08-19 15:47:32 +01:00
cagache
a080939d04 Throw PermissionDeniedException instead of AccessDeniedException and internationalized the messages. 2019-08-19 15:02:40 +03:00
cagache
055ccfd968 Added check for Remove From Hold capability 2019-08-19 09:32:33 +03:00
cagache
cf9c40b11b Added fix to not trigger onUpdateProperties policy when deleting a hold. 2019-08-16 19:08:54 +03:00
cagache
6e4991a658 small fix 2019-08-16 17:28:53 +03:00
cagache
16b2e0203d 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
1c227eb336 code review comments 2019-08-16 10:56:08 +03:00
cagache
21f341f40a Merge changes from feature/RM-6873_RemoveActiveContentFromHold 2019-08-16 09:44:56 +03:00
Ross Gale
17059d144f RM-6873 adding in edit protection changes 2019-08-15 13:25:18 +01:00
rlucanu
ef79db9665 RM-6904 code review changes 2019-08-14 17:54:37 +03:00
cagache
c4076c284a Moved instanceOf method from ServiceBaseImpl class to a utility class 2019-08-14 17:04:04 +03:00
Ross Gale
25fc9aaf2c RM-6873 sonar update 2019-08-14 13:40:39 +01:00
cagache
696a2c32ab 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
8aef468927 RM-6873 code review changes 2019-08-14 11:20:18 +01:00