gitlab-org--gitlab-foss/spec/controllers
Rémy Coutable ed19b9cc43 Merge branch '4142-show-inline-video' into 'master'
Add support for inline videos in issue, MR and notes (on issue, commit, MR, and MR diff)

## What does this MR do?

It adds support for inline videos in issue, MR and notes (on issue, commit, MR, and MR diff). Most of the work was done by @hayesr in !3508 but a few improvements were still missing.

## Why was this MR needed?

To be able to play uploaded videos in GitLab!

## What are the relevant issue numbers?

Closes #4142.

## Screenshots

### Video players

![Screen_Shot_2016-07-19_at_18.44.09](/uploads/e85e531b455a41c3e66b26b356abaafd/Screen_Shot_2016-07-19_at_18.44.09.png)

-----

![Screen_Shot_2016-07-19_at_18.44.29](/uploads/05f52a812760210d1eae86a7f8fc48bc/Screen_Shot_2016-07-19_at_18.44.29.png)

-----

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- Tests
  - [x] Test `VideoLinkFilter`
  - [x] Test in `spec/features/markdown_spec.rb`
  - [x] Improve `spec/uploaders/file_uploader_spec.rb`
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5215
2016-07-21 07:29:38 +00:00
..
admin Revert "Revert "Merge branch 'issue_3946' into 'master' "" 2016-07-07 23:48:02 -04:00
ci Redirect to root path when visiting /ci 2016-03-29 08:04:17 +02:00
groups Exclude requesters from Project#members, Group#members and User#members 2016-07-01 17:44:46 +02:00
import Import from Github using Personal Access Tokens. 2016-06-30 18:48:17 +02:00
oauth Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
profiles Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
projects Get rid of is_image in FileUploader 2016-07-19 18:51:09 +02:00
abuse_reports_controller_spec.rb Add AbuseReport#notify 2016-01-04 18:59:42 -05:00
application_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
autocomplete_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
blob_controller_spec.rb Fix Error 500 when viewing a blob with binary characters after the 1024-byte mark 2016-06-12 07:36:25 -07:00
groups_controller_spec.rb Incorportate feedback 2016-06-01 12:10:08 +02:00
health_check_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
help_controller_spec.rb Fix help page paths to make sure shortcuts and the UI help page work. 2016-07-19 11:17:14 -06:00
invites_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
namespaces_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
notification_settings_controller_spec.rb Merge branch 'master' into issue_3359_3 2016-06-29 11:32:38 -03:00
projects_controller_spec.rb Don't blow up in tree view on empty repo 2016-07-18 14:06:21 +01:00
registrations_controller_spec.rb Assert against ActionMailer::Base.deliveries relatively. 2016-07-05 10:20:32 +05:30
root_controller_spec.rb Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences. 2016-03-24 19:59:54 +01:00
sent_notifications_controller_spec.rb Move a few controller specs to their correct locations 2016-02-18 21:50:49 -05:00
sessions_controller_spec.rb Add a U2F-specific audit log entry after logging in. 2016-06-06 12:50:31 +05:30
snippets_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
uploads_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
users_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00