Commit Graph

84 Commits

Author SHA1 Message Date
Tom Page
7731f4e245 RM-2526 Merge release/V2.4 into release/V2.5. 2016-10-25 10:28:13 +01:00
Tom Page
9ce117f814 Merge RM-2526 Blended disposition schedule into release/V2.4. 2016-10-18 10:54:43 +01:00
Tuna Aksoy
0597d60f94 Merge branch 'release/V2.4' into merge-2.5/MergeV24ToV25_111016
Conflicts:
	rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/disposition/DispositionServiceImpl.java
	rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/version/RecordableVersionService.java
	rm-community/rm-community-share/config/alfresco/site-webscripts/org/alfresco/rm/components/audit/audit.get.html.ftl
2016-10-11 17:00:35 +01:00
Tuna Aksoy
2dc520e898 Merge branch 'release/V2.3' into merge-2.4/MergeV23ToV24_101016_2
# Conflicts:
#	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-action-context.xml
#	rm-community/rm-community-repo/test/java/org/alfresco/module/org_alfresco_module_rm/test/util/CommonRMTestUtils.java
#	rm-community/rm-community-repo/unit-test/java/org/alfresco/module/org_alfresco_module_rm/test/util/BaseWebScriptUnitTest.java
#	rm-community/rm-community-share/config/alfresco/site-webscripts/org/alfresco/rm/components/audit/audit.get.html.ftl
#	rm-server/source/java/org/alfresco/repo/web/scripts/roles/DynamicAuthoritiesGet.java
#	rm-server/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/disposition/DispositionTestSuite.java
#	rm-server/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/issue/IssueTestSuite.java
#	rm-server/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/record/RecordTestSuite.java
#	rm-server/unit-test/java/org/alfresco/repo/web/scripts/roles/DynamicAuthoritiesGetUnitTest.java
2016-10-10 20:49:13 +01:00
Tuna Aksoy
6214fdc804 Merged V2.4 to V2.5 2016-10-07 14:42:43 +01:00
Tuna Aksoy
b7311e28ac Merge branch 'release/V2.4' into merge-2.5/MergeV24ToV25
Conflicts:
	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-action-context.xml
	rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/action/impl/DestroyAction.java
2016-10-05 15:20:19 +01:00
Tuna Aksoy
f28ab68609 Merge branch 'feature-2.3/RM-4162_MergeToV2.3' into release/V2.3
# Conflicts:
#	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-action-context.xml
#	rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/action/impl/CopyMoveLinkFileToBaseAction.java
#	rm-server/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/issue/IssueTestSuite.java
#	rm-server/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/record/RecordTestSuite.java
2016-10-04 22:56:45 +01:00
Tom Page
bbf9580519 Let git handle line endings for us. 2016-09-23 10:34:36 +01:00
Tom Page
b08d4a788e Let git handle line endings for us. 2016-09-21 14:55:10 +01:00
Ana Bozianu
4d2fc69747 Merge release/V2.4 into release/V2.5 2016-09-21 14:33:23 +03:00
Ana Bozianu
a4030ba15d Merge release/V2.3 into release/2.4 2016-09-21 11:58:40 +03:00
Roy Wetherall
695048dabd RM-3027: Fix unit tests 2016-08-22 16:32:43 +01:00
Roy Wetherall
c325875ab7 RM-3074: Unit test for records with renditions 2016-08-11 10:48:31 +10:00
Roy Wetherall
f7222748ff RM-3074: Rename getReader and getWriter methods 2016-08-09 15:06:48 +10:00
Roy Wetherall
667ac41a54 RM-3074: add unit test to show set now replaces, rather than appends extended security 2016-08-09 14:54:47 +10:00
Roy Wetherall
c27b7b60a9 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
2016-08-09 12:01:16 +10:00
Roy Wetherall
737678aecd 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.
2016-08-09 11:20:50 +10:00
Roy Wetherall
3d36795bcc RM-3074: Refactor so read and write groups are reused independantly based on review comments 2016-08-08 12:31:44 +10:00
Roy Wetherall
beafb4fbb3 RM-3074: Remove unnecessary files 2016-08-02 20:07:13 +10:00
Roy Wetherall
6c55a67335 Merge branch 'master' of gitlab.alfresco.com:records-management/records-management into feature/remove-dynamic-authorities 2016-08-02 11:21:40 +10:00
Roy Wetherall
43a961237e 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
2016-08-02 11:20:55 +10:00
Roy Wetherall
6756f0f841 RM-3074: unit testing of extended security service impl 2016-08-01 15:06:42 +10:00
Roy Wetherall
18bf4594ff 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
2016-08-01 11:18:51 +10:00
Roy Wetherall
f76b7df53c RM-3074: Initial refactoring of the extended security service implementation 2016-07-29 13:04:23 +10:00
Roy Wetherall
8a2553c082 RM-3649: missing changes 2016-07-27 11:26:21 +10:00
Roxana Lucanu-Ghetu
588155bc33 Merge RM-3450_SDFCIntegration into feature/RM-3450_SFDCIntegration_MergeToMaster 2016-07-12 11:47:10 +03:00
Roxana Lucanu-Ghetu
7de04dd516 Renamed unit test classes and changed error message. 2016-07-05 11:25:08 +03:00
Roxana Lucanu-Ghetu
a75fe88eb9 Unit and integration test for RM-3450 2016-06-27 10:58:01 +03:00
Mihai Cozma
4c511cd396 Merge commit 'af7fe8' into RM-3341_MergeToMaster 2016-06-24 17:03:11 +03:00
Mihai Cozma
ac0a7e7016 Create Hold and Transfer container exception 2016-05-31 18:16:32 +03:00
Tom Page
967a591e24 Merge branch 'xperimental/RM-2812_PublicAPITest' into 'master'
Xperimental/rm 2812 public api test

