mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
User Profile enhancements:
- Upload of Avatar image - added as a child node via preferences aspect to the cm:person node for the current user - Ajax update of image in profile read/edit views - Auto generated thumbnail used for avatar immediately after upload Tweak of file-upload component to allow override of destination URL for POST of content Added new flag to thumbnail GET call to force thumbnail creation synchronously without waiting Fix to Person PUT API (Unit Test now executes correctly) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -913,6 +913,19 @@
|
|||||||
<type>d:content</type>
|
<type>d:content</type>
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
|
<associations>
|
||||||
|
<child-association name="cm:preferenceImage">
|
||||||
|
<source>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>false</many>
|
||||||
|
</source>
|
||||||
|
<target>
|
||||||
|
<class>cm:content</class>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>false</many>
|
||||||
|
</target>
|
||||||
|
</child-association>
|
||||||
|
</associations>
|
||||||
</aspect>
|
</aspect>
|
||||||
|
|
||||||
<aspect name="cm:contentupdated">
|
<aspect name="cm:contentupdated">
|
||||||
|
@@ -266,6 +266,7 @@ public interface ContentModel
|
|||||||
// Preference Aspect
|
// Preference Aspect
|
||||||
static final QName ASPECT_PREFERENCES = QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "preferences");
|
static final QName ASPECT_PREFERENCES = QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "preferences");
|
||||||
static final QName PROP_PREFERENCE_VALUES = QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "preferenceValues");
|
static final QName PROP_PREFERENCE_VALUES = QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "preferenceValues");
|
||||||
|
static final QName ASSOC_PREFERENCE_IMAGE = QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "preferenceImage");
|
||||||
|
|
||||||
//
|
//
|
||||||
// User Model Definitions
|
// User Model Definitions
|
||||||
|
Reference in New Issue
Block a user