Commit Graph

8 Commits

Author SHA1 Message Date
Jacob Schatz c5a9d73ad8 Merge branch 'fix-links-target-blank' into 'security'
Adds rel="noopener noreferrer" to all links with target="_blank"

See merge request !2071
2017-03-20 18:51:36 -07:00
Douwe Maan dbfa58e2da Copying a rendered issue/comment will paste into GFM textareas as actual GFM 2017-01-16 16:14:18 -05:00
Gabriel Mazetto 5f6223cf9f Enable Style/EmptyLinesAroundClassBody cop 2016-08-06 03:52:24 +02:00
Gabriel Mazetto 2aa2f52191 Enable Style/EmptyLinesAroundModuleBody cop 2016-08-06 03:44:39 +02:00
Rémy Coutable 6b7e9c7655
Remove VideoJS and clean the integration
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>
2016-07-20 11:36:42 +02:00
Rémy Coutable 98e540532c Use a more powerful query to match videos in img tags
Also, always add a link to download videos since video playback is
tricky. Also, it solves the issue with email client not supporting
videos.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-19 18:51:09 +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