gitlab-org--gitlab-foss/spec
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
..
config
controllers Incorporate review 2016-03-15 20:21:11 +01:00
factories Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
features Merge branch '4009-external-users' into 'master' 2016-03-17 14:15:38 +00:00
finders Bring shared project feature tests from EE 2016-03-12 14:45:14 +01:00
fixtures
helpers Revert "Merge branch 'avatar-cropping' into 'master' " 2016-03-15 14:55:40 +01:00
initializers
javascripts
lib adjusted behavior so canceled builds tagged as allowed to fail do not fail build 2016-03-17 07:55:10 -07:00
mailers Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
models Cache project avatars stored in Git 2016-03-17 18:51:54 +01:00
requests API support for setting External flag on existing users 2016-03-17 09:36:00 +01:00
routing
services Cache project avatars stored in Git 2016-03-17 18:51:54 +01:00
support Merge branch '4009-external-users' into 'master' 2016-03-17 14:15:38 +00:00
tasks/gitlab
views
workers Specs for the DeleteUserService 2016-03-15 22:19:51 +01:00
factories_spec.rb
rails_helper.rb
spec_helper.rb Original implementation to allow users to subscribe to labels 2016-03-15 17:25:37 +01:00
teaspoon_env.rb