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
set content secruity policy to post to Augur in all places we used common upsale
bsatarnejad4a8de44c77a2
diff --git a/app/controllers/custom_actions_controller.rb b/app/controllers/custom_actions_controller.rbindex fb18c69874c..3eace0778b2 100644--- a/app/controllers/custom_actions_controller.rb+++ b/app/controllers/custom_actions_controller.rb@@ -29,13 +29,15 @@#++class CustomActionsController < ApplicationController+ include EnterpriseTrialHelper+ before_action :augur_content_security_policybefore_action :require_adminbefore_action :require_enterprise_token-+self._model_object = CustomActionbefore_action :find_model_object, only: %i(edit update destroy)before_action :pad_params, only: %i(create update)-+layout 'admin'def indexdiff --git a/app/controllers/placeholder_users_controller.rb b/app/controllers/placeholder_users_controller.rbindex 14dbc204981..25937a917ed 100644--- a/app/controllers/placeholder_users_controller.rb+++ b/app/controllers/placeholder_users_controller.rb@@ -29,8 +29,9 @@#++class PlaceholderUsersController < ApplicationController+ include EnterpriseTrialHelperlayout 'admin'-+ before_action :augur_content_security_policybefore_action :authorize_global, except: %i[show]before_action :find_placeholder_user, only: %i[showdiff --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 318ff6ce727..ce828e230fa 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@@ -1,9 +1,11 @@module ::TeamPlannerclass TeamPlannerController < BaseController+ include EnterpriseTrialHelperbefore_action :find_optional_projectbefore_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 a12ad1e465a..c76b380bd8a 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,5 +1,7 @@module ::TwoFactorAuthenticationclass TwoFactorSettingsController < ApplicationController+ include EnterpriseTrialHelper+ before_action :augur_content_security_policybefore_action :require_adminbefore_action :check_enabledbefore_action :check_ee