Commit Graph

4525 Commits

Author SHA1 Message Date
Roy Wetherall
fb9e3cc440 RM-395: Edit Disposition Date action doesn't work
* 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
2012-06-26 22:37:37 +00:00
Dave Draper
a8a9281095 Fix unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-26 09:02:21 +00:00
Dave Draper
30c7ba3b31 RM-92: Missing file from previous commit
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-25 13:57:15 +00:00
Dave Draper
df743e37a5 RM-92: Prevent users from being able to create duplicate lists
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-25 13:50:08 +00:00
Dave Draper
ef827f9053 RM-192: Prevent users from editing custom metadata to use an name already in use
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-25 10:46:01 +00:00
Roy Wetherall
c648de8588 RM-393: Channel Manager in share fails with rm installed: 05110093 Access Denied
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-25 05:01:31 +00:00
Dave Draper
48b01a2c1d RM-312: Updated services to return JSON content on errors creating custom metadata
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-22 18:24:55 +00:00
Samuel Langlois
ab8762f2f9 Depend on Alfresco Enterprise 4.0.2 now that it is released
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38204 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-22 14:08:54 +00:00
Samuel Langlois
0300dd9302 Fix build: set source encoding for test sources as well
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-20 13:43:04 +00:00
Samuel Langlois
357fa6240d Fix build: set source encoding to UTF-8
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-20 09:28:32 +00:00
Samuel Langlois
df2c50c487 Fix RM build by making it depend on Alfresco 4.0.3-SNAPSHOT (will need to depend on 4.0.2 when it's released)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37916 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-18 17:01:22 +00:00
Roy Wetherall
1e1e30a528 RM-387: Records Management site does not appear in Site search
* Updated the projects 
 * NOTE: RM2.0 is now dependant on Alf 4.0.2



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-15 14:12:12 +00:00
Roy Wetherall
5ec19ed797 RM Build Scripts:
* add eclipse plugin




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37838 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-15 14:08:32 +00:00
Samuel Langlois
bd7c39270d BDE-74: Mimic property def of alfresco build and database reset, so that tests run properly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-14 16:41:35 +00:00
Samuel Langlois
f1ec786a04 Resurrect r37518: Fix build failing when checkout folder contains a dot
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-12 14:50:01 +00:00
Roy Wetherall
03d2ff3cd7 RM Build:
* fix issue with missing images and CSS in Share AMP



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-12 14:33:59 +00:00
Samuel Langlois
7b21d9ae4a Revert r37518, to get images and css back
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-12 13:50:46 +00:00
Samuel Langlois
b8fe24a2c2 Fix build failing when checkout folder contains a dot
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-06-07 16:16:25 +00:00
Roy Wetherall
deb396e592 RM-383: "When all events has occured" option doesn't work correctly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-31 06:13:00 +00:00
Roy Wetherall
f892f1f670 RM-386: Rolled up search information out of date
* Rollup of search properties happens manually during the update of the disposition actions (for performance reasons)
  * Associated unit test



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-31 05:11:52 +00:00
Roy Wetherall
c166cf0ef6 RM-389 - RM 2.0: 'Custom Metadata' has 'Record Series' after upgrade from RM 1.0
* 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
2012-05-31 00:16:34 +00:00
Roy Wetherall
eba5c0e1f3 RM-389: RM 2.0: 'Custom Metadata' has 'Record Series' after upgrade from RM 1.0
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-30 00:38:35 +00:00
Roy Wetherall
b8b25ddc5f RM-324: User with Edit Selection Lists capability can't access "List of Values" tool from Management Console
* 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
2012-05-29 07:34:03 +00:00
Roy Wetherall
35bbdb09b0 RM Console Capabilities:
* 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
2012-05-28 07:53:10 +00:00
Roy Wetherall
3425415e72 Performance enhancement to update disposition schedule job
* after profilling looks to spped things up by about 50%
  * hoping the reduced work will help with RM-380
  * does have a knock on effect of the calculated search properties which will need to be fixed up



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-25 06:46:34 +00:00
Roy Wetherall
d8c6cb2735 RM-363: alfresco Failed to start modules: A module component org_alfresco_module_rm_notificationTemplate Patch failed to execute
* tempory fix to unblock issue
 * 'proper' fix to come



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36850 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-24 08:59:33 +00:00
Roy Wetherall
92749700ae RM-104: Split email attachments doesn't work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-24 06:00:37 +00:00
Roy Wetherall
e2ef37c0da RM-230: RM Email Mapping tool behaves strangely
* Added custom email service unit test
 * refactored service implementation



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36754 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-23 08:14:23 +00:00
Roy Wetherall
5e1a56c595 RM-190: RM groups are dupliacated when RM site is re-created
* 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
2012-05-23 02:27:02 +00:00
Roy Wetherall
d898b5a770 RM-314: Records Management Administrator can't access FilePlan
* needed to check the capability, not the read permission
  * added helper method to capability service when checking a single capability



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-22 06:57:02 +00:00
Roy Wetherall
21f3306e00 RM-107: Minimisation of JS not taking place (categories cannot be seen)
* YUI compression JAR added as build script dependancy
  * call compression during construction of AMP
  * build AMP task refactored 
  * TODO pull the Alfresco Gradle plugin and integrate 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-22 05:17:41 +00:00
David Webster
76ce14755b Fixes: RM-318: Report option didn't work since model change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-21 14:27:54 +00:00
Roy Wetherall
d7d9f151ec RM-360: Upgrade from RM 1.0 to RM 2.0 failed
* 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
2012-05-21 06:20:01 +00:00
Roy Wetherall
af1120574f RM-322: User with Create Modify Destroy File Plan Metadata capability can't create fileplan metadata
* user with correct capability can now create record category at the root of the file plan



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-20 03:44:08 +00:00
Roy Wetherall
69a8bc0c06 RM Transfer Bug Fixes:
* 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
2012-05-18 07:15:00 +00:00
Roy Wetherall
c2f7e0a8d3 RM-100: Audit tool is not working
* 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
2012-05-17 08:09:14 +00:00
Roy Wetherall
54a12c4174 RM-273 - RM: PublishUpdatesJob allows concurrent execution
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36435 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-16 04:51:20 +00:00
Roy Wetherall
6a4bfb4609 Updated ReadMe.txt instructions with fetchWarFiles task
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-15 10:50:36 +00:00
Roy Wetherall
e6a9ef31e9 RM: Resolve Freeze Issues
* RM-218: Frozen records can be deleted (only the valid actions show when a record is frozen)
 * RM-315: It's possible to edit metata data for frozen record (it's not and the actions no longer show)
 * RM-347: Its possible to freese undeclared record (yes it should be and the actions to support this have been enabled)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-15 08:01:05 +00:00
