1. 24 Oct, 2016 14 commits
  2. 22 Oct, 2016 7 commits
  3. 21 Oct, 2016 17 commits
  4. 20 Oct, 2016 2 commits
    • Douwe Maan's avatar
      Merge branch 'security-fix-leaking-namespace-name' into 'security' · c1ba2998
      Douwe Maan authored
      Check that user has access to a given namespace to prevent leaking namespace names.
      
      See merge request !2009
      c1ba2998
    • Rémy Coutable's avatar
      Merge branch 'project-cache-worker-lease' into 'master' · 734f58a7
      Rémy Coutable authored
      Restrict ProjectCacheWorker jobs to one per 15 min
      
      ## What does this MR do?
      
      This restricts performing ProjectCacheWorker jobs to once every 15 minutes per project. The goal of this is to reduce disk load in the event of a lot of pushes happening in a short period of time. 
      
      The impact is that cached data (e.g. commit count) may be updated less frequently. Furthermore it could mean that separate push payloads won't lead to e.g. READMEs being updated. Most of the cached data isn't updated very frequently, so this trade off should be worth it considering the alternative is a burning storage layer. 
      
      In the future we'll have to flush caches in a smarter way. For example, refreshing the README cache could probably be done separately from the other caches with its own lease and such. See https://gitlab.com/gitlab-org/gitlab-ce/issues/23550 for more information.
      
      See merge request !7017
      734f58a7