Commit Graph

577 Commits

Author SHA1 Message Date
Tuna Aksoy
2c98bb672f Fixed minor issues ("Unread public/protected field") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:18:20 +00:00
Tuna Aksoy
2ca42fc34c Fixed minor issues ("Unused Modifier") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:16:04 +00:00
Tuna Aksoy
426ed0946d Fixed minor issues ("Redundant Modifier") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:13:52 +00:00
Tuna Aksoy
7ddeaa5609 Fixed minor issues ("Constant Name") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:11:59 +00:00
Tuna Aksoy
4c78001a3b Fixed minor issues ("Empty Statement") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:10:37 +00:00
Tuna Aksoy
f50e604b7e Fixed minor issues ("Collapsible If Statements") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:09:29 +00:00
Tuna Aksoy
a5c415e3b3 Fixed minor issues ("Trailing Comment") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:02:42 +00:00
Tuna Aksoy
df13731bad Fixed minor issues ("Modifier Order") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 20:49:45 +00:00
Tuna Aksoy
fa485a9b31 RM-1484 (User with Close Folders capability can't close the folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-22 14:23:16 +00:00
Tuna Aksoy
cef32a5a6a RM-1510 (Audit events are incorrectly displayed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-22 11:00:47 +00:00
Mark Hibbins
da9d30ea17 RM-1442, changed code to run file report as admin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-22 08:10:40 +00:00
Tuna Aksoy
4741bb3390 Fixed RM 2.2 to get it working with Alfresco 4.3.0-SNAPSHOT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-20 21:32:52 +00:00
Tuna Aksoy
d479988de0 RM-1484 (User with Close Folders capability can't close the folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 16:20:39 +00:00
Mark Hibbins
c1d9a7a7ea RM-1437, added checks in open/close folder actions to ensure that the rules work correctly in unfiled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 16:13:51 +00:00
Tuna Aksoy
ede2db0bbf Removed unnecessary hard coded text
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70988 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 13:24:42 +00:00
Tuna Aksoy
e014b16b01 RM-1506 (Deleting In-Place Reader or Writer roles breaks Record declaration)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 13:23:12 +00:00
Tuna Aksoy
7e1e69073d Added JIRA-Ticket Info
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 08:48:45 +00:00
Tuna Aksoy
8b8bc47833 RM-1482 (No message is shown when user tries to file Audit Log as Record to File Pan or closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-15 15:06:50 +00:00
Mark Hibbins
0c34f3a251 RM-1481, added no copy behaviour for rma:recordOriginatingDetails aspect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-13 09:37:46 +00:00
Roy Wetherall
248e997d89 Updated label and a couple of code tidy-ups.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-13 02:14:25 +00:00
Tuna Aksoy
b50335bb83 RM-1463 (Item the user has read only permissions for can be added to hold in from Records Search results)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-12 19:38:07 +00:00
Roy Wetherall
b32d354529 RM-1340: Couldn't cutoff closed folder
* includes a couple of fixes from the demo prep
  * override of MethodSecurityInterceptor to allow us to report detailed information when an AccessDenied exception is reported as the result of a capability evaluation failure.
  * integration tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-08 06:01:02 +00:00
Mark Hibbins
7006a49d3a RM-1273, Bug where rules applied to root of file plan were applied to transfers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-06 13:59:43 +00:00
Roy Wetherall
1a477d1af7 Issues found during demo prep.
* a couple of checks for type wheren't doing sub-type of cm:content checks
 * could not view a held record in-place



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69667 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-06 11:49:27 +00:00
Tuna Aksoy
fea54f71cd RM-1482 (No message is shown when user tries to file Audit Log as Record to File Pan or closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-30 18:24:22 +00:00
Mark Hibbins
1a1df733d3 RM-1273 - Added check to ensure that rules defined for the root of the file plan are not applied to unfiled, holds or transfers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-30 11:24:10 +00:00
Roy Wetherall
cbe0e084bd Move RM 2.2 dependency to 4.2.2-SNAPSHOT
* fix issues so that RM 2.2 is still backwards compatible with 4.2.1 (and 4.2.0)
 * added 'bean extender' .. a post processor bean that allows us to extend, rather than overrite, core bean definitions.  Gives us a technique we can use that won't be disrupted when changes are made to core bean definitions.
 * unit test for above
 * tested with 4.2.2-SNAPSHOT and 4.2.1



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-30 06:47:22 +00:00
Tuna Aksoy
0dd217525a Removed warning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 09:32:44 +00:00
Roy Wetherall
fde0de1010 RM-1211: Generate hold report
* FileHoldReport capability added (and patched)
 * hold report type added to report model
 * hold template added, bootstraped (and patched)
 * UI action to file hold report added and sensitive to capability
 * report actions refactored into a single, general purpose, file report action (can be exposed as rule in future)
 * refactoring and extending of report generators (including declarative report generator)
 * unit test for file report action
 * integration test for hold report generation
 * added Sprin custom property editor registrar and registered QName property editor, this allows short name string forms of
   QNames to be specified and converted to QName from bean definitions (perhaps something useful for core)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 07:21:54 +00:00
Mark Hibbins
706dc33384 RM-1445m Implemented link-to rule. Also fixed RM-1466 and RM-1470 while refactoring common code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-25 15:51:57 +00:00
Roy Wetherall
7583392341 RM-1341: Couldn't complete event if link record before completing it
* some refactoring to ensure complete, undo and refresh logic was encapsulated in the service layer (not in the actions)
 * integration test for complete event to check interactions
 * restructure integration test packages



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-24 04:17:02 +00:00
Tuna Aksoy
78e7885fc9 RM-1444 (As a collaboration user I want to see the records details without leaving the collaboration site so that I never have to visit the file plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-21 19:39:41 +00:00
Roy Wetherall
e015cb688b Move, copy, link issues
* RM-912: Copy to, Link to and Delete actions are available for cutoff folders/records but not working
  * RM-1286: Strange behavior of copied cutoff record
  * Relates to RM-1342
  * create RM version of copy/move/link webscripts so that error reporting to client could be improved (now reasons for failure are reported)
  * add model behaviours for aspects that shouldn't be copied



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-16 06:02:40 +00:00
Roy Wetherall
8e3a0b55b9 RM-1420: Impossible to close/reopen folder with frozen record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-14 07:56:26 +00:00
Roy Wetherall
85e99b826e RM-1413: DispositionLifecycleJobExecuter does not execute the disposition action
* corrected logic error in job implementation
 * unit test
 * the disposition actions to execute are now configured via Spring configuration



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-11 04:04:33 +00:00
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