BigW Consortium Gitlab

  1. 25 May, 2016 1 commit
  2. 20 May, 2016 2 commits
  3. 18 May, 2016 1 commit
  4. 15 May, 2016 1 commit
  5. 13 May, 2016 2 commits
  6. 11 May, 2016 1 commit
  7. 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>
  8. 04 May, 2016 2 commits
  9. 29 Apr, 2016 2 commits
  10. 26 Apr, 2016 1 commit
  11. 25 Apr, 2016 1 commit
  12. 18 Apr, 2016 3 commits
  13. 15 Apr, 2016 1 commit
  14. 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
  15. 11 Apr, 2016 3 commits
  16. 09 Apr, 2016 1 commit
  17. 07 Apr, 2016 1 commit
  18. 04 Apr, 2016 1 commit
  19. 02 Apr, 2016 1 commit
  20. 01 Apr, 2016 1 commit
  21. 27 Mar, 2016 1 commit
  22. 25 Mar, 2016 3 commits
  23. 24 Mar, 2016 2 commits
  24. 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.
  25. 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
  26. 16 Mar, 2016 1 commit
  27. 08 Mar, 2016 1 commit