1. 06 Jul, 2017 1 commit
  2. 16 Jun, 2017 1 commit
    • Sean McGivern's avatar
      Add table for files in merge request diffs · 9a73b634
      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.
      9a73b634
  3. 01 Jun, 2017 1 commit
  4. 31 May, 2017 1 commit
  5. 23 May, 2017 4 commits
  6. 25 Apr, 2017 1 commit
    • Sean McGivern's avatar
      Show correct size when MR diff overflows · a0979c05
      Sean McGivern authored
      The problem is that we often go via a diff object constructed from the diffs
      stored in the DB. Those diffs, by definition, don't overflow, so we don't have
      access to the 'correct' `real_size` - that is stored on the MR diff object
      iself.
      a0979c05
  7. 11 Apr, 2017 1 commit
  8. 10 Apr, 2017 1 commit
  9. 08 Apr, 2017 3 commits
  10. 04 Apr, 2017 1 commit
  11. 23 Feb, 2017 5 commits
  12. 12 Jan, 2017 1 commit
  13. 05 Jan, 2017 2 commits
  14. 08 Dec, 2016 1 commit
  15. 01 Dec, 2016 1 commit
  16. 21 Nov, 2016 1 commit
  17. 24 Oct, 2016 1 commit
  18. 12 Oct, 2016 3 commits
  19. 11 Oct, 2016 1 commit
  20. 10 Oct, 2016 1 commit
    • Stan Hu's avatar
      Fix Error 500 when viewing old merge requests with bad diff data · d4fab17d
      Stan Hu authored
      Customers running old versions of GitLab may have MergeRequestDiffs with
      the text ["--broken diff"] due to text generated by gitlab_git 1.0.3.
      To avoid the Error 500, verify that each element is a type that gitlab_git
      will accept before attempting to create a DiffCollection.
      
      Closes #20776
      d4fab17d
  21. 22 Sep, 2016 2 commits
  22. 19 Sep, 2016 1 commit
  23. 07 Sep, 2016 1 commit
  24. 25 Aug, 2016 2 commits
  25. 19 Aug, 2016 1 commit
  26. 15 Aug, 2016 1 commit