BigW Consortium Gitlab

  1. 13 May, 2016 2 commits
  2. 11 May, 2016 1 commit
  3. 10 May, 2016 1 commit
    • Fix a few places where autoloading would fail · 5589dcf8
      Rémy Coutable authored
      - 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: 's avatarRémy Coutable <remy@rymai.me>
  4. 04 May, 2016 2 commits
  5. 29 Apr, 2016 2 commits
  6. 26 Apr, 2016 1 commit
  7. 25 Apr, 2016 1 commit
  8. 18 Apr, 2016 3 commits
  9. 15 Apr, 2016 1 commit
  10. 13 Apr, 2016 1 commit
    • Fix repository cache invalidation issue when project is recreated with an empty repo · 2ce7559d
      Stan Hu authored
      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
  11. 11 Apr, 2016 3 commits
  12. 09 Apr, 2016 1 commit
  13. 07 Apr, 2016 1 commit
  14. 04 Apr, 2016 1 commit
  15. 02 Apr, 2016 1 commit
  16. 01 Apr, 2016 1 commit
  17. 27 Mar, 2016 1 commit
  18. 25 Mar, 2016 3 commits
  19. 24 Mar, 2016 2 commits
  20. 19 Mar, 2016 1 commit
    • Cache output of Repository#exists? · 68a4c98f
      Yorick Peterse authored
      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.
  21. 17 Mar, 2016 3 commits
    • Don't rebuild diverging commit count caches · 3d7feeed
      Yorick Peterse authored
      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.
    • Removed Repository#rebuild_cache · 81d191ed
      Yorick Peterse authored
      This method is not used or tested anywhere.
    • Cache project avatars stored in Git · cd05d3f7
      Yorick Peterse authored
      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
  22. 16 Mar, 2016 1 commit
  23. 08 Mar, 2016 4 commits
  24. 07 Mar, 2016 2 commits