Commit Graph

5254 Commits

Author SHA1 Message Date
Tuna Aksoy
22a0417b55 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
4aeb679b28 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
e20ae19bfc 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
164ab37475 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
b5aa5a2237 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
82ab448d5c 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
ce89a20077 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
4642f1c366 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
c323b8e968 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
2918a8ab43 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
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
Tuna Aksoy
c3d8944c44 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
ec04003e69 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
a3f45dbb52 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
046aa6d8bf 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
fa91d283f5 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
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
Mark Hibbins
630de39df6 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
f543196adb 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
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
d617a5b7e2 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
a4374cc8ae 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
f827de9618 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
ea10e2c2b8 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
4b3aaa171d 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
accaeb699b 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
7c29e94dd0 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
bf0bee9f59 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
770c4949bb 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
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
Roy Wetherall
4a6f0e9efd Merged V2.1 to HEAD (RECORD ONLY):
* 62330: MNT-10665 ('Name' and 'URL' fields are not editable when try to create site with the same parameters)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-14 01:21:31 +00:00
Roy Wetherall
ab04d2ad87 Ensure create category behaviour is executed with sufficient rights.
* fixes FileToCreatePathIntegration test



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-13 20:56:28 +00:00
Roy Wetherall
295abc79d2 RM-1226: Unable to delete rm site containing category/folder hierarchy which contains a filed record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-13 04:16:20 +00:00
Tuna Aksoy
fdf3fb2bd3 RM-1165 (RM 2.1.1 translation into Simplified Chineese)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@62414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-12 15:16:42 +00:00
Tuna Aksoy
3bee82f45d Removed the unused method and the warning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@61321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-07 09:31:01 +00:00
Tuna Aksoy
9ced726e23 Removed the unused ant target
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@61294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-06 16:39:52 +00:00
Roy Wetherall
ee758d486f RM-1164: RM 2.1.1 core language bundle refresh
RM-1166: RM 2.1.1 Translation into Dutch



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@61227 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-06 00:58:29 +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
Tuna Aksoy
2c5eea6486 Fixed an infinite recursive loop.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-29 11:06:46 +00:00
Roy Wetherall
f28ea15f93 RM-1176: Couldn't load email mappings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@60700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-29 03:53:37 +00:00
Tuna Aksoy
9ea0ae1366 Bug fixing for RM-1124, RM-1125, RM-1126 and RM-1127
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-28 11:40:43 +00:00
Tuna Aksoy
6261e53eb7 RM-1124 (RM user can create a folder within the unfiled records area)
RM-1125 (RM user can delete a folder within the unfiled records area)
RM-1126 (RM user can edit the meta-data of a folder within the unfiled records area)
RM-1127 (RM user can view the details of a folder in the unfiled records area)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-27 22:10:17 +00:00
Tuna Aksoy
bbff8d9140 Changes in the ant targets
* Get properties from the pom file rather than defining it again in the build.properties
 * Add to the created zip file name for the localisation package the project version
 * Remove "assembleIconPackage" for rm-server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-25 21:58:43 +00:00
Tuna Aksoy
eac9b2de21 Changed the "assembleLocalisationPackage" ant target so that the localisation files will be zipped. The zipped file name contains the svn revision number as well.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-25 20:31:42 +00:00
Tuna Aksoy
bdad9ab5b1 Changed the "deployExploded" ant target
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-25 17:15:27 +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