gitlab-org--gitlab-foss/spec/services
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 Add specs for build status helper class 2016-02-18 10:52:57 +01:00
issues Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
merge_requests Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
milestones Tag service specs 2015-12-09 11:55:49 +01:00
notes Rename Tasks to Todos 2016-02-20 12:39:27 -02:00
projects Use an exception to pass messages 2016-03-15 11:03:43 +01:00
create_commit_builds_service_spec.rb Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled 2015-12-17 16:33:47 +01:00
create_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
create_snippet_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
delete_tag_service_spec.rb Cache & flush tag/branch counts 2016-03-08 18:19:40 +01:00
delete_user_service_spec.rb Specs for the DeleteUserService 2016-03-15 22:19:51 +01:00
destroy_group_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
event_create_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_hooks_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_push_service_spec.rb Cache project avatars stored in Git 2016-03-17 18:51:54 +01:00
git_tag_push_service_spec.rb web hooks to webhooks 2016-03-10 14:48:29 -05:00
notification_service_spec.rb Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
repair_ldap_blocked_user_service_spec.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
search_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
system_hooks_service_spec.rb Merge branch 'add_username_to_user_system_hooks' of https://github.com/tbeadle/gitlabhq 2016-01-13 10:12:30 +01:00
system_note_service_spec.rb Incorporate the review and update spec 2016-03-15 21:59:25 +01:00
test_hook_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
todo_service_spec.rb Does not create a todo when commenting on commit or project snippet 2016-02-24 21:09:40 -03:00
update_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
update_snippet_service_spec.rb Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00