Commit Graph

879 Commits

Author SHA1 Message Date
roxana
6b916b977f Changed a bit the methods to be more readable. 2016-10-07 10:45:49 +03:00
roxana
db231f62db Added implementation for handling multiple dispositions schedule record based. 2016-10-04 10:34:08 +03:00
Roxana Lucanu-Ghetu
80c64b59eb Merge branch 'feature-2.4/RM-3060' into 'release/V2.4'
Feature 2.4/rm 3060 - Record linked to folder with the same disposition schedule couldn't be cut off

Added search by name for current disposition action; when the record has multiple disposition schedules the current disposition action may not be found by id.

See merge request !157

(cherry picked from commit d9883a3b02)
2016-10-03 12:10:20 +03:00
David Webster
8470ed38f8 Merge remote-tracking branch 'origin/release/V2.2' into feature-2.3/merge_from_v2.2.0.1 2016-09-30 16:33:49 +01:00
David Webster
76ca8ea811 Merge remote-tracking branch 'origin/release/V2.2.0.x' into feature-2.2/merge-2.2.0.1 2016-09-30 15:35:04 +01:00
Tom Page
e673d7ab03 Let git handle line endings for us. 2016-09-27 13:55:53 +01:00
David Webster
5c90f386f4 MNT-16852: back port code fix for add children permission support 2016-09-26 22:17:24 +01:00
Tom Page
7e14b5231b Let git handle line endings for us. 2016-09-21 13:48:28 +01:00
Ana Bozianu
a930f5e4f1 Merge release/V2.3.0.x into release/V2.3 2016-09-20 14:00:59 +03:00
Roxana Lucanu-Ghetu
ec363a3838 Merge branch 'feature-2.3/RM-2188_PreviewNotAvailableDeclaredRecord' into 'release/V2.3'
Feature 2.3/rm 2188 preview not available declared record

Backported changes from fixed issue RM-3030 in V2.4.

See merge request !493
2016-09-20 10:05:53 +01:00
Tuna Aksoy
ca5316b6e2 RM-3993 (Exceptions thrown when concurrently creating identical folder structure) 2016-09-20 00:54:14 +01:00
Mihai Cozma
ad163b0301 Fix audit issue 2016-09-19 15:06:13 +03:00
Mihai Cozma
fbe55ac0a9 Revert "Fix audit issue"
This reverts commit d8f0c87c5b.
2016-09-19 14:48:14 +03:00
Mihai Cozma
d8f0c87c5b Fix audit issue 2016-09-19 14:46:42 +03:00
Mihai Cozma
39afa6e9f1 Fix audit issue 2016-09-19 09:18:09 +03:00
Roxana Lucanu
eb3fa4acb3 RM-3030 - renamed variable and changed comment
(cherry picked from commit d5efeec830)
2016-09-15 16:12:55 +03:00
Roxana Lucanu
d0b8a79a8a RM-3030 - added filePlan aspect for every thumbnail from renditions
(cherry picked from commit 1de1bcf5f4)
2016-09-15 15:45:34 +03:00
Silviu Dinuta
d3628be26b RM-3996: added unit tests and fixed the bug with infinite loop when
batchsize=0
2016-09-15 14:04:06 +03:00
Silviu Dinuta
7d7d10768d RM-3906: set maxProcessedRecords to batchsize value if it is not set
from the request
2016-09-14 10:32:42 +03:00
Silviu Dinuta
9b5e311936 RM-3960: did most of the review mentioned improvements 2016-09-13 21:12:15 +03:00
Silviu Dinuta
194e075cc6 RM-3906: Implemented webscript 2016-09-13 15:58:43 +03:00
Roy Wetherall
f9ef2cd585 RM-3074: Initial refactoring of the extended security service implementation
RM-3074: Added root group and zones

* added root inplace group, created on start-up if not already there
* all groups created in RM zone
* fixed up file plan permission unit test and removed ignore from test
suite
* removed delimeters from groups names to keep length to a min

RM-3074: Find groups and handle clashes

* refactor how existing groups are found
* name with index
* handle hash clahses

RM-3074: Add exact group match

* ensure that hash match is backed up with exact match
* fill out JDoc

RM-3074: unit testing of extended security service impl

RM-3074: groups assigned to RM roles, not authorities

* IPR groups are now assigned to RM roles rather than the individual
authorities
* more unit tests

RM-3074: Remove unnecessary files

RM-3074: review comments

