Re-factor the avatar system and support avatar uploads

The user is now able to upload an avatar, and pick one in a list.

This functionality should eventually be abstracted in a community
package but we still need to work on a great public API. We rely on
collectionFS to manage uploaded avatars. We also removed
bengott:avatar which was trying to solve the wrong problem (namely
displaying the avatar, which is as simple as displaying an image), and
not a avatar system as it should be.

Gravatar support is coming (back) soon. We may also want to have a
list of default fun avatars the user can choose instead of uploading
its own one.
This commit is contained in:
Maxime Quandalle 2015-06-08 11:47:06 +02:00
parent 98d7278d08
commit 46cc691534
22 changed files with 161 additions and 227 deletions

View file

@ -25,7 +25,7 @@ BlazeComponent.extendComponent({
return;
var boardComponent = self.componentParent();
var itemsSelector = '.js-minicard:not(.placeholder, .hide, .js-composer)';
var itemsSelector = '.js-minicard:not(.placeholder, .js-composer)';
var $cards = self.$('.js-minicards');
$cards.sortable({
connectWith: '.js-minicards',