Commit Graph

302 Commits

Author SHA1 Message Date
Roy Wetherall
a104557a28 RM-740: Audit "view audit" action
* View audit, start audit, stop audit and clear audit are all now audited actions.
  * further improvements to the service code
  * event list sorted in audit UI



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54741 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 08:07:23 +00:00
Roy Wetherall
fd84a4d905 RM-853: File Record audit event is absent
* file, move, copy and link are all now present in the event drop down
  * they are all audited as separate events



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 05:38:26 +00:00
Jared Ottley
4aa64013e8 [RM-799] Can't Move folders. Make the file utility method public. Folder moves need to call the method to update any record children.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:44:17 +00:00
Jared Ottley
5d0285ca86 [RM-885] Copy action works incorrectly for folders and subcategories. Add policy for record categories that does not allow them to be copied into record folders.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:16:46 +00:00
Jared Ottley
4f1b1d61c0 [RM-885] Copy action works incorrectly for folders and subcategories. Add policy to not allow copy record folder into another record folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:03:43 +00:00
Jared Ottley
d0a9e6d63f [RM-795] Can't copy/link to record. Links failed because during the RM permission check the applicationContext was being lost. The applicationContext was used to get the internal NodeService bean so that RM could skip additional permission checks beyond the ones that RM was already doing. The bean was already injecting the internal nodeServce bean in the spring bean config. Removed the ApplicationAwareContext and the bean lookup to use the already injected nodeService fixes linking.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 16:44:42 +00:00
Roy Wetherall
50c8869c40 RM-853: File Record audit event is absent
* refactored audit events to be spring configurable, registerable beans
  * adjusted how actions are audited
  * added missing action I18N labels
  * adjusted how audit events are stored against the transaction so that more than one is recorded per transaction (previously it was the last event to happen that was recorded)
  * unit test running and share tested



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 00:54:23 +00:00
Jared Ottley
6963a50287 [RM-795] Can't copy/link to record. Reworked Copy policies. The record aspect is now not copied. A new Unique Record Identifier is generated on for the copy. Other record properties are generated when the record is copied into new record folder. Removed old copy behaviour. Behaviour filter is now added to the policy. The filter is used to disable the id check at the end of copy (on commit) so that a new id can be added to the copy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 20:16:27 +00:00
Jared Ottley
eae029e265 [RM-795] Can't Copy/Link Record. Add IdentifierService to RecordsManagementServiceRegistry.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 18:57:30 +00:00
Craig Tan
665012c957 RM-853 File Record audit event is absent
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-28 11:37:18 +00:00
Roy Wetherall
ba902f5fd3 RM: fix failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-27 07:05:25 +00:00
Roy Wetherall
d14434f141 RM-817: Error: "Unknown aspect specified in query: rma:unpublishedUpdate" in alfresco with RM
* ensure the job doesn't execute before the RM content model is loaded



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-26 10:00:17 +00:00
Roy Wetherall
c060e948c0 RM-452: RM seurity context will break core Alfresco if Alfresco's public services change
* unit test to show this working
  * added package for issue specific unit tests
  * fix to file plan service so that isFilePlanComponent works for non file plan artifacts



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-26 09:45:17 +00:00
Roy Wetherall
cc18dc8a75 RM: Fixed null pointer error noticed during testing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-26 05:46:34 +00:00
Roy Wetherall
4f4a5c13be RM-802: Errors if user doesn't have read and file permissions on root-node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-23 01:43:11 +00:00
Roy Wetherall
3b6da48a3a RM-831: No actions for Completed/Reopened Record on Details page
* hard coded READ permission check causes RM all kinds of issues



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-23 00:59:40 +00:00
Craig Tan
2b75f6a362 RM-697 The set property action should be available when creating a RM rule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-20 12:34:29 +00:00
Tuna Aksoy
1a2b342eac Fixes the following bugs:
- RM-249 (Disposition steps sequence can be violated)
- RM-790 (Cannot delete disposition schedule step)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-19 08:37:48 +00:00
Tuna Aksoy
a8ad377da0 RM-832 (It's impossible to Update Disposition As of Date)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-16 21:12:48 +00:00
Tuna Aksoy
72b00c8548 RM-843 (Undo Cutoff is available after next disposition step is completed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54209 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-16 19:07:16 +00:00
Tuna Aksoy
2507a6b7ce RM-282 (Search with NOT operator in the beginning performs as without NOT operator)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 21:01:04 +00:00
Roy Wetherall
0438a8e6ad RM: prevent publication of changes if node no longer exists
* fix occasional build failure



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 06:57:48 +00:00
Roy Wetherall
08f4bddd65 RM: Remove build warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 06:32:10 +00:00
Roy Wetherall
8d7a5bcd5c RM-784: Possible to create categories/folders with the same identifier
* started out adding a RM query DOA so canned queries could be added .. turned out this wasn't required, but it's a handy
   bit of framework to have in place for the future so I've left it in with an example query and unit test.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 06:25:18 +00:00
Tuna Aksoy
481fc654a8 RM-825 (Records Search by XSS query works wrong)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-14 19:36:33 +00:00
Tuna Aksoy
7635d28048 RM-745 (Event and property filtering not available for audit)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-14 12:38:59 +00:00
Tuna Aksoy
9714ce7727 RM-812 (Unable to audit for events that happened on a single day only, that is, date from and to being the same)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-12 11:28:15 +00:00
Tuna Aksoy
4b2011eb84 RM-479 (Cannot edit custom metadata)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-07 21:44:24 +00:00
Tuna Aksoy
edb1f02fec RM-796 (Add Scanned Record Metadata results in properties error)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-07 15:04:46 +00:00
Roy Wetherall
6f62d5c8ea RM-777: Record name duplication within the in-place container is not allowed.
* records are now renamed when they are created to incorporate the record identifier
  * rejecting a record resotres the origional name



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-06 03:36:54 +00:00
Roy Wetherall
a53482f732 RM: make logger protected so can be reused in other module patches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-06 00:38:21 +00:00
Tuna Aksoy
c68a460928 RM-766 (Rule property substitutions missing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53594 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-04 00:20:46 +00:00
Craig Tan
ed2d38246f RM-771 rmadmin user has no first or last name set
* The change includes modifying RMv2RMAdminUserPatch.java to include the default first name and last name on RM admin user creation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-01 04:52:39 +00:00
Craig Tan
8922af14f5 RM-737 RM rule compensating JS scripts ...
* Added a new patch RMv21BehaviorScriptsPatch that creates the new "Records Management Behavior Scripts" folder and moves existing behavior scripts from the old "Records Management Scripts" folder to the new folder.
* Removed rma_isClosed.js from being created in bootstrap from 2.1 onwards.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-31 04:46:14 +00:00
Roy Wetherall
e029678e47 RM: Remove compilation warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-22 13:08:40 +00:00
Tuna Aksoy
f346613939 Merged DEV/UPDATE to HEAD:
52540: RM-781: RM Dependency update (Reconstruction RM toolbar and documentlist)
   52789: RM-781: RM Dependency update (update to HEAD QA build #165, Deleted overriding files, Bug fixes)
   52790: RM-781: RM Dependency update (Added missing dependencies)
   52822: RM-781: RM Dependency update (Updated the dependency to build #172, bug fixes)
   52823: RM-781: RM Dependency update (Updated the dependency to build #172, bug fixes)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52830 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-19 08:24:25 +00:00
Tuna Aksoy
fa0dd007a0 RM-781: RM Dependency update (update to HEAD QA build #165, Deleted overriding files, Bug fixes)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UPDATE@52789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-17 17:39:25 +00:00
Roy Wetherall
b44b91089e RM: Missing file
* n00b fail



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-17 06:02:29 +00:00
Roy Wetherall
237098cc0a RM-783: File destruction report
* patch added 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-16 07:24:15 +00:00
Roy Wetherall
5801ad2935 RM-777: Destruction report generation
* template now correct and matches email notification style
  * record or folder details shown including basic disposition details
  * destroyed records shown if record folder
  * generalised report action
  * other tweaks
 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-16 05:27:37 +00:00
Roy Wetherall
b4d1194ae2 RM-783: File destruction report action (part one)
* ReportService added ... will be used to consolidate the various reports withing RM (specifically those needed for DOD complicance)
  * Base and declarative implementations of report generators added
  * Destruction report configured with place holder implementation (still need to do name generation, meta-data and final template)
  * Report model added, with destructionReport type defined
  * FileDestructionReport capability added (and capability patch bean updated)
  * Repository action added to file destruction report
  * UI configured to show 'file destruction report' action .. (creates a report and files it as an unfiled record as the destruction report type)
  * fixed up destruction capabilities and actions (capability to destroy record regardless of its current dispostion state did not work)
  * added "AtLeastOne" composite capability condition
  * TODO destruction report template, name and meta-data generation
  * TODO patch to add report template structure to rm data dictionary area
  * TODO start refactor of existing reports including transfer, accession, userRights, filePlan and audit!!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-14 09:54:27 +00:00
Roy Wetherall
1e6d49dbab RM: RecordsManagementService refactor
* move candiate methods into FilePlanService
  * deprecation of RMService methods
  * remove all deprecation warnings from code
  * update filePlanService unit tests
  * remove all other spurious warnings from RM code
  * a couple of performance enhancements in the bowls of the capability evaluation code
  * first pass at parametising RecordsManagementAuditService with file plan (so capability evaluation had a tangable reference)
  * fix up unit test failures and other fall out from refactors



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-12 06:12:46 +00:00
Roy Wetherall
05c4101d2f RM: Admin service refactor
* move admin service and associated classed into 'admin' package
  * move deprecated origionals and move to compatibility structure
  * update references and spring config
  * fix build



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 09:09:02 +00:00
Roy Wetherall
bdf1b2d742 RM: fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 08:21:18 +00:00
Roy Wetherall
9886892499 Merged BRANCHES/V2.0 to HEAD:
52115: RM-732: CLONE - "caveat" functionality of the (dod5015) Records Management Module is not cluster-aware
   52262: RM-757: Permission confusion after upgrade from 1.0
   52264: RM:  Unable to set list of values after migration from 1.0->2.0.3
   52294: RM-769 (Impossible to add access for several values)
   52340: RM: Saved searches where not being upgraded correctly
       * searches resaved on upgrade (to account for updated model)
       * searches are public by defalut
       * relates to RM-758



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 06:34:29 +00:00
Roy Wetherall
aa8fa18157 RM: Saved searches where not being upgraded correctly
* searches resaved on upgrade (to account for updated model)
  * searches are public by defalut
  * relates to RM-758



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 06:11:17 +00:00
Tuna Aksoy
9eb525f63d RM-769 (Impossible to add access for several values)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-09 15:49:51 +00:00
Roy Wetherall
caf766123f RM: Unable to set list of values after migration from 1.0->2.0.3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-09 01:20:51 +00:00
Roy Wetherall
d243007000 RM-757: Permission confusion after upgrade from 1.0
RM-753: Can't edit former seria untill it's vital



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-08 23:54:08 +00:00
Tuna Aksoy
9fb3d3e88d RM-764 (In-Place roles should not appear when managing users and groups)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-08 10:22:53 +00:00