gitlab-org--gitlab-foss/spec/features
Patrick Bajao 2eecfd8f9d Use Redis for CacheMarkDownField on non AR models
This allows using `CacheMarkdownField` for models that are not backed
by ActiveRecord.

When the including class inherits `ActiveRecord::Base` we include
`Gitlab::MarkdownCache::ActiveRecord::Extension`. This will cause the
markdown fields to be rendered and the generated HTML stored in a
`<field>_html` attribute on the record. We also store the version
used for generating the markdown.

All other classes that include this model will include the
`Gitlab::MarkdownCache::Redis::Extension`. This add the `<field>_html`
attributes to that model and will generate the html in them. The
generated HTML will be cached in redis under the key
`markdown_cache:<class>:<id>`. The class this included in must
therefore respond to `id`.
2019-06-05 13:19:59 +08:00
..
admin Merge dev.gitlab.org master into GitLab.com master 2019-06-03 14:56:33 +02:00
atom
boards Fix dropdown position when loading remote data 2019-05-27 12:33:47 +08:00
clusters Add changelog entry 2019-05-27 08:23:17 +00:00
commits Move tag quick action spec to shared example 2019-04-03 12:28:07 +03:00
dashboard Fix a flaky spec for sorting projects in dashboard 2019-05-09 16:10:52 +02:00
discussion_comments
explore Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
groups Add changelog entry 2019-05-27 08:23:17 +00:00
ics
ide Fixes Web IDE not loading merge request files 2019-04-11 09:54:20 +01:00
import
instance_statistics
issuables Merge branch 'security-60039' into 'master' 2019-06-03 12:34:04 +00:00
issues Fix false positives in filtered search specs 2019-05-03 09:29:49 +08:00
markdown Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
merge_request Merge branch 'mr-widget-merge-error' into 'master' 2019-06-04 13:48:45 +00:00
merge_requests [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
milestones
profiles Added user time settings fields to profile 2019-05-07 21:58:16 +00:00
projects Merge branch '10685-remove-feature-flag-ce' into 'master' 2019-06-04 12:04:20 +00:00
reportable_note
search Fix links to wiki pages with subdirectories 2019-04-29 11:31:28 +00:00
security
snippets Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
tags Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
uploads
users Remove "You are already signed in" banner 2019-04-24 13:23:07 +00:00
abuse_report_spec.rb
calendar_spec.rb
commits_spec.rb Remove legacy artifact related code 2019-05-31 10:49:17 +07:00
container_registry_spec.rb
cycle_analytics_spec.rb
display_system_header_and_footer_bar_spec.rb
error_pages_spec.rb
expand_collapse_diffs_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
global_search_spec.rb Fix search dropdown not closing on blur if empty 2019-05-31 14:40:00 +01:00
group_variables_spec.rb Add control for variable value masking 2019-03-29 12:49:59 -06:00
groups_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
help_pages_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
ide_spec.rb
invites_spec.rb
issues_spec.rb Replace No due date with None 2019-04-17 17:17:59 +00:00
labels_hierarchy_spec.rb Quarantine flaky specs 2019-04-09 13:57:42 +02:00
milestone_spec.rb Fix bug when reopening milestone from index page 2019-03-26 16:50:14 +00:00
oauth_login_spec.rb Remove from providers with icon 2019-05-07 13:51:34 +00:00
participants_autocomplete_spec.rb
password_reset_spec.rb
profile_spec.rb
project_variables_spec.rb Add control for variable value masking 2019-03-29 12:49:59 -06:00
projects_spec.rb Remove spec feature stubbing 2019-06-04 16:57:30 +08:00
protected_branches_spec.rb Extract EE specific tests for protected branches/tags 2019-04-25 13:06:06 -03:00
protected_tags_spec.rb Extract EE specific tests for protected branches/tags 2019-04-25 13:06:06 -03:00
raven_js_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
read_only_spec.rb
runners_spec.rb
signed_commits_spec.rb
snippets_spec.rb
task_lists_spec.rb Remove .wiki and @md-typography mixin in favor of .md and .md-file 2019-03-26 14:29:33 +01:00
triggers_spec.rb
u2f_spec.rb Fix a few specs after updating capybara and selenium-webdriver 2019-04-12 10:50:33 +02:00
unsubscribe_links_spec.rb
usage_stats_consent_spec.rb
user_can_display_performance_bar_spec.rb
user_opens_link_to_comment.rb Initialize discussion filter after notes app 2019-03-19 13:07:46 +08:00
user_sees_revert_modal_spec.rb Fix broken spec for Merge request > Revert modal 2019-04-03 22:08:19 -03:00
user_sorts_things_spec.rb