Commit graph

15 commits

Author SHA1 Message Date
GitLab Bot
dea6ebd31a Add latest changes from gitlab-org/gitlab@master 2019-09-30 12:06:01 +00:00
Grzegorz Bizon
1068ec2e92 Merge branch '66741-remove-spec-rails_helper-rb' into 'master'
Remove spec/rails_helper.rb

Closes #66741

See merge request gitlab-org/gitlab-ce!32380
2019-09-03 13:48:17 +00:00
Jesse Hall
05a37f69e1 Fix for #56295, https://gitlab.com/gitlab-org/gitlab-ce/issues/56295.
All avatars now visible in commit trailers.
2019-08-30 17:26:10 +00:00
Ash McKenzie
19ff9d9899
Replace rails_helper.rb with spec_helper.rb
rails_helper.rb's only logic was to require
spec_helper.rb.
2019-08-30 12:26:18 +10:00
Heinrich Lee Yu
aeb67dd489 Upgrade to Rails 5.2
Updates changed method names and fixes spec failures
2019-07-12 10:15:31 +08:00
Stan Hu
b49e6b419a Fix Error 500 when forking projects with Gravatar disabled
When Gravatar is disabled, the "no avatar" is used, which failed
to revert to the colorful identity icons for namespaces.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50254
2018-09-28 07:39:58 -04:00
George Tsiolis
e40d626b68 Add default avatar to group 2018-08-09 13:47:47 +00:00
Douwe Maan
fcc41fe396
Fix commit trailer rendering when Gravatar is disabled 2018-04-25 17:32:51 +02:00
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
kushalpandya
d94df6ef83 Update tests to reflect user_avatar_without_link helper changes 2017-09-25 13:43:15 +05:30
Clement Ho
ee22930044 Remove tooltip from filtered search user 2017-08-22 16:41:17 -05:00
Tim Zallmann
52b8a0db68 Resolve "Lazy load images on the Frontend" 2017-07-24 17:36:52 +00:00
Winnie Hellmann
f2b34fb208 Show current user immediately in issuable filters 2017-06-02 07:42:18 +00:00
blackst0ne
29a3203b3f Use relative paths for group/project/user avatars 2017-05-10 15:26:17 +11:00
Toon Claes
0759db802f Move user_link to generic UsersHelper
Make the user_link helper more generic to be used for objects other
than pipelines.
2017-03-23 22:21:00 +01:00