gitlab-org--gitlab-foss/app
Andreas Brandl c641dff094 Explicit use of avatar_icon_* calls depending on situation.
We want to drop the generic #avatar_icon helper that supports both an email
and a user object being passed in. Instead, we want to explicitly use the #avatar_icon_for_user
and #avatar_icon_for_email helpers depending on what we have at hand.
This allows us to avoid unnecessary database queries (e.g. call
User.find_by_any_email if we already have the user).

In situations like here, this makes it less convenient to use.
2018-02-13 18:04:51 +01:00
..
assets Merge branch '42923-close-issue' into 'master' 2018-02-13 11:36:54 +00:00
controllers Merge branch '26466-natural-sort-mrs' into 'master' 2018-02-13 14:39:09 +00:00
finders Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' 2018-02-09 12:04:05 -06:00
helpers Explicit use of avatar_icon_* calls depending on situation. 2018-02-13 18:04:51 +01:00
mailers use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
models Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'" 2018-02-12 12:39:47 -05:00
policies Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' 2018-02-09 12:04:05 -06:00
presenters Address naming suggestion 2018-02-07 16:29:28 -02:00
serializers Replace $.post in importer status with axios 2018-02-09 11:14:48 +00:00
services Merge branch '26466-natural-sort-mrs' into 'master' 2018-02-13 14:39:09 +00:00
uploaders Merge branch '14256-upload-destroy-removes-file' into 'master' 2018-02-06 15:19:35 +00:00
validators Validate User username only on Namespace, and bubble up appropriately 2018-02-06 12:09:03 -06:00
views Explicit use of avatar_icon_* calls depending on situation. 2018-02-13 18:04:51 +01:00
workers Merge branch '42730-close-rugged-repository' into 'master' 2018-02-06 17:49:00 +00:00