Commit Graph

5339 Commits

Author SHA1 Message Date
Roy Wetherall
76362cd543 RM: Unit fixes to help build along
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-21 06:49:02 +00:00
Roy Wetherall
a800399cea RM: Build script update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-21 05:04:28 +00:00
Roy Wetherall
2311e18d0a RM: Unit test fixing up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-21 04:09:10 +00:00
Roy Wetherall
5a465649cd RM: update build script to execute all unit tests in the RM project
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-20 23:59:22 +00:00
Roy Wetherall
2cb5a0aa16 RM: Compilation warnings cleaned
* including deprecations caused by recent refactoring
  * all other supurious warnings



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-20 03:23:15 +00:00
Roy Wetherall
e4ea0fe02d RM: Deprecation of RecordsManagementSecurityService in favour of better encapsulated services
* final deprecation of recordsManagementSecurityService
  * origional interface and implementation moved to compatibility area
  * deprecation context added
  * FilePlanPermission service added to handle file plan permissions



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-19 08:10:09 +00:00
Roy Wetherall
a2d46ff862 RM-571 - Refactor: Role Service
* deprecated approprite methods on old service
 * deprecated and moved role to new package loaction
 * fallout
 * also repackaged Record and RecordFolder services
 * TODO remove deprecation warnings



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-19 06:10:57 +00:00
Roy Wetherall
1c16e38f33 RM: Attempt at build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-18 23:58:08 +00:00
Roy Wetherall
223a354b04 RM-572 - Refactor: Filling action logic moved to Record Service
* file and setup folder action removed in favour of services
  * disposition action methods consolidated in disposition service
  * vital record action methods consolidated in vital record service
  * unit test updates
  * other code fallout



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-18 07:19:37 +00:00
Roy Wetherall
516212f698 RM: Package rename
* Relates to RM-572



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44584 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-11 04:19:20 +00:00
Roy Wetherall
726a6ca64f RM: Fix unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-11 03:49:13 +00:00
Roy Wetherall
63643222ca RM: Fixes to creation of unfiled record
* should prevent duplicates being created
  * need to refactor creation into a service (possibly a file plan service)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-10 07:39:45 +00:00
