Read about our upcoming Code of Conduct on this issue

This instance was upgraded to Heptapod 0.28.0 today

  1. 14 Jun, 2018 1 commit
  2. 17 May, 2018 1 commit
  3. 15 Mar, 2018 2 commits
  4. 05 Dec, 2017 1 commit
  5. 01 Dec, 2017 1 commit
  6. 07 Nov, 2017 1 commit
    • Yorick Peterse's avatar
      Add returning IDs to Gitlab::Database.bulk_insert · e4d2883f94bd
      Yorick Peterse authored
      This adds the keyword argument "return_ids" to
      Gitlab::Database.bulk_insert. When set to `true` (and PostgreSQL is
      used) this method will return an Array of the IDs of the inserted rows,
      otherwise it will return an empty Array.
      e4d2883f94bd
  7. 31 Oct, 2017 1 commit
  8. 10 Aug, 2017 1 commit
    • Yorick Peterse's avatar
      Use a specialized class for querying events · feccb1c17a71
      Yorick Peterse authored
      This changes various controllers to use the new EventCollection class
      for retrieving events. This class uses a JOIN LATERAL query on
      PostgreSQL to retrieve queries in a more efficient way, while falling
      back to a simpler / less efficient query for MySQL.
      
      The EventCollection class also includes a limit on the number of events
      to display to prevent malicious users from cycling through all events,
      as doing so could put a lot of pressure on the database.
      
      JOIN LATERAL is only supported on PostgreSQL starting with version 9.3.0
      and as such this optimisation is only used when using PostgreSQL 9.3 or
      newer.
      feccb1c17a71
  9. 27 Jul, 2017 1 commit
  10. 26 Jun, 2017 1 commit
  11. 21 Jun, 2017 1 commit
  12. 16 Jun, 2017 1 commit
    • Sean McGivern's avatar
      Add table for files in merge request diffs · 5e72ebc31d73
      Sean McGivern authored
      This adds an ID-less table containing one row per file, per merge request
      diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
      currently, with the advantage that we can easily query the attributes of this
      new table.
      
      It does not migrate existing data, so we have fallback code when the legacy
      st_diffs column is present instead. For a merge request diff to be valid, it
      should have at most one of:
      
      * Rows in this new table, with the correct merge_request_diff_id.
      * A non-NULL st_diffs column.
      
      It may have neither, if the diff is empty.
      5e72ebc31d73
  13. 14 Jun, 2017 1 commit
  14. 11 Apr, 2017 1 commit
  15. 17 Mar, 2017 1 commit
    • Yorick Peterse's avatar
      Added Gitlab::Database.config · fac2c43bdeec
      Yorick Peterse authored
      This returns the ActiveRecord configuration for the current environment.
      
      While CE doesn't use this very often, EE will use it in a few places for
      the database load balancing code. I'm adding this to CE so we don't end
      up with merge conflicts in this file.
      fac2c43bdeec
  16. 23 Feb, 2017 4 commits
  17. 22 Feb, 2017 1 commit
    • Yorick Peterse's avatar
      Allow setting of a custom connection pool host · 41e687d37c51
      Yorick Peterse authored
      This allows you to set a custom host when calling
      Gitlab::Database.create_connection_pool. This is necessary for load
      balancing as in this case we want to inherit all settings except for the
      hostname.
      41e687d37c51
  18. 13 Feb, 2017 2 commits
  19. 06 Feb, 2017 1 commit
  20. 06 Jun, 2016 1 commit
  21. 15 Feb, 2016 1 commit
  22. 02 Feb, 2016 1 commit
  23. 09 Dec, 2015 1 commit
  24. 07 Oct, 2015 1 commit