Yorick Peterse
|
3f0d780c19
|
Show a notice for diffs that are too large
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.
|
2016-03-18 12:30:46 +01:00 |
|
Rubén Dávila
|
7e03b40221
|
Return an empty Array when there aren't lines to parse.
|
2016-03-15 19:51:27 -05:00 |
|
Jacob Vosmaer
|
1764e1b7cb
|
Use Gitlab::Git::DiffCollections
|
2016-03-03 18:38:44 +01:00 |
|
Douwe Maan
|
fa0cbb1399
|
Fix specs and add a new one
|
2016-01-30 12:53:12 +01:00 |
|
Douwe Maan
|
677b4db9e6
|
Mark inline difference between old and new paths when a file is renamed
|
2016-01-29 19:37:17 +01:00 |
|
Douwe Maan
|
26f7d023e6
|
Update tests
|
2016-01-20 17:14:26 +01:00 |
|
Douwe Maan
|
a010db5db2
|
Properly handle HTML entities with inline diffs
|
2016-01-20 15:26:44 +01:00 |
|
Douwe Maan
|
701513dcc7
|
Move parallel diff logic to separate class
|
2016-01-20 14:53:20 +01:00 |
|
Douwe Maan
|
512bebe21d
|
Refactor Gitlab::Highlight and fix tests
|
2016-01-19 14:52:41 +01:00 |
|
Douwe Maan
|
12546f895f
|
Add tests
|
2016-01-15 16:29:26 +01:00 |
|
Rubén Dávila
|
6b9c730e91
|
More refactoring from last code review. #3945
* Use commit objects instead of IDs when generating diffs
* Use proper references when generating MR's source and target
* Update broken specs
|
2016-01-14 16:47:55 -05:00 |
|
Douwe Maan
|
8dfad143d4
|
Add inline diff markers in highlighted diffs.
|
2016-01-14 22:28:07 +01:00 |
|
Rubén Dávila
|
f547e733d1
|
Add more specs. #3945
|
2016-01-12 17:49:11 -05:00 |
|
Rubén Dávila
|
78d7c0e0d8
|
Fix broken specs. #3945
|
2016-01-08 19:05:55 -05:00 |
|
Rubén Dávila
|
52f8286a02
|
Update specs. #3945
|
2016-01-08 18:40:05 -05:00 |
|
Rubén Dávila
|
3fbcf52ec8
|
Apply syntax highlighting when expanding diff plus some refactor. #3945
|
2015-12-31 01:05:52 -05:00 |
|
Rubén Dávila
|
fd100e1ef1
|
Don't modify "match" diff lines. #3945
|
2015-12-30 21:44:12 -05:00 |
|
Rubén Dávila
|
8b079315d9
|
A bit of refactoring. #3945
|
2015-12-30 21:23:50 -05:00 |
|
Rubén Dávila
|
d83275620a
|
Add specs for Gitlab::Diff::Highlight. #3945
|
2015-12-30 20:18:40 -05:00 |
|
Douwe Maan
|
13d6bab177
|
Tag lib specs
|
2015-12-09 11:55:42 +01:00 |
|
Dmitriy Zaporozhets
|
3c16fb93fc
|
Move spec to proper place and fix unused variable
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2015-11-13 09:45:21 +01:00 |
|
Stan Hu
|
c36adb98aa
|
Fix bug where backslashes in inline diffs could be dropped
Closes #2253
|
2015-08-11 18:39:27 -07:00 |
|
Douwe Maan
|
8ed7ac9d44
|
Use project.commit convenience method.
|
2015-04-24 12:29:36 +02:00 |
|
Jeroen van Baarsen
|
0c4a70a306
|
Updated rspec to rspec 3.x syntax
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
|
2015-02-12 19:17:35 +01:00 |
|
Dmitriy Zaporozhets
|
218219abbd
|
Refactoring inside refactoring. We need to go deeper
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2014-09-08 21:54:52 +03:00 |
|
Dmitriy Zaporozhets
|
bde3f25d26
|
Specs for diff parser! Yay!
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2014-09-08 20:42:12 +03:00 |
|