nextcloud/core
Daniel Calviño Sánchez 3bd92edd9c 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-20 19:42:27 +01:00
..
ajax Get the Installer via DI 2017-11-25 12:00:57 +01:00
Command Fix the type hints of migrations and correctly inject the wrapped schema into migrations 2018-01-17 13:53:09 +01:00
Controller don't try login with the same name that just failed 2018-02-26 10:32:38 +01:00
css Fixed date/time picker on IE11 2018-03-05 16:40:44 +01:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
fonts Add TTF of OpenSand-{Ligh,Semibold} 2018-02-19 22:12:51 +01:00
img Merge pull request #6670 from nextcloud/handle-encryption-state-in-web-interface 2017-12-06 16:19:17 +01:00
js Use the display name in the avatar for a circle share 2018-03-20 19:42:27 +01:00
l10n [tx-robot] updated from transifex 2018-03-20 01:11:59 +00:00
Middleware Update license headers 2017-11-06 16:56:19 +01:00
Migrations Fix the type hints of migrations and correctly inject the wrapped schema into migrations 2018-01-17 13:53:09 +01:00
search Move checkboxes to their own column 2017-10-19 01:46:13 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
templates made small changes to login screen 2018-01-11 12:37:47 +01:00
vendor Bump strengthify to 0.5.3 2018-01-10 21:48:24 +01:00
Application.php Update license headers 2017-11-06 16:56:19 +01:00
register_command.php make occ command more generic 2017-12-18 21:14:45 +01:00
routes.php Change @georgehrke's email 2017-11-06 20:38:59 +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