gitlab-org--gitlab-foss/spec
Stan Hu be495c6a80 Fix slow Markdown rendering
The sanitize transformers were being duplicated each time the Markdown
renderer was called, leading to expontential growth in rendering times.

The problem was that although HTML::Pipeline::SanitizationFilter.WHITELIST
is a frozen hash, the `:transformers` array can be modified. We need
to do deep copy of this to avoid adding duplicates.

Closes #49409
2018-07-24 13:00:49 -07:00
..
bin
config Make ObjectStoreSettings use more explicit and add specs 2018-07-24 14:44:44 +03:00
controllers Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
db/production
dependencies
factories Fix serialization of LegacyDiffNote 2018-07-18 14:49:52 +00:00
features Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
finders Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
fixtures Fix gitlab import project load 2018-07-23 07:52:15 +00:00
graphql
helpers Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
initializers
javascripts Merge branch 'kp-stacked-progress-bar-decimal-places' into 'master' 2018-07-24 11:33:09 +00:00
lib Fix slow Markdown rendering 2018-07-24 13:00:49 -07:00
mailers
migrations Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs' 2018-07-23 15:34:54 +11:00
models Merge branch 'blackst0ne-replace-sidekiq-inline-with-perform-enqueued-jobs' into 'master' 2018-07-23 16:09:29 +00:00
policies
presenters
requests Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
routing
rubocop/cop
serializers
services Merge branch 'blackst0ne-replace-sidekiq-inline-with-perform-enqueued-jobs' into 'master' 2018-07-23 16:09:29 +00:00
sidekiq/cron
support Delete UserActivities and related workers 2018-07-18 15:44:10 +02:00
tasks
unicorn
uploaders Fix filename for accelerated uploads 2018-07-18 14:21:32 +00:00
validators
views Features/show project id on home panel 2018-07-18 06:58:21 +00:00
workers Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs' 2018-07-23 15:34:54 +11:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb