- 24 8月, 2017 1 次提交
-
-
由 Sean McGivern 提交于
For some old merge requests, we don't have enough information to figure out the old blob and the new blob for the file. This means that we can't highlight the diff correctly, but we can still display it without highlighting.
-
- 22 8月, 2017 1 次提交
-
-
由 Sean McGivern 提交于
We didn't have a fallback case before, because we believed the conditions were exhaustive. They weren't, so we can always fallback to not previewing.
-
- 31 7月, 2017 1 次提交
-
-
由 Jacob Vosmaer 提交于
-
- 14 6月, 2017 1 次提交
-
-
由 Douwe Maan 提交于
-
- 08 6月, 2017 2 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 24 5月, 2017 3 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 29 11月, 2016 1 次提交
-
-
由 Sean McGivern 提交于
-
- 25 11月, 2016 2 次提交
-
-
由 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
-
由 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.
-
- 14 11月, 2016 1 次提交
-
-
由 Stan Hu 提交于
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: NRémy Coutable <remy@rymai.me>
-
- 11 11月, 2016 1 次提交
-
-
由 Adam Niedzielski 提交于
In this case comparing old_path and new_path is not enough because there are two entires that match.
-
- 18 10月, 2016 1 次提交
-
-
由 Adam Niedzielski 提交于
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.
-
- 03 8月, 2016 2 次提交
-
-
由 Paco Guzman 提交于
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
-
由 Paco Guzman 提交于
Introducing the concept of SafeDiffs which relates diffs with UI highlighting.
-
- 19 7月, 2016 1 次提交
-
-
由 Paco Guzman 提交于
-
- 08 7月, 2016 1 次提交
-
-
由 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.
-
- 07 7月, 2016 6 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
Extract parts of LegacyDiffNote into DiffOnNote concern and move part of responsibility to other classes
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 18 3月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
This builds on the changes introduced in https://gitlab.com/gitlab-org/gitlab_git/merge_requests/72 and results in merge requests with large diffs (e.g. due to them containing minified CSS) loading much faster.
-
- 04 3月, 2016 1 次提交
-
-
由 Jacob Vosmaer 提交于
-
- 21 1月, 2016 1 次提交
-
-
由 Douwe Maan 提交于
-
- 20 1月, 2016 1 次提交
-
-
由 Douwe Maan 提交于
-
- 15 1月, 2016 2 次提交
-
-
由 Rubén Dávila 提交于
* Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs
-
由 Douwe Maan 提交于
-
- 08 1月, 2016 1 次提交
-
-
由 Rubén Dávila 提交于
Now we apply syntax highlighting to the whole old and new files. This basically help us to highlight adequately multiline content.
-
- 31 12月, 2015 1 次提交
-
-
由 Rubén Dávila 提交于
-
- 30 12月, 2015 1 次提交
-
-
由 Rubén Dávila 提交于
* It is more performant given now we process all the diff file instead of processing line by line. * Multiline comments are highlighted correctly.
-
- 15 12月, 2015 1 次提交
-
-
由 Gabriel Mazetto 提交于
-
- 01 10月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 24 9月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 09 9月, 2014 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 08 9月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-