Commit Graph

4525 Commits

Author SHA1 Message Date
Tuna Aksoy
b64f1467b4 Fixed critical issues reported by sonar (Performance - Method invokes inefficient Number constructor; use static valueOf instead)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:54:42 +00:00
Tuna Aksoy
3810d137d7 Fixed minor issues reported by sonar (Constant Name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:45:53 +00:00
Tuna Aksoy
70010a32d4 Fixed minor issues reported by sonar (Useless String Value Of)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:39:32 +00:00
Tuna Aksoy
5a6429aa2f Fixed minor issues reported by sonar (Empty Statements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:36:32 +00:00
Tuna Aksoy
28b0a01065 Fixed minor issues reported by sonar (Collapsible If Statements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:33:14 +00:00
Tuna Aksoy
dee5508911 Fixed minor issues reported by sonar (Redundant Modifier)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 20:48:40 +00:00
Tuna Aksoy
e062a45a8e RM-1313 ("New Hold" button is enabled for user with no permissions for Holds)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 23:28:35 +00:00
Tuna Aksoy
bb9ea1bda6 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
67cf34c213 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-tasl: RM-1327 (Implement REST API for adding a record to the hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 21:42:40 +00:00
Tuna Aksoy
3d74303155 Fixed failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 16:36:30 +00:00
Tuna Aksoy
39c17215b7 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
Tuna Aksoy
839de8e80c 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-1319 (Implement REST API for getting the holds)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-07 11:52:25 +00:00
Tuna Aksoy
31f8d362b1 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-1325 (Implement Hold Service)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-06 22:39:54 +00:00
Tuna Aksoy
c1e02b2367 RM-1312 (Access Denied to edit hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-04 21:48:53 +00:00
Tuna Aksoy
f07539e5e1 RM-1297 (Access denied if file a record to Unfiled Records where inbound File to rule is set)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-03 21:58:56 +00:00
Tuna Aksoy
8f18f765d3 Fixed major issues reported by sonar (Preserve Stack Trace)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 22:36:31 +00:00
Tuna Aksoy
8c994439be Fixed major issues reported by sonar (If Stmts Must Use Braces)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 22:23:03 +00:00
Tuna Aksoy
505e29499a Fixed minor issues reported by sonar (Redundant Modifier)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 17:01:05 +00:00
Tuna Aksoy
172fcf3d77 Fixed minor issues reported by sonar (Redundant Modifier)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 16:56:25 +00:00
Tuna Aksoy
90c08059e3 Fixed minor issues reported by sonar (Redundant Modifier)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 16:49:44 +00:00
Tuna Aksoy
83f2f59bcb Fixed critical issues reported by sonar (Empty If Stmt)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 16:40:09 +00:00
Tuna Aksoy
6df1a7bca4 Fixed critical issue reported by sonar (Dodgy - Redundant nullcheck of value known to be non-null)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 16:32:30 +00:00
Tuna Aksoy
43a2f10ef6 Fixed critical issues reported by sonar (Dodgy - Dead store to local variable)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-02 16:28:31 +00:00
Tuna Aksoy
6b7cb38685 RM-1205 (As a records user I want to edit the details of an existing hold so that I can change its details if circumstances change)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-27 17:44:54 +00:00
Tuna Aksoy
63ea06fa0b RM-1208 (As a records user I want to manage the permissions of a hold so that I can control who can see the hold and it's contents)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-27 14:04:23 +00:00
Tuna Aksoy
53b15ec26a RM-1204 (As a records user I want to manage the permissions of the root hold container so that I can control who can see the contents of the root hold container)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-27 13:16:42 +00:00
Tuna Aksoy
d62a9b3d96 RM-1209 (As a records user I want to delete a hold so that I don't keep information I don't need to)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 21:58:16 +00:00
Mark Hibbins
c9a1328769 RM-1233, Can now specify file-to action folders and categories longer than 255 characters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 12:08:48 +00:00
Tuna Aksoy
23b76f4026 Merged V2.1 to HEAD:
63128: RM-1280: It's possible to create a folder in the root of File Plan via FTP/CIFS/WebDav/NFS
   63265: RM-1183 (Null is displayed in values of Supplemental Marking/Transfer Locations selection lists)
   63266: RM-879 (Web script error when event used in disposition schedule is removed from Management Console)
   63267: RM-1101 (Label is missing for Supplemental Markings/Transfer Locations list on Edit list page)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 11:33:35 +00:00
Tuna Aksoy
1b2ed5407d RM-1101 (Label is missing for Supplemental Markings/Transfer Locations list on Edit list page)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@63267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 09:29:31 +00:00
Tuna Aksoy
af19a07278 RM-1183 (Null is displayed in values of Supplemental Marking/Transfer Locations selection lists)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@63265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 09:29:17 +00:00
Mark Hibbins
5549dc0925 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
Tuna Aksoy
68341737ba RM-1203 (As a records user I want to create a new hold so that I can add records to it)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-24 21:45:18 +00:00
Roy Wetherall
b8f699ec23 RM-1280: It's possible to create a folder in the root of File Plan via FTP/CIFS/WebDav/NFS
RM-1281: Not possible to create folders in Categories via FTP/CIFS/WebDav/NFS



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@63128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-24 04:58:53 +00:00
Tuna Aksoy
5b823b7deb After the recent refactorings it was not possible to update the changed meta data.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-23 18:46:35 +00:00
Tuna Aksoy
56c87edb54 After the recent refactorings the edit meta data action for an unfiled records container was not available anymore.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-23 00:30:49 +00:00
Tuna Aksoy
2da430610d After the recent refactorings the delete action for an unfiled records container was not available anymore.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-22 20:56:05 +00:00
Mark Hibbins
7b34e060f9 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
Mark Hibbins
cc073a62d3 RM-1169, File-to path substitution to include node parameter
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 15:24:10 +00:00
Roy Wetherall
2a9704ba64 Unit test for type form filter
* experimenting to see if Mockito would allow us to unit test code previously difficult to test



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 07:36:35 +00:00
Roy Wetherall
a01c6a1a42 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
1d96d1dba6 Fix build post merge
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 04:45:45 +00:00
Roy Wetherall
1a22ebee67 Fix build post merge
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 02:10:51 +00:00
Tuna Aksoy
a4a96f590b Fixed the bean definition for rmCreateModifyDestroyFoldersCapability
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-20 08:59:10 +00:00
Roy Wetherall
d1e218a846 Merged V21 to HEAD:
62861: RM-1261: Records/Folders scheduled for destruction can be deleted by user without required capabilities
          RM-1258: It's possible to edit, delete and create (via copy) new category without "Create Modify Destroy File Plan Metadata" capability 
   62862: RM-1267: Delete Record capability is needed to delete the reference



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-20 04:25:16 +00:00
Roy Wetherall
59a4b2893a RM-1267: Delete Record capability is needed to delete the reference
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@62862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-20 03:41:20 +00:00
Roy Wetherall
30fd91f22f RM-1261: Records/Folders scheduled for destruction can be deleted by user without required capabilities
RM-1258: It's possible to edit, delete and create (via copy) new category without "Create Modify Destroy File Plan Metadata" capability



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@62861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-20 02:59:52 +00:00
Tuna Aksoy
8e52c117d5 Merged V2.1 to HEAD:
62414: RM-1165 (RM 2.1.1 translation into Simplified Chineese)
   62764: RM-1245: RM 2.1 Simplified Chinese UI Review
   62835: RM-1239 (Audit page controls do not work when French locale is set in browser)
   62836: RM-1241 (Email Mappings list isn't displayed with French locale set in browser)
   62837: RM-1244 (Records Search page is blank in French locale)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62849 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-19 16:11:13 +00:00
Mark Hibbins
3e5620cc87 RM-1144, Path substitution suggestion functionality
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-17 17:08:22 +00:00
Roy Wetherall
dd7ca0b35a Move Dutch translation files to correct location
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62647 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-17 04:15:59 +00:00