1. 21 Oct, 2016 5 commits
    • Stan Hu's avatar
      Fix broken label uniqueness label migration · b332931a
      Stan Hu authored
      The previous implementation of the migration failed on staging because
      the migration was attempted to remove labels from projects that did not
      actually have duplicates. This occurred because the SQL query did not
      account for the project ID when selecting the labels.
      
      To replicate the problem:
      
      1. Disable the uniqueness validation in app/models/label.rb.
      2. Create a duplicate label "bug" in project A.
      3. Create the same label in project B with label "bug".
      
      The migration will attempt to remove the label in B even if there are no duplicates.
      
      Closes #23609
      b332931a
    • Rémy Coutable's avatar
      Merge branch 'sh-disable-warm-asset-cache-ci' into 'master' · e647af36
      Rémy Coutable authored
      Disable warming of the asset cache in Spinach tests under CI
      
      I suspect some combination of Knapsack tests cause no regular Rack tests
      to be loaded (i.e. all JavaScript tests), which leads to the error:
      
      ArgumentError: rack-test requires a rack application, but none was given
      
      In CI, we precompile all the assets so there is no need to warm the
      asset cache in any case.
      
      Closes #23613
      
      See merge request !7033
      e647af36
    • Sean Packham's avatar
      Merge branch 'edit-glossary' into 'master' · cf837df9
      Sean Packham authored
      Edit glossary
      
      Grammar fixes & new additions to the glossary page.
      
      See merge request !7027
      cf837df9
    • Stan Hu's avatar
      Disable warming of the asset cache in Spinach tests under CI · cf31a0f0
      Stan Hu authored
      I suspect some combination of Knapsack tests cause no regular Rack tests
      to be loaded (i.e. all JavaScript tests), which leads to the error:
      
      ArgumentError: rack-test requires a rack application, but none was given
      
      In CI, we precompile all the assets so there is no need to warm the
      asset cache in any case.
      
      Closes #23613
      cf31a0f0
    • Valery Sizov's avatar
      Merge branch... · 9df2115a
      Valery Sizov authored
      Merge branch '12622-backup-restore-doesn-t-clear-cache-resulting-in-missing-branches-and-tags' into 'master'
      
      Fix: Backup restore doesn't clear cache
      
      ## What does this MR do?
      
      Clears cache when we do backup restoring. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12622
      
      
      
      ## What are the relevant issue numbers?
      
      https://gitlab.com/gitlab-org/gitlab-ce/issues/12622
      
      See merge request !7019
      9df2115a
  2. 20 Oct, 2016 35 commits