Commit Graph

542 Commits

Author SHA1 Message Date
Roy Wetherall
127e0b6f52 Pre sprint demo review: ensure add to and remove from hold actions only appear when the user has holds to remove from or add to
* added capability condition that checks the heldBy (include or exclude) for filling permissions
 * add condition to addTo and removeFrom hold capabilities (UI automatically reflects new condition)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 05:36:01 +00:00
Roy Wetherall
11a70009b5 Fix patch to prevent exception that was preventing upgrade from previous schema.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 04:28:30 +00:00
Roy Wetherall
31b6bc8650 RM-1264: Audit is sensitive to MlText properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 02:42:12 +00:00
Mark Hibbins
5c00775fbc RM-1264: Audit log... description and title values are now displayed on audit details
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-09 16:41:07 +00:00
Roy Wetherall
b8aa355a00 RM permission inheritance behaviour clarified
* read permissions not inherited to root categories, holds or items in the root of the unfiled record container .. this matches 
   the current behaviour of the file plan and is a partial work around for the issue of inheriting "path" read permissions vs actual read permissions.
 * consolidation of permission initialisation code (there is only one route now)
 * resolved RM-1317
 * unit tests
 * update server integration tests
 * knock on minor simplifications on the file plan and transfer service 
 * moved more frequently used methods into the service base to reduce unessesary service interlinking



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-09 06:59:44 +00:00
Roy Wetherall
5f3802fa27 Freeze indicator now only shows if the user has permission to 'read' at least one of the holds (RM-1210)
* see RM-1372, RM-1373
 * added unit test
 * fixed FIXME in page object



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-08 00:52:40 +00:00
Mark Hibbins
1f39466252 RM-1430 - Fixed move to holds/unfiled/transfers issues along with associated tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-07 15:18:55 +00:00
Mark Hibbins
5e21c31b37 RM-1358 - Added ghost on destroy option to destroy disposition action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-06 22:08:32 +00:00
Roy Wetherall
1ff3a1bb2c RM-1315: Manage Permissions is not working for folder inside Holds/Unfiled Records
* ensure permissions for unfile record folders are setup correctly
 * some more refactoring of file plan service for better code reuse and clarity



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-02 04:25:58 +00:00
Roy Wetherall
09648f9829 RM-1315: Manage Permissions is not working for folder inside Holds/Unfiled Records
* unit tests to show unfiled and holds permissions working correctly
 * fixed issues exposed by above
 * minor refactor for FilePlanPermissionService implementation to reduce complexity
 * added unit test execution to local build target



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 23:53:16 +00:00
Roy Wetherall
c7facab5a9 Fix failing unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 23:47:31 +00:00
Tuna Aksoy
dfe68049e3 RM-1427 (Delete RM site permanently)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66031 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 11:04:41 +00:00
Roy Wetherall
897d303f38 Ensure correct container type is created when move or copy action executed on unfiled record hierarchy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-31 00:23:48 +00:00
Tuna Aksoy
e2fc6b7139 Story: RM-1212 (As a records user I want to perform a records search, select multiple records/record folders from the results and add them all to a hold(s) I have permission to see so that I can easily discover and freeze relevant records)
Sub-tasks:

 * RM-1400 (Change the service so that all holds will be retrieved when adding multiple records/folders)
 * RM-1402 (Change the REST API so that all holds will be retrieved when adding multiple records/folders)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-30 20:10:40 +00:00
