Commit Graph

110 Commits

Author SHA1 Message Date
Roy Wetherall
864789104c RM: added code headers, updated unit tests and test suite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-20 05:32:38 +00:00
Tuna Aksoy
d1630662cd Code refactored (FreezeService & RecordService)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-14 20:13:34 +00:00
Tuna Aksoy
80afd72288 * Code refactored (FreezeService & RecordService)
* Test class for RecordService added

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-14 14:29:26 +00:00
Tuna Aksoy
24db12b7df Finished implementing tests for FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43590 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-13 20:17:46 +00:00
Tuna Aksoy
f274a3cb9a Test for FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-13 17:31:30 +00:00
Tuna Aksoy
ceb945aa82 Test for FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-13 16:42:44 +00:00
Tuna Aksoy
d8ab355a05 FreezeService code refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-13 15:53:53 +00:00
Tuna Aksoy
c1b9427470 Implemented tests for FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-12 20:14:07 +00:00
Tuna Aksoy
4fe0aa5175 Implemented tests for FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-12 18:45:45 +00:00
Tuna Aksoy
c6eb79d2bd Refactored FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-12 12:24:44 +00:00
Tuna Aksoy
191b50faed Implementing FreezeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-09 22:02:42 +00:00
Tuna Aksoy
2aa179b3be Moved RecordService to RM HEAD
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-02 14:43:11 +00:00
Tuna Aksoy
96ecde4b01 RM-489 (Import Data Set Site Dashlet)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-10-25 20:46:43 +00:00
Tuna Aksoy
ae13acef5e RM-489: The user should be informed if the data set cannot be imported
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-10-24 12:35:08 +00:00
Tuna Aksoy
78951cc280 Changed the test according to the test file plan
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-17 15:04:21 +00:00
Tuna Aksoy
94db43b6bd * Marked the "site" and "unloadedonly" parameters on the GET DataSet URI as optional
* Fixed the code for the getting the data set if a site name is not provided

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-17 08:53:33 +00:00
Tuna Aksoy
15bcee05c8 Adding the new test data set to the test context.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-16 20:30:02 +00:00
Tuna Aksoy
65e4c7707e Bug fix for removing loaded data sets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-16 19:43:42 +00:00
Tuna Aksoy
d4d164f765 Example file plan for the unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-16 19:42:21 +00:00
Tuna Aksoy
26737c520f * Added new methods to the data set service
* Added/changed the tests
* Added new aspect
* Changed the REST API for getting the list of data sets

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-14 21:25:49 +00:00
Tuna Aksoy
c6af92d1a5 Reverted the code commits from r41534
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-13 10:14:10 +00:00
Tuna Aksoy
0e6bda384d Added a new custom aspect for filtering the loaded data sets in the UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-12 16:41:57 +00:00
Tuna Aksoy
6e9f69cdc3 DataSetServiceImplTest fixed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-12 07:58:43 +00:00
Tuna Aksoy
873a0efa3f Tests for the DataSetService and the REST APIs (RM-486, RM-487, RM-488)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41490 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-11 21:51:53 +00:00
Tuna Aksoy
6c061c9f7a Code refactoring and bug fixing for:
* RM-486 (RM Data Set Service)
 * RM-487 (REST API to retrieve details of available RM data sets)
 * RM-488 (REST API to import a RM data set into a file plan)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-06 20:00:42 +00:00
