1. 08 6月, 2017 2 次提交
  2. 24 5月, 2017 3 次提交
  3. 29 11月, 2016 1 次提交
  4. 25 11月, 2016 2 次提交
    • H
      Add keyword arguments to truncated_diff method · a761c59a
      hhoopes 提交于
      * Added keyword arguments to truncated_diff_lines method to allow for using highlighting or not (html templates vs. text)
      * Tweaked templates for consistency and format appropriateness
      a761c59a
    • H
      Change diff highlight/truncate for reusability · f928dba9
      hhoopes 提交于
      Previously the `truncated_diff_lines` method for outputting a discussion diff took in already highlighted lines, which meant it wasn't reuseable for truncating ANY lines. In the way it was used, it also meant that for any email truncation, the whole diff was being highlighted before being truncated, meaning wasted time highlighting lines that wouldn't even be used (granted, they were being memoized, so perhaps this wasn't that great of an issue). I refactored truncation away from highlighting, in order to truncate formatted diffs for text templates in email, using `>`s to designate each line, but otherwise retaining the parsing already done to create `diff_lines`.
      
      Additionally, while notes on merge requests or commits had already been tested, there was no existing test for notes on a diff on an MR or commit. Added mailer tests for such, and a unit test for truncating diff lines.
      f928dba9
  5. 14 11月, 2016 1 次提交
  6. 11 11月, 2016 1 次提交
  7. 18 10月, 2016 1 次提交
  8. 03 8月, 2016 2 次提交
  9. 19 7月, 2016 1 次提交
  10. 08 7月, 2016 1 次提交
    • S
      Collapse large diffs by default · b6b26692
      Sean McGivern 提交于
      When rendering a list of diff files, skip those where the diff is over
      10 KB and provide an endpoint to render individually instead.
      b6b26692
  11. 07 7月, 2016 6 次提交
  12. 18 3月, 2016 1 次提交
  13. 04 3月, 2016 1 次提交
  14. 21 1月, 2016 1 次提交
  15. 20 1月, 2016 1 次提交
  16. 15 1月, 2016 2 次提交
  17. 08 1月, 2016 1 次提交
  18. 31 12月, 2015 1 次提交
  19. 30 12月, 2015 1 次提交
  20. 15 12月, 2015 1 次提交
  21. 01 10月, 2015 1 次提交
  22. 24 9月, 2014 1 次提交
  23. 09 9月, 2014 2 次提交
  24. 08 9月, 2014 1 次提交