nextcloud/core
Daniel Calviño Sánchez ed4b4458eb Use the display name in the avatar for a circle share
Before, the avatar for a circle share was generated using the
"share_with" field as the seed for "imageplaceholder". Due to this, when
the "share_with" field is set to the circle ID the character shown in
the avatar was just a random character instead of the first character of
the display name. Now the "share_with" is still used as the seed for the
colour, but the display name is used as the text of the avatar.

This adds support for "share_with" fields set to the circle ID while
being backwards compatible with "share_with" fields set to the circle
name.

Note that when "share_with" fields is set to the circle name the colour
of the avatar is different in the list of suggested sharees and in the
list of current sharees, but that also happened before these changes
(due to a different seed being used in each place).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-16 04:58:25 +01:00
..
Command s/ownCloud/Nextcloud 2018-03-01 17:49:53 +01:00
Controller Move search to proper Controller 2018-03-09 14:36:48 +01:00
Middleware Update license headers 2017-11-06 16:56:19 +01:00
Migrations Do not cache the settings/sections in the database anymore 2018-01-29 15:47:37 +01:00
ajax Merge pull request #7918 from nextcloud/properly-log-exceptions 2018-01-23 11:56:02 +01:00
css Align radio & checkboxes 2018-03-07 15:17:54 +01:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
fonts Add TTF of OpenSand-{Ligh,Semibold} 2018-02-19 12:34:49 +01:00
img Improved inline confirm icon with opacity and fixed ext share loading state 2018-03-07 13:17:37 +01:00
js Use the display name in the avatar for a circle share 2018-03-16 04:58:25 +01:00
l10n [tx-robot] updated from transifex 2018-03-16 01:11:31 +00:00
search Move search to proper Controller 2018-03-09 14:36:48 +01:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
templates Remove "Alternative logins" title on login page 2018-03-14 11:38:57 +01:00
vendor Update core.js 2018-01-29 16:58:03 +01:00
Application.php Update license headers 2017-11-06 16:56:19 +01:00
register_command.php Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
routes.php Move search to proper Controller 2018-03-09 14:36:48 +01:00
shipped.json Add missing version requirement to OAuth2 app 2017-05-22 09:56:49 +02:00
strings.php Update with robin 2016-07-21 18:13:58 +02:00