Commit Graph

16 Commits

Author SHA1 Message Date
GitLab Bot a1ed241c82 Add latest changes from gitlab-org/gitlab@master 2021-02-03 21:09:17 +00:00
Alexis Reigel 0a76bcb412
register ico mime type
`#send_file` won't properly set the favicon's content type otherwise.
2018-06-05 16:20:20 +02:00
Rubén Dávila bed9483211 Backport of LFS File Locking API 2018-02-07 09:04:00 -05:00
Connor Shea 8b6bbc866d No need for this variable. 2016-09-12 14:23:32 -06:00
Connor Shea b12b724378 Remove x-json mime_type, rename to json_mime_types. 2016-09-11 16:03:17 -06:00
Connor Shea c7d717cf6a Fix two problematic bits of code that will be deprecated or broken in Rails 5. 2016-09-05 20:58:27 -06:00
Jacob Vosmaer 71952d057d Handle custom Git LFS content type 2016-07-22 17:56:10 +02:00
Rémy Coutable ab86d27d33 Don't allow `.ogg` as a valid video extension
`.ogg` is for music files.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-21 08:56:57 +02:00
Rémy Coutable 29ea8d09e0 Remove duplication, useless rescue, and avoid using ActionView
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-19 18:51:09 +02:00
Eric Hayes c266c7fa18 First support of videos in issues, MRs and notes
* Registered video MIME types
* Currently supporting browser-supported formats with extensions that match the mime type
2016-07-19 18:51:09 +02:00
Robert Speicher 1e27b68b36 Add Markdown to Mime types 2015-04-15 12:25:24 -04:00
Robert Speicher ef47ea3d39 Revert "Fix and improve help rendering"
This reverts commit d365004e68.
2015-04-15 12:24:44 -04:00
Sullivan SENECHAL d365004e68 Fix and improve help rendering 2015-04-03 11:56:50 +02:00
Riyad Preukschas 8b4010397c Register diff mime type 2012-11-22 20:22:44 +01:00
Robert Speicher 99d391332f Add a "patch" MIME type, and render it like a normal view in Commit#show 2012-09-26 16:32:23 -04:00
gitlabhq 9ba1224867 init commit 2011-10-09 00:36:38 +03:00