Commit Graph

368 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
e0a707be4e RM-1116: Add global DOD enabled configuration
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-16 09:07:02 +00:00
Tuna Aksoy
21cc1e28b6 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@59986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-15 23:16:32 +00:00
Roy Wetherall
15db8ab128 RM-765: Ensure schema based patches are not executed on a newly installed system
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-15 17:33:55 +00:00
Roy Wetherall
00e8798fc5 RM-765: Remove DOD meta-data from core RM model
* remove DOD meta-data from record aspect 
* create dod record aspect in dod model to contain dod specific meta-data (modelled as record mate data aspect so can be added manaually and UI reacts accodingly without modification) 
* automatically add dod record aspect to record when created (maintains status quo for the time being) 
* allow groups to be automatically added to form UI template when record meta-data found on record (DOD meta-data automatically displayed and editable if present) 
* add simple module patch frameowrk so RM patches going forward are module schema based (so order and application is predictable) 
* fix up existing patchs (pre 2.2) so basic order is guarenteed 
* add patch for DOD data reshuffle 
* general restructuring of patch configuration and implementations for clarity 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59972 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-15 17:16:42 +00:00
Roy Wetherall
d61d4f56b5 RM: Revert to r59943 due to SVN madness
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59971 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-15 16:46:17 +00:00
Roy Wetherall
a212fef8e2 RM-765: Remove DOD meta-data from core RM model
* remove DOD meta-date from record aspect
 * create dod record aspect in dod model to contain dod specific meta-data (modelled as record mate data aspect so can be added manaually and UI reacts accodingly without modification)
 * automatically add dod record aspect to record when created (maintains status quo for the time being)
 * allow groups to be automatically added to form UI template when record meta-data found on record (DOD meta-data automatically displayed and editable if present)
 * add simple module patch frameowrk so RM patches going forward are module schema based (so order and application is predictable)
 * fix up existing patchs (pre 2.2) so basic order is guarenteed
 * add patch for DOD data reshuffle
 * general restructuring of patch configuration and implementations for clarity



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@59943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-01-15 13:52: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
Mark Hibbins
57f385a2f0 RM-1115: Manage Rules action is available for a Frozen folder - Added condition that manage rules isn't shown for frozen folders
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@59208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-20 13:15:46 +00:00
Tuna Aksoy
012e29d755 RM-1107 (Mavenization of the RM build)
* Fixed failing unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UIAUTOMATION@58991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-15 18:17:04 +00:00
Tuna Aksoy
a1c36a66c9 RM-1107 (Mavenization of the RM build)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UIAUTOMATION@58957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-12 23:23:07 +00:00
Tuna Aksoy
e2e4fe09a8 RM-1099 (Refactor Transfer and Accession reports)
* Added a new FileTransferReport capability

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-07 16:47:26 +00:00
Roy Wetherall
014cdf3b1d RM-1098: RM behvaiour refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-06 00:35:57 +00:00
Tuna Aksoy
6e49aa356c RM-1099 (Refactor Transfer and Accession reports)
* Bug fixing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-05 15:13:41 +00:00
Roy Wetherall
ff657db151 RM-1098: Behaviour refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-05 06:15:12 +00:00
Roy Wetherall
c7a6c9350d RM-1098: Refactor RM behaviours
* added BehaviourRegister interface and provided access to behaviour objects when named



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-05 03:53:52 +00:00
Tuna Aksoy
9fcb07f476 RM-1099 (Refactor Transfer and Accession reports)
* Added a patch for the new report template
 * Changed the module property to 2.2 to get the patch executed
 * Refactored the transfer report action

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-03 15:49:57 +00:00
Tuna Aksoy
f42b0398f8 RM-1099 (Refactor Transfer and Accession reports)
* Finished off the transfer report template for folders and records

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-03 14:05:25 +00:00
Tuna Aksoy
71495d81cc RM-1099 (Refactor Transfer and Accession reports)
* Extended the report template/action for the case if the transfer node is a record

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-02 23:12:55 +00:00
Tuna Aksoy
a35999d6e0 RM-1099 (Refactor Transfer and Accession reports)
* Added a transfer node class to pass the properties of a transfer node to the freemarker template model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-12-02 18:01:51 +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
678ef393ce RM-1099 (Refactor Transfer and Accession reports)
* Report template localization
 * File report dialogue refactoring

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-29 18:48:21 +00:00
Tuna Aksoy
2672aacf22 RM-1099 (Refactor Transfer and Accession reports)
* File transfer report and file destruction report are now using the same file report dialogue and the same action.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58416 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-28 22:12:46 +00:00
Tuna Aksoy
dfc1c189b3 RM-1099 (Refactor Transfer and Accession reports)
* Fixed failing tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-28 17:46:16 +00:00
Tuna Aksoy
d930d4ca21 RM-1099 (Refactor Transfer and Accession reports)
* Refactored file transfer report dialogue so that it can be used also for other types of reports

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-28 17:03:26 +00:00
Tuna Aksoy
81adcb0499 RM-1099 (Refactor Transfer and Accession reports)
* The record type and the destination is now passed from the UI

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-28 15:14:22 +00:00
Roy Wetherall
2571e09539 RM-1098: Refactoring of behaviours to new annotation style to improve maintability
* moved ghosted behaviour into it's own bean
  * added support for annotated 'service' behaviours (ie those that have no type/aspect specified)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-28 04:23:07 +00:00
Tuna Aksoy
af60a9ccd6 RM-1099 (Refactor Transfer and Accession reports)
* Added the possibility to pass parameters from the UI to the server for the repo actions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-27 23:37:13 +00:00
Tuna Aksoy
53ad4b33dc RM-1099 (Refactor Transfer and Accession reports)
* Extended the existing file transfer report dialogue. There will be a new dialogue which will be used for all reports.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-27 19:10:45 +00:00
Tuna Aksoy
e95dbff3e9 RM-1099 (Refactor Transfer and Accession reports)
* Forgot to add the properties, which was breaking the disposition schedule page 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-27 11:34:50 +00:00