Commit Graph

1439 Commits

Author SHA1 Message Date
Tom Page
c28264c8c0 RM-2812 Finalisation of first pass of classes to annotate. 2016-04-27 09:15:37 +01:00
Tom Page
6629b10b8a Merge branch 'feature/RM-3144_PatchForClearanceLevel' into 'master'
Feature/rm 3144 patch for clearance level

Create a patch to migrate all users' clearance levels from the old classification model to
the new security marks model.

This merge request depends on getting !130 merged first.

See merge request !133
2016-04-27 08:27:12 +01:00
Roxana Lucanu
a7428c134f RM-3060 - making cut Off action available for record linked to folder with the same disposition schedule 2016-04-26 18:06:11 +03:00
Tom Page
2417ba5288 Merge release/V2.4 into master.
Conflicts:
	pom.xml
	rm-automation/pom.xml
	rm-community/pom.xml
	rm-community/rm-community-repo/pom.xml
	rm-community/rm-community-share/pom.xml
	rm-enterprise/pom.xml
	rm-enterprise/rm-enterprise-repo/pom.xml
	rm-enterprise/rm-enterprise-share/pom.xml
2016-04-25 16:22:07 +01:00
Roxana Lucanu
cc5b9ee32d RM-3300 - on versioning, document can be declared as record if adding record and version aspect is run as System 2016-04-25 11:55:53 +03:00
David Webster
575491c2a0 Version bump to 2.4.0.1-SNAPSHOT for hot fix branch 2016-04-25 09:39:44 +01:00
Jean-Pierre
c97c3881a0 [maven-release-plugin] prepare for next development iteration 2016-04-22 14:32:22 +01:00
Jean-Pierre
859f00831e [maven-release-plugin] prepare release V2.4 2016-04-22 14:32:19 +01:00
Jean-Pierre
5cb1477b4c [maven-release-plugin] prepare for next development iteration 2016-04-22 14:27:19 +01:00
Jean-Pierre
bcdbc312c7 [maven-release-plugin] prepare release V2.4.b 2016-04-22 14:27:16 +01:00
David Webster
4d1a53ffbf RM-3325: Update module descriptions to call the community poms core 2016-04-22 11:40:44 +01:00
David Webster
74c6149099 RM-3325: Add descriptions to pom files 2016-04-22 10:55:37 +01:00
Tom Page
9ead3bd771 RM-2812 Add audit service and dependencies.
Having thought about this more, I don't think there's any problem adding
a deprecated class to the public API, as long as it's clearly marked as
such. It's deprecated at the moment because we think people might be using
it, but we want them to migrate to something else. Declaring this as part of
the public API formalises this process.

The RecordsManagementAuditService has the following dependencies:

RecordsManagementAuditQueryParameters <- RecordsManagementAuditService
RecordsManagementAuditEntry <- RecordsManagementAuditService
AuditEvent <- RecordsManagementAuditService
2016-04-20 16:24:44 +01:00
Tom Page
9c0b13133b RM-2812 Update following review comments.
The class dependency used to determine the classes to include based on the initial services is:

Depth 0: Service interfaces.

Depth 1:
ClearanceLevel <- SecurityClearanceService
RecordsManagementActionCondition <- RecordsManagementActionService
ClassificationAspectProperties <- ContentClassificationService
Version <- RecordableVersionConfigService, RecordableVersionService
Role <- FilePlanRoleService
CaveatGroupType <- CaveatSchemeService
RecordsManagementEvent <- RecordsManagementEventService
Group <- CapabilityService
RelationshipDisplayName <- RelationshipService
RecordsManagementActionResult <- RecordsManagementActionService
RecordsManagementAction <- RecordsManagementActionService
Relationship <- RelationshipService
ProtectedModelArtifact <- ModelSecurityService
ReportGenerator <- ReportService
RecordsManagementSearchParameters <- RecordsManagementSearchService
SecurityClearance <- SecurityClearanceService
SortDirection <- CaveatSchemeService
RecordsManagementEventType <- RecordsManagementEventService
Report <- ReportService
UserQueryParams <- SecurityClearanceService
CaveatMarkSortField <- CaveatSchemeService
ProtectedProperty <- ModelSecurityService
RelationshipDefinition <- RelationshipService
Capability <- FilePlanRoleService, CapabilityService
ExemptionCategory <- ClassificationSchemeService
CaveatGroup <- CaveatMarkingService, CaveatSchemeService
ClassificationReason <- ClassificationSchemeService
ProtectedAspect <- ModelSecurityService
MetadataReferral <- ReferralAdminService, ReferredMetadataService
CaveatMark <- CaveatClearanceService, CaveatMarkingService, ContentClassificationService, CaveatSchemeService, ClassificationSchemeService
SavedSearchDetails <- RecordsManagementSearchService
IdentifierGenerator <- IdentifierService

Depth 2:
RecordsManagementActionConditionDefinition <- RecordsManagementActionCondition
ReferralRegistry <- MetadataReferral
ClassificationSchemeEntity <- ExemptionCategory, ClassificationReason
RecordsManagementActionDefinition <- RecordsManagementAction
ReportDetails <- SavedSearchDetails
SortItem <- RecordsManagementSearchParameters
SavedSearchDetailsCompatibility <- SavedSearchDetails

