Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move :plain option to Highlight class | Mark Chao | 2018-10-30 | 1 | -1/+0 |
| | | | | | | This is to DRY the repeated file size check. Move spec and constants to Highlight | ||||
* | Make Highlight accept language param | Mark Chao | 2018-10-30 | 1 | -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 methods | Nick Thomas | 2018-10-19 | 1 | -5/+5 |
| | |||||
* | Fixed bug with the content disposition with wiki attachments | Francisco Javier López | 2018-10-17 | 1 | -1/+9 |
| | |||||
* | Remove dependencies on Linguist | Zeger-Jan van de Weg | 2018-10-12 | 1 | -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 CE | Nick Thomas | 2018-10-05 | 1 | -13/+14 |
| | |||||
* | Enable frozen string for app/helpers/**/*.rb | gfyoung | 2018-09-06 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | Rename BlobsHelper#dropdown_names | Nick Thomas | 2018-09-05 | 1 | -6/+6 |
| | |||||
* | Convert global templates to vendored templates via a ::TemplateFinder | Nick Thomas | 2018-09-05 | 1 | -13/+16 |
| | |||||
* | Fixed project logo when it is LFS tracked | Francisco Javier López | 2018-08-30 | 1 | -22/+0 |
| | |||||
* | Convert BlobHelper#licenses_for_select to use the new LicenseTemplateFinder | Nick Thomas | 2018-08-15 | 1 | -5/+7 |
| | |||||
* | Refactor code for single file download in repository | Kia Mei Somabes | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | Refactor code for single file download in repository | Kia Mei Somabes | 2018-07-18 | 1 | -0/+2 |
| | |||||
* | Refactor code for single file download in repository | Kia Mei Somabes | 2018-07-13 | 1 | -12/+11 |
| | |||||
* | Set content-disposition header for single file download in repository | Kia Mei Somabes | 2018-07-12 | 1 | -8/+8 |
| | |||||
* | Add single file download in repository | Kia Mei Somabes | 2018-07-09 | 1 | -9/+9 |
| | |||||
* | Resolve "Web IDE doesn't work for branches with slashes" | Tim Zallmann | 2018-05-23 | 1 | -2/+3 |
| | |||||
* | Fixed web IDE not working with relative URLs | Phil Hughes | 2018-04-24 | 1 | -1/+1 |
| | | | | Closes #45649 | ||||
* | Merge branch 'blackst0ne-rails5-add-safe-params-helper' into 'master' | Sean McGivern | 2018-04-18 | 1 | -1/+1 |
|\ | | | | | | | | | [Rails5] Add `safe_params` helper See merge request gitlab-org/gitlab-ce!18241 | ||||
| * | [Rails5] Add `safe_params` helper | blackst0ne | 2018-04-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Rails 5.0 requires to explicitly permit attributes when building a URL using current `params` object. The `safe_params` helper allows developers to just call `safe_params.merge(...)` instead of manually adding `permit` to every call. https://github.com/rails/rails/pull/20868 | ||||
* | | Hide file/directory creation buttons | Bob Van Landuyt | 2018-04-11 | 1 | -2/+2 |
| | | |||||
* | | Rename `create_merge_request` permissions | Bob Van Landuyt | 2018-04-11 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | So we can distinguish between the permissions on the source and the target project. - `create_merge_request_from` indicates a user can create a merge request with the project as a source_project - `create_merge_request_in` indicates a user can create a merge request with the project as a target_project | ||||
* | | Prevent new merge requests for archived projects | Bob Van Landuyt | 2018-04-11 | 1 | -2/+2 |
|/ | | | | | | | This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived. | ||||
* | fixed ide_edit_button not existingmake-ide-ce | Phil Hughes | 2018-03-20 | 1 | -0/+11 |
| | |||||
* | removed helper methods | Phil Hughes | 2018-03-02 | 1 | -14/+0 |
| | |||||
* | refactor methods inline41255-refactoring-of-blob-link-methods-in-blob_helper | James Lopez | 2018-02-23 | 1 | -6/+6 |
| | |||||
* | inline methods | James Lopez | 2018-02-23 | 1 | -23/+7 |
| | |||||
* | fix fork button issue | James Lopez | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | refactor code based on feedback | James Lopez | 2018-02-23 | 1 | -25/+26 |
| | |||||
* | refactor code based on feedback | James Lopez | 2018-02-23 | 1 | -11/+11 |
| | |||||
* | refactor blob link methods | James Lopez | 2018-02-23 | 1 | -10/+11 |
| | |||||
* | fix static analysis | James Lopez | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | fix specs | James Lopez | 2018-02-23 | 1 | -3/+7 |
| | |||||
* | fix specs | James Lopez | 2018-02-23 | 1 | -5/+6 |
| | |||||
* | fix specs | James Lopez | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | more refactoring | James Lopez | 2018-02-23 | 1 | -17/+15 |
| | |||||
* | some initial refactoring | James Lopez | 2018-02-23 | 1 | -9/+17 |
| | |||||
* | refactor modify_file_link | James Lopez | 2018-02-23 | 1 | -5/+18 |
| | |||||
* | fix spec | James Lopez | 2018-02-23 | 1 | -3/+3 |
| | |||||
* | fix specs | James Lopez | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | some more refactoring | James Lopez | 2018-02-23 | 1 | -6/+6 |
| | |||||
* | fix specs | James Lopez | 2018-02-23 | 1 | -4/+4 |
| | |||||
* | refactor methods further (in helper) | James Lopez | 2018-02-23 | 1 | -7/+20 |
| | |||||
* | a bit more refactoring | James Lopez | 2018-02-23 | 1 | -25/+3 |
| | |||||
* | initial refactor | James Lopez | 2018-02-23 | 1 | -14/+22 |
| | |||||
* | Only highlight search results under the highlighting size limit41666-cannot-search-with-keyword-merge | Sean McGivern | 2018-01-16 | 1 | -0/+2 |
| | | | | | | We should use this limit everywhere, but especially in project search results, where we could be highlighting very long single lines. (Typical examples: minified JavaScript, and JSON data files.) | ||||
* | Fix up Web IDE user preference copy and buttons | Jose Ivan Vargas | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | Merge branch 'jivl-general-icons-2' into 'master' | Tim Zallmann | 2017-12-22 | 1 | -1/+1 |
|\ | | | | | | | | | Replace the download, fork and resolve discussion in a new issue icons See merge request gitlab-org/gitlab-ce!15436 | ||||
| * | replaced download icon for the sprite based one | Jose Ivan Vargas | 2017-12-19 | 1 | -1/+1 |
| | | |||||
* | | Resolve "Decouple multi-file editor from file list" | Tim Zallmann | 2017-12-21 | 1 | -3/+40 |
|/ |