canvas-lms/lib
Cody Cutrer d0365f6c0a rails 7.1: fix health checks
in rails 7.1, active? will not force a connection. verify! works
in both 7.0 and 7.1, though - checking active? if it's already
connected, or connecting if it's not

Change-Id: I54b93761e8c3a5bc5e0c7943db3eb14a05c7912f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341793
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-29 22:30:16 +00:00
..
address_book bundle update rubocop 2023-12-06 14:25:02 +00:00
api Support pages/discussions/files in date_details api 2024-02-29 22:03:55 +00:00
app_center Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
authentication_methods Consider client_id as identifier for service JWTs 2023-09-26 22:01:14 +00:00
base avoid reloading Consul settings multiple times 2024-02-29 21:23:28 +00:00
basic_lti bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
canvadocs Remove from canvadocs session the crocodoc_id 2023-10-26 17:29:37 +00:00
canvas avoid ActiveSupport::Concern and using alias_method when super will do 2024-02-23 21:39:20 +00:00
cc Stop always exporting unpublished folders on selective exports 2024-02-05 20:14:44 +00:00
data_fixup wrap assignment 1.1-1.3 migration in transaction 2024-02-29 22:27:05 +00:00
external_auth_observation Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
feature_flags smart search: scope feature flag to course 2024-01-18 23:21:30 +00:00
global_lookups Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
gradebook grade override status with null score 2023-11-02 20:31:50 +00:00
i18n/backend Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
latex Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
lti allow nq launch w/o respondus for masquerading and student view 2024-02-14 17:31:31 +00:00
messageable_user Mentions should only allow discussion visible users 2024-02-27 16:00:22 +00:00
microsoft_sync Show Microsoft Sync debugging info 2024-01-10 16:57:16 +00:00
migration_helpers Look at assignment's quiz's ContentTags in ASV 2024-02-27 23:25:43 +00:00
outcomes Add 255 char limit error when importing friendly desc 2024-02-22 20:22:20 +00:00
pandata_events fix: stop caching non-canvas PandataEvents tokens 2024-01-26 22:21:57 +00:00
rake Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
reporting Remove a lot of settings 2024-01-09 21:32:17 +00:00
schemas Allow description for submission_type_selection 2024-02-27 22:00:51 +00:00
sentry_extensions remove Setting.skip_cache 2023-09-27 17:08:20 +00:00
services add dynamic config for speedgrader service 2024-01-30 16:56:42 +00:00
sis make term override dates sis sticky 2024-02-02 20:35:04 +00:00
support_helpers Rename DueDateCacher to SubmissionLifecycleManager 2023-07-11 14:43:12 +00:00
tasks rails 7.1: fix migrations 2024-02-02 19:12:27 +00:00
turnitin don't unnecessarily copy files before uploading 2024-02-02 19:32:30 +00:00
user_content Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
utils Add timing metrics to LTI endpoints 2024-01-26 22:18:21 +00:00
account_services.rb Remove Delicious from Canvas 2023-03-22 15:01:28 +00:00
address_book.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
anonymity.rb RuboCop: Style/RedundantSelf 2021-11-20 16:41:21 +00:00
api.rb Remove more settings 2024-01-29 16:21:38 +00:00
api_route_set.rb Hack around rails routing "constraints" deficiency 2023-09-13 18:56:21 +00:00
asset_signature.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
assignment_override_applicator.rb rails 7.1: shim Relation#null_relation? for 7.0 2024-02-05 21:04:55 +00:00
assignment_util.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
authentication_methods.rb Don't authorize inst_access tokens from unusable keys 2023-09-26 22:01:03 +00:00
basic_lti.rb Kill require_dependency 2023-01-09 19:51:01 +00:00
brand_account_chain_resolver.rb favor active sub-account for branding 2021-12-08 18:15:55 +00:00
brand_config_helpers.rb Don't include parents in chain for regular accounts 2022-04-14 16:56:51 +00:00
brand_config_regenerator.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
brandable_css.rb use script defer instead of async scripts 2024-01-30 15:02:41 +00:00
browser_support.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
canvadocs.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
canvas_imported_html_converter.rb Set up methods for html migration 2023-07-18 21:44:46 +00:00
canvas_logger.rb simplify logging setup 2024-02-29 21:23:50 +00:00
capture_job_ids.rb add job_ids to sis_batches and parallel_importers 2023-06-07 17:09:46 +00:00
cc.rb Kill require_dependency 2023-01-09 19:51:01 +00:00
checkpoint.rb rename checkpoint columns on assignments table 2023-12-08 17:06:23 +00:00
checkpoint_labels.rb add SubAssignment model 2023-12-19 16:13:47 +00:00
content_licenses.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
content_notices.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
content_zipper.rb don't unnecessarily copy files before uploading 2024-02-02 19:32:30 +00:00
conversation_batch_scrubber.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
conversation_helper.rb Data fix up for Conversation/ConversationParticipant 2023-02-17 19:17:24 +00:00
copy_authorized_links.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
course_link_validator.rb handle sylalbus links more robustly 2023-10-18 20:09:13 +00:00
course_pace_due_dates_calculator.rb Include account blackout dates in compressor 2023-11-15 18:13:23 +00:00
course_pace_hard_end_date_compressor.rb Include account blackout dates in compressor 2023-11-15 18:13:23 +00:00
course_paces_date_helpers.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
custom_validations.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
cuty_capt.rb don't unnecessarily copy files before uploading 2024-02-02 19:32:30 +00:00
dates_overridable.rb Support pages/discussions/files in date_details api 2024-02-29 22:03:55 +00:00
delayed_message_scrubber.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
differentiable_assignment.rb Hide modules that a student isn't assigned 2024-01-17 16:44:22 +00:00
dump_helper.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
duplicating_objects.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
effective_due_dates.rb Include an assignment's associated object's modules in EDD 2024-02-15 22:42:35 +00:00
email_address_validator.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
enrollments_from_user_list.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
eportfolio_page.rb improve recent submission filtering in eportfolios 2023-01-10 22:55:55 +00:00
external_feed_aggregator.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
external_statuses.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
feature.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
feature_flags.rb add reasonable failsafes for several usages of Consul 2023-07-12 14:51:15 +00:00
file_authenticator.rb Use SHA256 for cache keys 2023-04-05 17:57:09 +00:00
file_in_context.rb don't unnecessarily copy files before uploading 2024-02-02 19:32:30 +00:00
file_splitter.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
global_lookups.rb make globalLookups a module to extend, not a stub 2021-10-26 14:58:27 +00:00
google_docs_preview.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
grade_calculator.rb remove verbose unneeded logging 2024-01-13 15:41:11 +00:00
grade_display.rb display minus instead of en-dash 2023-10-09 16:24:10 +00:00
gradebook_exporter.rb add custom status to gradebook exports 2023-08-23 20:56:59 +00:00
gradebook_grading_period_assignments.rb fix viewing grades for deactivated students 2022-02-16 17:56:03 +00:00
gradebook_importer.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
gradebook_settings_helpers.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
gradebook_user_ids.rb multi-select student groups 2024-02-21 17:49:21 +00:00
grading_period_helper.rb RuboCop: Style/RedundantSort 2021-11-19 22:25:07 +00:00
has_content_tags.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
health_checks.rb rails 7.1: fix health checks 2024-02-29 22:30:16 +00:00
host_url.rb Rails 6.1 basic spec functionality 2022-02-16 17:31:11 +00:00
i18n_time_zone.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
inst_fs.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
late_policy_applicator.rb add n_strand to late policy applicator jobs 2023-02-17 21:45:15 +00:00
latex.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
learning_outcome_context.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
locale_selection.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
locked_for.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
logging_filter.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
login_hooks.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
material_changes.rb avoid recalculating enrollment states due to truncation 2023-05-16 19:36:36 +00:00
math_man.rb Use SHA256 for cache keys 2023-04-05 17:57:09 +00:00
message_dispatcher.rb Improve error logging for message batch dispatching 2022-06-23 15:10:18 +00:00
message_scrubber.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
messageable_user.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
missing_policy_applicator.rb recheck submissions are still missing in missing_policy_applicator 2024-02-15 18:45:08 +00:00
model_cache.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
moderation.rb add SubAssignment model 2023-12-19 16:13:47 +00:00
must_view_module_progressor.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
mutable.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
net_ldap_extensions.rb wrap net_ldap_extensions in a zeitwerk compatible module 2021-10-07 18:50:58 +00:00
notification_message_creator.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
open_ai.rb smart search: scope feature flag to course 2024-01-18 23:21:30 +00:00
package_root.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
pandata_events.rb fix: structure PandataEvents body correctly 2024-01-25 22:08:41 +00:00
permissions.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
permissions_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
plannable.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
planner_api_helper.rb use unique_constraint_retry for planner ovveride sync 2023-07-28 16:32:53 +00:00
planner_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
progress_runner.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
pronouns.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
quiz_math_data_fixup.rb update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00
request_error.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
rubric_context.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
scope_filter.rb RuboCop: Layout lib 2021-09-22 20:01:52 +00:00
score_statistics_generator.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
scrypt_provider.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
search_term_helper.rb Support basic unicode normalization in search helper 2022-02-16 22:19:10 +00:00
send_to_stream.rb Introduce single table inheritance (STI) to the Assignment model 2023-12-05 22:09:24 +00:00
sentry_proxy.rb Misc changes to kickstart ruby 3.0 testing 2022-12-13 14:27:41 +00:00
session_token.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
simple_stats.rb rubocop: Style/TernaryParentheses, Style/RedundantParentheses 2023-04-12 14:56:48 +00:00
simple_tags.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
sis.rb do away with non-conventional "common" module 2021-10-07 21:55:24 +00:00
sorts_assignments.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
ssl_common.rb bundle update multipart-post 2023-08-14 16:37:46 +00:00
stats.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
sticky_sis_fields.rb rubocop: Lint/SendWithMixinArgument 2023-06-09 16:04:56 +00:00
submission_lifecycle_manager.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
submission_list.rb remove (direct) dependency on hashery 2023-08-30 19:02:57 +00:00
submission_search.rb add filters to submissionsConnection for enrollment state 2024-01-19 17:02:29 +00:00
submittable.rb prevent checkpoints from creating their own discussion topics 2023-12-21 19:10:32 +00:00
submittables_grading_period_protection.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
summary_message_consolidator.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
text_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
time_zone_helper.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
timed_cache.rb RuboCop: Style/MethodCallWithoutArgsParentheses 2021-11-18 23:07:30 +00:00
token_scopes.rb hide internal permissions from LTI Advantage Services section 2022-08-29 19:36:02 +00:00
token_scopes_helper.rb Fail a test on route changes used by dev keys 2022-07-12 20:24:05 +00:00
turnitin.rb Add Sentry Logging for TII api error 2023-12-15 20:59:20 +00:00
turnitin_id.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00
unzip_attachment.rb Remove more settings 2024-01-29 16:21:38 +00:00
user_content.rb Fix precise link replacement code 2024-01-25 18:26:19 +00:00
user_list.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
user_list_v2.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
user_merge.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
user_search.rb Allow admins to search and view deleted users 2024-01-11 01:49:01 +00:00
uuid_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
vericite.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
visibility_plucking_helper.rb RuboCop: Style/RedundantSelf 2021-11-20 16:41:21 +00:00
zip_extractor.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00