gitlab-org--gitlab-foss/app/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 Cleanup CiCommit and CiBuild 2016-03-14 13:20:35 +01:00
commits Check for conflicts before creating target branch. 2016-03-01 19:16:27 -05:00
files Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
issues Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
merge_requests Enhance new branch button on an issue 2016-03-15 20:21:11 +01:00
milestones Move global milestone specs 2015-11-16 14:38:34 +01:00
notes Does not create a todo when commenting on commit or project snippet 2016-02-24 21:09:40 -03:00
oauth2 Rubocop: no trailing newlines 2015-02-02 21:53:27 -08:00
projects Use an exception to pass messages 2016-03-15 11:03:43 +01:00
search Refactor Gitlab::ProjectSearchResults 2016-03-11 15:25:22 -05:00
audit_event_service.rb Audit log for user authentication 2015-07-06 12:36:08 +03:00
base_service.rb Rename Tasks to Todos 2016-02-20 12:39:27 -02:00
compare_service.rb Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
create_branch_service.rb Fix duplicated branch creation/deletion Web hooks/service notifications when using Web UI 2016-02-09 06:22:49 -08:00
create_commit_builds_service.rb Cleanup CiCommit and CiBuild 2016-03-14 13:20:35 +01:00
create_release_service.rb Allow editing a release in API via PUT method 2015-11-21 22:34:53 +01:00
create_snippet_service.rb Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00
create_spam_log_service.rb Support Akismet spam checking for creation of issues via API 2016-02-02 11:25:44 -02:00
create_tag_service.rb Generate builds when creating tag using web interface 2016-01-11 12:37:27 +01:00
delete_branch_service.rb Fix duplicated branch creation/deletion Web hooks/service notifications when using Web UI 2016-02-09 06:22:49 -08:00
delete_tag_service.rb Refactor release code a bit 2015-11-09 15:30:50 +01:00
delete_user_service.rb Clearify who deletes the user 2016-03-15 21:09:25 +01:00
destroy_group_service.rb Add ability to delete a user with force 2016-03-15 21:09:25 +01:00
event_create_service.rb Create a "destroyed Milestone" event and keep Milestone events around in the DB 2015-09-15 05:51:11 -07:00
git_hooks_service.rb Raise the exception from #execute instead of #run_hook. #1156 #3069 2015-12-03 09:39:15 -05:00
git_push_service.rb Cache project avatars stored in Git 2016-03-17 18:51:54 +01:00
git_tag_push_service.rb Cache & flush tag/branch counts 2016-03-08 18:19:40 +01:00
gravatar_service.rb Add support for HiDPI displays in gravatar service 2015-09-26 20:53:16 +02:00
issuable_base_service.rb Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
notification_service.rb Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
repair_ldap_blocked_user_service.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
system_hooks_service.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.rb Incorporate the review and update spec 2016-03-15 21:59:25 +01:00
test_hook_service.rb Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00
todo_service.rb Does not create a todo when commenting on commit or project snippet 2016-02-24 21:09:40 -03:00
update_release_service.rb Allow editing a release in API via PUT method 2015-11-21 22:34:53 +01:00
update_snippet_service.rb Change dynamic abilities to new format 2015-06-26 17:18:40 +02:00