Tuna Aksoy
e7e9b635bf REST API tests for Capabilities and Email mapping keys
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-07 16:22:46 +00:00
Roy Wetherall
33ef651cfc RM-559: 2.0.1 -> 2.1 unfiled records patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-07 06:07:48 +00:00
Tuna Aksoy
fade985057 Changed the capability and group indexes so that new capabilities/groups can be added without changing the existing indexes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-06 17:07:01 +00:00
Tuna Aksoy
1e2b842b56 Changed REST API tests for DataSets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-06 16:43:07 +00:00
Tuna Aksoy
5871dabbe6 Added CapabilityServiceImplTest to the ServicesTestSuite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-06 10:09:50 +00:00
Roy Wetherall
8b784834bc RM-557: Unfiled records service API
* fleshed out unit tests for record service
  * fixed up a couple of issues when creating records
  * unfiled record API integrated into the Record Service 
  * investigated moving filling API from actions into service (roughed out API)
  * updated create record action



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-06 08:38:18 +00:00
Tuna Aksoy
ec2f72650f Tests for the REST API (for Email Mapping)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-05 23:00:59 +00:00
Tuna Aksoy
626f40a215 Tests for the new CapabilityService methods and CustomEMailMappingService methods
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-05 17:24:36 +00:00
Tuna Aksoy
5e2b8efc17 i18n support for data set labels
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-05 10:48:21 +00:00
Tuna Aksoy
4b8b65d023 Merged methods from the EmailMappingKeyService to CustomEmailMappingService and deleted the EMailMappingKeyService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 16:13:30 +00:00
Tuna Aksoy
414fc1a5f3 Made the "customisableEmailMappingKeyBootstrap" bean "abstract", because it was designed to be a base helper bean
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 14:40:38 +00:00
Tuna Aksoy
12bd033dc9 RM-563 (Add group id and title to Capability API and definitions)
* Showing the capabilities sorted in the UI

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 14:13:25 +00:00
Tuna Aksoy
3ca20e6428 RM-563 (Add group id and title to Capability API and definitions)
* Sorting capabilities

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 12:21:19 +00:00
Roy Wetherall
3e91b7ab54 RM-553 - Create record repository action & RM-554 - Create record UI action
* filled out create record action implemenation
  * added 'Create Record" action to normal document library
  * configured UI action to call back to repo action
  * TODO aciton icon



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 05:57:14 +00:00
Roy Wetherall
5e095e827a RM: A couple adjustments to the Role API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 01:55:49 +00:00
Tuna Aksoy
a06ba9d3c3 RM-563 (Add group id and title to Capability API and definitions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 22:32:42 +00:00
Tuna Aksoy
583b4412a8 RM-563 (Add group id and title to Capability API and definitions)
* Changed the Role class so that the i18n properties don't have to be maintained on both sides (server and share)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 11:41:28 +00:00
Roy Wetherall
aaab4b2c9e RM: Fallout from previous model security service changes
* we don't need to evaluate the capabilites, just need to know if the user 'has' the capability
  * added ebable/disable 
  * disabled for now since code refactor is complete, but we need to think some more about what (and why) some properties and aspects are protected



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 08:10:21 +00:00
Roy Wetherall
e7f1b2e62c RM-567: Refactor protected aspects and properties
* actions and capabilities no long linked
  * protected aspects and properties can be configured in their own right
  * protected model security service added
  * action implementation refactored accordingly
  * capability implementations refactored accordingly
  * unit tests 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 04:06:47 +00:00
Tuna Aksoy
0f7197eb25 Made Email mapping keys customisable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-30 11:54:54 +00:00
Tuna Aksoy
b65d0e0d31 Change the name of the test class for custom email mapping service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-29 17:14:14 +00:00
Tuna Aksoy
260c2aec4b RM-563 (Add group id and title to Capability API and definitions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-29 13:52:08 +00:00
Tuna Aksoy
7648c8852a Fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44139 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-29 10:59:44 +00:00
Roy Wetherall
166bfba77d RM: Refactor of unit test to utilise util methods and techniques already provided in the RM base test class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-29 04:30:11 +00:00
Tuna Aksoy
2e873199e3 RM-560 (Email mapping UI refactor)
RM-561 (Email mapping service API refactor)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44133 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-28 22:42:58 +00:00
Roy Wetherall
83cd918890 RM-555: Add extended reader permissions for records.
* unit tests for move
  * fixes



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-28 01:03:25 +00:00
Roy Wetherall
3fb6220149 RM-555: Add extended reader permissions for records.
* service added (moved out of RM security service)
  * remove code added
  * move behaviuor extended
  * unit tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-27 06:34:49 +00:00
Roy Wetherall
bcd6a044f7 RM: Post merge fixes
* build scripts updated so generated eclipse projects don't double up dependancies
  * demo code removed entirely
  * permission service override replaced with extended class based on updated core permission service implementation
  * unit test juggling 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 23:40:35 +00:00
Tuna Aksoy
97c5c54bb1 RM-563 (Add group id and title to Capability API and definitions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 20:51:40 +00:00
Tuna Aksoy
fcd664ffe3 RM-562 (Add 'Manage Permission' action to unfiled records toolbar)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 15:40:19 +00:00
Tuna Aksoy
0fabdd31ec Fixed merge issue which prevented declaring a file as record.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 10:36:57 +00:00
Tuna Aksoy
c4fb7ac119 Fixed merge issue. Added recordService as a bean property. Missing service was causing a NullPointerException.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 10:25:11 +00:00
Tuna Aksoy
a7ba407f93 Added the demo-context back to module-context.xml because there was more demo code in HEAD (for example in rm-form-config.xml and rm-share-config.xml). So it was intended to have it. Added the missing demo-context.xml and demo-model.xml
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 09:43:36 +00:00
Tuna Aksoy
fda7b899fd The server did not start. Removed the demo code merged by mistake.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 09:16:03 +00:00
Roy Wetherall
a1dba70eb9 Merged DEV/INPLACE to HEAD :
41707: RM: Transparent records management prototype WIP
       * Create Record service and refactor
       * Add 'createRecord' method that preserves origional location(s) of the content
       * Add content readers information to record on extended security aspect
       * Experimental dynamic authority
       * DM action to 'create' record
       * Behaviour and methods to create and get new record container
   41708: RM: In-place filing prototype WIP
   42063: RM: Inplace filing prototype
       * extension of seciruty service to allow management of extended readers
       * extended reader maintained within file plan hierarchy
       * support ready for removal (ie move) and overlapping of readers in hirearchy (maintained in reference counting map)
       * general rename to "Unfiled Records" rather than "New Records"
       * File plan unfiled records filter
       * Unit tests
       * Correct permissions on created unfiled container (file for admin as per file plan root)
       * record readers dynamic authority applied to file plan components on bootstrap and creation
   42374: RM InPlace Prototype:

       * permission mapping improvements ... allows filling and declaration of unfiled records
       * actions of 'records' in doc lib are shown as restricted rm list
       * "Record" banner is shown in doc lib if content is a record (this differs from the normal record view where the undeclared status is shown, this isn't relevant for a content user)
       * linked to many record folders indicator not shown unless it really is linked to many record folders

   42700: RM Prototype:
       * stoppped hidden RM actions from appearing in UI
       * added file record action (TODO run-as RecordsManager and make applicable via aspect)
       * added hook points to allow customisation of Rule UI and customised for file record action
   43030: RM: In-place prototype
   43238: Rule editing fixed
   43332: Implemented a DeclareRecordAction so that a rule can be setup for a folder and a user can declare a record just uploading a file (in a collaboration site) into the folder.
   43348: DeclareRecordAction: The actioned upon node should be a record no need to create a record from the actioned node. If it is not a record an error should be thrown. If a user wants to create and declare a file as record a composite rule can be used.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 05:45:48 +00:00
Tuna Aksoy
e7865b1fcb RM-563 (Add group id and title to Capability API and definitions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-25 21:05:40 +00:00
Tuna Aksoy
069d24b41f RM-552 (Add 'Manage Permission' action to file plan toolbar)
* Changed the existing ManageAccessRights capability and reusing it

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-22 13:17:40 +00:00
Roy Wetherall
241c260510 RM: fix up build scripts so Maven dependancies are correctly pulled down
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-22 05:37:46 +00:00