- Apr 17, 2018
-
-
Bob Van Landuyt authored
This adds a method to track errors that can be recovered from in sentry. It is useful when debugging performance issues, or exceptions that are hard to reproduce.
-
- Feb 22, 2018
-
-
Sean McGivern authored
Rugged sometimes chops a context line in between bytes, resulting in the context line having an invalid encoding: https://github.com/libgit2/rugged/issues/716 When that happens, we will try to detect the encoding for the diff, and sometimes we'll get it wrong. If that difference in encoding results in a difference in string lengths between the diff and the underlying blobs, we'd fail to highlight any inline diffs, and return a 500 status to the user. As we're using the underlying blobs, the encoding is 'correct' anyway, so if the string range is invalid, we can just discard the inline diff highlighting. We still report to Sentry to ensure that we can investigate further in future.
-
- Jan 11, 2018
-
-
- Jun 08, 2017
-
-
Douwe Maan authored
-
- May 23, 2017
-
-
Douwe Maan authored
-
- Feb 23, 2017
-
-
Douwe Maan authored
-
- Aug 03, 2016
-
-
Paco Guzman authored
Introducing the concept of SafeDiffs which relates diffs with UI highlighting.
-
- Jul 06, 2016
-
-
Douwe Maan authored
-
Douwe Maan authored
Extract parts of LegacyDiffNote into DiffOnNote concern and move part of responsibility to other classes
-
Douwe Maan authored
-
- Jan 29, 2016
-
-
Douwe Maan authored
-
- Jan 22, 2016
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- Jan 20, 2016
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- Jan 15, 2016
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- Jan 14, 2016
-
-
Rubén Dávila authored
* Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Rubén Dávila authored
* This is because is not a good idea to modify the original lines * Also I run into this issue https://gitlab.com/gitlab-org/gitlab_git/issues/14 which is returning Diff Lines with the same @new_pos value.
-
- Jan 13, 2016
-
-
Rubén Dávila authored
-
Rubén Dávila authored
-
- Jan 12, 2016
-
-
Rubén Dávila authored
-
Rubén Dávila authored
-
- Jan 09, 2016
-
-
Rubén Dávila authored
-
Rubén Dávila authored
-
- Jan 08, 2016
-
-
Rubén Dávila authored
Inline diff is going to be generated client side now. #3945
-
Rubén Dávila authored
Now we apply syntax highlighting to the whole old and new files. This basically help us to highlight adequately multiline content.
-
- Dec 31, 2015
-
-
Rubén Dávila authored
-
Rubén Dávila authored
-
Rubén Dávila authored
-
- Dec 30, 2015
-
-
Rubén Dávila authored
-
Rubén Dávila authored
-
Rubén Dávila authored
* It is more performant given now we process all the diff file instead of processing line by line. * Multiline comments are highlighted correctly.
-