Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add leading comment space copissue_15557 | Felipe Artur | 2016-05-31 | 1 | -7/+7 |
| | |||||
* | Reuse existing SCSS variablesadambutler/gitlab-ce-feature/support-diff-of-issue-title-rename | Rémy Coutable | 2016-05-18 | 1 | -2/+12 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Create DiffFilter and change SystemNoteService#change_title to use ↵ | Adam Butler | 2016-05-18 | 1 | -7/+19 |
| | | | | Gitlab::Diff::InlineDiff | ||||
* | Enable the StringReplacement cop. | Connor Shea | 2016-05-10 | 1 | -1/+1 |
| | | | | | | | | Also fix one use of `gsub` that would be faster as `delete`. Use `tr` instead of `gsub` when you are replacing the same number of characters. Use `delete` instead of `gsub` when you are deleting characters. | ||||
* | Show a notice for diffs that are too largehide-large-diffs | Yorick Peterse | 2016-03-18 | 1 | -0/+4 |
| | | | | | | | 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. | ||||
* | Return an empty Array when there aren't lines to parse. | Rubén Dávila | 2016-03-15 | 1 | -0/+2 |
| | |||||
* | Use Gitlab::Git::DiffCollections | Jacob Vosmaer | 2016-03-03 | 2 | -40/+41 |
| | |||||
* | Mark inline difference between old and new paths when a file is renamed | Douwe Maan | 2016-01-29 | 3 | -36/+52 |
| | |||||
* | Merge branch 'fix-diff-comments' into 'master' | Robert Speicher | 2016-01-22 | 2 | -5/+8 |
|\ | | | | | | | | | More highlighted diff fixes See merge request !2545 | ||||
| * | Properly highlight right side of parallel difffix-diff-comments | Douwe Maan | 2016-01-22 | 1 | -1/+3 |
| | | |||||
| * | Restore diff comments | Douwe Maan | 2016-01-22 | 1 | -4/+5 |
| | | |||||
* | | Fix | Douwe Maan | 2016-01-22 | 1 | -2/+2 |
| | | |||||
* | | Make sure non-highlighted diffs are still escapedunescaped-diffs | Douwe Maan | 2016-01-22 | 1 | -5/+11 |
|/ | |||||
* | Validate bounds just to be sure | Douwe Maan | 2016-01-20 | 1 | -0/+3 |
| | |||||
* | Properly highlight lines around '\ No newline at end of file' | Douwe Maan | 2016-01-20 | 3 | -7/+15 |
| | |||||
* | Save and use actual diff base commit for MR diff highlighting | Douwe Maan | 2016-01-20 | 3 | -9/+25 |
| | |||||
* | Properly handle HTML entities with inline diffs | Douwe Maan | 2016-01-20 | 3 | -15/+19 |
| | |||||
* | Move parallel diff logic to separate class | Douwe Maan | 2016-01-20 | 2 | -0/+121 |
| | |||||
* | Remove useless assignments | Douwe Maan | 2016-01-19 | 1 | -2/+0 |
| | |||||
* | Add tests | Douwe Maan | 2016-01-15 | 2 | -0/+11 |
| | |||||
* | Whoops, forgot to add files | Douwe Maan | 2016-01-15 | 2 | -0/+160 |
| | |||||
* | Move inline diff marker logic to its own class | Douwe Maan | 2016-01-15 | 1 | -95/+11 |
| | |||||
* | Move inline diff logic to its own class | Douwe Maan | 2016-01-15 | 1 | -73/+11 |
| | |||||
* | Method was moved | Douwe Maan | 2016-01-15 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into issue_3945 | Rubén Dávila | 2016-01-14 | 1 | -2/+3 |
|\ | |||||
| * | Properly generate diff of orphan commits, like the first commit in a repository | Douwe Maan | 2016-01-14 | 1 | -2/+3 |
| | | |||||
* | | More refactoring from last code review. #3945 | Rubén Dávila | 2016-01-14 | 2 | -7/+15 |
| | | | | | | | | | | | | * Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs | ||||
* | | Add inline diff markers in highlighted diffs. | Douwe Maan | 2016-01-14 | 2 | -34/+174 |
| | | |||||
* | | Refactor highlighting lines | Douwe Maan | 2016-01-14 | 1 | -25/+4 |
| | | |||||
* | | Remove duplication around highlighting. | Douwe Maan | 2016-01-14 | 1 | -12/+1 |
| | | |||||
* | | Use #sub instead of #gsub!. #3945 | Rubén Dávila | 2016-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | * 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. | ||||
* | | Little refactor for usage of html_safe. #3945 | Rubén Dávila | 2016-01-13 | 1 | -2/+2 |
| | | |||||
* | | Fix broken specs. #3945 | Rubén Dávila | 2016-01-12 | 1 | -1/+1 |
| | | |||||
* | | Remove no longer required code. #3945 | Rubén Dávila | 2016-01-12 | 1 | -42/+9 |
| | | |||||
* | | Small fixes from code review. #3945 | Rubén Dávila | 2016-01-12 | 1 | -4/+0 |
| | | |||||
* | | Fix broken spec for submodule commit. #3945 | Rubén Dávila | 2016-01-09 | 1 | -2/+10 |
| | | |||||
* | | Fix broken specs. #3945 | Rubén Dávila | 2016-01-08 | 1 | -5/+5 |
| | | |||||
* | | Remove custom Lexer. #3945 [ci skip] | Rubén Dávila | 2016-01-08 | 1 | -2/+1 |
| | | | | | | | | Inline diff is going to be generated client side now. #3945 | ||||
* | | Change strategy to highlight diffs. #3945 | Rubén Dávila | 2016-01-07 | 2 | -20/+58 |
| | | | | | | | | | | Now we apply syntax highlighting to the whole old and new files. This basically help us to highlight adequately multiline content. | ||||
* | | Don't process inline diffs on backend. #3945 | Rubén Dávila | 2016-01-07 | 1 | -4/+1 |
| | | |||||
* | | Apply syntax highlighting when expanding diff plus some refactor. #3945 | Rubén Dávila | 2015-12-31 | 1 | -12/+43 |
| | | |||||
* | | Don't modify "match" diff lines. #3945 | Rubén Dávila | 2015-12-30 | 1 | -1/+6 |
| | | |||||
* | | A bit of refactoring. #3945 | Rubén Dávila | 2015-12-30 | 2 | -9/+9 |
| | | |||||
* | | Fix broken spec and small refactor. #3945 | Rubén Dávila | 2015-12-30 | 2 | -3/+3 |
| | | |||||
* | | Fix Rubocop complain. #3945 | Rubén Dávila | 2015-12-30 | 1 | -5/+5 |
| | | |||||
* | | New implementation for highlighting diff files. #3945 | Rubén Dávila | 2015-12-30 | 3 | -0/+60 |
|/ | | | | | | * It is more performant given now we process all the diff file instead of processing line by line. * Multiline comments are highlighted correctly. | ||||
* | Fixed Rubocop offenses | Gabriel Mazetto | 2015-12-15 | 1 | -2/+2 |
| | |||||
* | Fix rubocop warnings in lib | Guilherme Garnier | 2015-10-03 | 1 | -2/+0 |
| | |||||
* | Show additions/deletions stats on merge request diff | Dmitriy Zaporozhets | 2015-10-01 | 2 | -0/+16 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fix commit comments on first line of diff not rendering in Merge Request ↵ | Douwe Maan | 2015-02-20 | 1 | -1/+1 |
| | | | | Discussion view. |