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 Don't load all of GitLab in mail_room 2016-02-26 18:48:13 -08:00
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 Add support for keyword arguments in label reference method 2016-03-03 10:41:11 +01:00
helpers Revert "Merge branch 'avatar-cropping' into 'master' " 2016-03-15 14:55:40 +01:00
initializers
javascripts Change `js-quick-submit` behavior to expect the class on the form 2016-03-02 15:11:15 -05:00
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 Remove `Profile::KeysController#new` action 2016-03-03 16:13:59 -05:00
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 Move "I should see Crowd login form" feature to a view spec 2016-02-24 17:38:13 -05:00
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