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
obey rubocop
as-op5de92c9b7f75
diff --git a/app/components/work_packages/exports/generate/modal_dialog_component.rb b/app/components/work_packages/exports/generate/modal_dialog_component.rbindex f6c44ec5ecd..0a0f1a79a93 100644--- a/app/components/work_packages/exports/generate/modal_dialog_component.rb+++ b/app/components/work_packages/exports/generate/modal_dialog_component.rb@@ -32,9 +32,9 @@ require "text/hyphen"module WorkPackagesmodule Exportsmodule Generate- class ModalDialogComponent <ApplicationComponent- MODAL_ID="op-work-package-generate-pdf-dialog"- GENERATE_PDF_FORM_ID="op-work-packages-generate-pdf-dialog-form"+ class ModalDialogComponent < ApplicationComponent+ MODAL_ID = "op-work-package-generate-pdf-dialog"+ GENERATE_PDF_FORM_ID = "op-work-packages-generate-pdf-dialog-form"include OpTurbo::Streamableinclude OpPrimer::ComponentHelpersattr_reader :work_package, :paramsdiff --git a/app/components/work_packages/types/export_configuration_component.rb b/app/components/work_packages/types/export_configuration_component.rbindex 7d015df32fd..057d85a6cc3 100644--- a/app/components/work_packages/types/export_configuration_component.rb+++ b/app/components/work_packages/types/export_configuration_component.rb@@ -30,7 +30,7 @@module WorkPackagesmodule Types- class ExportConfigurationComponent <ApplicationComponent+ class ExportConfigurationComponent < ApplicationComponentinclude OpPrimer::ComponentHelpersinclude OpTurbo::Streamabledef pdf_export_templatesdiff --git a/app/components/work_packages/types/export_template_row_component.rb b/app/components/work_packages/types/export_template_row_component.rbindex 9fd3dc0b90d..b99cab5d3ca 100644--- a/app/components/work_packages/types/export_template_row_component.rb+++ b/app/components/work_packages/types/export_template_row_component.rb@@ -30,7 +30,7 @@module WorkPackagesmodule Types- class ExportTemplateRowComponent <ApplicationComponent+ class ExportTemplateRowComponent < ApplicationComponentinclude ApplicationHelperinclude OpPrimer::ComponentHelpersinclude OpTurbo::Streamablediff --git a/app/controllers/work_packages/types/pdf_export_template_controller.rb b/app/controllers/work_packages/types/pdf_export_template_controller.rbindex c47882f7f24..63d73a1a586 100644--- a/app/controllers/work_packages/types/pdf_export_template_controller.rb+++ b/app/controllers/work_packages/types/pdf_export_template_controller.rb@@ -30,7 +30,7 @@module WorkPackagesmodule Types- class PdfExportTemplateController <ApplicationController+ class PdfExportTemplateController < ApplicationControllerinclude OpTurbo::ComponentStreambefore_action :require_adminbefore_action :find_type, only: %i[toggle drop enable_all disable_all]diff --git a/app/models/type.rb b/app/models/type.rbindex 646afefacf1..53cab3d2a9c 100644--- a/app/models/type.rb+++ b/app/models/type.rb@@ -28,7 +28,7 @@# See COPYRIGHT and LICENSE files for more details.#++-class Type <ApplicationRecord+class Type < ApplicationRecord# Work Package attributes for this type# and constraints to specific attributes (by plugins).include ::Type::Attributesdiff --git a/db/migrate/20250210163523_add_export_templates_to_type.rb b/db/migrate/20250210163523_add_export_templates_to_type.rbindex 73cb7f9a1f8..150137ab1a9 100644--- a/db/migrate/20250210163523_add_export_templates_to_type.rb+++ b/db/migrate/20250210163523_add_export_templates_to_type.rb@@ -28,7 +28,7 @@# See COPYRIGHT and LICENSE files for more details.#++-class AddExportTemplatesToType <ActiveRecord::Migration[7.1]+class AddExportTemplatesToType < ActiveRecord::Migration[7.1]def changeadd_column :types, :pdf_export_templates, :jsonb, default: {}end