BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c6acc7ed
Commit
c6acc7ed
authored
Nov 29, 2016
by
Andre Guedes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render SVG as images in notes
parent
50a78448
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
uploader_helper.rb
app/uploaders/uploader_helper.rb
+1
-1
render-svg-in-diffs-and-notes.yml
changelogs/unreleased/render-svg-in-diffs-and-notes.yml
+4
-0
No files found.
app/uploaders/uploader_helper.rb
View file @
c6acc7ed
# Extra methods for uploader
module
UploaderHelper
IMAGE_EXT
=
%w[png jpg jpeg gif bmp tiff]
IMAGE_EXT
=
%w[png jpg jpeg gif bmp tiff
svg
]
# We recommend using the .mp4 format over .mov. Videos in .mov format can
# still be used but you really need to make sure they are served with the
# proper MIME type video/mp4 and not video/quicktime or your videos won't play
...
...
changelogs/unreleased/render-svg-in-diffs-and-notes.yml
0 → 100644
View file @
c6acc7ed
---
title
:
Render SVG images in diffs and notes
merge_request
:
7747
author
:
andrebsguedes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment