Skip to content
Snippets Groups Projects
  1. Mar 23, 2020
  2. Mar 18, 2020
  3. Sep 18, 2019
  4. Sep 04, 2019
    • Christian Couder's avatar
      Avoid creating labels when removing them · 760d4a16
      Christian Couder authored
      IssuableBaseService has been updated so that labels are not
      created when push options to remove them are received.
      760d4a16
    • Christian Couder's avatar
      Support adding and removing labels w/ push opts · f00db0c3
      Christian Couder authored
      MergeRequests::PushOptionsHandlerService has been updated to allow
      adding and removing labels to a merge request using git push options.
      
      To create a new merge request and add 2 labels to it:
      
            git push -u origin -o merge_request.create \
              -o merge_request.label="My label 1" \
              -o merge_request.label="My label 2"
      
      To update an existing merge request and remove a label while
      adding a different label:
      
            git push -u origin -o merge_request.label="My added label" \
              -o merge_request.unlabel="My removed label"
      
      Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
      f00db0c3
  5. Jul 10, 2019
  6. Mar 28, 2019
  7. Jan 31, 2019
  8. Jan 24, 2019
  9. Jan 11, 2019
  10. Dec 13, 2018
  11. Oct 26, 2018
  12. Sep 17, 2018
    • 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
      Verified
      8a72f5c4
  13. Sep 11, 2018
  14. Sep 07, 2018
  15. Aug 16, 2018
  16. Jul 16, 2018
  17. Jul 04, 2018
    • Mark Chao's avatar
      Backport from EE !5954 · 4f795ed8
      Mark Chao authored
      Allow Labels::FindOrCreateService to find ancestor group labels
      Add authentication check on API endpoint
      Update flayignore
      4f795ed8
  18. Apr 19, 2018
  19. Feb 26, 2018
  20. Jan 12, 2018
  21. Nov 16, 2017
  22. Aug 08, 2017
  23. Jun 21, 2017
  24. Mar 29, 2017
  25. Feb 23, 2017
  26. Jan 31, 2017
  27. Nov 29, 2016
  28. Oct 28, 2016
  29. Oct 19, 2016
  30. Nov 16, 2015
  31. Oct 14, 2015
Loading