RM-3074: Refactor so read and write groups are reused independantly based on review comments

RM-3074: Inplace move no longer needs to modify extended security

* inplace move no longer needs to store and reset extended security
* no need to clear extended security when assoc is removed
* a couple of extra checks to inplace move integration test

RM-3074: place common logic to get readers and writers of a node in one place

* added getReadersAndWriters method to extended permission service
* refactored calling services, consolidating code into one location
* extended unit test

Note: getFullAuthenticatedUser has been removed from writers list as it
makes no logical sense since you must be a writer in order to perform
these operations in the first place.

RM-3074: Rename set/remove methods on extended security interface

* create deprecated service interface to tidy things up
* create set method and deprecate exisiting
* crate remove method and deprecate exisiting
* remove deprecation warnings in code

RM-3074: missing file

Change in project structure

RM-3074: Rename getReader and getWriter methods

RM-3074: Unit test for records with renditions

RM-3074: Integration Tests, including BDT test helpers to simplify code

RM-3074: Integration tests

* including fix for ghosted records being visible in collab sites

Add completeEvent method

RM-3074: Review comments

RM-3074: Contributor didn't get write in-place access as expected

* owner derived from cm:creator was not added to writer list
* fully authenticated user in base test was being set incorrectly
* transaction executed outside authentication in BDT classes

RM-3074: missing file

RM-3074: Fixup community integration tests

RM-3074: Fixed failing test

RM-3074: Test group reuse

RM-3074: Deleted creators cause failures when declaring records

RM-3074: Fix unit tests

RM-3074: Remove extended security when a record is copied

Add AlfMock to help backport unit tests

RM-3074: Compile tests with 1.8

RM-3074: Fix integration test

RM-3074: Fix integration tests
2016-09-09 14:00:38 +10:00
Tom Page
9c9fa0b01f Let git handle line endings for us. 2016-09-08 16:27:10 +01:00
Roy Wetherall
b38df8aa4e Merge remote-tracking branch 'origin/release/V2.2' into feature-2.3/RM-3114-2.3Merge 2016-06-24 15:26:22 +10:00
Tom Page
86c6cd3d7f Merge release/V2.2.1.x into release/V2.2.
Conflicts:
	pom.xml
	rm-server/config/alfresco/module/org_alfresco_module_rm/module.properties
	rm-server/pom.xml
	rm-share/config/alfresco/module/org_alfresco_module_rm_share/module.properties
	rm-share/pom.xml
	rm-ui-tests/pom.xml
2016-06-20 10:31:36 +01:00
Roy Wetherall
57e5d1d237 RM-3114 - review comments 2016-04-12 09:21:45 -04:00
Roy Wetherall
bd39de53a1 RM-3114 - Integration tests 2016-03-30 09:32:28 +11:00
Roy Wetherall
a40aa2af33 RM-3114: Prevent access to custom map before it is ready
- remove public init method from AdministrationService
- make admin service impl ordered listener, always goes last
- protect execution of service behaviours until custom map init'ed
2016-03-29 13:09:56 +11:00
Tom Page
4008b34356 Merge release/V2.3.0.x into V2.3. 2016-02-18 08:25:03 +00:00
Tom Page
a4d58e5fce RM-2968 Update disposition query used to find nodes to cutoff or retain. 2016-02-17 10:50:05 +00:00
Roy Wetherall
a495c73d57 RM-2194: Review feedback
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@120140 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-12-14 22:09:52 +00:00
Roy Wetherall
c57c0ed25f RM-2873: Browsing version history properties fails when version destroyed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@120061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-12-10 22:09:07 +00:00
Roy Wetherall
8dabd2f2ba RM-2194: Declare as Version Record Does Not Respect Specialized Type
* RM-2856: Extend auto-version to trigger on type change
 * RM-2852: Integration tests

+review RM @tpage


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@119847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-12-10 00:22:38 +00:00
Roy Wetherall
716441a1d8 RM-2562: Deleting record from versions produces inconsistent behaviour
* Version history shows destroyed version despite meta-data shell of version record still being present (RM-2839)
 * Integration tests (RM-2842)

