summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid calling freeze on already frozen strings in app/modelsdineshpanda2019-09-011-1/+1
|
* Fixing image lfs bug and also displaying text lfsFrancisco Javier López2018-12-271-3/+3
| | | | | | | | | | | 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 frozen string for app/models/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models-moregfyoung2018-08-031-0/+2
| | | | Partially addresses #47424.
* Clean up some backendDouwe Maan2017-08-031-1/+1
|
* Detect if file that appears to be text in the first 1024 bytes is actually ↵dm-blob-binaryness-changeDouwe Maan2017-06-081-7/+7
| | | | binary afer loading all data
* Add Blob#file_type convenience methoddm-blob-file-typeDouwe Maan2017-06-081-1/+1
|
* Consistent diff and blob size limit namesDouwe Maan2017-05-291-16/+10
|
* Add auxiliary blob viewer for CHANGELOGDouwe Maan2017-05-171-0/+2
|
* Rename BlobViewer max_size to overridable_max_size and absolute_max_size to ↵dm-blob-viewer-concernsDouwe Maan2017-05-151-7/+15
| | | | max_size
* Specify explicitly whether a blob viewer should be loaded asynchronouslyDouwe Maan2017-05-131-27/+11
|
* Allow blob viewer to support multiple filetypesDouwe Maan2017-05-131-4/+4
|
* Implement auxiliary blob viewersDouwe Maan2017-05-101-8/+22
|
* Refactor Blob support of external storage in preparation of job artifact blobsdm-blob-external-storageDouwe Maan2017-05-031-5/+6
|
* Fix typoDouwe Maan2017-04-271-1/+1
|
* Address feedbackDouwe Maan2017-04-271-9/+12
|
* Explain BlobViewer::Base#render_errorDouwe Maan2017-04-271-0/+15
|
* Add specsDouwe Maan2017-04-271-3/+3
|
* Set BlobViewer::Base.binary instead of .textDouwe Maan2017-04-271-5/+5
|
* Add BlobViewer::Base#binary? methodDouwe Maan2017-04-271-2/+6
|
* Refactor overriding max sizeDouwe Maan2017-04-271-18/+11
|
* Address feedbackDouwe Maan2017-04-271-2/+2
|
* Download blob viewer is client-sideDouwe Maan2017-04-271-1/+1
|
* Refactor Blob and add BlobViewer::BaseDouwe Maan2017-04-271-0/+81