canvas-lms/spec
Jacob Burroughs e89feee11e Improve ignored_columns handling
- Actually enumerate columns when any are ignored to avoid loading unknown attributes
- Remove old ignored_columns so we don't unnecessary bloat queries when not ignoring
- Various minor fixes for places we do unusual AR things to ensure they work with explicit columns
- Tweak some migrations to clear column information so future migrations are happy

refs AE-747

Change-Id: I60b1c3eae73f4fa9f0b6b6ab4d2b00abd8f8395f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/339971
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Migration-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Jacob Burroughs <jburroughs@instructure.com>
Product-Review: Jacob Burroughs <jburroughs@instructure.com>
2024-03-01 01:10:34 +00:00
..
apis Add unpublishable flag to module items API 2024-02-29 18:02:16 +00:00
coffeescripts spec: Add timers to specs 2024-02-29 23:32:49 +00:00
contracts Remove Canvas Outcome Pact Tests 2023-11-29 18:00:03 +00:00
controllers rails 7.1: fix health checks 2024-02-29 22:30:16 +00:00
factories auto caption speedgrader media upload comments 2024-02-28 16:14:26 +00:00
factory_bot Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
fixtures rails 7.1: use fixture_file helper 2024-02-20 17:51:31 +00:00
formatters update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00
gem_integration/canvas_connect
graphql add previewUrl to graphql submission interface 2024-02-29 20:02:39 +00:00
helpers remove href to avatar link in discussion#show 2024-02-28 19:42:00 +00:00
initializers avoid STI conditions when updating/deleting with subqueries 2024-02-20 17:51:20 +00:00
integration rails 7.1: spec/integration 2024-02-26 18:19:13 +00:00
javascripts fix htmlEscape and update tests 2024-02-28 03:49:19 +00:00
lib Improve ignored_columns handling 2024-03-01 01:10:34 +00:00
manual_seeding Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
messages Update announcement notification so that it checks reply permission 2024-02-15 20:33:14 +00:00
migrations Support page/discussion/file in AssignmentOverride 2023-12-08 20:14:41 +00:00
models Improve ignored_columns handling 2024-03-01 01:10:34 +00:00
observers Push content_export_created live event from Canvas 2024-02-16 18:03:54 +00:00
openapi/lti spec: Update schema definitions for recent changes 2024-02-01 23:40:01 +00:00
presenters Remove more settings 2024-01-29 16:21:38 +00:00
requests bundle update rubocop 2023-10-27 17:05:57 +00:00
schemas/lti rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
selenium spec: add a test for moment/locale bundles 2024-02-29 19:00:04 +00:00
serializers bundle update rubocop 2024-01-24 16:17:43 +00:00
services auto caption speedgrader media upload comments 2024-02-28 16:14:26 +00:00
shared_examples bundle update rubocop 2024-01-24 16:17:43 +00:00
support rails 7.1: spec/lib 2024-02-21 17:51:31 +00:00
views remove the rest of fullstory 2024-02-23 16:53:45 +00:00
.eslintrc
.rspec_parallel
ams_spec_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
broadcast_integration.rb
canvas_simplecov.rb
cassandra_spec_helper.rb Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
conditional_release_spec_helper.rb Improve ignored_columns handling 2024-03-01 01:10:34 +00:00
coverage_tool.rb
factories.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
factory_bot_spec_helper.rb
feature_flag_helper.rb
file_upload_helper.rb
force_failure_spec.rb
import_helper.rb remove unused Course#import_source attr_accessor 2024-02-02 18:06:19 +00:00
jspec.sh
lti2_course_spec_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
lti2_spec_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
lti_1_3_spec_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
lti_1_3_tool_configuration_spec_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
lti_spec_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
outcome_alignments_spec_helper.rb Update GraphQL Alignment loader to return aligned items 2023-05-11 15:57:34 +00:00
plagiarism_platform_spec_helper.rb bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
quiz_spec_helper.rb
rcov.opts
rspec_mock_extensions.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
sharding_spec_helper.rb
simple_cov_result_merger.rb
spec.opts
spec_helper.rb rails 7.1: use fixture_file helper 2024-02-20 17:51:31 +00:00