+review RM-223



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@119506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-12-03 00:52:53 +00:00
Roy Wetherall
f142e7647b RM-2562: Deleting records from versions produces inconsistent behaviour
* Versions are not deleted from collab version history, rather marked as destroyed (prevents inconsistencies since we don't support deleting versions well)
 * Share UI updated to acomadate above
 * Version relationship reorganised based on changes to version record history
 * Unit tests and integration tests for above
 * some unit tests relating to RM-2194
 * Hover message on version record icon in version history

+review RM



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@119284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-12-02 02:09:43 +00:00
Tatyana Valkevych
7158053a19 MNT-15068: Merged V2.2 to V2.2.1.x
109401: RM-2391 : The Audit Log GET requests have to verify first which user is logged in and to which data it has access.
      - Added capability checking to the AuditLog Get REST API. Added a unit test. Minor changes on the Share side to forward the forbidden status.
   111064: RM-2391 :
      - also check for the access audit capability on each node from the report
   114786: RM-2391 :
      - Implemented final fix and added a unit test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2.1.x@115178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-26 15:58:04 +00:00
Tom Page
6267dde18b Merged BRANCHES/V2.2 to BRANCHES/V2.3:
114258: RM-2522 : Select "Download Zip" (rm-download-zip) on RM Transfer Target inside RM Transfer view throws 400 Bad Request: Node is not fileplan
        - used isFilePlan method from FilePlanService instead of old check
   114917: Merged BRANCHES/V2.2.1.x to BRANCHES/V2.2:
        114437: Merged DEV to V2.2.1.x
             114241: MNT-14900 : Alfresco doesn't work with Records Management
                - Fixed problem with circular references during Spring dependency injection process
        114605: Reverse merged V2.2.1.x
                   <<< Need to use a different approach. >>>
                   Merged DEV to V2.2.1.x
                      114241: MNT-14900 : Alfresco doesn't work with Records Management
                         - Fixed problem with circular references during Spring dependency injection process
        114609: (RECORD ONLY) Update version to 2.2.1.3
        114687: (RECORD ONLY) Updated version to 2.2.1.3 and dependency.share.po.version to 4.2.5-SNAPSHOT in pom.xml files



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@114921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-21 15:15:52 +00:00
Alexandru Balmus
16cc24bf0c Merged V2.2 to V2.3
114786: RM-2391 : The Audit Log GET requests have to verify first which user is logged in and to which data it has access.
      - Implemented final fix and added a unit test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@114905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-21 13:45:08 +00:00
Alexandru Balmus
2fa3bf1a55 RM-2391 : The Audit Log GET requests have to verify first which user is logged in and to which data it has access.
- Implemented final fix and added a unit test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@114786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-20 13:25:39 +00:00
Alexandru Balmus
dbbe428c37 Reverse merged V2.2.1.x
<<< Need to use a different approach. >>>
         Merged DEV to V2.2.1.x
            114241: MNT-14900 : Alfresco doesn't work with Records Management
               - Fixed problem with circular references during Spring dependency injection process

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2.1.x@114605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-16 14:14:03 +00:00
Alexandru Balmus
670ca476a4 Merged DEV to V2.2.1.x
114241: MNT-14900 : Alfresco doesn't work with Records Management
      - Fixed problem with circular references during Spring dependency injection process

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2.1.x@114437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-15 13:18:14 +00:00
Andreea Dragoi
c09a3731ee RM-2522 : Select "Download Zip" (rm-download-zip) on RM Transfer Target inside RM Transfer view throws 400 Bad Request: Node is not fileplan
- used isFilePlan method from FilePlanService instead of old check

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@114258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-13 13:32:34 +00:00
Alan Davis
b3f8635fdd Merged RM 2.3 to trunk RM 2.3.0.x
112691 abozianu: MNT-14728 : CLONE for HF - RM: Not all files are found when searching for a keyword using advanced search.
      - partial workaround (the elements can be scrolled down but the total result number is still wrong)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3.0.x@112697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-23 13:18:46 +00:00
Ana Bozianu
cbfaa76958 MNT-14728 : CLONE for HF - RM: Not all files are found when searching for a keyword using advanced search.
- partial workaround (the elements can be scrolled down but the total result number is still wrong)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@112691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-23 12:19:12 +00:00
Tom Page
5cfcb25e9d Fix merge - delete duplicate method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@112665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-23 08:45:50 +00:00
Tom Page
3b7bad9dfa Merged BRANCHES/V2.2 to BRANCHES/V2.3:
99087: Upgrade Alfresco version to 4.2.4.6
   99088: RM-2026: Unable to complete historical records when mandatory meta-data missing
   99089: Merged HEAD to V2.2:
        89735: RM-1677- No items error for RM Admin if record was declared from moderated/private site



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@112663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-23 08:33:16 +00:00
Tom Page
42c3b669a1 Merged BRANCHES/V2.2 to BRANCHES/V2.3:
111776: Merged BRANCHES/V2.1 to BRANCHES/V2.2:
        111636: Merged BRANCHES/V2.1.0.x to BRANCHES/V2.1:
             68559: Change base Alfresco version from 4.2.0-RC4 to 4.2.0
             68568: Merge from HEAD to BRANCHES/V2.1.0.x
             68569: Update module version to 2.1.0.1
             76475: Merge HEAD to BRANCHES/V2.1.0.x:
             76597: 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
             76598: Merged HEAD to BRANCHES/V2.1.0.x:
                  75102: RM Performance testing
             76599: Update module version to 2.1.0.2
             76601: Merged HEAD to BRANCHES/V2.1.0.x:
                  75186: RM Performance Improvements
             76673: Root container cache to improve unfiled record browse performance
                 * relates to RM-1594 and RM-1595
             76850: RM performance enhancements
                 * serach improvements
                 * in-place record browse improvements
                 * saved search via file plan browse improvements
             76851: Additional unit test to check extended security with cache is working as expected.
             76852: Rollback checked in config
             77709: RM-1630: Error on manage references page
                 * regression caused by performance improvements
             84337: Update version to 2.1.0.3
             84421: Transaction level cahcing of declarative capability evaluation
             84676: Fix build
             84677: Prevent unnessary repeated creation of QName 
             84678: Improvements to extended dynamic authorities
                 * requiredFor set
                 * direct access to extended permission information, not via service
             84679: Correct requiredFor value
             88087: RM-1661 (Performance on setting permissions at a high category level)
             88092: RM-1661 (Performance on setting permissions at a high category level)
                  * Fixed failing unit tests
             88144: RM-1661 (Performance on setting permissions at a high category level)
             88182: RM-1724 (Inheritance is not off for root categories, unfiled records, holds and transfers)
             88192: RM-1661 (Performance on setting permissions at a high category level)
                  * Added unit tests
             88193: RM-1661 (Performance on setting permissions at a high category level)
                  * Fixed failing unit tests
             88358: RM-1661 (Performance on setting permissions at a high category level)
                  * Added unit tests
             88685: RM-1742 (Locally Set Permissions for moved Record duplicate parent folder Locally Set Permissions)
             88686: RM-1741 (Moved root category doesn't inherit permissions)
             88687: RM-1741 (Moved root category doesn't inherit permissions)
                  * Unit test added
             88688: RM-1742 (Locally Set Permissions for moved Record duplicate parent folder Locally Set Permissions)
                  * Unit test added
             88691: RM-1745 (RM Admin role can only be added with read permission on the manage permission page)
             88772: RM-1741 (Moved root category doesn't inherit permissions)
             88860: RM-1661 (Performance on setting permissions at a high category level)
             88864: RM-1661 (Performance on setting permissions at a high category level)
                  * Fixed failing unit tests
             88959: RM-1746 (Moved record/category always have the inheritance on)
             88960: RM-1661 (Performance on setting permissions at a high category level)
                  * Fixed failing unit tests
             88961: RM-1661 (Performance on setting permissions at a high category level)
                  * Fixed failing unit tests
             88962: RM-1661 (Performance on setting permissions at a high category level)
                  * Fixed failing unit tests
             91745: RM-1785 (RM: HF 2.1.0.3-33 causes permissions to not be displayed in Share everywhere else in the repo)
             91838: Update version to 2.1.0.4
        111641: Update Alfresco to 4.2.2.24.
   111786: Fixing unresolved merge conflicts.
   111793: Merged BRANCHES/V2.2.1.x to V2.2:
        103185: RM-2162: Records Management patch RMv22DODModelSeparationModulePatch taking too long with large amount of records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@111947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-11 10:29:48 +00:00
Tom Page
fcce656f06 Merged BRANCHES/V2.2.1.x to V2.2:
103185: RM-2162: Records Management patch RMv22DODModelSeparationModulePatch taking too long with large amount of records


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@111793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-09 15:37:04 +00:00
Alexandru Balan
01f60528a0 Merged BRANCHES/V2.2 to BRANCHES/V2.3:
111064: RM-2391 - also check for the access audit capability on each node from the report

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@111065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 06:12:58 +00:00
Alexandru Balan
1e19555261 RM-2391 - also check for the access audit capability on each node from the report
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@111064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 06:09:45 +00:00