gitlab-org--gitlab-foss/spec/support
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
..
api
gitlab_stubs
import_export fixed and refactored a few things based on MR feedback 2016-05-06 13:40:02 +02:00
matchers Remove VideoJS and clean the integration 2016-07-20 11:36:42 +02:00
api_helpers.rb Enable Style/MultilineTernaryOperator rubocop cop 2016-07-20 14:24:39 +02:00
capybara.rb
capybara_helpers.rb Ensure only renderable text diffs are collapsed 2016-07-08 13:53:17 +01:00
carrierwave.rb
db_cleaner.rb
email_format_shared_examples.rb
email_helpers.rb
factory_girl.rb
fake_u2f_device.rb Use a single challenge for U2F authentication. 2016-07-14 08:19:09 +05:30
filter_spec_helper.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
fixture_helpers.rb
import_spec_helper.rb Move ImportSpecHelper to spec/support/ 2016-06-08 17:21:08 +02:00
issue_tracker_service_shared_example.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
jira_service_helper.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
login_helpers.rb Merge branch 'add-2fa-check-to-oauth' into 'master' 2016-07-12 20:53:09 +00:00
markdown_feature.rb Hook up the updated `WikiLinkFilter` to the wiki controllers. 2016-06-09 10:15:01 +05:30
mentionable_shared_examples.rb
omni_auth.rb Added a lot of stubbing to make sure OAUth requests are handled properly with 2FA 2016-07-07 16:54:03 -05:00
project_hook_data_shared_example.rb
reference_parser_helpers.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
repo_helpers.rb
select2_helper.rb
services_shared_context.rb
setup_builds_storage.rb
stub_configuration.rb
stub_gitlab_calls.rb Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features 2016-06-03 16:22:26 +02:00
stub_gitlab_data.rb
taskable_shared_examples.rb
test_env.rb Collapsed diffs lines/size don't accumulate to overflow diffs. 2016-07-18 14:43:28 -06:00
wait_for_ajax.rb
webmock.rb
workhorse_helpers.rb