Commit Graph

342 Commits

Author SHA1 Message Date
Tuna Aksoy
fde855cc1f RM-1741 (Moved root category doesn't inherit permissions)
* Unit test added

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@88687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-17 20:04:51 +00:00
Tuna Aksoy
5f7775845f RM-1661 (Performance on setting permissions at a high category level)
* Added unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@88358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-16 15:09:09 +00:00
Tuna Aksoy
1354d54078 RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@88193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-15 19:57:37 +00:00
Tuna Aksoy
e0debcd965 RM-1661 (Performance on setting permissions at a high category level)
* Added unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@88192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-15 19:23:51 +00:00
Tuna Aksoy
2ab582af37 RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@88092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 21:46:05 +00:00
Tuna Aksoy
c2a217211f RM-1661 (Performance on setting permissions at a high category level)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@88087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 19:28:09 +00:00
Tuna Aksoy
829a135988 RM-1641 (Create Relationship Service)
* Deprecated methods in RecordsManagementAdminService

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@86172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-01 15:42:47 +00:00
Roy Wetherall
1b0256dd60 RM-1633: Recorded Version Configuration Action
* Prevent copy of recorded version configuration, therefore it is not stored on frozen record state.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@84187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-16 05:41:12 +00:00
Tuna Aksoy
ebf27ed672 RM-1679 (Write unit tests for inplace record methods)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@84079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-13 21:25:26 +00:00
Tuna Aksoy
459d028664 Code tidy up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@84078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-13 19:40:49 +00:00
Tuna Aksoy
73c38788ba Removed warnings from rm-server code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-05 16:28:08 +00:00
Tuna Aksoy
0866a9cf3b RM-1668 (Move BeanExtender into Core)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83469 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-05 16:12:39 +00:00
Tuna Aksoy
acb5ab48b6 Fixed failing unit tests after dependency upgrade from 5.0.a to 5.0-BF-SNAPSHOT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 16:57:42 +00:00
Roy Wetherall
a74663c740 RM-1635: Recordable Version Store Service Prototype
* integration tests to ensure recorded version retireves the state of the versioned content accurately
 * various improvements to satisfy tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@81055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-25 06:08:06 +00:00
Tuna Aksoy
217b209b4c Merged BRANCHES/V2.2 to HEAD:
80299: RM-1652 (Classified Records capabilities are never used)
   80313: RM-1652 (Classified Records capabilities are never used)
   80336: RM-1636 (Disposition steps can be executed for folder with frozen record)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-18 16:08:56 +00:00
Tuna Aksoy
d7bc1be19e RM-1652 (Classified Records capabilities are never used)
* Fixed failing unit test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@80313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-18 12:35:11 +00:00
Roy Wetherall
76671aedf4 RM-1635: Recordable Version Store Service Prototype (WIP)
* extended version service implementation that can use the file plan as an alternative version store, thus recording versions
  * extended version node service implementation that can retrieve recorded version information from the file plan (rather than the version frozen state) (properties only atm)
  * recordable version model including recorded version information and versionable aspect extension with auto recordable version policy defined
  * Recordable version service unit tests
  * Simple AdHoc recorded version integration test (shows recorded created and frozen property state recovered via file plan record)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-15 06:02:38 +00:00
Tuna Aksoy
e9138bdb0f RM-1623 (Move In-Place Record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@79188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-10 18:43:43 +00:00
Tuna Aksoy
2924d6156c Fixed failing tests for RM HEADs 5.0.b-SNAPSHOT dependency after the changes on HEAD
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@78331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-25 19:17:13 +00:00
Roy Wetherall
c6d561065b Additional unit test to check extended security with cache is working as expected.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@76851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-18 04:55:59 +00:00
Roy Wetherall
8967083669 RM performance enhancements
* serach improvements
  * in-place record browse improvements
  * saved search via file plan browse improvements



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@76850 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-18 04:17:45 +00:00
Roy Wetherall
a0916c1bd0 Merged HEAD to BRANCHES/V2.1.0.x:
75186: RM Performance Improvements





git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@76601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-16 04:45:57 +00:00
Roy Wetherall
f838c103e8 Merge HEAD to BRANCHES/V2.1.0.x:
74932: RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1.0.x@76597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-16 02:00:27 +00:00
Roy Wetherall
63d0b4732e RM-1502: on moving a folder to RM: recordSearchDispositionAuthority & recordSearchDispositionInstructions are empty
RM-1521: Failed to Upload New Version if updated rule to Declare as Record is set




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-29 07:09:18 +00:00
Roy Wetherall
db6fc9999f RM Performance Improvements:
* focus on in-place scenarios with large numbers of DM users and large numbers of in-place records (based on issue informally reported by partner)
 * improve performance of dynamic authorities used for in-place security evaluation (L1 transaction cache and more preformant authority look up)
 * remove unwanted queries in tree (N+1 for every node) .. killed it for large file plans
 * L1 transaction cache for capability condition evaluation .. these are called a LOT so removes some of the bottle necks when evaluating the permissions of a large sets of nodes
 * extend helper system test used to load up fileplan and now also create in-place records
 * unit and integration tests run .. sanity testing done via the UI
 * overall performance of the display of 1000 in-place records in the file plan down from minutes to a few seconds!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 04:54:04 +00:00
Roy Wetherall
a0aeb3f443 RM Performance testing:
* added helper code to load large numbers of users and groups into RM roles
 * improved performance of role user/group management console from 13 seconds with 100 groups with a 100 users, down to less than a second
 * role user/group console now only shows users and groups explicitly assigned to the role to help scale the UI (and make more sense!)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-27 02:24:22 +00:00
Roy Wetherall
28c467304c RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents
* general browse experience better
 * viewing record category list (with one folder) down from seconds to almost immediately
 * viewing of record details page down from 20 plus seconds to under a second 
 * although view of 15k records is still slow to render (around 10/15 seconds) this is still much better then previously and over 80% of that time is spent in the repo getting the children .. could look at getting a reduced result set?
 * cached 'hasHeldChildren' state on record folders .. this was a significant overhead previously and is now a simple property lookup, maintained by behaviours
 * unit tests for above to ensure nothing is broken
 * TODO more caching of frequently asked for state, optimisation of more node service intensive capability conditions




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-26 06:21:45 +00:00
Tuna Aksoy
6daa47eb4e RM-1572 (It's possible to file report to closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 23:14:56 +00:00
Roy Wetherall
b153b5ca80 RM-1559: User with Create Hold capability can't create hold
RM-1561: Edit/Delete Hold actions are not displayed for user with proper capabilities

* editHold and deleteHold specific capabilities added and UI actions wired up accordingly
* capability patch addeded
* freeze, unfreeze and related capabilities deprecated (but still avaialble if required)
* some of the old freeze UI actions removed 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-24 06:31:43 +00:00
Roy Wetherall
a77ab1097e Integration test for automatic disposition job
* specifically to ensure that automatic cut off is happening, since this is an area of functionality that easily regresses
 * test job context to override CRON frequencies for tests
 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-20 06:50:58 +00:00
Roy Wetherall
14d57cacb6 RM-1540: Event is displayed for record moved to category with no disposition
RM-1345: Edit Disposition Date is not working for moved items



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-20 05:02:06 +00:00
Roy Wetherall
0bce51ac8d RM-1440: Edit Non Record Metadata capability is required to file a record
* can now file an electronic record with only CreateRecord capability
  * tidied up some of the policy code as I went
  * integration test
  * non-electronic records to follow



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-17 06:44:19 +00:00
Roy Wetherall
6f8929f441 RM-1345: Edit Disposition Date is not working for moved items
* behaviour now fires as expected so record folder data is updated correctly
 * general improvements to move record folder
 * addition and consolidation of move record folder integration tests
  



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-16 06:20:05 +00:00
Mark Hibbins
6a2d86121c RM-1070, added rule property substitution for day of month
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-13 09:44:26 +00:00
Roy Wetherall
e5d7c77ce6 Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-12 00:45:59 +00:00
Roy Wetherall
a4bf43f06a Reorganisation of RM lecacy and integration tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73610 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-12 00:05:53 +00:00
Tuna Aksoy
02b4c273d2 RM-1224 (Rmadmin user is not created if auth chain contains not only ALfrescoNTLM)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 08:53:23 +00:00
Mark Hibbins
0f25886e06 RM-1456, disposition lifecycle executor now does not execute cutoff after undo cutoff
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 07:29:21 +00:00
Roy Wetherall
bc90de1e33 Update copyright date to 2014
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 06:06:22 +00:00
Roy Wetherall
54f934c1a9 RM-1231: Could not Revert the rejected record
* record security was not being correctly reset during record reject
 * added additional logging to help debug access denied exceptions



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-10 03:01:34 +00:00
Tuna Aksoy
6458455516 Added new test classes to the test suite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72356 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 15:10:08 +00:00
Tuna Aksoy
3fb4075d8d Changed class name to match the naming convention
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 15:07:23 +00:00
Tuna Aksoy
24bf0878d4 Created separate Test classes for the fixed bugs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 15:05:46 +00:00
Tuna Aksoy
f544bacec6 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 14:13:28 +00:00
Tuna Aksoy
7017336638 RM-1424 (Holds the user has read-only permission for are displayed in Add to Hold dialog)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 13:45:28 +00:00
Tuna Aksoy
67a92d96f7 RM-1464 (Item can be added to hold the user has no file permissions for)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-28 20:56:31 +00:00
Tuna Aksoy
c7539a8a66 RM-1463 (Item the user has read only permissions for can be added to hold in from Records Search results)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-28 20:26:11 +00:00
Roy Wetherall
e3ae5cd053 RM-1340: Couldn't cutoff closed folder
* includes a couple of fixes from the demo prep
  * override of MethodSecurityInterceptor to allow us to report detailed information when an AccessDenied exception is reported as the result of a capability evaluation failure.
  * integration tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-08 06:01:02 +00:00
Roy Wetherall
9b1fe80fd3 RM-1211: Generate hold report
* FileHoldReport capability added (and patched)
 * hold report type added to report model
 * hold template added, bootstraped (and patched)
 * UI action to file hold report added and sensitive to capability
 * report actions refactored into a single, general purpose, file report action (can be exposed as rule in future)
 * refactoring and extending of report generators (including declarative report generator)
 * unit test for file report action
 * integration test for hold report generation
 * added Sprin custom property editor registrar and registered QName property editor, this allows short name string forms of
   QNames to be specified and converted to QName from bean definitions (perhaps something useful for core)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 07:21:54 +00:00
Roy Wetherall
60fb01d189 RM-1341: Couldn't complete event if link record before completing it
* some refactoring to ensure complete, undo and refresh logic was encapsulated in the service layer (not in the actions)
 * integration test for complete event to check interactions
 * restructure integration test packages



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-24 04:17:02 +00:00