- 19 Jun, 2017 1 commit
-
-
Douwe Maan authored
-
- 14 Jun, 2017 1 commit
-
-
Douwe Maan authored
-
- 08 Jun, 2017 2 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- 06 Jun, 2017 1 commit
-
-
Douwe Maan authored
-
- 31 May, 2017 1 commit
-
-
Valery Sizov authored
-
- 29 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 25 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 24 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 23 May, 2017 5 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- 18 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 10 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 25 Apr, 2017 1 commit
-
-
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.
-
- 24 Apr, 2017 1 commit
-
-
Douwe Maan authored
-
- 08 Apr, 2017 1 commit
-
-
Douwe Maan authored
-
- 05 Apr, 2017 3 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- 13 Mar, 2017 1 commit
-
-
mhasbini authored
-
- 23 Feb, 2017 4 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- 13 Feb, 2017 1 commit
-
-
Robert Speicher authored
-
- 26 Dec, 2016 1 commit
-
-
Sean McGivern authored
Don't try to highlight and cache files hidden by .gitattributes entries.
-
- 02 Dec, 2016 1 commit
-
-
Valery Sizov authored
-
- 28 Nov, 2016 1 commit
-
-
Sean McGivern authored
-
- 25 Nov, 2016 3 commits
-
-
hhoopes authored
* 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
-
hhoopes authored
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.
-
Valery Sizov authored
-
- 14 Nov, 2016 1 commit
-
-
Stan Hu authored
Steps to reproduce: 1. Start with a repo with an image 2. Add a commit to delete the image 3. Add another commit to replace the image with another image In a diff comparison, we really just compare about what the image was before the diff, not the direct parent of the last commit. This MR fixes that. Closes #3893, gitlab-org/gitlab-ee#678 Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 10 Nov, 2016 1 commit
-
-
Adam Niedzielski authored
In this case comparing old_path and new_path is not enough because there are two entires that match.
-
- 17 Oct, 2016 1 commit
-
-
Adam Niedzielski authored
In this specific case using file_path as a cache key is not enough, because there are two entries with the same path. Closes #21610.
-
- 19 Aug, 2016 1 commit
-
-
Sean McGivern authored
The initial commit doesn't have a parent, so explicitly pass the blank SHA and handle that when calculating the position.
-
- 15 Aug, 2016 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 12 Aug, 2016 1 commit
-
-
Sean McGivern authored
- Add match line header to expected result for `File#sections`. - Lowercase CSS colours. - Remove unused `diff_refs` keyword argument. - Rename `parent` -> `parent_file`, to be more explicit. - Skip an iteration when highlighting.
-