1. 21 5月, 2016 1 次提交
  2. 19 5月, 2016 1 次提交
  3. 15 5月, 2016 1 次提交
  4. 14 5月, 2016 1 次提交
  5. 13 5月, 2016 1 次提交
  6. 11 5月, 2016 1 次提交
  7. 10 5月, 2016 1 次提交
    • R
      Fix a few places where autoloading would fail · 5589dcf8
      Rémy Coutable 提交于
      - Fix naming of API::CommitStatuses
      - Ensure we use require_dependency instead of require
      - Ensure the namespace is right in lib/api/api.rb, otherwise, we
        might require Grape::API::Helpers which defines the `#params` method.
        This is to avoid requiring a file multiple times and getting an "Already
        initialized constant" error.
      Signed-off-by: NRémy Coutable <remy@rymai.me>
      5589dcf8
  8. 04 5月, 2016 2 次提交
  9. 29 4月, 2016 2 次提交
  10. 27 4月, 2016 1 次提交
  11. 25 4月, 2016 1 次提交
  12. 18 4月, 2016 3 次提交
  13. 15 4月, 2016 1 次提交
  14. 13 4月, 2016 1 次提交
    • S
      Fix repository cache invalidation issue when project is recreated with an empty repo · 2ce7559d
      Stan Hu 提交于
      To reproduce:
      
      1. Create a project with some content
      2. Rename the project
      3. Create a new project with the same name.
      4. Boom - 404.
      
      After step 2, the branch and tag counts were not being cleared. This would
      cause `repository.has_visible_content?` to erroneously return `true`
      for the newly-created project.
      
      Closes #13384
      2ce7559d
  15. 12 4月, 2016 2 次提交
  16. 11 4月, 2016 1 次提交
  17. 10 4月, 2016 1 次提交
  18. 07 4月, 2016 1 次提交
  19. 05 4月, 2016 1 次提交
  20. 02 4月, 2016 2 次提交
  21. 27 3月, 2016 1 次提交
  22. 26 3月, 2016 1 次提交
  23. 25 3月, 2016 2 次提交
  24. 24 3月, 2016 2 次提交
  25. 20 3月, 2016 1 次提交
    • Y
      Cache output of Repository#exists? · 68a4c98f
      Yorick Peterse 提交于
      This caches the output of Repository#exists? in Redis while making sure
      it's flushed properly when creating new repositories, deleting them,
      etc.
      
      For the ProjectWiki tests to work I had to make ProjectWiki#create_repo!
      public as testing private methods in RSpec is a bit of a pain.
      68a4c98f
  26. 18 3月, 2016 3 次提交
    • Y
      Don't rebuild diverging commit count caches · 3d7feeed
      Yorick Peterse 提交于
      When calling Repository#build_cache we _don't_ want to build the
      diverging commit count cache as doing so can be _very_ slow for
      repositories with lots of branches. Because these caches are built
      whenever needed (= when actually viewing the list of branches in the web
      UI) we can safely remove this code from
      Repository#build_cache.
      3d7feeed
    • Y
      Removed Repository#rebuild_cache · 81d191ed
      Yorick Peterse 提交于
      This method is not used or tested anywhere.
      81d191ed
    • 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
  27. 17 3月, 2016 1 次提交
  28. 09 3月, 2016 3 次提交