Roy Wetherall
1ebf14fd12 RM Move Capabilities:
* 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
2012-05-14 05:57:37 +00:00
Roy Wetherall
4be2e83f1a RM-306: Move to action works incorrectly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-10 06:18:31 +00:00
Roy Wetherall
3498ea59a1 RM-263: Issue when we set disposition schedule based on Publication Date
* 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
2012-05-09 23:35:37 +00:00
Roy Wetherall
0e5c86e86c RM-310: A user is not able to edit metadata of the record he has permissions for
* 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
2012-05-09 03:34:13 +00:00
Roy Wetherall
c3879ad56f RM Form Refactor/Bug Fixes:
* 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
2012-05-08 11:37:46 +00:00
Samuel Langlois
9823ecc1e0 BDE-68: Update alfrescoBaseVersion according to the one finally deployed in Maven repo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@36012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-02 17:36:27 +00:00
Samuel Langlois
be226c6ba6 BDE-68: Merged HEAD to BRANCHES/V2.0
35947: BDE-68: Added fetchWarFile Gradle task to fetch alfresco.war from Nexus
   35957: BDE-68: fetchWarFile Gradle task now also fetches share.war


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@35985 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-02 11:55:04 +00:00
Samuel Langlois
ab99b909cc BDE-68: fetchWarFile Gradle task now also fetches share.war
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-01 15:46:34 +00:00
Samuel Langlois
4340e3a314 BDE68: Added fetchWarFile Gradle task to fetch alfresco.war from Nexus
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-01 14:50:13 +00:00
Roy Wetherall
d15df02f0c RM: Update build number
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@35932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-01 08:42:54 +00:00
Roy Wetherall
58a6f7658a git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@35929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 2012-05-01 06:55:15 +00:00