mastodon/spec
David Roetzel b5bec6f142
Add system check for missing indexes.
As part of #18965 we want to enable admins to see if one or
more indexes are missing. This adds a new "system check" to
display a warning in case indexes are missing.

The list of indexes we expect to be present are extracted from
`db/schema.rb` using ruby's new `prism` parser.
2024-09-11 11:57:48 +02:00
..
chewy Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
config/initializers/rack Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
controllers Add ability to manage which websites can credit you in link previews (#31819) 2024-09-10 12:00:40 +00:00
fabrication Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
fabricators Fix sort order of moderation notes on Reports and Accounts (#31528) 2024-09-06 14:58:36 +00:00
fixtures Select correct self link when parsing Webfinger response (#31110) 2024-07-23 14:42:31 +00:00
generators Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
helpers Remove fa_ prefix from status visibility icon method (#31846) 2024-09-11 07:47:16 +00:00
lib Add system check for missing indexes. 2024-09-11 11:57:48 +02:00
locales Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
mailers Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
models Add ability to manage which websites can credit you in link previews (#31819) 2024-09-10 12:00:40 +00:00
policies Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
presenters Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
requests Remove body_as_json in favor of built-in response.parsed_body for JSON response specs (#31749) 2024-09-06 09:58:46 +00:00
routing Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
search/models/concerns/account Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
serializers Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
services Add ability to manage which websites can credit you in link previews (#31819) 2024-09-10 12:00:40 +00:00
support Use shared system spec helper methods (#31784) 2024-09-09 08:01:26 +00:00
system Use shared system spec helper methods (#31784) 2024-09-09 08:01:26 +00:00
validators Add ability to manage which websites can credit you in link previews (#31819) 2024-09-10 12:00:40 +00:00
views Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
workers Add worker spec for annual report worker (#31778) 2024-09-05 19:51:17 +00:00
flatware_helper.rb Use flatware to parallelize CI specs (#30284) 2024-06-27 07:42:57 +00:00
rails_helper.rb Skip paperclip spoof detector unless opted into attachment processing specs (#31454) 2024-09-03 15:39:19 +00:00
spec_helper.rb Remove body_as_json in favor of built-in response.parsed_body for JSON response specs (#31749) 2024-09-06 09:58:46 +00:00