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
sets the content security policy
bsatarnejadce555179e7e1
diff --git a/config/initializers/secure_headers.rb b/config/initializers/secure_headers.rbindex 5ce5a0dbc85..df59aaed407 100644--- a/config/initializers/secure_headers.rb+++ b/config/initializers/secure_headers.rb@@ -24,7 +24,7 @@ SecureHeaders::Configuration.default do |config|default_src = %w('self') + OpenProject::Configuration.remote_storage_hosts# Allow requests to CLI in dev mode- connect_src = default_src+ connect_src = default_src + [OpenProject::Configuration.enterprise_trial_creation_host]if OpenProject::Configuration.sentry_frontend_dsn.present?connect_src += [OpenProject::Configuration.sentry_host]diff --git a/modules/team_planner/app/controllers/team_planner/team_planner_controller.rb b/modules/team_planner/app/controllers/team_planner/team_planner_controller.rbindex ce828e230fa..3eebbfcd447 100644--- a/modules/team_planner/app/controllers/team_planner/team_planner_controller.rb+++ b/modules/team_planner/app/controllers/team_planner/team_planner_controller.rb@@ -5,7 +5,6 @@ module ::TeamPlannerbefore_action :authorize, only: %i[index]before_action :require_ee_token, only: %i[index]before_action :redirect_to_first_plan, only: :index- before_action :augur_content_security_policy, only: :upsalemenu_item :team_planner_viewdiff --git a/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rb b/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rbindex c76b380bd8a..701b9504490 100644--- a/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rb+++ b/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rb@@ -1,7 +1,6 @@module ::TwoFactorAuthenticationclass TwoFactorSettingsController < ApplicationControllerinclude EnterpriseTrialHelper- before_action :augur_content_security_policybefore_action :require_adminbefore_action :check_enabledbefore_action :check_ee