* minor changes

This commit is contained in:
dhrn
2020-11-04 20:23:28 +05:30
parent 33b43ba93f
commit ea0e226389
5 changed files with 15 additions and 5 deletions

View File

@@ -261,7 +261,8 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
PropertyCheck.mandatory(this, "PasswordGenerator", passwordGenerator);
PropertyCheck.mandatory(this, "PolicyComponent", policyComponent);
PropertyCheck.mandatory(this, "templateService", templateService);
PropertyCheck.mandatory(this, "clientAppConfig", clientAppConfig);
this.inviteNominatedSender = new InviteNominatedSender(serviceRegistry, repositoryHelper, messageService);
this.inviteModeratedSender = new InviteModeratedSender(serviceRegistry, repositoryHelper, messageService);

View File

@@ -77,8 +77,10 @@ import org.alfresco.service.namespace.QName;
parentProps.put(RESOURCE_NAME_KEY,(String)props.get(WF_PROP_RESOURCE_NAME));
parentProps.put(RESOURCE_TYPE_KEY,(String)props.get(WF_PROP_RESOURCE_TYPE));
parentProps.put(CREATED_AT,(Date)props.get(ContentModel.PROP_CREATED));
parentProps.put(MODIFIED_AT,(Date)props.get(WF_PROP_MODIFIED_AT));
parentProps.put(CLIENT_NAME,(Date)props.get(WF_PROP_CLIENT_NAME));
Object modifiedAt = props.get(WF_PROP_MODIFIED_AT);
parentProps.put(MODIFIED_AT, modifiedAt != null ? (Date) modifiedAt : null);
Object clientName = props.get(WF_PROP_CLIENT_NAME);
parentProps.put(CLIENT_NAME, clientName != null ? (String) clientName : null);
return parentProps;
}

View File

@@ -39,10 +39,10 @@
<import resource="classpath*:alfresco/domain/*-context.xml" />
<import resource="classpath*:alfresco/smartfolder-context.xml" />
<import resource="classpath*:alfresco/reset-password-context.xml" />
<import resource="classpath:alfresco/invitation-service-context.xml"/>
<import resource="classpath:alfresco/heartbeat/heartbeat-repo-collector-context.xml"/>
<import resource="classpath*:alfresco/enterprise/heartbeat/heartbeat-enterprise-repo-collector-context.xml" />
<import resource="classpath*:alfresco/deprecated-model-bootstrap-context.xml" />
<import resource="classpath*:alfresco/events-context.xml" />
<import resource="classpath*:alfresco/messaging-context.xml" />
<import resource="classpath:alfresco/invitation-service-context.xml"/>
</beans>

View File

@@ -17,4 +17,10 @@ repo.client-app.share.requestResetPasswordTemplatePath=
# reset password UI page url
repo.client-app.share.resetPasswordPageUrl=${shareUrl}/page/reset-password
# reset password confirmation email template path
repo.client-app.share.confirmResetPasswordTemplatePath=
repo.client-app.share.confirmResetPasswordTemplatePath=
### Digital workspace template configurations
repo.client-app.workspace.inviteModeratedTemplatePath=
repo.client-app.workspace.sharedLinkBaseUrl=
repo.client-app.workspace.workspaceUrl=workspace
repo.client-app.workspace.templateAssetsUrl=${alfrescoUrl}/images

View File

@@ -33,6 +33,7 @@
<property name="serviceRegistry" ref="ServiceRegistry"/>
<property name="repositoryHelper" ref="repositoryHelper"/>
<property name="messageService" ref="messageService"/>
<property name="clientAppConfig" ref="clientAppConfig"/>
</bean>
<!-- Site service security bean -->