OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
bump default configs to rails 5.2
ulfertsbe24c049a8d4
diff --git a/config/application.rb b/config/application.rbindex 81781683a03..4de31b3dbae 100644--- a/config/application.rb+++ b/config/application.rb@@ -57,7 +57,7 @@ module OpenProject# Goal is to reach 8.0 defaults. Overridden defaults should be stored in# specific initializers files. See# https://community.openproject.org/wp/45463 for details.- config.load_defaults 5.1+ config.load_defaults 5.2# Please, add to the `ignore` list any other `lib` subdirectories that do# not contain `.rb` files, or that should not be reloaded or eager loaded.diff --git a/config/initializers/new_framework_defaults_5_2.rb b/config/initializers/new_framework_defaults_5_2.rbdeleted file mode 100644index 5b87c1e507e..00000000000--- a/config/initializers/new_framework_defaults_5_2.rb+++ /dev/null@@ -1,42 +0,0 @@-# Be sure to restart your server when you modify this file.-#-# This file contains migration options to ease your Rails 5.2 upgrade.-#-# Once upgraded flip defaults one by one to migrate to the new default.-#-# Read the Guide for Upgrading Ruby on Rails for more info on each option.--# https://guides.rubyonrails.org/configuring.html#config-active-record-cache-versioning-# Make Active Record use stable #cache_key alongside new #cache_version method.-# This is needed for recyclable cache keys. Previous versions had false.-# Rails 5.2+ default is true.-Rails.application.config.active_record.cache_versioning = true--# https://guides.rubyonrails.org/configuring.html#config-action-dispatch-use-authenticated-cookie-encryption-# Use AES-256-GCM authenticated encryption for encrypted cookies.-# Also, embed cookie expiry in signed or encrypted cookies for increased security.-#-# This option is not backwards compatible with earlier Rails versions.-# It's best enabled when your entire app is migrated and stable on 5.2.-#-# Existing cookies will be converted on read then written with the new scheme.-# Previous versions had false. Rails 5.2+ default is true.-Rails.application.config.action_dispatch.use_authenticated_cookie_encryption = true--# https://guides.rubyonrails.org/configuring.html#config-active-support-use-authenticated-message-encryption-# Use AES-256-GCM authenticated encryption as default cipher for encrypting messages-# instead of AES-256-CBC, when use_authenticated_message_encryption is set to true.-# Previous versions had false. Rails 5.2+ default is true.-# ActiveSupport::MessageEncryptor is not used by us so no worries about backwards compatibility.-Rails.application.config.active_support.use_authenticated_message_encryption = true--# https://guides.rubyonrails.org/configuring.html#config-action-controller-default-protect-from-forgery-# Add default protection from forgery to ActionController::Base instead of in-# ApplicationController.-# Previous versions had false. Rails 5.2+ default is true.-Rails.application.config.action_controller.default_protect_from_forgery = true--# https://guides.rubyonrails.org/configuring.html#config-action-view-form-with-generates-ids-# Make `form_with` generate id attributes for any generated HTML tags.-# Previous versions had false. Rails 5.2+ default is true.-Rails.application.config.action_view.form_with_generates_ids = true