summaryrefslogtreecommitdiffstats
path: root/client/components/users/userAvatar.js
Commit message (Collapse)AuthorAgeFilesLines
* - Remove avatar url fix javascript version, it breaks too easily.Lauri Ojansivu2018-08-221-7/+0
| | | | | | | | | Same can be done with Caddy. Thanks to xet7 ! Closes #1776, closes #386
* Fix lint errors.Lauri Ojansivu2018-08-221-1/+1
|
* - Remove suburl from beginning of avatar file path, so that avatar imagesLauri Ojansivu2018-08-221-0/+7
| | | | | | | | | | | don't get broken when root-url changes to different sub-url. This does not change avatar urls in database, instead this fixes url on the fly after loading avatar url from database. Thanks to xet7 ! Closes #1776, closes #386
* Allow description and member two way bindingAndrés Manelli2018-08-101-2/+3
|
* Move global subscription to template subscription so that subscriptionLauri Ojansivu2017-12-021-2/+2
| | | | | will stop when template is unused. It's very important for efficiency espacially with large number of users. Thanks to mfshiu !
* Remove unnecessary template name declarationMaxime Quandalle2016-01-031-4/+0
| | | | | | This code was duplicate with the name we use to `register` the component. A update of blaze-component removed the need to duplicate this declaration.
* add: invite user via email, invited user can accept or decline, allow member ↵floatinghotpot2015-12-071-1/+4
| | | | to quit
* Centralize all mutations at the model levelMaxime Quandalle2015-09-081-18/+4
| | | | | | | | | | | | | | | This commit uses a new package that I need to document. It tries to solve the long-standing debate in the Meteor community about allow/deny rules versus methods (RPC). This approach gives us both the centralized security rules of allow/deny and the white-list of allowed mutations similarly to Meteor methods. The idea to have static mutation descriptions is also inspired by Facebook's Relay/GraphQL. This will allow the development of a REST API using the high-level methods instead of the MongoDB queries to do the mapping between the HTTP requests and our collections.
* Show avatars in search resultsMaxime Quandalle2015-09-061-1/+7
| | | | Fixes #265
* Fix member permission modificationMaxime Quandalle2015-09-051-0/+1
| | | | Fixes #280
* Change our presence packageMaxime Quandalle2015-09-041-1/+1
| | | | | | | | | tmeasday:presence was doing unnecessary ping calls to the server every 5 seconds instead of using the status of the DDP connection (this could save a fair amount of traffic in case of important server load). I guess this change also fixes #221, but since no issue reproduction was provided, it's difficult to tell.
* Enforce a consistent ES6 coding styleMaxime Quandalle2015-09-031-62/+62
| | | | | | | | | Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).
* Increase the avatar max size and show an error if it is too bigMaxime Quandalle2015-08-281-15/+30
| | | | Fixes #190
* Allow a user to edit its profile or avatar from a member popoverMaxime Quandalle2015-06-191-1/+12
| | | | | | | Fixes the data context on the member popover in the details pane. Also change the way Popover detect if the click is initiated from a parent popover -- from reading Blaze context, to looking at the event target parents.
* Work on the card activities and commentsMaxime Quandalle2015-06-121-0/+37
| | | | | | | | | This commit also introduces a new CSSEvents object that is used to abstract vendor specifics events related to CSS transitions and animations. Fixes #183. Fixes #179.
* (Re-)implement default avatar using user initialsMaxime Quandalle2015-06-101-0/+21
| | | | | We use a embedded svg to scale the initials text to its container size. The user is free to overwrite its initials in the profile form.
* Re-factor the avatar system and support avatar uploadsMaxime Quandalle2015-06-091-7/+77
| | | | | | | | | | | | | | | 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.
* Implement presence indicatorsMaxime Quandalle2015-05-301-0/+22