Commit Graph

342 Commits

Author SHA1 Message Date
Roy Wetherall
8610832726 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
dcbe6a5f6c 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
e8628059f8 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
5269a6ee24 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
7a01126f7c 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
cdb1add607 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
Tuna Aksoy
c3ac745ffb 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
aa8c52f72f 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
9172349209 Commenting out the failing test. First RM-1315 needs to be fixed. After fixing this issue the test can be added back again.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 22:44:53 +00:00
Tuna Aksoy
e5abd6fb99 Refactored FreezeService after adding the HoldService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-07 15:27:40 +00:00
Mark Hibbins
d2f7765e05 RM-1144, Added max suggestions config, custom properties inclusion and made ui tests more robust
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-25 19:22:40 +00:00
Mark Hibbins
a6035622a6 RM-1234, Changed formatting of date.year.week substitution to match help text
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 18:06:49 +00:00
Roy Wetherall
f69cd3961e RM-1194: As a records manager I want to create a 'standard' RM site that only displays records meta-data types relevant to standard RM practices, so that I don't get confused by unwanted DoD records meta-data types.
* record metadata aspects are now configured via spring and includes which file plan type they are relevant for
 * added 'unit test' structure .. for 'real' unit tests, ie anything that doesn't load the application context
 * included Mockito, new source location and unit test suite into POM
 * added unit and functional tests for feature (server)
 * refactored accordingly (webscripts, UI, etc)
 * visual test of UI .. automation tests to follow



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 05:40:26 +00:00
Roy Wetherall
5c21719195 Refacoting of RecordService implementation based on SONAR report
* detangle of services
 * simplification of spring dependancies
 * use of base service impl
 * unit tests and Ui integraion tests run locally 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-17 03:49:27 +00:00
Roy Wetherall
4614700b89 Merged V2.1 to HEAD:\
59208: RM-1115: Manage Rules action is available for a Frozen folder - Added condition that manage rules isn't shown for frozen folders
   59343: RM-1114: 'Loading the Document Library' message is displayed on a New Rule page in RM Site - Added appropriate message.loading properties to all languages for rule-details.get and rule-edit.get where this message is used
   59361: RM-1105: Adding the RM module causes exceptions when listing the existing audit applications through the audit webscript - Added a try/catch for a ClassCastException around the check to see if the returned object contained a PROP_HOLD_REASON in the RMAfterInvocationProvider. The reason for this is that the containsKeys method will throw a class cast exception if we attempt to see if the keys contain an instance of QName if the returnedObject instance is a TreeMap containing strings as is the case when listing the audit applications through the RESTful interface.
   59510: RM-1087: Increase default max number of site pages to 5 instead of 3 - Increased default maximum number of sites pages to 5 in rm-share-config.xml. This threw up an issue in the code that adds the RM Console widget so fixed that too. Important test case for this are that the number of widgets added to the site are smaller than, equal to and greater than the maximum displayed to ensure that the code adding the RM console is fully exercised.
   60429: RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
       * see MNT-10259
   60430: RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
       * see MNT-10259
       * missed files
   60431: RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
       * failing tests
       * see MNT-10259
   60478: RM-1174 (Unable to view record details)
   60698: RM-1175: Internal Error on details page of category/folder/record
   60699: RM-1177: User's name link on User Rights Report page directs to Admin Console instead of User Profile Page
   60700: RM-1176: Couldn't load email mappings
   61227: RM-1164: RM 2.1.1 core language bundle refresh
   62414: RM-1165 (RM 2.1.1 translation into Simplified Chineese)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-14 02:35:16 +00:00