Tuna Aksoy
a1ecaedf15 RM-488 (REST API to import a RM data set into a file plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-06 10:46:05 +00:00
Tuna Aksoy
9b6397d3e9 RM-487 (REST API to retrieve details of available RM data sets)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41314 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-06 10:42:42 +00:00
Tuna Aksoy
315eb8ce16 RM-486 (RM Data Set Service)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-09-06 10:40:18 +00:00
Tuna Aksoy
76ef6c3f33 It was not possible to edit/delete a custom meta data
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@40904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-26 20:54:37 +00:00
Roy Wetherall
fc7079edfa RM: Remove .settings dir for Eclipse projects
* See RM-482



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@40785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-23 00:49:17 +00:00
Roy Wetherall
69f7413b6a RM-482: RM .classpath files have local library references
* hard coded projects have been removed from archive
* use "gradle eclipse" task to generate repository and share eclipse project with local references
* updated ReadMe.txt



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@40784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-23 00:35:51 +00:00
Tuna Aksoy
60815cf587 RM-439: Folders have no File to... option
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@40696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-21 16:58:04 +00:00
Roy Wetherall
6500aa47ce RM: Fix unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@40383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-14 10:13:33 +00:00
Roy Wetherall
3d2a5a0c8c RM-477: RM 2.0 does not work with SOLR
* first pass at supporting SOLR in RM2
  * currently requires reimplementation of permissionServiceImpl due to visibility of methods and member variables
  * job execution delayed to try and prevent start up errors
  * fetchSOLR task added to gradle to retrieve SOLR zip from Maven (could do with some scripts to help with setup for module)
  * TODO more testing and refinement of solution



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@40344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-13 05:45:17 +00:00
Roy Wetherall
23920d760a Merged 2.0 to 2.0.1:
- 39506: RM-467: It's possible to copy folder to the root of the file plan 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@39593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-23 07:05:07 +00:00
Roy Wetherall
df9dbbd33a RM: Removal of System out's and replace with logging.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@39591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-23 06:45:59 +00:00
Roy Wetherall
4c088728b1 RM-452: RM seurity context will break core Alfresco if Alfresco's public services change
* core method security no long redefined within the rm module
 * rm method security defined in a properties file
 * can be overridden/extended by adding rm-method-security.properties to alfresco/extension



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0-BUG-FIX@39590 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-23 06:08:10 +00:00
Roy Wetherall
6682005e6e RM-467: It's possible to copy folder to the root of the file plan
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-20 01:08:25 +00:00
Roy Wetherall
8460fedec4 RM-459: It's possible to move/copy record directly to the category root
* Unable to copy/move record into filePlan root
  * UI no longer errors if record is present in file plan root, allowing user to fix data



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-18 00:37:07 +00:00
Roy Wetherall
e8fe0ffd36 RM-449: It's possible to move folder to another folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-16 05:10:09 +00:00
Roy Wetherall
d423133ee8 RM-447: Webdav: users that have edit /delete permissions cannot edit / delete record
* the checkout/checkin RM security interceptor override bean was incorrectly name, out of date and had the wrong RM permissions!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-13 04:25:44 +00:00
Roy Wetherall
f77261a8e3 RM-433: Creation of new reference failed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-13 03:41:31 +00:00
Roy Wetherall
6c7ad81fac RM-432: Undeclared frozen records cannot be found thru 'Frozen records' search in 'Saved Searches' section
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-11 06:57:58 +00:00
Roy Wetherall
9edc96ce36 RM-430: It's possible to delete folder with frozen records
* protected in place so items with frozen children (record folders or record categories) can not be deleted
  * consolidated behaviour into a freeze service
  * commented out the methods that would appear in a freeze service, but out of 2.0 scope to refactor this now



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@39050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-11 06:12:52 +00:00
Roy Wetherall
82976695e3 RM: Update module depedancy to 4.0.2
* also updated eclipse project



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38984 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-10 03:51:24 +00:00
Roy Wetherall
6c9ac0e377 RM-420: Search UI needs dynamic lists
* added web script to provide a list of all the custom and record meta-data properties to the search UI grouped accordingly.
  * removed all hard coded references to the DOD model still present in the search UI.
  * property hint drop down, column selection list, sort order list and result implementation all now use web script to provide dynamic list of
    properties rather than hard coding customisable or dod model elements into code.
  * as a side effect also fixed the following:
    - RM-342: Search results table dosn't show info for special types
    - RM-84: Result options is not applied for Special types options
    - RM-337: Custom metadata for Non-electronic Document doesn't appear in RM search
    - RM-370: Record Series check box is present at Components part



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-06 05:15:53 +00:00
Roy Wetherall
42c1070f09 Fix RM build:
* still after all these years I miss new files when I check-in!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38852 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-06 03:45:53 +00:00
Roy Wetherall
1092aee669 RM-410: Reviewed action is available for the record after transfer
* Also remove "Update Disposition Action" from transferring records
 * Fix up cutoff and undoCutoff actions with custom capabilities since they where appearing in a number of situations when they shouldn't
 * Added a couple more unit tests to the list run on the continious build



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-05 05:02:34 +00:00
Roy Wetherall
71e32be34a RM-414: IMAP: Error to display File Plan if an email is uploaded directly to the File Plan via IMAP
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-03 04:56:50 +00:00
Roy Wetherall
868f91bed4 RM-189: Search Results page: "Special Types" information isn't displayed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-07-02 07:14:45 +00:00