summaryrefslogtreecommitdiff
path: root/app/uploaders/uploader_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Minor refactoring of UploadersRobert Speicher2017-02-241-4/+2
| | | | | | | | | - Moves a duplicate `file_storage?` definition into the common `GitlabUploader` ancestor. - Get the `uploads` base directory from a class method rather than hard-coding it where it's needed. This will be used in a subsequent MR to store Uploads in the database. - Improves the specs for uploaders.
* Enable Style/MutableConstantDouwe Maan2017-02-231-3/+3
|
* Merge branch 'svg-xss-fix' into 'security' Robert Speicher2017-02-151-1/+8
| | | | | Fix for XSS vulnerability in SVG attachments See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2059
* Render SVG as images in notesAndre Guedes2016-12-081-1/+1
|
* Remove VideoJS and clean the integrationRémy Coutable2016-07-201-2/+4
| | | | | | | | | Handle videos in: - MD preview in notes: commit, issue/MR, MR diff - New notes in: commit, issue/MR, MR diff - Persisted notes in: commit, issue/MR, MR diff Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove duplication, useless rescue, and avoid using ActionViewRémy Coutable2016-07-191-13/+16
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* First support of videos in issues, MRs and notesEric Hayes2016-07-191-5/+21
| | | | | * Registered video MIME types * Currently supporting browser-supported formats with extensions that match the mime type
* Remove duplicate methods in uploadersDmitriy Zaporozhets2015-11-161-0/+19
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>