1. 22 Jul, 2016 6 commits
    • Rémy Coutable's avatar
      Revert "Merge branch... · 80c9862f
      Rémy Coutable authored
      Revert "Merge branch '17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-seconds' into 'master'"
      
      This reverts commit be111259.
      80c9862f
    • Stan Hu's avatar
      Merge branch '20079-new-wiki-page-500-spec' into 'master' · bdb27bd0
      Stan Hu authored
      Add a spec for #20079
      
      - This MR adds a spec for the fix for #20079 that was implemented in !5400.
      - The spec is going in separately, just so the fix could go in as soon as possible.
      
      See merge request !5414
      bdb27bd0
    • Achilleas Pipinellis's avatar
      Merge branch 'namespace' into 'master' · ba4e4f7c
      Achilleas Pipinellis authored
      Explain CI_PROJECT_NAMESPACE better
      
      ## What does this MR do?
      
      Explain CI_PROJECT_NAMESPACE better by adding "The project namespace (username or groupname) that is currently being built".
      
      ## Are there points in the code the reviewer needs to double check?
      
      Are `username` and `groupname` known words? We use it [here](http://docs.gitlab.com/ee/api/namespaces.html).
      
      ## Why was this MR needed?
      
      Because `namespace` isn't a well known term.
      
      ## What are the relevant issue numbers?
      
      ## Screenshots (if relevant)
      
      
      See merge request !5407
      ba4e4f7c
    • Rémy Coutable's avatar
      Merge branch 'artifacts-from-ref-and-build-name-api' into 'master' · 00e8d26e
      Rémy Coutable authored
      Simpler two queries than one JOIN with subquery
      
      This is a follow up from !5347
      
      Originally it was:
      
      ``` ruby
      pipeline = pipelines.latest_successful_for(ref)
      builds.where(pipeline: pipeline).latest.with_artifacts
      ```
      
      However MySQL would complain that we can't use `IN` against a subquery which has `LIMIT`. Using `INNER JOIN` would be a workaround, however, doing that is too complicated in current version of Rails.
      
      So let's just use two queries in this case.
      
      Closes #14419
      
      See merge request !5388
      00e8d26e
    • Yorick Peterse's avatar
      Merge branch... · be111259
      Yorick Peterse authored
      Merge branch '17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-seconds' into 'master'
      
      Improve performance of tags controller
      
      See merge request !5375
      be111259
    • Stan Hu's avatar
      Merge branch '19572-storage-path-validations-fail-incorrectly-for-some-patterns' into 'master' · 7412eba9
      Stan Hu authored
      Fix a false positive where similar un-nested storage paths were reported as nested
      
      Closes #19572
      
      See merge request !5145
      7412eba9
  2. 21 Jul, 2016 34 commits