1. 25 Sep, 2018 1 commit
    • Valery Sizov's avatar
      Geo: sync disabled wikis. Stage 2 · 8ce3572c59aa
      Valery Sizov authored
      We started syncing all the wiki regardless of the fact it's disabled or
      not. We couldn't do that in one stage because of needing of smoth update
      and deprecating things. This is the second stage that finally removes
      unused columns in the geo_node_status table.
      8ce3572c59aa
  2. 24 Sep, 2018 2 commits
  3. 21 Sep, 2018 3 commits
  4. 20 Sep, 2018 1 commit
  5. 18 Sep, 2018 3 commits
  6. 17 Sep, 2018 3 commits
    • Brett Walker's avatar
      Filter out archived projects from issue/mr count · 67f298daa2da
      Brett Walker authored
      Pass the 'non_archived' flag to finder methods
      67f298daa2da
    • Nick Thomas's avatar
      Use commit email for wiki actions · 3d45f7221099
      Nick Thomas authored
      3d45f7221099
    • Yorick Peterse's avatar
      Added FromUnion to easily select from a UNION · 84f6b869d148
      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
      84f6b869d148
  7. 14 Sep, 2018 3 commits
  8. 13 Sep, 2018 3 commits
  9. 12 Sep, 2018 2 commits
  10. 11 Sep, 2018 1 commit
  11. 10 Sep, 2018 1 commit
  12. 08 Sep, 2018 1 commit
  13. 07 Sep, 2018 6 commits
  14. 06 Sep, 2018 5 commits
  15. 05 Sep, 2018 2 commits
  16. 04 Sep, 2018 3 commits