1. 04 6月, 2019 1 次提交
  2. 31 5月, 2019 2 次提交
  3. 29 5月, 2019 3 次提交
  4. 28 5月, 2019 4 次提交
  5. 27 5月, 2019 1 次提交
  6. 24 5月, 2019 2 次提交
  7. 22 5月, 2019 3 次提交
    • S
      Fix remaining failures in shoulda-matcher · 37a335e6
      Stan Hu 提交于
      Starting with Rails 5, belongs_to now adds a presence validation to the
      association, and so as of shoulda-matchers 4.0.0 the belong_to matcher
      follows suit and tests that this validation is there by setting the
      association to nil and asserting that there are validation errors. This
      exposed an error with the `validate_branches` method: we need to check
      the source and target project exist.
      37a335e6
    • S
      Ensure subject passes validations · d707e2a4
      Stan Hu 提交于
      Rails 5 requires that belongs_to associations have the associated record
      present. These tests were failing because they had nil values.
      d707e2a4
    • T
      Remove legacy Kubernetes #actual_namespace · 101c4480
      Tiger 提交于
      When Kubernetes clusters were originally built they could only
      exist at the project level, and so there was logic included
      that assumed there would only ever be a single Kubernetes
      namespace per cluster. We now support clusters at the group
      and instance level, which allows multiple namespaces.
      
      This change consolidates various project-specific fallbacks to
      generate namespaces, and hands all responsibility to the
      Clusters::KubernetesNamespace model. There is now no concept of
      a single namespace for a Clusters::Platforms::Kubernetes; to
      retrieve a namespace a project must now be supplied in all cases.
      
      This simplifies upcoming work to use a separate Kubernetes
      namespace per project environment (instead of a namespace
      per project).
      101c4480
  8. 20 5月, 2019 1 次提交
  9. 17 5月, 2019 1 次提交
  10. 15 5月, 2019 3 次提交
    • J
      Sessions can be listed for a given user · 79f05f8a
      James Edwards-Jones 提交于
      Adds ActiveSession#session_ids_for_user for listing session IDs for a
      given user, and adds ActiveSession#list_sessions for listing session
      data directly.
      79f05f8a
    • J
      Omit max-count for diverging_commit_counts behind feature flag · f86797b5
      John Cai 提交于
      We want to optimize the query for the CountDivergingCommits rpc by
      removing the --max-count argument now that we have commit graphs
      enabled for all repositories during housekeeping. However, we want to
      test this first behind a feature flag.
      f86797b5
    • S
      Optimise upload path calls · 79dd92c8
      Sean McGivern 提交于
      String#underscore isn't particularly slow, but it's possible for us to
      call it many times in a users autocomplete request, with mostly-static
      values ('User', 'Group', etc.). We can memoise this and save a
      surprising amount of time (around 10% of the total request time in some
      cases).
      79dd92c8
  11. 14 5月, 2019 1 次提交
  12. 13 5月, 2019 1 次提交
  13. 10 5月, 2019 1 次提交
  14. 08 5月, 2019 1 次提交
  15. 07 5月, 2019 6 次提交
  16. 06 5月, 2019 3 次提交
  17. 03 5月, 2019 6 次提交