Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update Ruby 3 and Rails 7 (#994)
* Update to Ruby 3.0 * [6.1 defaults] enable has_many_inversing * [6.1 defaults] enable track_variants * [6.1 defaults] cookies_same_site_protection = :lax * [6.1 defaults] enable urlsafe_csrf_tokens * [6.1 defaults] enable utc_to_local_returns_utc_offset_times * [6.1 defaults] enable ssl_default_redirect_status=308 * [6.1 defaults] disable legacy_connection_handling * [6.1 defaults] enable preload_links_header * Load Rails 6.1 defaults * Clean up active storage disc files after test suite is complete * Upgrade to Rails 7.0.0 * Fix deprecation: image/jpg is not a valid content type * GREEN test prior to removing config.active_storage.replace_on_assign_to_many * Fix deprecation: config.active_storage.replace_on_assign_to_many is deprecated and will be removed in Rails 7.1 * [7.0 defaults] button_to_generates_button_tag=true * [7.0 defaults] video_preview_arguments uses scene detection * Use libvips instead of imagemagic package * [7.0 defaults] variant_processor = :vips * [7.0 defaults] REMOVES cookie serializer since we set it elsewhere * [7.0 defaults] Enables wrap_parameters_by_default and removes redundant initializer * [7.0 defaults] Removes legacy style sheet media tag * [7.0 defaults] Updates default headers for XSS protection * [7.0 defaults] Enable open redirect protection * [7.0 defaults] Enable foreign key verification for text fixtures * [7.0 defaults] Enable executor wrap around test cases * [7.0 defaults] Use default thread isolation * [7.0 defaults] Use default smtp timeout (irrelevant since we don't send emails * [7.0 defaults] Enable automatic_scope_inversing * [7.0 defaults] Disable partial inserts on ActiveRecord * [7.0 defaults] use_rfc4122_namespaced_uuids (irrelevants since we don't use uuids) * Fix deprecation: webconsole.whitelisted_ips to allowed_ips --------- Co-authored-by: Laura Mosher <[email protected]>
- Loading branch information