Work in progress, keeping avatars locally

This introduces a new model to store the avatars and 3 uploads per user (gravatar, system and custom)

user can then pick which they want.
This commit is contained in:
Sam
2014-05-22 17:37:02 +10:00
committed by Sam Saffron
parent 4ccf07be8c
commit 6c1c8be794
42 changed files with 626 additions and 319 deletions

View File

@ -112,7 +112,7 @@ describe ComposerMessagesFinder do
end
it "doesn't return notifications for users who have custom avatars" do
user.user_stat.has_custom_avatar = true
user.uploaded_avatar_id = 1
finder.check_avatar_notification.should be_blank
end