summaryrefslogtreecommitdiff
path: root/app/helpers/blob_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot2021-09-201-0/+4
|
* Add latest changes from gitlab-org/gitlab@14-2-stable-eeGitLab Bot2021-09-011-1/+2
|
* Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot2021-07-201-2/+2
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-4/+0
|
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-201-8/+8
|
* Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot2021-03-161-1/+3
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-26/+14
|
* Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher2021-01-201-3/+20
|
* Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot2020-12-171-9/+5
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-3/+22
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-12/+14
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-1/+6
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-8/+28
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-2/+1
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-11/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-121-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-241-0/+12
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-121-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-241-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-101-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-061-2/+17
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-281-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-081-5/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-071-3/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-0/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-091-2/+2
|
* Open WebIDE in fork when user doesn't have access51952-redirect-to-webide-in-forkMarkus Koller2019-07-121-1/+10
| | | | | | | When opening the IDE on a project where the user doesn't have push access, we create a fork and then redirect back to the IDE. To make sure the user can actually commit, we need to open the IDE in the forked project rather than the upstream project.
* Get copy to clipboard button aligned within snippet headerMarcel van Remmerden2019-05-301-1/+1
|
* Externalize strings in helpersMartin Wortschack2019-04-041-7/+7
| | | | | - Update qa selector - Update PO file
* Merge branch 'feature/webide_escaping' of gitlab.com:hiddentiger/gitlab-ce ↵Kieran Andrews2019-04-031-1/+5
| | | | into feature/webide_escaping
* Use Web IDE path for merge request edit buttonsPhil Hughes2019-02-271-1/+1
|
* Makes the Web IDE the default editorPhil Hughes2019-02-261-1/+2
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/42382
* Add markdown buttons to file editor27861-add-markdown-editing-buttons-to-the-file-editorSam Bigelow2019-01-021-1/+2
| | | | | | | Currently, we have markdown files in many places (e.g. comments, new issues, etc.). This Merge Request detects if the file being edited is a markdown file and adds markdown buttons and their functionality to the single file editor (Not the web IDE)
* 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.
* Removing workhorse_set_content_type feature flagFrancisco Javier López2018-12-191-30/+0
| | | | | Removing workhorse_set_content_type feature flag introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22667
* Add feature flag for workhorse content type calculationFrancisco Javier López2018-12-061-0/+4
|
* Move :plain option to Highlight classMark Chao2018-10-301-1/+0
| | | | | | This is to DRY the repeated file size check. Move spec and constants to Highlight
* Make Highlight accept language paramMark Chao2018-10-301-3/+3
| | | | | | | | | | This replaces the repository param. This allows more flexiblity as sometimes we have highlight content not related to repository. Sometimes we know ahead of time the language of the content. Lastly language determination seems better fit as a logic in the Blob class. `repository` param is only used to determine the language, which seems to be the responsiblity of Blob.
* Stop using ivars in BlobHelper template methodsNick Thomas2018-10-191-5/+5
|
* Fixed bug with the content disposition with wiki attachmentsFrancisco Javier López2018-10-171-1/+9
|
* Remove dependencies on LinguistZeger-Jan van de Weg2018-10-121-1/+1
| | | | | | | | | | | | | | | | This saves about 128 MB of baseline RAM usage per Unicorn and Sidekiq process (!). Linguist wasn't detecting languages anymore from CE/EE since 9ae8b57467ac8b38f1fa9020a466d94a93cbb9dd. However, Linguist::BlobHelper was still being depended on by BlobLike and others. This removes the Linguist gem, given it isn't required anymore. EscapeUtils were pulled in as dependency, but given Banzai depends on it, it is now added explicitly. Previously, Linguist was used to detect the best ACE mode. Instead, we rely on ACE to guess the best mode based on the file extension.
* Backport project template API to CENick Thomas2018-10-051-13/+14
|
* Enable frozen string for app/helpers/**/*.rbgfyoung2018-09-061-0/+2
| | | | Partially addresses #47424.
* Rename BlobsHelper#dropdown_namesNick Thomas2018-09-051-6/+6
|
* Convert global templates to vendored templates via a ::TemplateFinderNick Thomas2018-09-051-13/+16
|
* Fixed project logo when it is LFS trackedFrancisco Javier López2018-08-301-22/+0
|
* Convert BlobHelper#licenses_for_select to use the new LicenseTemplateFinderNick Thomas2018-08-151-5/+7
|
* Refactor code for single file download in repositoryKia Mei Somabes2018-07-181-1/+1
|
* Refactor code for single file download in repositoryKia Mei Somabes2018-07-181-0/+2
|