1. 27 Mar, 2019 2 commits
    • Nick Thomas's avatar
      Allow external diffs to be used conditionally · 0e831b0b
      Nick Thomas authored
      Since external diffs are likely to be a bit slower than in-database
      ones, add a mode that makes diffs external after they've been obsoleted
      by events. This should strike a balance between performance and disk
      space.
      
      A background cron drives the majority of migrations, since diffs become
      outdated through user actions.
      0e831b0b
    • Oswaldo Ferreira's avatar
      Prepare suggestion implementation for multi-line · 03e0604d
      Oswaldo Ferreira authored
      Adds the groundwork needed in order to persist multi-line suggestions,
      while providing the parsing strategy which will be reused for the
      **Preview** as well.
      03e0604d
  2. 26 Mar, 2019 2 commits
    • Oswaldo Ferreira's avatar
      Add multi-line suggestion migrations · 1db3926d
      Oswaldo Ferreira authored
      Adds outdated, lines_above and lines_below columns to
      suggestions table.
      
      outdated - boolean which represents whether the suggestion
      is outdated or not. For instance, if any line changed after
      you left the multi-line suggestion, even though the note
      is not outdated, it helps tracking if the content has changed
      in the latest file. We cache this information in a column given
      it's not a cheap operation to do for every suggestion in the
      request time.
      lines_below, lines_above - persists the parsed arguments from
      `suggestion:-10+3` syntax, where `10` would be lines_above and
      3 lines_below. We need that to dynamically calculate which
      lines we should monitor for outdating / persisting the correct
      content in from_content column.
      1db3926d
    • Sanad Liaquat's avatar
      Add seed for personal access token · 4d84d1a8
      Sanad Liaquat authored
      4d84d1a8
  3. 25 Mar, 2019 1 commit
  4. 13 Mar, 2019 1 commit
  5. 12 Mar, 2019 2 commits
  6. 08 Mar, 2019 1 commit
  7. 06 Mar, 2019 2 commits
  8. 01 Mar, 2019 2 commits
  9. 28 Feb, 2019 1 commit
  10. 27 Feb, 2019 5 commits
  11. 26 Feb, 2019 2 commits
  12. 21 Feb, 2019 1 commit
  13. 20 Feb, 2019 1 commit
  14. 14 Feb, 2019 1 commit
  15. 09 Feb, 2019 1 commit
  16. 08 Feb, 2019 1 commit
  17. 07 Feb, 2019 1 commit
  18. 06 Feb, 2019 4 commits
  19. 05 Feb, 2019 1 commit
  20. 04 Feb, 2019 5 commits
  21. 31 Jan, 2019 1 commit
  22. 29 Jan, 2019 1 commit
  23. 28 Jan, 2019 1 commit
    • Mario de la Ossa's avatar
      Save sorting preference for Issues/MRs in BE · 49c74068
      Mario de la Ossa authored
      In order to let users' sorting preferences transfer between devices, we
      save the preference for issues and MRs (one preference for issues, one
      for MRs) in the backend inside the UserPreference object
      49c74068