Roy Wetherall
022c1269a4 Hold ReST API Unit Tests
* RM-1320, RM-1328, RM-1331, RM-1333
 * added Mockito based framework for testing Java backed declarative web scripts and their templates



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-28 01:33:48 +00:00
Mark Hibbins
9d66d4f6b2 RM-1198 & RM-1199 - Added functionality for Copy-to and Move-to rule actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-27 10:53:58 +00:00
Roy Wetherall
3e1bd9a1a9 RM-1362: When a record folder is transferred the records should not have the review or edit review date actions
* including unit tests for the updated transfer evaluator



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-25 07:06:12 +00:00
Tuna Aksoy
b3a5a0518a Fixed major issues reported by sonar (Simplify Boolean Return)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 16:24:13 +00:00
Tuna Aksoy
8564a009fb Fixed major issues reported by sonar (Reliance on default encoding)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 16:21:52 +00:00
Tuna Aksoy
8732f1cc5b Fixed major issues reported by sonar (Static Variable Name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 16:03:14 +00:00
Tuna Aksoy
166ece8ebb Fixed critical issues reported by sonar (Performance - Inefficient use of keySet iterator instead of entrySet iterator)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 15:56:17 +00:00
Roy Wetherall
02de2fd74b Remove hardcoded references to dod specific properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-21 02:53:13 +00:00
Tuna Aksoy
dd19c12b43 Minor fixes for the hold service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 17:03:46 +00:00
Roy Wetherall
5f5416ae6c RM-1326: Write tests for Hold Service
* unit test completed for hold service
  * some improvements to unit test base



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 10:55:10 +00:00
Roy Wetherall
e0cdb0d2d0 Hold Service Improvements:
* HoldService API explanded beyound immediate use case needs to form a more complete API, plus some tweaks to method names
 * unit test (via Mockito) added .. still some todo's (see RM-1326)
 * integration test added .. to test behaviour interactions (see RM-1326)
 * method level permissions added to Hold service .. should see filtering of results based on permissions
 * added behaviour to HoldService to unfreeze records and record folders when hold is deleted (same as old relinquish action)
 * deprecation of dupliacte methods found in FreezeService
 * fix up use of deprecated methods throughout code .. note that warnings have only been hidden in actions that are soon to be deprecated too



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 05:02:04 +00:00
Tuna Aksoy
e6f1c48f53 Fixed minor issues reported by sonar (Collapsible If Statements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:32:43 +00:00
Tuna Aksoy
fcdbd56d3a Fixed minor issues reported by sonar (Modifier Order)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:30:50 +00:00
Tuna Aksoy
c4173be84c Fixed minor issues reported by sonar (Redundant Modifier)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:26:17 +00:00
Tuna Aksoy
9847e15dda Fixed major issues reported by sonar (Unused formal parameter)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:02:52 +00:00
Tuna Aksoy
dca3a954ac Fixed major issues reported by sonar (Simplify Boolean Expression)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:50:41 +00:00
Tuna Aksoy
bcfb1ba174 Fixed major issues reported by sonar (Unnecessary Local Before Return)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:41:13 +00:00
Tuna Aksoy
49f9e35640 Fixed major issues reported by sonar (Member name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:26:53 +00:00
Tuna Aksoy
822a53b8c3 Fixed major issues reported by sonar (Simplify Boolean Return)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:22:27 +00:00
Tuna Aksoy
a30836b0c0 Fixed major issues reported by sonar (Final Class)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:12:10 +00:00
Tuna Aksoy
50d520a2f5 RM-1321 (Implement UI for adding records/folders to hold(s))
RM-1334 (Implement UI for removing an item from hold(s))

 * Added actions/capabilities so that the actions add to hold and remove from hold can be called from the UI
 * Also everything related to the freeze/unfreeze actions has been removed from rm-share

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 17:07:05 +00:00
Roy Wetherall
8fd2d4ecdb Rename rma:unfiledRecordContinerChildt to rma:unfiledRecordFolder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 23:45:26 +00:00
Roy Wetherall
33df6cfcc9 UI tests for RM-1148 and RM-1194
* added record info helper to encapsulate record row in file plan
 * added page object for 'edit record metadata' action
 * ensure that edit record metadata action is not present in the UI if there are not aspects to add (ie in the standard RM site)
 * renamed and extedned RecordDetailsPage
 * added AbstractSiteNavigation to work around dependancy issue that was blocking execution of tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 01:20:48 +00:00
Tuna Aksoy
5bede7be9f Fixed failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-15 09:10:57 +00:00
Tuna Aksoy
5d295a5382 Story: RM-1206 (As a records user I want to be able to add records to a hold(s) I have permission to see so that I can freeze a record)
Sub-task: RM-1321 (Implement UI for adding records/folders to hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-14 17:49:34 +00:00
Tuna Aksoy
73c3477e72 Refactor RM model so that rma:hold is used
* Remaining work to make it consistent for the UI part

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-14 10:32:15 +00:00
Tuna Aksoy
4ccd8861cf Fixed major issues reported by sonar (Simplify Boolean Expression)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-13 22:52:16 +00:00
Roy Wetherall
c8e1418e77 Refactor RM model so that rma:hold is used
* rma:holdContainerChild removed
 * capabilities, forms and actions updated
 * UI tests updated
 * relates to RM-1203, RM-1205, RM-1209



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-13 10:19:45 +00:00
Tuna Aksoy
dfafd3507b Removed warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-12 17:32:55 +00:00
Mark Hibbins
ab12a96429 RM-1309, Made the configuration of the node property suggestion functionality easier by moving list of types/aspects to global properties file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-12 16:03:24 +00:00
Tuna Aksoy
924782cc3d Fixed major issues reported by sonar (Simplify Boolean Expression)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-11 09:04:52 +00:00
Tuna Aksoy
3f1af531d0 RM-1319 (Implement REST API for getting the holds)
* Added more information about the hold

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 21:41:02 +00:00
Tuna Aksoy
ae3f8cbfa8 Story: RM-1207 (As a records user I want to remove records from a hold(s) that I have permission to see so that I can unfreeze a record)
Sub-task: RM-1332 (Implement REST API for removing an item from hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 16:27:58 +00:00
Tuna Aksoy
8633c30242 RM-1330 (Implement REST API for getting the hold(s) for a given node)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 11:07:41 +00:00
Tuna Aksoy
e77273f7b4 Fixed failing unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 23:19:51 +00:00
Tuna Aksoy
3c2596a2b6 Fixed minor issues reported by sonar (Unread public/protected field)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:45:08 +00:00