Mark Hibbins
241a88c1e3 RM-1144 & RM-1145 - changes to file to action - post review changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@61188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-05 21:23:03 +00:00
Mark Hibbins
24404bab60 RM-1144 & RM-1145 - changes to file to action (forgot to add some file)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@61047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-04 18:22:09 +00:00
Mark Hibbins
bf3076da88 RM-1144 & RM-1145 - changes to file to action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@61046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-04 18:19:37 +00:00
Roy Wetherall
63d1684f2b RM-1147: A user can create a 'vanilla' or DOD compliant records management site
* RM-1178: Add DOD site and file plan types to DOD specific content model
 * RM-1179: Extend create site dialog to set allow creation of DOD compliant RM site
 * RM-1180: Create a patch to update all existing file plans to be, by default, DOD compliant




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-03 05:28:56 +00:00
Roy Wetherall
d5c7c88ee0 RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
* failing tests
  * see MNT-10259



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@60431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-23 01:54:40 +00:00
Roy Wetherall
1d593e8ed8 RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
* see MNT-10259
  * missed files



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@60430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-23 01:50:07 +00:00
Roy Wetherall
ec5ef73a1f RM-1162: CLONE - Alfresco 4.2.1 could not start with RM module
* see MNT-10259



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@60429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-23 01:47:00 +00:00
Roy Wetherall
f3117723e7 Re-added missing testng configuration file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-08 06:56:30 +00:00
Roy Wetherall
8cc416f2d2 Revert to original code structure pre-mavenization
* merges from previous branches are now possible without tree conflicts
  * added back missing commits when structure was changed (r59445, r59446) .. see RM-765
  * updated Maven POM's to use existing code structure
  * NOTE: r59454 and r59473 may have been missed in this update .. will go back and re-add



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-08 06:38:59 +00:00
Tuna Aksoy
782f30f586 RM-1107 (Mavenization of the RM build)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UIAUTOMATION@59300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-24 16:32:09 +00:00
Tuna Aksoy
7e75cf975f RM-1099 (Refactor Transfer and Accession reports)
* Fixed failing tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-07 21:42:07 +00:00
Tuna Aksoy
18e5d098a5 RM-1099 (Refactor Transfer and Accession reports)
* Fixed failing tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-07 21:41:38 +00:00
Tuna Aksoy
e0130f6690 RM-1099 (Refactor Transfer and Accession reports)
* Bug fixing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-05 17:51:22 +00:00
Roy Wetherall
02a47e63ac RM-1098: Factoring of model behaviours
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-02 05:31:46 +00:00
Tuna Aksoy
400a0560d4 RM-1099 (Refactor Transfer and Accession reports)
* Fixed failing tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58445 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-30 22:33:06 +00:00
Tuna Aksoy
76d7febf71 RM-1099 (Refactor Transfer and Accession reports)
* Created a base report action and splitted the file report action to transfer report action and destruction report action, so that capability checks can be run for those actions separately and each action can pass additional properties to the report template model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-30 21:26:05 +00:00
Tuna Aksoy
d100e1ca5c RM-1099 (Refactor Transfer and Accession reports)
* Fixed failing test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-28 23:00:21 +00:00
Tuna Aksoy
335a5b87a4 Removed applicationContext from the java classes where possible and used dependency injection instead.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-21 18:09:49 +00:00
Tuna Aksoy
f9510836fb RM-1095:
Refactored RecordsManagementService and deprecated the methods. The methods have been moved to RecordService, RecordFolderService and DispostionService. The deprecated method calls in the code have been replaced and the bean definitions have been changed accordingly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-13 22:34:29 +00:00
Roy Wetherall
c45869bd94 RM: System test to help diagnose RM-981
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-16 09:19:45 +00:00
Roy Wetherall
05c30be87e RM-804: Should a user granted Site Manager role be able to delete the Records Management site?
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-09 05:25:45 +00:00
Roy Wetherall
6a694cdce3 RM-1039: Can't move folder to Category with disposition schedule.
* improve general reliability of record folder move
  * fix up some issues with the way composite capabilities where being evaluated
  * use capabilities to enforce conditions of move .. not behavior .. this improves the visibility of the move action in the UI
  * unit test
  * reproduced and fixed up UI issue .. was showing No Items red banner in a very specific edge case



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 04:22:34 +00:00
Roy Wetherall
157de923f8 RM-1027: Can't copy closed folder.
* then you copy a closed record folder the copy will not be closed
 * ensured that disposition details are freshed when copying a record folder



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-03 01:45:40 +00:00
Roy Wetherall
0453072522 RM-1030: Can't run Freeze Rule if sub-folder record is freezed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-03 00:21:54 +00:00
Roy Wetherall
b3a76102cc RM-1008: It's possible to Edit Hold Details by user with suitable rights BUT with Read Only permissions in File Plan
* hold and transfer container permissions are set up the same as unfiled .. they can not be explicitly set .. instead they inherit from file plan
  * holds and transfers inherit permissions from the containers .. in turn they are effected by changes to overall fileplan permissions
  * in the future explicit permissions will be able to be set or implied but the held or transfered records
  * edit freeze details capability requires filling permission
  * unit test for the various scenarios



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-01 07:28:31 +00:00
Roy Wetherall
b8ea3c9b6b RM-994: Records filed from unfiled container do not pick up vital record review period or disposition schedule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-29 12:20:23 +00:00
Roy Wetherall
6fdfdc1801 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
Gethin James
8a416b01a9 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
Roy Wetherall
b502334fd8 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
588e12f8f2 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
9650a1c59d 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
e80c3d7ba1 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
f62c4f457f RM-926: File plan filters (Hold, Transfer, Unfiled) may not show up to date results when Rm configured for SOLR
* transfer and hold containers created under file plan
  * holds and transfers now contained within these containers
  * holds named using folder level counter to avoid name clash in container
  * hold and transfer filters now API driven .. so canned query driven .. so *live*
  * unit test updates
  * UI tested



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-09 01:57:58 +00:00
Tuna Aksoy
9b0094fd5d Fixed failing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-08 07:30:18 +00:00
Gethin James
e79dd2c461 Fixing failing test data - now requires valid "from" param
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 22:08:10 +00:00