summaryrefslogtreecommitdiff
path: root/spec/presenters/blob_presenter_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-0/+11
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-271-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-171-1/+1
|
* Support selective highlighting of lines65152-unfolded-lines-perf-improvementPatrick Bajao2019-09-021-0/+14
| | | | | | | | | | Instead of highlighting all lines when not all of them are needed, only highlight from the beginning up to the specified limit. The `BlobPresenter#highlight` method has been updated to support `to` param. This param will be used to limit the content to be highlighted.
* Revert "Merge branch '65152-selective-highlight' into 'master'"revert-d61dab91Patrick Bajao2019-08-091-49/+3
| | | This reverts merge request !31361
* Support selective highlighting of lines65152-selective-highlightPatrick Bajao2019-08-061-3/+49
| | | | | | | | | | | | Instead of highlighting all lines when not all of them are needed, only highlight specific lines. The `BlobPresenter#highlight` method has been updated to support `since` and `to` params. These params will be used to limit the content to be highlighted. Modify `Gitlab::Highlight` to support `since` param which will then be used to determine the starting line number.
* Add web_url to tree entry in GraphQL APIPhil Hughes2019-06-051-0/+10
|
* Send project name with Gitaly repository requestsStan Hu2019-02-051-1/+1
| | | | | | | When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
* Move :plain option to Highlight classMark Chao2018-10-301-21/+5
| | | | | | This is to DRY the repeated file size check. Move spec and constants to Highlight
* Add BlobPresenter for highlightingMark Chao2018-10-301-0/+60
Force FoundBlob to use BlobPresenter