Skip to content

Commit

Permalink
Merge branch 'merge-release/15.1-20241210034248' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Dec 10, 2024
2 parents 2a43ac7 + d4f20f7 commit 7355f04
Show file tree
Hide file tree
Showing 92 changed files with 222 additions and 148 deletions.
5 changes: 0 additions & 5 deletions app/helpers/custom_fields_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,9 @@ def format_value(value, custom_field)

# Return an array of custom field formats which can be used in select_tag
def custom_field_formats_for_select(custom_field)
hierarchy_if_deactivated = lambda do |format|
format.name == "hierarchy" && !OpenProject::FeatureDecisions.custom_field_of_type_hierarchy_active?
end

OpenProject::CustomFieldFormat.all_for_field(custom_field)
.sort_by(&:order)
.reject { |format| format.label.nil? }
.reject(&hierarchy_if_deactivated)
.map do |custom_field_format|
[label_for_custom_field_format(custom_field_format.name), custom_field_format.name]
end
Expand Down
5 changes: 0 additions & 5 deletions config/initializers/feature_decisions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
description: "Allows to generate a PDF document from a work package description. " \
"See #45896 for details."

OpenProject::FeatureDecisions.add :custom_field_of_type_hierarchy,
description: "Allows the use of the custom field type 'Hierarchy'."

OpenProject::FeatureDecisions.add :recurring_meetings,
description: "Differentiate between one-time and recurring meetings."
# TODO: Remove once the feature flag primerized_work_package_activities is removed altogether
OpenProject::FeatureDecisions.define_singleton_method(:primerized_work_package_activities_active?) do
Rails.env.production? ||
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/af.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ af:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ ar:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/az.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ az:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ be:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ bg:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ ca:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ckb-IR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ ckb-IR:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ cs:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ da:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ de:
follows_description: "Das verknüpfte Arbeitspaket muss beendet sein bevor dieses Arbeitspaket starten kann"
label_child_singular: "Untergeordnetes Arbeitspaket"
label_child_plural: "Untergeordnete Arbeitspakete"
child_description: "Ordnet das verknüpfte Arbeitspaket diesem Arbeitspaket unter"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "Blockiert"
label_blocks_plural: "Blockiert"
blocks_description: "Das verknüpfte Arbeitspaket kann erst geschlossen werden, wenn dieses Arbeitspaket geschlossen ist"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ el:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/eo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ eo:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ es:
follows_description: "El paquete de trabajo relacionado tiene que terminar necesariamente antes de que este pueda empezar"
label_child_singular: "secundario"
label_child_plural: "secundarios"
child_description: "Hace que el paquete de trabajo relacionado sea un subelemento del paquete de trabajo actual (principal)"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "bloques"
label_blocks_plural: "bloques"
blocks_description: "El paquete de trabajo relacionado no puede cerrarse hasta que este se cierre primero"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ et:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ eu:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/fa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ fa:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ fi:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/fil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ fil:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ fr:
follows_description: "Le lot de travaux lié doit nécessairement se terminer avant que celui-ci puisse commencer"
label_child_singular: "enfant"
label_child_plural: "enfants"
child_description: "Fait du lot de travaux apparenté un sous-élément du lot de travaux actuel (parent)"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocs"
label_blocks_plural: "blocs"
blocks_description: "Le lot de travaux associé ne peut pas être fermé avant que celui-ci soit fermé en premier"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/he.yml
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ he:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/hi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ hi:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/hr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ hr:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/hu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ hu:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ id:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ it:
follows_description: "La macro-attività correlata deve necessariamente terminare prima dell'inizio di questa"
label_child_singular: "figlia"
label_child_plural: "figlie"
child_description: "Rende la macro-attività correlata un sottoelemento della macro-attività corrente (genitore)"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocca"
label_blocks_plural: "blocca"
blocks_description: "La relativa macro-attività non può essere chiusa fino a quando questa non sarà chiusa prima"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ ja:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ ka:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/kk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ kk:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ ko:
follows_description: "이 패키지를 시작하려면 관련 작업 패키지가 반드시 먼저 완료되어야 합니다"
label_child_singular: "자식"
label_child_plural: "자식"
child_description: "관련 작업 패키지를 현재(부모) 작업 패키지의 하위 항목으로 만듭니다"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "블록"
label_blocks_plural: "블록"
blocks_description: "이 패키지가 먼저 종료될 때까지 관련 작업 패키지를 종료할 수 없습니다"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/lt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ lt:
follows_description: "The related work package necessarily needs to finish before this one can start"
label_child_singular: "child"
label_child_plural: "children"
child_description: "Makes the related a work package a sub-item of the current (parent) work package"
child_description: "Makes the related work package a sub-item of the current (parent) work package"
label_blocks_singular: "blocks"
label_blocks_plural: "blocks"
blocks_description: "The related work package cannot be closed until this one is closed first"
Expand Down
Loading

0 comments on commit 7355f04

Please sign in to comment.