1. 05 4月, 2019 6 次提交
  2. 04 4月, 2019 18 次提交
    • P
      Fix vue render error for IDE status bar · bd1122ee
      Paul Slaughter 提交于
      **What?**
      
      A Vue warning that `ide_status_bar` sent a `Boolean` to a `String`
      property (`img-src).
      
      **What was the fix?**
      
      Previously, `latestPipeline` could be one of the following values:
      
      |          |        |
      |----------|--------|
      | `null`   | The pipeline hasn't loaded yet |
      | `false`  | The pipeline has loaded, but nothing was returned. |
      | `Object` | The piepline has loaded. |
      
      Giving a semantic meaning to different falsey values hurts
      maintainability. This commit fixes the above problem by removing the
      `false` value and introducing a `hasLoadedPipeline` state property.
      bd1122ee
    • I
      Consider array params on rendering MR list on dashboard · 5b6db251
      Igor 提交于
      This fixes the bug, when approver filter is provided,
      but dashboard asks to enter any filter
      5b6db251
    • G
      Add cr remarks · 17bee986
      Gosia Ksionek 提交于
      Chnage method used in model to make it
      more efficient database-wise
      Add additional spec
      17bee986
    • J
      Monitor GraphQL with Prometheus · 435d98c9
      Jan Provaznik 提交于
      Extends graphql's platform tracing class to observe duration
      of graphql methods.
      
      In graphql 1.8.11 is added prometheus class but it's not very useful
      for us because it uses prometheus_exporter to export results.
      435d98c9
    • B
      Initial field and query complexity limits · f458c561
      Brett Walker 提交于
      It makes all Types::BaseField default to a complexity of 1.
      
      Queries themselves now have limited complexity, scaled
      to the type of user: no user, authenticated user, or an
      admin user.
      f458c561
    • O
      Fixed test specs · e540c0d7
      Oswaldo Ferreira 提交于
      - added suggestions to mock data
      - fixed props to be not required
      e540c0d7
    • S
      Speed up avatar URLs with object storage · ec85deba
      Sean McGivern 提交于
      With object storage enabled, calling `#filename` on an upload does this:
      
      1. Call the `#filename` method on the CarrierWave object.
      2. Generate the URL for that object.
      3. If the uploader isn't public, do so by generating an authenticated
         URL, including signing that request.
      
      That's all correct behaviour, but for the case where we use `#filename`,
      it's typically to generate a GitLab URL. That URL doesn't need to be
      signed because we do our own auth.
      
      Signing the URLs can be very expensive, especially in batch (say, we
      need to get the avatar URLs for 150 users in one request). It's all
      unnecessary work. If we used the `RecordsUploads` concern, we have
      already recorded a `path` in the database. That `path` is actually
      generated from CarrierWave's `#filename` at upload time, so we don't
      need to recompute it - we can just use it and strip off the prefix if
      it's available.
      
      On a sample users autocomplete URL, at least 10% of the time before this
      change went to signing URLs. After this change, we spend no time in URL
      signing, and still get the correct results.
      ec85deba
    • S
      Drop legacy artifacts usage · 8e51439e
      Shinya Maeda 提交于
      Legacy artifacts have been correctly migrated to new place -
      ci_job_artifacts. Now it's time to remove the related code, but before
      that we should ensure it doesn't break anything by using feature flag.
      8e51439e
    • F
      Move swipe diff border to the right · f2343100
      ftab 提交于
      In the Vue image diff app, the border needs to be on the right because
      the new image comes in from the left. The old image diff app which is
      used in commits and compare views had the new image visible by default
      and hiding away from the left.
      f2343100
    • W
      Copy sidebar todo component from EE · 52515dda
      Winnie Hellmann 提交于
      52515dda
    • P
      Add download_links partial to DRY up a bit · 68a0ba94
      Patrick Bajao 提交于
      68a0ba94
    • P
      Revert "Merge branch 'fix/missing-border' into 'master'" · e1850718
      Phil Hughes 提交于
      This reverts merge request !26242
      e1850718
    • T
      Do not send error name and message to Sentry · a9c855f1
      Thong Kuah 提交于
      It's duplication information as we already send the full error object to
      Sentry.
      a9c855f1
    • T
      Don't send error backtrace to Sentry · 12321771
      Thong Kuah 提交于
      As it already has the full error sent to it
      12321771
    • T
      Show backtrace when logging to kubernetes.log · 5eb2d6ea
      Thong Kuah 提交于
      Just the error message and error class alone makes it hard to determine
      the full context of any errors, so we need to know where the error is
      occuring as well.
      5eb2d6ea
    • S
      Backport attached merge request pipelines · 57f11456
      Shinya Maeda 提交于
      Backport changes to CE
      57f11456
    • S
      Replace 'x seconds ago' with 'just now' · 448d0bc3
      Sergiu Marton 提交于
      448d0bc3
    • J
      Localize the notifications dropdown string · 6e61a6a7
      Jacques Erasmus 提交于
      Localized the notifications dropdown string
      6e61a6a7
  3. 03 4月, 2019 16 次提交