summaryrefslogtreecommitdiff
path: root/app/models/diff_viewer/simple.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixing image lfs bug and also displaying text lfsFrancisco Javier López2018-12-271-1/+1
| | | | | | | | | | | This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812, fixes a problem creating a displaying image diff notes when the image is stored in LFS. The main problem was that `Gitlab::Diff::File` was returning an invalid valid in `text?` for this kind of files. It also fixes a rendering problem with other LFS files, like text ones. They LFS pointer shouldn't be shown when LFS is enabled for the project, but they were.
* Enable more frozen string in app/models/**/*.rbgfyoung2018-08-071-0/+2
| | | | Partially addresses #47424.
* Implement diff viewersDouwe Maan2017-06-141-0/+11