* 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
* 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
* 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
* edit disposition action now works
* associated capability improved to only show action when disposition date available to be updated!
* issue became apparent because the available disposition properties don't always make sense for a folder level disposition (eg: file date)
Disposition properties are context sensitive:
* UI dynamically pulls list of disposition properties based on disposition level and disposition action
* WebScript added to retrieve disposition properties based on context
* Disposition properties spring context indicates excluded actions and disposition level relevance
* Added Created Date as disposition property for folder level disposition
* Cutoff Date no longer shows as disposition property option for cutoff action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38394 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* migrated record series, despite extending record category, don't have the record category custom properties shown in the UI
* record series is labeled as 'deprecated' in the edit custom properties console
* some re-org of 'compatibility' code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37271 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Added 'ListAdmin' unassignable capability
* Fixed up introduced issue with console permissions (last minute change to JS caused all capability checks to fail on management console .. for some reason I didn't recycle and spot untill today!)
* Can not undeclare a cutoff record (another small issue spotted today)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* added web script to retrieve the capabilities of the current user, either based on a provided node or the file plan otherwise.
* updated RM console to use new webscript, was using role webscript which doesn't accurately show what a user can do, nor include unassignable capabilites that can be used for convenience.
* added unassignable, composite capability 'AuditAdmin'
* protected audit console with new capability, this means users with only DeleteAudit (for example) can now see the management console.
* related to RM-186
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* automatically delete assiciated roles (ie groups) when a file plan (ie the RM site) is deleted
* add the user that created the RM site into the Records Administrator group (a convenience improvement)
* fixed knock on issue with getting FilePlans and ignoring those in the archive store!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* By passed issues caused by changing AMP name ... seems the component registry isn't updated so some are re-run, potentially causing issues
* Added compatibility class ... is referenced by a 1.0 custom model .. also gives us a slot if other issues arrise .. may move some of the other compatibility code in here if I get time
* Tested upgrading from V3.4.x to V4.0.1 with RM 2.0
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* RM-336: Impossible to create File Report for transferred object
* RM-170: Not successfully complete Transfer action
* RM-210: Assession disposition action does not disappear after event completion
* RM-224: Script error when add Disposition Transfer Step if user doesn't have access to any Transfer Location
* RM-346: Incorrect list of actions for transfered Folder or Record
* RM-358: A folder isn't displayed in Transfers without without reloading the page.
* RM-331: Audit is removed from Transfers and Holds
* Also the transfer and accession capabilities are refactored to work correctly.
* Transfer, accend, and relevant complete actions all correctly react to the different capability assignments.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Refactored server side unit tests (exposed at least one bug and shows that the event and property filters are still not working)
* Fixed up admin and object audit views (formatting is still terrible, but it's functional)
* Will close out the related issue, since formatting and other issues are covered by other bugs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Added Record Folder, Record Category and composite Move capabilities (all private and based on exisiting capabilities)
* Added RM UI actions for record, folder and category move wired up to new capabilities .. this means the UI actions correctly reflect the capabilities of the user
* Unit tests
* Started to move the capabilitiy spring def's into logically seperate files
* Rewrote origional RecordsMove capability (replaced with spring config)
* Added TargetCapability configuration to declarative capability implementation .. provides a way to evaluate capability when a target node reference is being taken into consideration
* Added title and description to declarative capability (for future use)
* Removed unwated 'old' doclib overrides (where confussing the issue)
* Clean up the security service which was duplicating methods now found on the capability service
* Remove capability set support ... old work around used before updated evaluators where used
* Fixes RM-203, RM-328, RM-165, RM-204 (and possibly some others I've yet to find!)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* refactored the way disposition properties work
* now additional disposition date properties are sprung in and registered in the disposition service
* each disposition property bean looks after updating the disposition asof date when the date property changes
* defaults to null date if can not be calculated
* unit test for new method and this issue
* also updated build scripts to successfully run unit test .. will gradually add in other unit tests as their reliability is improved
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* fixed up add record web script as it was using a admin only web script
* extended rm meta-data web script to support above
* EditRecordMetaData capability missing for composite Update and UpdateProperty capabilities
* EditNonRecordMetaData capability takes into consideration whether the user is the owner or not
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36180 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Updated implementation of form filters to include custom properties and custom record aspect properties
* Overide FormUIGet web script implementation to include custom properties (and custom record meta-data aspects) despite now using a 'show' strategy for the form defintions.
* Added a RM 'kind' config evaluator. This allows us to provide a form definition for the different 'kinds' of RM artifacts which are automatically merged with the core form related to the content type. This is especially useful for records as we can now support the correct display of extended content types and content with additional aspects.
* Added rm metadata web script to support the kind config evaluator.
* Re-factored all form definitions into 'kinds' and core types where appropriate ... means implementors can extend our core RM types and still have the correct Rm information displayed whilst defining their own forms for their new types.
* Separated out the DOD specific form parts for the record kind.
* Non-electronic document form added (and auto-includes record kind form)
* relates to RM-269 and RM-137
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- 'Create Reference' edit button now appears in UI (record picker is still broken)
- Download action shouldn't show for nonElectronic documents
- Delete action appears on frozen nodes - linked delete action in UI to delete capability
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Images not showing in search results
- Undeclared saved search showing record folders
- Records eligable for destruction saved search is showing already ghosted records
- rma:transferring aspect added to objects being transferred
- Records eligable for transfer saved search is showing transferring and transfered records
- Grandle explodedDeploy target updated to copy 'web' source
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Edit details Ui action now reflects user's capabilites correctly
* Fixed up a couple of behaviours that don't execute when non-admin user (run as system user since admin may not be rm admin)
* Transfers not appear in docLib filter correcetly
* File UI action now reflects the user's capability correctly.
* Renamed 'group' capabilities to 'private' as this more accurately reflects what it means.
* Added composite capability implementation ... allows us to futher consolidate some of the edge cases and will allow us to break down further some of the existing capabilities .. this makes is much easier to see and understand exactlly what each capability is doing
* Refactored current 'group' capabilities .. replacing with pure spring config where appropriate .. much clearer what they are doing (and fixed up where they wheren't doing exactlly the right thing)
* Moved the remaining group capabilities impl's with the other capability impl's .. we are now down to 8 custom capability implementations .. down from 50+ .. and these havily borrow from the base classes where they can ... makes maintenance MUCH easier!
* more unit tests
* used new 'private' capability technique to break up FileRecord capability ... it's now clear what it is doing and could be corrected easily
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35350 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Fixed up issues seen during QA security knowledge transfer session
* hard coded "Read" evaluation in DocLib js is overridden in RM to account for "ReadRecord" ... not ideal solution but no other option for the moment
* property pages now show for non-admin users
* actions on toolbar showing and hidding correctly when capabilities missing
* other actions showing and hiding correctly when capabilities missing
* view details UI action to capability link now working correctly
* some unit test monkeying
* gradle scripts have 'explodedDeploy' taget which does deploys content of AMP (or at least what would be the contents of the AMP) to the exploded web apps ... speeds up dev time heaps!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35251 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Removed web script tests dependancy on DOD test data
* refactor base RM test and placed common utils in common class
* base rm web script class created
* unit tests refactored (still some work on the older tests required)
* junit conflict resolved
RM Bug Fixs:
* user rights view working again
* fix from Erik so RM admin console works
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* moved RM tests into separate folder structure
* updated Gradle scripts with test source locations and dependancies .. 'gradlew test' will now attempt to execute the unit tests (even if they fail!)
* eclipse project dependancies updated so unit tests execute within the RM eclipse project
* TODO get the unit tests working reliabily! (still lots of refactoring of old tests to do)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261