gitlab-org--gitlab-foss/config/initializers
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
..
1_settings.rb Refactor and rename `restricted_signup_domains` to `domain_whitelist` to better conform to its behavior and newly introduced behavior. 2016-07-18 17:53:43 -05:00
2_app.rb Add release tracking for Sentry 2016-02-17 14:05:58 -05:00
4_ci_app.rb Use new runners registration token to register CI runners 2015-12-11 10:39:39 +01:00
5_backend.rb Fix a few places where autoloading would fail 2016-05-10 11:51:19 +02:00
6_validations.rb Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
active_record_query_trace.rb
attr_encrypted_no_db_connection.rb
backtrace_silencers.rb
bullet.rb
carrierwave.rb Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
chronic_duration.rb Enable exceptions on ChronicDuration 2016-06-13 11:03:30 +01:00
connection_fix.rb
cookies_serializer.rb Rails update to 4.2.4 2015-11-25 18:18:44 +02:00
date_time_formats.rb Add two custom Date/Time conversion formats 2016-01-07 20:01:08 -05:00
default_url_options.rb Fix images in emails 2016-06-16 11:47:01 +01:00
devise.rb Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
devise_password_length.rb.example
disable_email_interceptor.rb
doorkeeper.rb Improve Gitlab::Auth method names 2016-06-10 14:51:16 +02:00
gitlab_shell_secret_token.rb Create (if necessary) and link the gitlab-shell secret file on the rake install task 2016-06-29 22:30:33 -04:00
go_get.rb Revert "Revert "Merge branch 'support-go-subpackages' into 'master' "" 2016-03-12 21:05:23 +00:00
gollum.rb Support Wiki with UTF-8 page name 2016-03-16 02:17:07 +09:00
hamlit.rb Restrict hamlit version, remove coffeescript filters. 2016-06-23 15:54:23 -06:00
health_check.rb Update the health_check gem to the latest release 2016-07-11 09:30:47 -07:00
inflections.rb Create table for award emoji 2016-05-06 10:47:11 +02:00
kaminari_config.rb
metrics.rb Instrument Rinku usage 2016-07-04 12:20:57 +02:00
mime_types.rb Don't allow `.ogg` as a valid video extension 2016-07-21 08:56:57 +02:00
mysql_ignore_postgresql_options.rb Patch MySQL to ignore PostgreSQL schema options 2016-03-11 15:25:22 -05:00
omniauth.rb Add leading comment space cop 2016-05-31 19:33:46 -03:00
postgresql_limit_fix.rb
postgresql_opclasses_support.rb Disable Rubocop for PostgreSQL patches 2016-03-11 15:25:23 -05:00
premailer.rb Don't remove IDs via premailer 2016-05-25 16:56:06 -04:00
public_key.rb
rack_attack.rb.example Import from Github using Personal Access Tokens. 2016-06-30 18:48:17 +02:00
rack_attack_git_basic_auth.rb Disable Rack Attack if admin disables it in config file 2016-04-27 07:22:02 -07:00
rack_lineprof.rb Rails update to 4.2.4 2015-11-25 18:18:44 +02:00
relative_naming_ci_namespace.rb Improve manual actions code and add model, service and feature tests 2016-07-18 14:46:20 +02:00
relative_url.rb.sample Use dedicated relative_url.rb initializer 2016-02-29 21:17:48 +01:00
secret_token.rb Rails update to 4.2.4 2015-11-25 18:18:44 +02:00
sentry.rb Prevent Rails filtered parameters from leaking to Sentry. 2016-04-28 15:08:23 -06:00
session_store.rb Enable Style/RedundantParentheses rubocop cop 2016-05-30 15:07:18 +02:00
sherlock.rb Rails update to 4.2.4 2015-11-25 18:18:44 +02:00
sidekiq.rb Log cron_jobs configuration instead of raising exception 2016-07-20 12:50:42 +02:00
smtp_settings.rb.sample Add SMTP as default delivery method to match gitlab-org/omnibus-gitlab!826 2016-06-24 11:56:52 -07:00
static_files.rb Migrate mailers to ActiveJob 2015-11-26 17:03:43 +02:00
time_zone.rb
trusted_proxies.rb Make Rack::Request use our trusted proxies when filtering IP addresses 2016-06-29 21:19:55 -07:00
wrap_parameters.rb