A unit test to look for compatibility issues within the classes marked public API. The test will fail if it finds any exposed references to Alfresco non-public API classes from those marked as @AlfrescoPublicApi. The test searches within method signatures, fields, constructors, superclasses, inner classes and interfaces of public API classes.

See merge request !158
2016-05-05 08:22:33 +01:00
Tom Page
b599e7d102 RM-2812 Incompatibility in deprecated methods is still a problem.
Remove the checks for deprecation, because deprecated methods/classes may
still be used.
2016-05-04 14:34:18 +01:00
Tom Page
93143fe5d6 RM-3345 Ensure the current user is not setting their own clearance.
Also add unit tests for admin losing clearance and guest gaining clearance.
2016-04-29 10:07:04 +01:00
Tom Page
0fcc2dd1af Public API consistency tests.
Check that the classes we've declared as AlfrescoPublicApi do not require
use of non-public API Alfresco classes.
2016-04-27 09:18:08 +01:00
Roxana Lucanu
594d146c8e Merge release/V2.4 into master 2016-04-15 16:16:45 +03:00
Roxana Lucana-Ghetu
5b01cbaf43 Merge branch 'feature-2.4/RM-3285' into 'release/V2.4'
Feature 2.4/rm 3285

Added check not to be able to put null in cache, for nodes that are not records and don't have a filePlan.
Added unit test for it.

See merge request !128
2016-04-15 13:44:57 +01:00
Roxana Lucanu
6cbfab08e1 Changed class not to extend anymore BaseUnitTest class 2016-04-15 15:38:09 +03:00
Roxana Lucanu
f3ed3f9197 RM-3285 - added null check for adding in cache 2016-04-15 13:34:30 +03:00
Silviu Dinuta
e2c9524a07 Merged release/V2.4 into master 2016-04-15 11:32:34 +03:00
Silviu Dinuta
a5c1b69690 Merge branch 'feature-2.4/RM-3233_NonElectronicRecordsCanNotHavePropertiesChangedThroughRulesInUnfiledRecords' into 'release/V2.4'
Feature 2.4/rm 3233 non electronic records can not have properties changed through rules in unfiled records

When setting a foreground rule to change one properties for files that enter to a folder from Unfiled Records, when trying to create a nonElectronic record sometimes because it was very hard to reproduce this issue, SetPropertyValueActionExecuter is executed before adding the Record aspect from RecordsManagementContainerType.onCreateChildAssociation() and that's why it fails when checking UpdateProperties capability.

When creating "rma:nonElectronicDocument" document formprocessor is used and at some point updateNode from node service is used to update the properties. Therefore I made sure that each time when udating "rma:nonElectronicDocument" node the Record aspect is added if not present.

See merge request !124
2016-04-15 09:23:29 +01:00
Silviu Dinuta
5eaf78dc8e Changed NonElectronicRecortTypeUnitTest 2016-04-15 11:09:32 +03:00
Silviu Dinuta
eca36c48b2 Changed NonElectronicRecordTypeUnitTest 2016-04-15 10:41:53 +03:00
Ana Bozianu
34b7db52aa Merge release/V2.4 into master 2016-04-14 19:40:25 +03:00
Silviu Dinuta
f8332dccae Added unit tests for NonElectronicRecordType and fixed typo 2016-04-14 18:54:41 +03:00
Ana Bozianu
3fe582f564 RM-3283 - added missing file header 2016-04-14 12:25:25 +03:00
Ana Bozianu
663c6175fc RM-3283 - added extra check for hidden aspect + unit test 2016-04-14 11:28:21 +03:00
Tuna Aksoy
7336d9da4b Merge branch 'release/V2.4'
Conflicts:
	rm-automation/src/test/java/org/alfresco/test/TestData.java
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_de.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_es.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_fr.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_it.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_ja.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_nb.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_nl.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_pt_BR.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_ru.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content-model_zh_CN.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_de.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_es.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_fr.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_it.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_ja.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_nb.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_nl.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_pt_BR.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_ru.properties
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content_zh_CN.properties
2016-04-12 09:30:57 +01:00
Ana Bozianu
b75281d2fb RM-3216 - removed verify statements as extendedImapServiceImpl is not a mock 2016-04-11 15:46:42 +03:00
Ana Bozianu
f3caa528f9 RM-3216 - added header to test file 2016-04-11 12:27:19 +03:00
Ana Bozianu
a48e690ad3 RM-3216 - added unit test 2016-04-08 14:46:14 +03:00