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
remove augur CSP from everywhere since we can call it from everywhere of the page
bsatarnejad06a9ad02c2fd
diff --git a/app/controllers/custom_actions_controller.rb b/app/controllers/custom_actions_controller.rbindex 3c9a9eeb267..a0554ef45d4 100644--- a/app/controllers/custom_actions_controller.rb+++ b/app/controllers/custom_actions_controller.rb@@ -30,7 +30,6 @@class CustomActionsController < ApplicationControllerinclude EnterpriseTrialHelper- before_action :augur_content_security_policybefore_action :require_adminbefore_action :require_enterprise_tokendiff --git a/app/controllers/enterprises_controller.rb b/app/controllers/enterprises_controller.rbindex a4ff929711e..8bd85948988 100644--- a/app/controllers/enterprises_controller.rb+++ b/app/controllers/enterprises_controller.rb@@ -31,7 +31,6 @@ class EnterprisesController < ApplicationControllerlayout 'admin'menu_item :enterprise- before_action :augur_content_security_policybefore_action :chargebee_content_security_policybefore_action :youtube_content_security_policybefore_action :require_admindiff --git a/app/controllers/placeholder_users_controller.rb b/app/controllers/placeholder_users_controller.rbindex 25937a917ed..5fe5764d3d8 100644--- a/app/controllers/placeholder_users_controller.rb+++ b/app/controllers/placeholder_users_controller.rb@@ -31,7 +31,6 @@class PlaceholderUsersController < ApplicationControllerinclude EnterpriseTrialHelperlayout 'admin'- before_action :augur_content_security_policybefore_action :authorize_global, except: %i[show]before_action :find_placeholder_user, only: %i[showdiff --git a/app/helpers/enterprise_trial_helper.rb b/app/helpers/enterprise_trial_helper.rbindex 7e4f4dc4d83..ea8ab4cb731 100644--- a/app/helpers/enterprise_trial_helper.rb+++ b/app/helpers/enterprise_trial_helper.rb@@ -1,9 +1,4 @@module EnterpriseTrialHelper- def augur_content_security_policy- append_content_security_policy_directives(- connect_src: [OpenProject::Configuration.enterprise_trial_creation_host]- )- enddef chargebee_content_security_policyscript_src = %w(js.chargebee.com)