Depth 3:
RecordsManagementModel <- SavedSearchDetailsCompatibility

Depth 4:
RecordsManagementCustomModel <- RecordsManagementModel
2016-04-20 16:14:07 +01:00
Ana Bozianu
be070b20e5 Merge release/V2.4 into master 2016-04-20 18:04:27 +03:00
Ana Bozianu
32bb544bfc RM-3310 - added null check 2016-04-20 14:27:07 +03:00
Tom Page
0659402f13 RM-2812 Mark public API methods with @AlfrescoPublicAPI. 2016-04-19 16:24:46 +01:00
Tuna Aksoy
7b705e005e RM-3150 (Errors when generating Javadoc for RM using Java 8) 2016-04-18 16:19:06 +01:00
Tom Page
14b32e92f3 RM-3144 Create a patch to migrate clearance level.
Previously the clearance level was stored in its own aspect in the
classified content model, but it has now been moved to the security marks
model.
2016-04-18 11:44:32 +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
Tuna Aksoy
fbe8527b69 Merge branch 'release/V2.4' 2016-04-15 09:22:25 +01:00
Roxana Lucana-Ghetu
88ce7f91ca Merge branch 'feature-2.4/RM-2925_noOptionToDeleteDestroyedRecordFolder' into 'release/V2.4'
Feature 2.4/rm 2925 no option to delete destroyed record folder

RM-2925 - No option to delete destroyed record folder (which maintain record metadata after destroy)

Made Delete action available for destroyed record folder, added unit test class.

See merge request !92
2016-04-15 09:18:39 +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
Silviu Dinuta
0d52abc77e Added @author and @since for the class 2016-04-14 15:24:30 +03:00
Ana Bozianu
59c100af97 RM-3283 - added comment to explain change 2016-04-14 14:25:29 +03:00
Ana Bozianu
3fe582f564 RM-3283 - added missing file header 2016-04-14 12:25:25 +03:00
Silviu Dinuta
0007fc3013 Added NonElectronicRecordType class to make sure that Record aspect is
added before entering in UpdatePropertiesPolicy for nonElectronic
documents
2016-04-14 12:06:39 +03:00
Ana Bozianu
663c6175fc RM-3283 - added extra check for hidden aspect + unit test 2016-04-14 11:28:21 +03:00
Tom Page
747265e003 Merge release/V2.4 into master. 2016-04-13 10:16:57 +01:00
Ana Bozianu
a0dc5a06d0 Merge branch 'feature-2.4/RM-3216_RegressionIMAP' into 'release/V2.4'
Feature 2.4/rm 3216 regression imap

RM-3274 - Error creating bean with name 'imapServiceBootstrap'

I added an invalid authentication util bean reference to the extended IMAP service and the setter was missing.

See merge request !117
2016-04-13 07:30:16 +01:00
Roxana Lucana-Ghetu
f4cc2e08cf Merge branch 'feature-2.4/RM-3030_PreviewNotAvailableDeclaredRecord' into 'release/V2.4'
Feature 2.4/rm 3030 preview not available declared record

RM-3030 - The documents declared as records in their Details page don't have the preview available afterwards.

I've noticed different behavior when doing steps in different order: if the file is declared as record before navigating to document details page, the error doesn't reproduce; if document details page is accessed first and after declare the file as record,  there is an Access Denied exception.
In the first case the node for preview has the File Plan aspect, in the second one it doesn't.

See merge request !105
2016-04-12 14:10:39 +01:00
Ana Bozianu
afd6570ba8 RM-3274 - fixed invalid AuthenticationUtil bean refference 2016-04-12 14:59:02 +03:00
gbroadbent
9e775daee5 DUTCH: Fixed reverted "workflow" term" files as per EN bundle rev-2016-04-08 2016-04-12 10:46:58 +01: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
6d82d89d18 RM-3266 - added an extra check when invoking onAddAspect 2016-04-11 20:04:26 +03:00
Ana Bozianu
b75281d2fb RM-3216 - removed verify statements as extendedImapServiceImpl is not a mock 2016-04-11 15:46:42 +03:00
gbroadbent
8af6e498da ITALIAN: Updated files as per EN bundle rev-2016-04-08 2016-04-11 12:05:42 +01:00
Ana Bozianu
f3caa528f9 RM-3216 - added header to test file 2016-04-11 12:27:19 +03:00
David Webster
d3db151180 Merge branch 'release/V2.4' 2016-04-08 14:07:09 +01:00
Ana Bozianu
a48e690ad3 RM-3216 - added unit test 2016-04-08 14:46:14 +03:00
Ana Bozianu
6935c5ea36 RM-3216 - extended IMAP service and corrected method 2016-04-07 16:06:29 +03:00
Roxana Lucanu
bc5f60c5a0 RM-2925 - changed test type for delete action 2016-04-07 10:02:03 +03:00