An error occurred fetching the project authors.
  1. 18 Jan, 2019 1 commit
    • Nathan Friend's avatar
      Fix inconsistent label foreground color · 51359a1f
      Nathan Friend authored
      In different parts of the application, the same label was being rendered
      with a different foreground color. This was due to the "textColor" JSON
      property not being generated by the backend. This commit adds
      this property to JSON representation of labels.
      51359a1f
  2. 23 Nov, 2018 1 commit
    • Jacopo's avatar
      Filter by `None`/`Any` for labels in issues/mrs API · c068ac67
      Jacopo authored
      By using the parameters `?labels=None|Any` the user can filter
      issues/mrs from the API that has `none/any` label.
      
      Affected endpoints are:
      
      - /api/issues
      - /api/projects/:id/issues
      - /api/groups/:id/issues
      - /api/merge_requests
      - /api/projects/:id/merge_requests
      - /api/groups/:id/merge_requests
      c068ac67
  3. 05 Nov, 2018 1 commit
  4. 04 Oct, 2018 1 commit
  5. 17 Sep, 2018 1 commit
    • Yorick Peterse's avatar
      Added FromUnion to easily select from a UNION · 8a72f5c4
      Yorick Peterse authored
      This commit adds the module `FromUnion`, which provides the class method
      `from_union`. This simplifies the process of selecting data from the
      result of a UNION, and reduces the likelihood of making mistakes. As a
      result, instead of this:
      
          union = Gitlab::SQL::Union.new([foo, bar])
      
          Foo.from("(#{union.to_sql}) #{Foo.table_name}")
      
      We can now write this instead:
      
          Foo.from_union([foo, bar])
      
      This commit also includes some changes to make this new setup work
      properly. For example, a bug in Rails 4
      (https://github.com/rails/rails/issues/24193) would break the use of
      `from("sub-query-here").includes(:relation)` in certain cases. There was
      also a CI query which appeared to repeat a lot of conditions from an
      outer query on an inner query, which isn't necessary.
      
      Finally, we include a RuboCop cop to ensure developers use this new
      module, instead of using Gitlab::SQL::Union directly.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/51307
      8a72f5c4
  6. 10 Sep, 2018 1 commit
  7. 07 Sep, 2018 1 commit
  8. 31 Jul, 2018 1 commit
  9. 26 Jul, 2018 1 commit
  10. 18 Jun, 2018 1 commit
  11. 19 Apr, 2018 1 commit
  12. 18 Apr, 2018 1 commit
    • Yorick Peterse's avatar
      Revert the addition of goldiloader · 6f292eaa
      Yorick Peterse authored
      This reverts the addition of the "goldiloader" Gem and all use of it.
      While this Gem is very promising it's causing a variety of problems on
      GitLab.com due to it eager-loading too much data in places where we
      don't expect/can handle this. At least for the time being this means we
      have to go back to manually fixing N+1 query problems, but at least
      those should not cause a negative impact on availability.
      6f292eaa
  13. 09 Apr, 2018 1 commit
  14. 03 Mar, 2018 1 commit
  15. 11 Jan, 2018 1 commit
  16. 23 Nov, 2017 1 commit
  17. 12 Sep, 2017 1 commit
  18. 06 Sep, 2017 1 commit
  19. 31 Aug, 2017 1 commit
  20. 28 Aug, 2017 1 commit
  21. 06 Jul, 2017 1 commit
    • Yorick Peterse's avatar
      Added Cop to blacklist the use of `dependent:` · 8fbbf41e
      Yorick Peterse authored
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      8fbbf41e
  22. 21 Jun, 2017 1 commit
  23. 02 Jun, 2017 1 commit
  24. 25 May, 2017 1 commit
  25. 28 Apr, 2017 1 commit
  26. 11 Apr, 2017 1 commit
  27. 17 Mar, 2017 1 commit
  28. 23 Feb, 2017 5 commits
  29. 09 Jan, 2017 1 commit
  30. 03 Jan, 2017 1 commit
  31. 02 Dec, 2016 1 commit
  32. 01 Nov, 2016 1 commit
  33. 19 Oct, 2016 4 commits