gitlab-ce/spec/models
Yorick Peterse cd05d3f78d Cache project avatars stored in Git
The avatar logic has been moved from Project to Repository as this makes
caching easier. The logic itself in turn has been changed so that the
logo file names are cached in Redis. This cache is flushed upon pushing
a commit but _only_ if:

1. The commit was pushed to the default branch
2. The commit actually changes any of the logo files

If no branch or commit is given the cache is flushed anyway, this
ensures that calling Repository#expire_cache without any arguments still
flushes the avatar cache (e.g. this is used when removing a project).

Fixes gitlab-org/gitlab-ce#14363
2016-03-17 18:51:54 +01:00
..
ci Fix commit_spec: invalid validation 2016-03-14 13:20:35 +01:00
concerns Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
hooks web hooks to webhooks 2016-03-10 14:48:29 -05:00
members
project_services
abuse_report_spec.rb Clearify who deletes the user 2016-03-15 21:09:25 +01:00
appearance_spec.rb Branded login page also in CE 2016-02-26 15:50:51 +01:00
application_setting_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
blob_spec.rb Add a `Blob` model that wraps `Gitlab::Git::Blob` 2016-02-18 22:45:30 -05:00
broadcast_message_spec.rb
build_spec.rb Fix review comments 2016-03-14 13:33:26 +01:00
commit_range_spec.rb
commit_spec.rb Ensure we don't check a commit's description for revert message if it has no description 2016-02-22 18:33:02 +01:00
commit_status_spec.rb
deploy_key_spec.rb
deploy_keys_project_spec.rb
email_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
event_spec.rb
external_issue_spec.rb
external_wiki_service_spec.rb
forked_project_link_spec.rb
generic_commit_status_spec.rb
global_milestone_spec.rb
group_spec.rb Use ILIKE/LIKE for searching groups 2016-03-11 15:25:21 -05:00
identity_spec.rb
issue_spec.rb Incorporate review 2016-03-15 20:21:11 +01:00
jira_issue_spec.rb
key_spec.rb
label_link_spec.rb
label_spec.rb Add cross project references support for label model 2016-03-03 10:41:11 +01:00
member_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
merge_request_spec.rb Use a UNION in MergeRequest.in_projects 2016-03-11 15:26:32 -05:00
milestone_spec.rb Use ILIKE/LIKE for searching milestones 2016-03-11 15:25:22 -05:00
namespace_spec.rb Corrected spec title for Namespace.search 2016-03-11 15:25:24 -05:00
note_spec.rb Merge branch 'rs-note-active-spec' into 'master' 2016-03-14 12:53:15 -04:00
project_group_link_spec.rb Bring ProjectGroupLink model and migrations from EE 2016-03-11 17:47:05 +01:00
project_security_spec.rb
project_snippet_spec.rb Remove `Snippet#expires_at` 2016-03-05 18:12:17 -05:00
project_spec.rb Ignore eager loading in Project.search UNION 2016-03-15 16:46:17 +01:00
project_team_spec.rb Bring shared project feature tests from EE 2016-03-12 14:45:14 +01:00
project_wiki_spec.rb
protected_branch_spec.rb
release_spec.rb
repository_spec.rb Cache project avatars stored in Git 2016-03-17 18:51:54 +01:00
service_spec.rb
snippet_spec.rb Use ILIKE/LIKE for searching snippets 2016-03-11 15:25:21 -05:00
spam_log_spec.rb
todo_spec.rb Does not raise an error when Todo is already marked as done 2016-02-23 10:43:29 -03:00
tree_spec.rb
user_spec.rb Merge branch 'master' into 4009-external-users 2016-03-15 19:16:16 +01:00
wiki_page_spec.rb