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 Truncate filenames created by bin/changelog to 140 characters 2018-07-11 10:15:22 -07:00
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 Add pipeline lists to GraphQL 2018-07-04 10:53:39 +02:00
helpers Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
initializers Migrate storage nesting check to Gitaly 2018-06-27 16:20:03 +00:00
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 Update notification specs after renaming a class 2018-07-16 13:46:00 +02:00
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 Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
presenters Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
requests Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
routing
rubocop/cop
serializers Allow merge requests from forks to be opened in Web IDE 2018-07-12 12:14:49 +02:00
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 Speed up spec/tasks/gitlab/git_rake_spec.rb 2018-07-03 17:20:51 -05:00
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 Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00