1. 13 7月, 2016 1 次提交
  2. 03 6月, 2016 2 次提交
  3. 26 5月, 2016 1 次提交
  4. 05 5月, 2016 1 次提交
  5. 29 4月, 2016 1 次提交
  6. 19 4月, 2016 2 次提交
  7. 07 4月, 2016 1 次提交
  8. 05 4月, 2016 2 次提交
  9. 18 3月, 2016 1 次提交
    • Y
      Cache project avatars stored in Git · cd05d3f7
      Yorick Peterse 提交于
      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
      cd05d3f7
  10. 17 3月, 2016 1 次提交
  11. 16 3月, 2016 1 次提交
  12. 15 3月, 2016 1 次提交
  13. 14 3月, 2016 1 次提交
  14. 11 3月, 2016 1 次提交
  15. 08 3月, 2016 2 次提交
  16. 03 3月, 2016 1 次提交
  17. 23 2月, 2016 1 次提交
  18. 17 2月, 2016 1 次提交
  19. 15 2月, 2016 1 次提交
  20. 12 2月, 2016 1 次提交
  21. 11 2月, 2016 1 次提交
  22. 10 2月, 2016 1 次提交
    • Y
      Smarter flushing of branch statistics caches · 2ce0d063
      Yorick Peterse 提交于
      Instead of flushing the behind/ahead counts for all branches upon every
      push we now only flush the cache of branches that actually need to have
      these statistics recalculated. There are now basically 2 scenarios and
      their effects:
      
      1. A user pushes a commit to the default branch, this results in the
         cache being flushed for all branches.
      2. A user pushes to a non default branch, this results in _only_ the
         cache for that branch being flushed.
      
      The existing code (Repository#expire_cache) remains backwards compatible
      with the previous behaviour, the new behaviour is only applied when a
      branch name is passed as an argument. This ensures that when for example
      a project is deleted the cache for all branches is flushed.
      2ce0d063
  23. 08 2月, 2016 1 次提交
    • Y
      Cache various Repository Git operations · 9a99d8e4
      Yorick Peterse 提交于
      This caches the output of the following methods:
      
      * Repository#empty?
      * Repository#has_visible_content?
      * Repository#root_ref
      
      The cache for Repository#has_visible_content? is flushed whenever a
      commit is pushed to a new branch or an existing branch is removed.
      The cache for Repository#root_ref is only flushed whenever a user
      changes the default branch of a project. The cache for Repository#empty?
      is never explicitly flushed as there's no need for it.
      9a99d8e4
  24. 12 12月, 2015 1 次提交
  25. 19 11月, 2015 1 次提交
  26. 13 11月, 2015 1 次提交
  27. 18 10月, 2015 1 次提交
  28. 16 10月, 2015 1 次提交
    • S
      Add a system note and update relevant merge requests when a branch is deleted or re-added · 2611d9f6
      Stan Hu 提交于
      If a branch is deleted with an open merge request, amended offline, and then pushed again,
      GitLab doesn't bother to update the merge request even though the last commit ID and/or
      code may have changed. This MR ensures that each push will update any relevant merge
      requests and adds a system note if this happens as well.
      
      Closes #2926
      2611d9f6
  29. 12 10月, 2015 1 次提交
  30. 02 10月, 2015 1 次提交
  31. 23 9月, 2015 2 次提交
  32. 22 8月, 2015 1 次提交
  33. 11 8月, 2015 3 次提交