Commit Graph

6147 Commits

Author SHA1 Message Date
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
Roy Wetherall
0f51fe7386 Add folder for RM 2.0 branch.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@35927 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-05-01 06:49:06 +00:00
Roy Wetherall
a2375a26fe RM Build Scripts:
* Reorganised parent and child property files so same values reused
  * Added build number to properties (included on artifact names)
  * Added simple root project task to bundle AMP's into zip for distribution (ready for QA)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-04-19 23:34:48 +00:00
Roy Wetherall
9955abc7db RM Bugs:
* Create new reference now working
  * RM admin console link hidden untill RM site created



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-04-19 21:30:01 +00:00
Roy Wetherall
8414911186 RM Bugs:
- '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
2012-04-19 06:35:48 +00:00
Roy Wetherall
4c7c011ca8 RM Bugs:
- 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
2012-04-18 08:16:09 +00:00
Roy Wetherall
09a0f50882 RM Bugs:
* 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
2012-04-18 04:58:51 +00:00
Roy Wetherall
9d7fe7fd4a RM Bug Fixes:
* 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
2012-04-16 02:59:54 +00:00
Roy Wetherall
e767ce187a RM Unit Tests:
* 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
2012-04-12 07:20:20 +00:00
Roy Wetherall
f70eb812bc RM Build Scripts and Tests:
* 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
2012-04-05 03:01:22 +00:00
Roy Wetherall
b0180e599a RM Build Scripts:
* generated gradle wrapper scripts for windows and linux
 * build tasks can now be called using 'gradlew' and any required Gradle dependancies will automatically be downloaded.  Gradle is not required to be installed.
 * hopefully 'gradlew' can be used by Bamboo as a command task, as it doesn't have native Gradle support installed
 * updated ReadMe.txt with new information



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35068 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-04-04 02:47:07 +00:00
Roy Wetherall
3ce8f10fc9 RM Bugs:
* legacy dod:series class causing issues on a clean install when accessing the custom properties
  * updated read me



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-30 07:00:02 +00:00
Roy Wetherall
640773922a RM build scripts:
* deployAmp tasks configured to use the TOMCAT_HOME and APP_TOMCAT_HOME evnVars for the rm-server and rm-share projects respectively. (so things work easily when using the DevEnv)

  * ReadMe.txt added with steps to setup and use the RM gradle scripts (will copy this up to the RM 2.0 site on ts as well)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-30 05:12:49 +00:00
Roy Wetherall
445c9bb6c3 RM build sciprts:
* Missing test dependancy



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-30 05:02:40 +00:00
Roy Wetherall
1423bc64ce RM build script:
* Error handling corrected



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-30 03:38:50 +00:00
Roy Wetherall
286763563d RM build scripts:
* Error message has incorrect variable references



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-30 03:25:05 +00:00
Roy Wetherall
da53994d23 RM Build Scripts:
* Ripped out Gradle Tomcat package, now deploys to configured tomcats
  * Tidyed up configuration, all the important stuff is done in the sub-project property files now
  * testing from deploy all the way down to unpacking the dependancies



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34880 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-29 09:05:16 +00:00
Roy Wetherall
08a96c0ed0 RM biuld scripts:
* mmt depedancy added
  * war dependancies tidyied up
  * config improved
  * install amp working
  * use of tomcat plugin (soon to be removed because it is unable to run two instances of tomcat at the same time)
  * checkin to store current setup before refactor (again)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-28 23:58:11 +00:00
Roy Wetherall
372ceff749 RM: Build scripts
* war expanded in entirety and dependancies used as needed
  * Eclipse projects now building
  * Eclipse runtime helthier since have access to expanded WAR 'config' files on projects classpath
  * Custom Groovy task class added to construct AMP's
  * AMPs for both server and client build as part of the standard java 'assemble' task (called during 'build')
  * TODO check AMPs deploy
  * TODO extract properties
  * TODO construct correct Jar and Amp names based on version, etc



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-23 07:54:45 +00:00
Roy Wetherall
96075afea4 RM: Latest updates to build scripts and Eclipse projects
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-23 05:16:03 +00:00
Roy Wetherall
0edede13d1 RM: Build script updates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34686 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-22 10:29:57 +00:00
Roy Wetherall
be5b7a8d5a RM: Added various ignores so that build artififacts and dependancies are not shown in SVN modified lists
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-22 03:16:17 +00:00
Roy Wetherall
96421f1f64 RM: Adding dependancy folders and updated build properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-22 02:57:42 +00:00
Roy Wetherall
1516161f68 Initial check-in of code into RM HEAD and first pass at Gradle build scripts.
NOTE: the build scripts arn't fully working yet!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-22 02:23:49 +00:00
Roy Wetherall
24a50011ae Fix typo in folder name!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-22 01:36:56 +00:00
Roy Wetherall
e3725634bd Added new SVN structure for RecordsManagement SVN archive
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmangement/HEAD@34674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-03-21 19:33:53 +00:00