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
Consistent naming of upsell, not upsale
Oliver Günthere27ac494d344
diff --git a/app/components/_index.sass b/app/components/_index.sassindex a15d95529d9..83c03b1cebd 100644--- a/app/components/_index.sass+++ b/app/components/_index.sass@@ -28,5 +28,5 @@@import "work_package_relations_tab/relation_component"@import "users/hover_card_component"@import "enterprise_edition/banner_component"-@import "enterprise_edition/upsale_page_component"+@import "enterprise_edition/upsell_page_component"@import "work_packages/types/pattern_input"diff --git a/app/components/enterprise_edition/banner_component.html.erb b/app/components/enterprise_edition/banner_component.html.erbindex 2f7a194e7f2..8f6516f435c 100644--- a/app/components/enterprise_edition/banner_component.html.erb+++ b/app/components/enterprise_edition/banner_component.html.erb@@ -17,7 +17,7 @@title_flex.with_column dorender(Primer::Beta::Octicon.new(icon: :"op-enterprise-addons",size: :medium,- classes: "upsale-colored"))+ classes: "upsell-colored"))endtitle_flex.with_column(ml: 2) do@@ -42,7 +42,7 @@endflex.with_row(mt: 2) do- render EnterpriseEdition::UpsaleButtonsComponent.new(feature_key)+ render EnterpriseEdition::UpsellButtonsComponent.new(feature_key)endendend@@ -65,7 +65,7 @@href: dismiss_enterprise_banner_path(feature_key: @dismiss_key),data: { turbo_stream: true, turbo_method: :post },icon: :x,- aria: { label: t("ee.upsale.hide_banner") }+ aria: { label: t("ee.upsell.hide_banner") }))enddiff --git a/app/components/enterprise_edition/banner_component.rb b/app/components/enterprise_edition/banner_component.rbindex ad9fed9fb66..81be2a00859 100644--- a/app/components/enterprise_edition/banner_component.rb+++ b/app/components/enterprise_edition/banner_component.rb@@ -47,7 +47,7 @@ module EnterpriseEdition# @param image [String, NilClass] Path to the image to show on the banner, or nil.# Required when variant is :medium.# @param i18n_scope [String] Provide the i18n scope to look for title, description, and features.- # Defaults to "ee.upsale.{feature_key}"+ # Defaults to "ee.upsell.{feature_key}"# @param dismissable [boolean] Allow this banner to be dismissed.# @param show_always [boolean] Always show the banner, regardless of the dismissed or feature state.# @param dismiss_key [String] Provide a string to identify this banner when being dismissed. Defaults to feature_key@@ -55,7 +55,7 @@ module EnterpriseEditiondef initialize(feature_key, # rubocop:disable Metrics/AbcSizevariant: DEFAULT_VARIANT,image: nil,- i18n_scope: "ee.upsale.#{feature_key}",+ i18n_scope: "ee.upsell.#{feature_key}",dismissable: false,show_always: false,dismiss_key: feature_key,diff --git a/app/components/enterprise_edition/banner_component.sass b/app/components/enterprise_edition/banner_component.sassindex a52a1975ac8..e93da3aa787 100644--- a/app/components/enterprise_edition/banner_component.sass+++ b/app/components/enterprise_edition/banner_component.sass@@ -71,12 +71,12 @@padding: var(--base-size-6) var(--base-size-8)&--icon- color: var(--enterprise-upsale-color)+ color: var(--enterprise-upsell-color)margin-block: var(--base-size-2)&--close-icon.Button-visual- color: var(--enterprise-upsale-color)+ color: var(--enterprise-upsell-color)&_hoveringposition: absolutediff --git a/app/components/enterprise_edition/plan_for_feature.rb b/app/components/enterprise_edition/plan_for_feature.rbindex eacc80126d7..108572a0b3a 100644--- a/app/components/enterprise_edition/plan_for_feature.rb+++ b/app/components/enterprise_edition/plan_for_feature.rb@@ -74,11 +74,11 @@ module EnterpriseEditionenddef plan_text- plan_name = render(Primer::Beta::Text.new(font_weight: :bold, classes: "upsale-colored")) do- I18n.t("ee.upsale.plan_name", plan:)+ plan_name = render(Primer::Beta::Text.new(font_weight: :bold, classes: "upsell-colored")) do+ I18n.t("ee.upsell.plan_name", plan:)end- I18n.t("ee.upsale.plan_text_html", plan_name:).html_safe+ I18n.t("ee.upsell.plan_text_html", plan_name:).html_safeendendenddiff --git a/app/components/enterprise_edition/upsale_buttons_component.rb b/app/components/enterprise_edition/upsell_buttons_component.rbsimilarity index 96%rename from app/components/enterprise_edition/upsale_buttons_component.rbrename to app/components/enterprise_edition/upsell_buttons_component.rbindex f07f3e54a45..b9d6def22cd 100644--- a/app/components/enterprise_edition/upsale_buttons_component.rb+++ b/app/components/enterprise_edition/upsell_buttons_component.rb@@ -29,7 +29,7 @@# ++module EnterpriseEdition- class UpsaleButtonsComponent < ApplicationComponent+ class UpsellButtonsComponent < ApplicationComponentinclude OpPrimer::ComponentHelpers# @param feature_key [Symbol, NilClass] The key of the feature to show the banner for.@@ -84,7 +84,7 @@ module EnterpriseEditionenddef link_title- I18n.t("ee.upsale.#{feature_key}.link_title", default: I18n.t(:label_more_information))+ I18n.t("ee.upsell.#{feature_key}.link_title", default: I18n.t(:label_more_information))enddef enterprise_linkdiff --git a/app/components/enterprise_edition/upsale_page_component.html.erb b/app/components/enterprise_edition/upsell_page_component.html.erbsimilarity index 84%rename from app/components/enterprise_edition/upsale_page_component.html.erbrename to app/components/enterprise_edition/upsell_page_component.html.erbindex da2f3b8e114..4cc7504e4c9 100644--- a/app/components/enterprise_edition/upsale_page_component.html.erb+++ b/app/components/enterprise_edition/upsell_page_component.html.erb@@ -3,13 +3,13 @@<% helpers.write_trial_key_to_gon if !EnterpriseToken.current.present? %><% end %>-<div class="op-enterprise-upsale-page" data-test-selector="op-enterprise-upsale-page">+<div class="op-enterprise-upsell-page" data-test-selector="op-enterprise-upsell-page"><%=render(Primer::OpenProject::FlexLayout.new(justify_content: :center, align_items: :center)) do |flex|flex.with_column dorender(Primer::Beta::Octicon.new(icon: :"op-enterprise-addons",size: :medium,- classes: "upsale-colored"))+ classes: "upsell-colored"))endflex.with_column(ml: 2) do@@ -18,7 +18,7 @@end%>- <p class="upsale--feature-reference">+ <p class="upsell--feature-reference"><%= render(Primer::Beta::Text.new) { description } %><%= render(Primer::Beta::Text.new) { plan_text } %></p>@@ -42,5 +42,5 @@<%= image_tag "enterprise-add-on.svg", class: "widget-box--teaser-image widget-box--teaser-image_default" %><% end %>- <%= render EnterpriseEdition::UpsaleButtonsComponent.new(feature_key, justify_content: :center) %>+ <%= render EnterpriseEdition::UpsellButtonsComponent.new(feature_key, justify_content: :center) %></div>diff --git a/app/components/enterprise_edition/upsale_page_component.rb b/app/components/enterprise_edition/upsell_page_component.rbsimilarity index 88%rename from app/components/enterprise_edition/upsale_page_component.rbrename to app/components/enterprise_edition/upsell_page_component.rbindex a087babf59c..c95f7a6192a 100644--- a/app/components/enterprise_edition/upsale_page_component.rb+++ b/app/components/enterprise_edition/upsell_page_component.rb@@ -30,16 +30,16 @@module EnterpriseEdition# A full page banner for the enterprise edition- class UpsalePageComponent < ApplicationComponent+ class UpsellPageComponent < ApplicationComponentinclude OpPrimer::ComponentHelpersinclude PlanForFeature- # @param feature_key [Symbol, NilClass] The key of the feature to show the upsale page for.+ # @param feature_key [Symbol, NilClass] The key of the feature to show the upsell page for.# @param i18n_scope [String] Provide the i18n scope to look for title, description, and features.- # Defaults to "ee.upsale.{feature_key}"- # @param image [String, NilClass] Path to the image to show on the upsale page, or nil.- # @param video [String, NilClass] Path to the video to show on the upsale page, or nil.- def initialize(feature_key, i18n_scope: "ee.upsale.#{feature_key}", image: nil, video: nil)+ # Defaults to "ee.upsell.{feature_key}"+ # @param image [String, NilClass] Path to the image to show on the upsell page, or nil.+ # @param video [String, NilClass] Path to the video to show on the upsell page, or nil.+ def initialize(feature_key, i18n_scope: "ee.upsell.#{feature_key}", image: nil, video: nil)superself.feature_key = feature_keydiff --git a/app/components/enterprise_edition/upsale_page_component.sass b/app/components/enterprise_edition/upsell_page_component.sasssimilarity index 98%rename from app/components/enterprise_edition/upsale_page_component.sassrename to app/components/enterprise_edition/upsell_page_component.sassindex 794d4156f7b..04c2033dddc 100644--- a/app/components/enterprise_edition/upsale_page_component.sass+++ b/app/components/enterprise_edition/upsell_page_component.sass@@ -27,7 +27,7 @@/ See COPYRIGHT and LICENSE files for more details./ ++/-.op-enterprise-upsale-page+.op-enterprise-upsell-pagemax-width: 50vwmargin: autopadding-top: 20pxdiff --git a/app/components/open_project/common/submenu_component.html.erb b/app/components/open_project/common/submenu_component.html.erbindex 58410624ad3..023653be2f0 100644--- a/app/components/open_project/common/submenu_component.html.erb+++ b/app/components/open_project/common/submenu_component.html.erb@@ -42,7 +42,7 @@<%= menu_item.title %><% if menu_item.show_enterprise_icon %>- <%= render Primer::Beta::Octicon.new(icon: "op-enterprise-addons", "aria-label": I18n.t(:label_enterprise_edition), classes: "upsale-colored", ml: 2) %>+ <%= render Primer::Beta::Octicon.new(icon: "op-enterprise-addons", "aria-label": I18n.t(:label_enterprise_edition), classes: "upsell-colored", ml: 2) %><% end %></span>@@ -82,7 +82,7 @@<%= child_item.title %><% if child_item.show_enterprise_icon %>- <%= render Primer::Beta::Octicon.new(icon: "op-enterprise-addons", "aria-label": I18n.t(:label_enterprise_edition), classes: "upsale-colored", ml: 2) %>+ <%= render Primer::Beta::Octicon.new(icon: "op-enterprise-addons", "aria-label": I18n.t(:label_enterprise_edition), classes: "upsell-colored", ml: 2) %><% end %><% if child_item.favored %>diff --git a/app/components/settings/project_work_packages/header_component.rb b/app/components/settings/project_work_packages/header_component.rbindex e34faf4e07f..d82a74ff10f 100644--- a/app/components/settings/project_work_packages/header_component.rb+++ b/app/components/settings/project_work_packages/header_component.rb@@ -62,7 +62,7 @@ module Settingsdef activity_titlelabel = t("label_activity").html_safeunless EnterpriseToken.allows_to?(:internal_comments)- label << render(Primer::Beta::Octicon.new(icon: "op-enterprise-addons", classes: "upsale-colored", ml: 2))+ label << render(Primer::Beta::Octicon.new(icon: "op-enterprise-addons", classes: "upsell-colored", ml: 2))endlabelenddiff --git a/app/components/shares/project_queries/upsale_component.html.erb b/app/components/shares/project_queries/upsell_component.html.erbsimilarity index 64%rename from app/components/shares/project_queries/upsale_component.html.erbrename to app/components/shares/project_queries/upsell_component.html.erbindex ef8bc1f6705..71e7f309554 100644--- a/app/components/shares/project_queries/upsale_component.html.erb+++ b/app/components/shares/project_queries/upsell_component.html.erb@@ -1,10 +1,10 @@<%=- modal_content.with_row(data: { "test-selector": "op-share-dialog-upsale-block" }) do- render Primer::OpenProject::FeedbackMessage.new(icon_arguments: { icon: :"op-enterprise-addons", classes: "upsale-colored" }, border: true) do |component|- component.with_heading(tag: :h2, classes: "upsale-colored").with_content(I18n.t(:"ee.upsale.title"))- component.with_description { I18n.t("sharing.project_queries.upsale.message") }+ modal_content.with_row(data: { "test-selector": "op-share-dialog-upsell-block" }) do+ render Primer::OpenProject::FeedbackMessage.new(icon_arguments: { icon: :"op-enterprise-addons", classes: "upsell-colored" }, border: true) do |component|+ component.with_heading(tag: :h2, classes: "upsell-colored").with_content(I18n.t(:"ee.upsell.title"))+ component.with_description { I18n.t("sharing.project_queries.upsell.message") }- href = "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=project-list-sharing-modal"+ href = "#{OpenProject::Static::Links.links[:upsell][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=project-list-sharing-modal"component.with_secondary_action(href:) do |link|link.with_trailing_visual_icon(icon: "link-external")I18n.t("admin.enterprise.enterprise_link")diff --git a/app/components/shares/project_queries/upsale_component.rb b/app/components/shares/project_queries/upsell_component.rbsimilarity index 95%rename from app/components/shares/project_queries/upsale_component.rbrename to app/components/shares/project_queries/upsell_component.rbindex b3127b97e39..1777943ad30 100644--- a/app/components/shares/project_queries/upsale_component.rb+++ b/app/components/shares/project_queries/upsell_component.rb@@ -28,7 +28,7 @@module Sharesmodule ProjectQueries- class UpsaleComponent < ApplicationComponent # rubocop:disable OpenProject/AddPreviewForViewComponent+ class UpsellComponent < ApplicationComponent # rubocop:disable OpenProject/AddPreviewForViewComponentinclude OpPrimer::ComponentHelpersdef initialize(modal_content:)diff --git a/app/components/shares/work_packages/modal_upsale_component.html.erb b/app/components/shares/work_packages/modal_upsell_component.html.erbsimilarity index 68%rename from app/components/shares/work_packages/modal_upsale_component.html.erbrename to app/components/shares/work_packages/modal_upsell_component.html.erbindex 33bc64480a8..b4796174eaf 100644--- a/app/components/shares/work_packages/modal_upsale_component.html.erb+++ b/app/components/shares/work_packages/modal_upsell_component.html.erb@@ -1,10 +1,10 @@<%=component_wrapper(tag: "turbo-frame") do- render Primer::OpenProject::FeedbackMessage.new(icon_arguments: { icon: :"op-enterprise-addons", classes: "upsale-colored" }, border: true) do |component|- component.with_heading(tag: :h2, classes: "upsale-colored").with_content(I18n.t(:"ee.upsale.title"))+ render Primer::OpenProject::FeedbackMessage.new(icon_arguments: { icon: :"op-enterprise-addons", classes: "upsell-colored" }, border: true) do |component|+ component.with_heading(tag: :h2, classes: "upsell-colored").with_content(I18n.t(:"ee.upsell.title"))component.with_description { I18n.t("mail.sharing.work_packages.enterprise_text") }- href = "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=work-package-sharing-modal"+ href = "#{OpenProject::Static::Links.links[:upsell][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=work-package-sharing-modal"component.with_secondary_action(href:) do |link|link.with_trailing_visual_icon(icon: "link-external")I18n.t("admin.enterprise.enterprise_link")diff --git a/app/components/shares/work_packages/modal_upsale_component.rb b/app/components/shares/work_packages/modal_upsell_component.rbsimilarity index 95%rename from app/components/shares/work_packages/modal_upsale_component.rbrename to app/components/shares/work_packages/modal_upsell_component.rbindex 617940ed23d..3b9efbb5a81 100644--- a/app/components/shares/work_packages/modal_upsale_component.rb+++ b/app/components/shares/work_packages/modal_upsell_component.rb@@ -28,7 +28,7 @@module Sharesmodule WorkPackages- class ModalUpsaleComponent < ApplicationComponent # rubocop:disable OpenProject/AddPreviewForViewComponent+ class ModalUpsellComponent < ApplicationComponent # rubocop:disable OpenProject/AddPreviewForViewComponentinclude ApplicationHelperinclude OpTurbo::Streamableinclude OpPrimer::ComponentHelpersdiff --git a/app/components/types/edit_page_header_component.html.erb b/app/components/types/edit_page_header_component.html.erbindex 524997804f2..6d26386c3b0 100644--- a/app/components/types/edit_page_header_component.html.erb+++ b/app/components/types/edit_page_header_component.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details.feature = tab[:enterprise_feature]if feature && !EnterpriseToken.allows_to?(feature)- t.with_icon(icon: :"op-enterprise-addons", classes: "upsale-colored")+ t.with_icon(icon: :"op-enterprise-addons", classes: "upsell-colored")endt.with_text { I18n.t(tab[:label]) }enddiff --git a/app/components/work_packages/exports/pdf/export_settings_component.rb b/app/components/work_packages/exports/pdf/export_settings_component.rbindex ab515abf3da..1d718420f0d 100644--- a/app/components/work_packages/exports/pdf/export_settings_component.rb+++ b/app/components/work_packages/exports/pdf/export_settings_component.rb@@ -44,7 +44,7 @@ module WorkPackagesrender(Primer::Beta::Octicon.new(icon: "op-enterprise-addons","aria-label": I18n.t(:label_enterprise_edition),- classes: "upsale-colored", ml: 2+ classes: "upsell-colored", ml: 2))enddiff --git a/app/controllers/custom_actions_controller.rb b/app/controllers/custom_actions_controller.rbindex 54c3fbaf253..6c888814f80 100644--- a/app/controllers/custom_actions_controller.rb+++ b/app/controllers/custom_actions_controller.rb@@ -86,7 +86,7 @@ class CustomActionsController < ApplicationControllerreturn if EnterpriseToken.allows_to?(:custom_actions)if request.get?- render template: "custom_actions/upsale"+ render template: "custom_actions/upsell"elserender_403enddiff --git a/app/controllers/custom_styles_controller.rb b/app/controllers/custom_styles_controller.rbindex 63d4f4b6606..8238dbc9f0f 100644--- a/app/controllers/custom_styles_controller.rb+++ b/app/controllers/custom_styles_controller.rb@@ -39,7 +39,7 @@ class CustomStylesController < ApplicationControllerbefore_action :require_admin,except: UNGUARDED_ACTIONSbefore_action :require_ee_token,- except: UNGUARDED_ACTIONS + %i[upsale]+ except: UNGUARDED_ACTIONS + %i[upsell]skip_before_action :check_if_login_required,only: UNGUARDED_ACTIONSno_authorization_required! *UNGUARDED_ACTIONS@@ -58,7 +58,7 @@ class CustomStylesController < ApplicationControllerendend- def upsale; end+ def upsell; enddef create@custom_style = CustomStyle.create(custom_style_params)@@ -180,7 +180,7 @@ class CustomStylesController < ApplicationControllerdef require_ee_tokenunless EnterpriseToken.allows_to?(:define_custom_style)- redirect_to custom_style_upsale_path+ redirect_to custom_style_upsell_pathendenddiff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rbindex 099dfbca561..5e1b7de17c7 100644--- a/app/controllers/notifications_controller.rb+++ b/app/controllers/notifications_controller.rb@@ -31,7 +31,7 @@ class NotificationsController < ApplicationControllerbefore_action :require_loginbefore_action :filtered_query, only: :mark_all_read- no_authorization_required! :index, :split_view, :update_counter, :mark_all_read, :date_alerts, :share_upsale+ no_authorization_required! :index, :split_view, :update_counter, :mark_all_read, :date_alerts, :share_upsellbefore_action :check_filter, only: %i[index]@@ -65,7 +65,7 @@ class NotificationsController < ApplicationControllerrender_notifications_layoutend- def share_upsale+ def share_upsellrender_notifications_layoutend@@ -98,7 +98,7 @@ class NotificationsController < ApplicationControllerreturn if EnterpriseToken.allows_to?(:date_alerts)if params[:filter] == "reason" && params[:name] == "dateAlert"- redirect_to notifications_date_alert_upsale_path+ redirect_to notifications_date_alert_upsell_pathendendenddiff --git a/app/controllers/work_packages_controller.rb b/app/controllers/work_packages_controller.rbindex 878503ec8a4..e7f3ab50b73 100644--- a/app/controllers/work_packages_controller.rb+++ b/app/controllers/work_packages_controller.rb@@ -42,7 +42,7 @@ class WorkPackagesController < ApplicationController:check_allowed_export,:protect_from_unauthorized_export, only: %i[index export_dialog]- before_action :authorize, only: %i[show_conflict_flash_message share_upsale]+ before_action :authorize, only: %i[show_conflict_flash_message share_upsell]authorization_checked! :index, :show, :export_dialog, :generate_pdf_dialog, :generate_pdfbefore_action :load_and_validate_query, only: :index, unless: -> { request.format.html? }@@ -128,8 +128,8 @@ class WorkPackagesController < ApplicationControllerrespond_with_turbo_streamsend- def share_upsale- render :share_upsale,+ def share_upsell+ render :share_upsell,locals: { menu_name: project_or_global_menu }enddiff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rbindex 4d401b6f9d3..e07dc0d3550 100644--- a/app/helpers/custom_fields_helper.rb+++ b/app/helpers/custom_fields_helper.rb@@ -148,7 +148,7 @@ module CustomFieldsHelperlabel = format.label.is_a?(Proc) ? format.label.call : I18n.t(format.label)show_enterprise_text = format_string == "hierarchy" && !EnterpriseToken.allows_to?(:custom_field_hierarchies)- suffix = show_enterprise_text ? " (#{I18n.t(:"ee.upsale.title")})" : ""+ suffix = show_enterprise_text ? " (#{I18n.t(:"ee.upsell.title")})" : """#{label}#{suffix}"enddiff --git a/app/menus/notifications/menu.rb b/app/menus/notifications/menu.rbindex a4fd9781af4..b50b2e1ac11 100644--- a/app/menus/notifications/menu.rb+++ b/app/menus/notifications/menu.rb@@ -113,9 +113,9 @@ module Notificationsdef query_path(query_params)if query_params[:name] == "shared" && show_enterprise_icon?("shared")- return notifications_share_upsale_path(query_params)+ return notifications_share_upsell_path(query_params)elsif query_params[:name] == "dateAlert" && show_enterprise_icon?("dateAlert")- return notifications_date_alert_upsale_path(query_params)+ return notifications_date_alert_upsell_path(query_params)endnotifications_center_path(query_params)diff --git a/app/menus/work_packages/menu.rb b/app/menus/work_packages/menu.rbindex ca1c96b5992..85e3c893ccb 100644--- a/app/menus/work_packages/menu.rb+++ b/app/menus/work_packages/menu.rb@@ -51,7 +51,7 @@ module WorkPackagesdef query_path(query_params)if query_params[:show_enterprise_icon].present?- return ee_upsale_path(query_params)+ return ee_upsell_path(query_params)endif project.present?@@ -76,8 +76,8 @@ module WorkPackagesparams[:on_work_package_path] == "true"end- def ee_upsale_path(query_params)- share_upsale_work_packages_path({ name: query_params[:name] })+ def ee_upsell_path(query_params)+ share_upsell_work_packages_path({ name: query_params[:name] })enddef check_for_redirected_urls(query_params)diff --git a/app/models/sharing_strategies/project_query_strategy.rb b/app/models/sharing_strategies/project_query_strategy.rbindex eb05b1970d7..9ee3c9922e1 100644--- a/app/models/sharing_strategies/project_query_strategy.rb+++ b/app/models/sharing_strategies/project_query_strategy.rb@@ -109,7 +109,7 @@ module SharingStrategiesif EnterpriseToken.allows_to?(:project_list_sharing)superelse- Shares::ProjectQueries::UpsaleComponent.new(modal_content:)+ Shares::ProjectQueries::UpsellComponent.new(modal_content:)endenddiff --git a/app/models/sharing_strategies/work_package_strategy.rb b/app/models/sharing_strategies/work_package_strategy.rbindex 556767dc08a..d51c3be999f 100644--- a/app/models/sharing_strategies/work_package_strategy.rb+++ b/app/models/sharing_strategies/work_package_strategy.rb@@ -103,7 +103,7 @@ module SharingStrategiesif EnterpriseToken.allows_to?(:work_package_sharing)superelse- Shares::WorkPackages::ModalUpsaleComponent.new+ Shares::WorkPackages::ModalUpsellComponent.newendenddiff --git a/app/views/custom_actions/upsale.html.erb b/app/views/custom_actions/upsell.html.erbsimilarity index 91%rename from app/views/custom_actions/upsale.html.erbrename to app/views/custom_actions/upsell.html.erbindex dd1c45083f9..8ca4dcf460d 100644--- a/app/views/custom_actions/upsale.html.erb+++ b/app/views/custom_actions/upsell.html.erb@@ -27,10 +27,10 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% html_title t(:label_administration), t("ee.upsale.custom_actions.title") %>+<% html_title t(:label_administration), t("ee.upsell.custom_actions.title") %><%=- render EnterpriseEdition::UpsalePageComponent.new(+ render EnterpriseEdition::UpsellPageComponent.new(:custom_actions,video: "enterprise/custom-actions.mp4")diff --git a/app/views/custom_styles/upsale.html.erb b/app/views/custom_styles/upsell.html.erbsimilarity index 95%rename from app/views/custom_styles/upsale.html.erbrename to app/views/custom_styles/upsell.html.erbindex c96fa5e4ae6..1a52da276ec 100644--- a/app/views/custom_styles/upsale.html.erb+++ b/app/views/custom_styles/upsell.html.erb@@ -29,7 +29,7 @@ See COPYRIGHT and LICENSE files for more details.<% html_title t(:label_administration), t(:label_custom_style) %>-<%= render EnterpriseEdition::UpsalePageComponent.new(+<%= render EnterpriseEdition::UpsellPageComponent.new(:define_custom_style,video: "enterprise/custom-design.mp4") %>diff --git a/app/views/enterprises/_current.html.erb b/app/views/enterprises/_current.html.erbindex f74a415fedc..2bf626dc0c1 100644--- a/app/views/enterprises/_current.html.erb+++ b/app/views/enterprises/_current.html.erb@@ -4,9 +4,9 @@data-company="<%= @current_token.try(:company) %>"data-domain="<%= @current_token.try(:domain) %>"data-plan="<%= enterprise_token_plan_name(@current_token) %>"- data-user-count="<%= @current_token.restrictions.nil? ? t("js.admin.enterprise.upsale.unlimited") : @current_token.restrictions[:active_user_count] %>"+ data-user-count="<%= @current_token.restrictions.nil? ? t("js.admin.enterprise.upsell.unlimited") : @current_token.restrictions[:active_user_count] %>"data-starts-at="<%= format_date @current_token.starts_at %>"- data-expires-at="<%= @current_token.will_expire? ? (format_date @current_token.expires_at) : t("js.admin.enterprise.upsale.unlimited") %>"+ data-expires-at="<%= @current_token.will_expire? ? (format_date @current_token.expires_at) : t("js.admin.enterprise.upsell.unlimited") %>"data-is-expired="<%= @current_token.expired?(reprieve: false) %>"data-additional-features="<%= enterprise_plan_additional_features(@current_token) %>"data-reprieve-days-left="<%= @current_token.reprieve_days_left %>">diff --git a/app/views/enterprises/_info.html.erb b/app/views/enterprises/_info.html.erbindex 28e409b7e46..563d795a5fd 100644--- a/app/views/enterprises/_info.html.erb+++ b/app/views/enterprises/_info.html.erb@@ -31,12 +31,12 @@ See COPYRIGHT and LICENSE files for more details."data-cb-site": OpenProject::Configuration.enterprise_chargebee_site %><% end %>-<div class="upsale--information-container">- <div class='upsale-information'>+<div class="upsell--information-container">+ <div class='upsell-information'><opce-enterprise-base></opce-enterprise-base></div>- <div class='upsale-actions'>+ <div class='upsell-actions'><a href="#"class="button -highlight-inverted"data-cb-type="checkout"@@ -44,7 +44,7 @@ See COPYRIGHT and LICENSE files for more details.<%= t("admin.enterprise.book_now") %></a>- <% quote_link = OpenProject::Static::Links.links.fetch :upsale_get_quote %>+ <% quote_link = OpenProject::Static::Links.links.fetch :upsell_get_quote %><%= link_to t(quote_link[:label]),quote_link[:href],target: "_blank",@@ -54,21 +54,21 @@ See COPYRIGHT and LICENSE files for more details.<%= static_link_to :contact %></div>-<div class="info-boxes upsale-benefits">- <h3 class="info-boxes--title -no-border"><%= t("js.admin.enterprise.upsale.benefits.description") %></h3>+<div class="info-boxes upsell-benefits">+ <h3 class="info-boxes--title -no-border"><%= t("js.admin.enterprise.upsell.benefits.description") %></h3><div class="info-boxes--container"><div class="info-boxes--item"><%= image_tag "installation_alerts.svg",class: "info-boxes--teaser-image",- title: t("js.admin.enterprise.upsale.benefits.installation"),- alt: t("js.admin.enterprise.upsale.benefits.installation") %>- <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsale.benefits.installation") %></h4>+ title: t("js.admin.enterprise.upsell.benefits.installation"),+ alt: t("js.admin.enterprise.upsell.benefits.installation") %>+ <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsell.benefits.installation") %></h4><div class="info-boxes--item-content">- <p><%= t("js.admin.enterprise.upsale.benefits.installation_text") %></p>+ <p><%= t("js.admin.enterprise.upsell.benefits.installation_text") %></p><ul class="widget-box--arrow-links"><li>- <%= static_link_to :upsale_benefits_installation %>+ <%= static_link_to :upsell_benefits_installation %></li></ul></div>@@ -76,14 +76,14 @@ See COPYRIGHT and LICENSE files for more details.<div class="info-boxes--item"><%= image_tag "professional_support.svg",class: "info-boxes--teaser-image",- title: t("js.admin.enterprise.upsale.benefits.professional_support"),- alt: t("js.admin.enterprise.upsale.benefits.professional_support") %>- <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsale.benefits.professional_support") %></h4>+ title: t("js.admin.enterprise.upsell.benefits.professional_support"),+ alt: t("js.admin.enterprise.upsell.benefits.professional_support") %>+ <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsell.benefits.professional_support") %></h4><div class="info-boxes--item-content">- <p><%= t("js.admin.enterprise.upsale.benefits.professional_support_text") %></p>+ <p><%= t("js.admin.enterprise.upsell.benefits.professional_support_text") %></p><ul class="widget-box--arrow-links"><li>- <%= static_link_to :upsale_benefits_support %>+ <%= static_link_to :upsell_benefits_support %></li></ul></div>@@ -91,14 +91,14 @@ See COPYRIGHT and LICENSE files for more details.<div class="info-boxes--item"><%= image_tag "enterprise-add-on.svg",class: "info-boxes--teaser-image",- title: t("js.admin.enterprise.upsale.benefits.premium_features"),- alt: t("js.admin.enterprise.upsale.benefits.premium_features") %>- <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsale.benefits.premium_features") %></h4>+ title: t("js.admin.enterprise.upsell.benefits.premium_features"),+ alt: t("js.admin.enterprise.upsell.benefits.premium_features") %>+ <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsell.benefits.premium_features") %></h4><div class="info-boxes--item-content">- <p><%= t("js.admin.enterprise.upsale.benefits.premium_features_text") %></p>+ <p><%= t("js.admin.enterprise.upsell.benefits.premium_features_text") %></p><ul class="widget-box--arrow-links"><li>- <%= static_link_to :upsale_benefits_features %>+ <%= static_link_to :upsell_benefits_features %></li></ul></div>@@ -106,14 +106,14 @@ See COPYRIGHT and LICENSE files for more details.<div class="info-boxes--item"><%= image_tag "security_alerts.svg",class: "info-boxes--teaser-image",- title: t("js.admin.enterprise.upsale.benefits.high_security"),- alt: t("js.admin.enterprise.upsale.benefits.high_security") %>- <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsale.benefits.high_security") %></h4>+ title: t("js.admin.enterprise.upsell.benefits.high_security"),+ alt: t("js.admin.enterprise.upsell.benefits.high_security") %>+ <h4 class="info-boxes--item-title"><%= t("js.admin.enterprise.upsell.benefits.high_security") %></h4><div class="info-boxes--item-content">- <p><%= t("js.admin.enterprise.upsale.benefits.high_security_text") %></p>+ <p><%= t("js.admin.enterprise.upsell.benefits.high_security_text") %></p><ul class="widget-box--arrow-links"><li>- <%= static_link_to :upsale_benefits_security %>+ <%= static_link_to :upsell_benefits_security %></li></ul></div>diff --git a/app/views/homescreen/blocks/_upsale.html.erb b/app/views/homescreen/blocks/_upsell.html.erbsimilarity index 55%rename from app/views/homescreen/blocks/_upsale.html.erbrename to app/views/homescreen/blocks/_upsell.html.erbindex 44f86f1fc67..89fbeef97b8 100644--- a/app/views/homescreen/blocks/_upsale.html.erb+++ b/app/views/homescreen/blocks/_upsell.html.erb@@ -1,27 +1,27 @@<div class="widget-box--description">- <%= image_tag "enterprise-add-on.svg", role: "presentation", class: "widget-box--blocks--upsale-image" %>- <div class="widget-box--blocks--upsale-text">- <div class="widget-box--blocks--upsale-title">+ <%= image_tag "enterprise-add-on.svg", role: "presentation", class: "widget-box--blocks--upsell-image" %>+ <div class="widget-box--blocks--upsell-text">+ <div class="widget-box--blocks--upsell-title"><%= spot_icon("enterprise-addons") %>- <span><%= t("homescreen.blocks.upsale.title") %></span>+ <span><%= t("homescreen.blocks.upsell.title") %></span></div>- <p class="widget-box--blocks--upsale-description">- <%= t("js.admin.enterprise.upsale.text") %>+ <p class="widget-box--blocks--upsell-description">+ <%= t("js.admin.enterprise.upsell.text") %></p><p>- <b><%= t("js.admin.enterprise.upsale.become_hero") %></b> <%= t("js.admin.enterprise.upsale.you_contribute") %>+ <b><%= t("js.admin.enterprise.upsell.become_hero") %></b> <%= t("js.admin.enterprise.upsell.you_contribute") %></p><p>- <b><%= t("js.admin.enterprise.upsale.confidence") %></b>+ <b><%= t("js.admin.enterprise.upsell.confidence") %></b></p></div></div>-<div class="widget-box--blocks--upsale-buttons">- <%= link_to "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=home-screen",- class: "button--link widget-box--blocks--upsale-info-button",+<div class="widget-box--blocks--upsell-buttons">+ <%= link_to "#{OpenProject::Static::Links.links[:upsell][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=home-screen",+ class: "button--link widget-box--blocks--upsell-info-button",target: "_blank",rel: "noopener" do %><%= spot_icon("external-link") %>@@ -40,6 +40,6 @@<% end %><% if current_user.admin? %>- <%= link_to t("js.admin.enterprise.upsale.button_start_trial"), enterprise_path, class: "button -primary" %>+ <%= link_to t("js.admin.enterprise.upsell.button_start_trial"), enterprise_path, class: "button -primary" %><% end %></div>diff --git a/app/views/notifications/date_alerts.html.erb b/app/views/notifications/date_alerts.html.erbindex a608afa64c2..cffa0b85e96 100644--- a/app/views/notifications/date_alerts.html.erb+++ b/app/views/notifications/date_alerts.html.erb@@ -1,6 +1,6 @@<% html_title t("js.notifications.title") %>-<%= render EnterpriseEdition::UpsalePageComponent.new(+<%= render EnterpriseEdition::UpsellPageComponent.new(:date_alerts,video: "enterprise/date-alert-notifications.mp4") %>diff --git a/app/views/notifications/share_upsale.html.erb b/app/views/notifications/share_upsell.html.erbsimilarity index 68%rename from app/views/notifications/share_upsale.html.erbrename to app/views/notifications/share_upsell.html.erbindex 6bd4c849dbc..f0f0e53abcf 100644--- a/app/views/notifications/share_upsale.html.erb+++ b/app/views/notifications/share_upsell.html.erb@@ -1,6 +1,6 @@<% html_title t("js.notifications.title") %>-<%= render EnterpriseEdition::UpsalePageComponent.new(+<%= render EnterpriseEdition::UpsellPageComponent.new(:work_package_sharing,video: "enterprise/share-work-package.mp4") %>diff --git a/app/views/placeholder_users/index.html.erb b/app/views/placeholder_users/index.html.erbindex 228f9481e81..66faca63f07 100644--- a/app/views/placeholder_users/index.html.erb+++ b/app/views/placeholder_users/index.html.erb@@ -62,6 +62,6 @@ See COPYRIGHT and LICENSE files for more details.<%= render PlaceholderUsers::TableComponent.new(rows: @placeholder_users) %><% else %>- <%= render EnterpriseEdition::UpsalePageComponent.new(:placeholder_users,+ <%= render EnterpriseEdition::UpsellPageComponent.new(:placeholder_users,video: "enterprise/placeholder_users.mp4") %><% end %>diff --git a/app/views/projects/settings/modules/_form.html.erb b/app/views/projects/settings/modules/_form.html.erbindex 8c0bc3a5294..270980bcd26 100644--- a/app/views/projects/settings/modules/_form.html.erb+++ b/app/views/projects/settings/modules/_form.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details."enterprise-addons",inline: true,size: "1_25",- classnames: "upsale-colored"+ classnames: "upsell-colored") %><% end %></label>diff --git a/app/views/projects/settings/work_packages/activities/show.html.erb b/app/views/projects/settings/work_packages/activities/show.html.erbindex 1dca8163665..2f664259b0d 100644--- a/app/views/projects/settings/work_packages/activities/show.html.erb+++ b/app/views/projects/settings/work_packages/activities/show.html.erb@@ -40,5 +40,5 @@ See COPYRIGHT and LICENSE files for more details.<%= render(Projects::Settings::WorkPackages::Activities::Form.new(f)) %><% end %><% else %>- <%= render(EnterpriseEdition::UpsalePageComponent.new(:internal_comments)) %>+ <%= render(EnterpriseEdition::UpsellPageComponent.new(:internal_comments)) %><% end %>diff --git a/app/views/work_packages/share_upsale.html.erb b/app/views/work_packages/share_upsell.html.erbsimilarity index 69%rename from app/views/work_packages/share_upsale.html.erbrename to app/views/work_packages/share_upsell.html.erbindex 87ea2e642b0..30e9557e1cf 100644--- a/app/views/work_packages/share_upsale.html.erb+++ b/app/views/work_packages/share_upsell.html.erb@@ -1,6 +1,6 @@<% html_title t(:label_work_package_plural) %>-<%= render EnterpriseEdition::UpsalePageComponent.new(+<%= render EnterpriseEdition::UpsellPageComponent.new(:work_package_sharing,video: "enterprise/share-work-package.mp4") %>diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.ymlindex 61d0f5b8625..1cc3a7f28dd 100644--- a/config/i18n-tasks.yml+++ b/config/i18n-tasks.yml@@ -152,7 +152,7 @@ ignore_unused:- 'permission_*'- '{devise,kaminari,will_paginate}.*'- '*.permission_header_explanation'- - 'storages.upsale.*'+ - 'storages.upsell.*'- 'services.*'- 'storages.health.connection_validation.{one_drive,nextcloud}.*'diff --git a/config/initializers/homescreen.rb b/config/initializers/homescreen.rbindex 225c89de2de..203c4c23b75 100644--- a/config/initializers/homescreen.rb+++ b/config/initializers/homescreen.rb@@ -63,7 +63,7 @@ OpenProject::Static::Homescreen.manage :blocks do |blocks|if: Proc.new { User.current.admin? }},{- partial: "upsale",+ partial: "upsell",if: Proc.new { !EnterpriseToken.hide_banners? }})diff --git a/config/initializers/permissions.rb b/config/initializers/permissions.rbindex d17ad838f6d..72b12f9a1a9 100644--- a/config/initializers/permissions.rb+++ b/config/initializers/permissions.rb@@ -215,7 +215,7 @@ Rails.application.reloader.to_prepare domap.permission :edit_attribute_help_texts,{admin: %i[index],- attribute_help_texts: %i[index new edit upsale create update destroy]+ attribute_help_texts: %i[index new edit upsell create update destroy]},permissible_on: :global,require: :loggedin,@@ -245,7 +245,7 @@ Rails.application.reloader.to_prepare do{versions: %i[index show status_by],journals: %i[index],- work_packages: %i[show index show_conflict_flash_message share_upsale],+ work_packages: %i[show index show_conflict_flash_message share_upsell],work_packages_api: [:get],"work_packages/reports": %i[report report_details],"work_packages/activities_tab": %i[index update_streams update_sorting update_filter],diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 01d5a8ac8e6..793f285fe80 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2069,11 +2069,11 @@ en:work_package_query_relation_columns: Work Package Query Relation Columnswork_package_sharing: Share work packages with external userswork_package_subject_generation: Work Package Subject Generation- upsale:+ upsell:title: "Enterprise add-on"plan_title: "Enterprise %{plan} add-on"plan_name: "%{plan} enterprise plan"- plan_text_html: "Available only through the %{plan_name}."+ plan_text_html: "Available starting with the %{plan_name}."hide_banner: "Hide this banner"baseline_comparison:description: Highlight changes made to this list since any point in the past.@@ -2351,7 +2351,7 @@ en:users: "Newest registered users in this instance."blocks:community: "OpenProject community"- upsale:+ upsell:title: "Upgrade to Enterprise edition"links:upgrade_enterprise_edition: "Upgrade to Enterprise edition"@@ -4471,7 +4471,7 @@ en:view_description: "Can view this project list."edit: "Edit"edit_description: "Can view, share and edit this project list."- upsale:+ upsell:message: "Sharing project lists with individual users is an enterprise add-on."working_days:info: >diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex e15d90e4383..d888477bd91 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -263,7 +263,7 @@ en:status_waiting: "email sent - waiting for confirmation"test_ee: "Test the Enterprise edition 14 days for free"quick_overview: "Get a quick overview of project management and team collaboration with OpenProject Enterprise edition."- upsale:+ upsell:become_hero: "Become a hero!"enterprise_info_html: "%{feature_title} is an Enterprise <span class='spot-icon spot-icon_inline spot-icon_enterprise-addons'></span> add-on."upgrade_info: "Please upgrade to a paid plan to activate and start using it in your team."@@ -945,7 +945,7 @@ en:tl_toolbar:zooms: "Zoom level"outlines: "Hierarchy level"- upsale:+ upsell:ee_only: "Enterprise edition add-on"wiki_formatting:strong: "Strong"diff --git a/config/routes.rb b/config/routes.rbindex 2b5de4c5e9d..04361df4868 100644--- a/config/routes.rb+++ b/config/routes.rb@@ -482,7 +482,7 @@ Rails.application.routes.draw dodelete "design/export_cover" => "custom_styles#export_cover_delete", as: "custom_style_export_cover_delete"delete "design/favicon" => "custom_styles#favicon_delete", as: "custom_style_favicon_delete"delete "design/touch_icon" => "custom_styles#touch_icon_delete", as: "custom_style_touch_icon_delete"- get "design/upsale" => "custom_styles#upsale", as: "custom_style_upsale"+ get "design/upsell" => "custom_styles#upsell", as: "custom_style_upsell"post "design/colors" => "custom_styles#update_colors", as: "update_design_colors"post "design/themes" => "custom_styles#update_themes", as: "update_design_themes"post "design/export_cover_text_color" => "custom_styles#update_export_cover_text_color",@@ -710,7 +710,7 @@ Rails.application.routes.draw doget "/new" => "work_packages#index", on: :collection, as: "new", state: "new"# We do not want to match the work package export routesget "(/*state)" => "work_packages#show", on: :member, as: "", constraints: { id: /\d+/, state: /(?!(shares|split_view)).+/ }- get "/share_upsale" => "work_packages#share_upsale", on: :collection, as: "share_upsale"+ get "/share_upsell" => "work_packages#share_upsell", on: :collection, as: "share_upsell"get "/edit" => "work_packages#show", on: :member, as: "edit"end@@ -868,8 +868,8 @@ Rails.application.routes.draw doendscope :notifications do- get "/share_upsale" => "notifications#share_upsale", as: "notifications_share_upsale"- get "/date_alerts" => "notifications#date_alerts", as: "notifications_date_alert_upsale"+ get "/share_upsell" => "notifications#share_upsell", as: "notifications_share_upsell"+ get "/date_alerts" => "notifications#date_alerts", as: "notifications_date_alert_upsell"get "/", to: "notifications#index", as: :notifications_centerenddiff --git a/config/static_links.yml b/config/static_links.ymlindex 47b722d38f1..5d696f9be64 100644--- a/config/static_links.yml+++ b/config/static_links.yml@@ -1,19 +1,19 @@-upsale:+upsell:href: https://www.openproject.org/enterprise-editionlabel: homescreen.links.upgrade_enterprise_edition-upsale_benefits_features:+upsell_benefits_features:href: https://www.openproject.org/enterprise-edition/#premium-featureslabel: noscript_learn_more-upsale_benefits_installation:+upsell_benefits_installation:href: https://www.openproject.org/enterprise-edition/#installationlabel: noscript_learn_more-upsale_benefits_security:+upsell_benefits_security:href: https://www.openproject.org/enterprise-edition/#security-featureslabel: noscript_learn_more-upsale_benefits_support:+upsell_benefits_support:href: https://www.openproject.org/enterprise-edition/#professional-supportlabel: noscript_learn_more-upsale_get_quote:+upsell_get_quote:href: https://www.openproject.org/request-quote/label: admin.enterprise.get_quoteuser_guides:diff --git a/docs/release-notes/10/10-0-0/README.md b/docs/release-notes/10/10-0-0/README.mdindex 640a55573e8..3b9cc302a6c 100644--- a/docs/release-notes/10/10-0-0/README.md+++ b/docs/release-notes/10/10-0-0/README.md@@ -185,7 +185,7 @@ OpenProject 10 significantly improves the performance, especially for the work p- Fixed: Overview page: click on link opens edit mode, instead of following the link [[#30948](https://community.openproject.org/wp/30948)]- Fixed: Custom Action. Exception on OP Edge. "undefined method `iso8601' for "%CURRENT_DATE%":String" [[#30949](https://community.openproject.org/wp/30949)]- Fixed: Wrong formatting of scroll bars on overview page in Windows [[#30951](https://community.openproject.org/wp/30951)]-- Fixed: Boards. EE upsale. Translation missing. [[#30954](https://community.openproject.org/wp/30954)]+- Fixed: Boards. EE upsell. Translation missing. [[#30954](https://community.openproject.org/wp/30954)]- Fixed: Drag and drop in embedded tables does not work (or should be deactivated for now) [[#30967](https://community.openproject.org/wp/30967)]- Fixed: Picture slider in for BCF issues even if there is only one picture [[#30969](https://community.openproject.org/wp/30969)]- Fixed: Members: Error message overlapping form but not X-icon to remove it [[#30971](https://community.openproject.org/wp/30971)]diff --git a/docs/release-notes/12/12-1-0/README.md b/docs/release-notes/12/12-1-0/README.mdindex f573703f4f0..40dfbf292be 100644--- a/docs/release-notes/12/12-1-0/README.md+++ b/docs/release-notes/12/12-1-0/README.md@@ -95,7 +95,7 @@ We added a new “Files” tab in the work package details. This way, you will h- Changed: Updated placement and design of the create button in the sidebar \[[#40958](https://community.openproject.org/wp/40958)\]- Changed: Replace work strips on the team planner calendar with full cards \[[#40962](https://community.openproject.org/wp/40962)\]- Changed: Change scrolling behavior of team planner \[[#40981](https://community.openproject.org/wp/40981)\]-- Changed: Show "Start trial" button in EE upsale templates \[[#40990](https://community.openproject.org/wp/40990)\]+- Changed: Show "Start trial" button in EE upsell templates \[[#40990](https://community.openproject.org/wp/40990)\]- Changed: Add team planner to onboarding tour \[[#41050](https://community.openproject.org/wp/41050)\]- Changed: Empty team planner view needs some more love \[[#41073](https://community.openproject.org/wp/41073)\]- Changed: The date indicators must update when dragging a card in the planner horizontally \[[#41075](https://community.openproject.org/wp/41075)\]diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.ts b/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.tsindex 9aa35c27722..647d3b93247 100644--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.ts+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.ts@@ -63,8 +63,8 @@ export class BoardPartitionedPageComponent extends UntilDestroyedMixin {unnamedBoard: this.I18n.t('js.boards.label_unnamed_board'),loadingError: 'No such board found',addList: this.I18n.t('js.boards.add_list'),- upsaleBoards: this.I18n.t('js.boards.upsale.teaser_text'),- upsaleCheckOutLink: this.I18n.t('js.work_packages.table_configuration.upsale.check_out_link'),+ upsellBoards: this.I18n.t('js.boards.upsell.teaser_text'),+ upsellCheckOutLink: this.I18n.t('js.work_packages.table_configuration.upsell.check_out_link'),unnamed_list: this.I18n.t('js.boards.label_unnamed_list'),};diff --git a/frontend/src/app/features/enterprise/enterprise-base.component.ts b/frontend/src/app/features/enterprise/enterprise-base.component.tsindex 1e0bb492621..c1e924d7289 100644--- a/frontend/src/app/features/enterprise/enterprise-base.component.ts+++ b/frontend/src/app/features/enterprise/enterprise-base.component.ts@@ -41,14 +41,14 @@ import { EnterpriseTrialService } from 'core-app/features/enterprise/enterprise-})export class EnterpriseBaseComponent {public text = {- button_trial: this.I18n.t('js.admin.enterprise.upsale.button_start_trial'),- button_book: this.I18n.t('js.admin.enterprise.upsale.button_book_now'),- link_quote: this.I18n.t('js.admin.enterprise.upsale.link_quote'),- become_hero: this.I18n.t('js.admin.enterprise.upsale.become_hero'),- you_contribute: this.I18n.t('js.admin.enterprise.upsale.you_contribute'),+ button_trial: this.I18n.t('js.admin.enterprise.upsell.button_start_trial'),+ button_book: this.I18n.t('js.admin.enterprise.upsell.button_book_now'),+ link_quote: this.I18n.t('js.admin.enterprise.upsell.link_quote'),+ become_hero: this.I18n.t('js.admin.enterprise.upsell.become_hero'),+ you_contribute: this.I18n.t('js.admin.enterprise.upsell.you_contribute'),email_not_received: this.I18n.t('js.admin.enterprise.trial.email_not_received'),- enterprise_edition: this.I18n.t('js.admin.enterprise.upsale.text'),- confidence: this.I18n.t('js.admin.enterprise.upsale.confidence'),+ enterprise_edition: this.I18n.t('js.admin.enterprise.upsell.text'),+ confidence: this.I18n.t('js.admin.enterprise.upsell.confidence'),try_another_email: this.I18n.t('js.admin.enterprise.trial.try_another_email'),};diff --git a/frontend/src/app/features/enterprise/free-trial-button/free-trial-button.component.ts b/frontend/src/app/features/enterprise/free-trial-button/free-trial-button.component.tsindex 0b3f0e1ce80..63c359cae07 100644--- a/frontend/src/app/features/enterprise/free-trial-button/free-trial-button.component.ts+++ b/frontend/src/app/features/enterprise/free-trial-button/free-trial-button.component.ts@@ -53,7 +53,7 @@ export class FreeTrialButtonComponent implements OnInit {email = '';public text = {- button_trial: this.I18n.t('js.admin.enterprise.upsale.button_start_trial'),+ button_trial: this.I18n.t('js.admin.enterprise.upsell.button_start_trial'),confirmation_info: (date:string, email:string):string => this.I18n.t('js.admin.enterprise.trial.confirmation_info', {date,email,diff --git a/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.ts b/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.tsindex d85406137c4..e4a1079ab94 100644--- a/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.ts+++ b/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.ts@@ -81,8 +81,8 @@ export class QueryFilterComponent implements OnInit {open_filter: this.I18n.t('js.filter.description.text_open_filter'),close_filter: this.I18n.t('js.filter.description.text_close_filter'),label_filter_add: this.I18n.t('js.work_packages.label_filter_add'),- upsale_for_more: this.I18n.t('js.filter.upsale_for_more'),- upsale_link: this.I18n.t('js.filter.upsale_link'),+ upsell_for_more: this.I18n.t('js.filter.upsell_for_more'),+ upsell_link: this.I18n.t('js.filter.upsell_link'),button_delete: this.I18n.t('js.button_delete'),incompatible_filter: this.I18n.t('js.work_packages.filters.baseline_incompatible'),};diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.htmlindex 5ea4ab69786..d16e82fe04e 100644--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html@@ -17,7 +17,7 @@<svg*ngIf="showEnterpriseIcon"op-enterprise-addons-icon- class="button--icon upsale-colored"+ class="button--icon upsell-colored"size="small"></svg>diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.ts b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.tsindex 59495ab5432..1a01caaa1a4 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.ts@@ -27,8 +27,8 @@ export class WpTableConfigurationFiltersTabComponent implements TabComponent, OnselectedColumns: this.I18n.t('js.description_selected_columns'),multiSelectLabel: this.I18n.t('js.work_packages.label_column_multiselect'),- upsaleRelationColumns: this.I18n.t('js.modals.upsale_relation_columns'),- upsaleRelationColumnsLink: this.I18n.t('js.modals.upsale_relation_columns_link'),+ upsellRelationColumns: this.I18n.t('js.modals.upsell_relation_columns'),+ upsellRelationColumnsLink: this.I18n.t('js.modals.upsell_relation_columns_link'),};constructor(diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.ts b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.tsindex 79ffd7870ac..e352e95cd69 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.ts@@ -52,8 +52,8 @@ export class WpTableConfigurationHighlightingTabComponent implements TabComponenpriority: this.I18n.t('js.work_packages.table_configuration.highlighting_mode.priority'),entire_row_by: this.I18n.t('js.work_packages.table_configuration.highlighting_mode.entire_row_by'),},- upsaleAttributeHighlighting: this.I18n.t('js.work_packages.table_configuration.upsale.attribute_highlighting'),- upsaleCheckOutLink: this.I18n.t('js.work_packages.table_configuration.upsale.check_out_link'),+ upsellAttributeHighlighting: this.I18n.t('js.work_packages.table_configuration.upsell.attribute_highlighting'),+ upsellCheckOutLink: this.I18n.t('js.work_packages.table_configuration.upsell.check_out_link'),more_info_link: enterpriseDocsUrl.tableHighlighting,};diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.ts b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.tsindex 21ff1abc755..8ee9c931e96 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.ts@@ -52,8 +52,8 @@ export class WpTableConfigurationModalComponent extends OpModalComponent implemeapplyButton: this.I18n.t('js.modals.button_apply'),cancelButton: this.I18n.t('js.modals.button_cancel'),- upsaleRelationColumns: this.I18n.t('js.modals.upsale_relation_columns'),- upsaleRelationColumnsLink: this.I18n.t('js.modals.upsale_relation_columns_link'),+ upsellRelationColumns: this.I18n.t('js.modals.upsell_relation_columns'),+ upsellRelationColumnsLink: this.I18n.t('js.modals.upsell_relation_columns_link'),};public onDataUpdated = new EventEmitter<void>();diff --git a/frontend/src/global_styles/content/_enterprise.sass b/frontend/src/global_styles/content/_enterprise.sassindex a563a1b8a46..635bf94b9aa 100644--- a/frontend/src/global_styles/content/_enterprise.sass+++ b/frontend/src/global_styles/content/_enterprise.sass@@ -1,4 +1,4 @@-.upsale-actions+.upsell-actionsdisplay: flexflex-wrap: wrapalign-items: baseline@@ -6,14 +6,14 @@.openproject--static-linkmargin-left: 1rem-.upsale--information-container+.upsell--information-containermargin-bottom: 40px.token-form textareafont-family: "Lucida Console", Monaco, monospacemax-width: 560px-.widget-box--blocks--upsale-buttons+.widget-box--blocks--upsell-buttonsdisplay: flexjustify-content: flex-end@@ -22,32 +22,32 @@text-decoration: nonemargin: 0.625rem 0.625rem 0 0-.widget-box--blocks--upsale-info-button+.widget-box--blocks--upsell-info-buttondisplay: flexjustify-content: centeralign-items: center-.upsale-colored- color: var(--enterprise-upsale-color) !important+.upsell-colored+ color: var(--enterprise-upsell-color) !important-.upsale-colored-background- background: var(--enterprise-upsale-color) !important+.upsell-colored-background+ background: var(--enterprise-upsell-color) !importantcolor: white !important-.widget-box--blocks--upsale-title+.widget-box--blocks--upsell-titlefont-weight: 400font-size: 20pxmargin-top: 10pxdisplay: flex-.widget-box--blocks--upsale-text+.widget-box--blocks--upsell-textline-height: 24pxmargin-top: 10px-.widget-box--blocks--upsale-description+.widget-box--blocks--upsell-descriptionmargin: 10px 0 10px 0display: flex-.widget-box--blocks--upsale-image+.widget-box--blocks--upsell-imagewidth: 200pxmargin: autodiff --git a/frontend/src/global_styles/content/work_packages/_table_configuration_modal.sass b/frontend/src/global_styles/content/work_packages/_table_configuration_modal.sassindex e399affc208..4a71b3ae90f 100644--- a/frontend/src/global_styles/content/work_packages/_table_configuration_modal.sass+++ b/frontend/src/global_styles/content/work_packages/_table_configuration_modal.sass@@ -17,7 +17,7 @@.advanced-filters--add-filtermax-width: 100%- .ee-attribute-highlighting-upsale+ .ee-attribute-highlighting-upsellmargin-bottom: 1.5rem.tab-contentdiff --git a/frontend/src/global_styles/openproject/_homescreen.sass b/frontend/src/global_styles/openproject/_homescreen.sassindex 6ee93be7754..de762e730f1 100644--- a/frontend/src/global_styles/openproject/_homescreen.sass+++ b/frontend/src/global_styles/openproject/_homescreen.sass@@ -32,7 +32,7 @@.widget-boxbox-shadow: none- &.upsale+ &.upsellbackground: var(--bgColor-accent-muted)flex-basis: 100%border-color: var(--borderColor-accent-muted)diff --git a/frontend/src/global_styles/openproject/_variable_defaults.scss b/frontend/src/global_styles/openproject/_variable_defaults.scssindex 48c03b3114a..03863cb3503 100644--- a/frontend/src/global_styles/openproject/_variable_defaults.scss+++ b/frontend/src/global_styles/openproject/_variable_defaults.scss@@ -137,6 +137,6 @@--split-screen-width: 550px;--full-view-split-right-width: 550px;--gantt-split-width: 50%;- --enterprise-upsale-color: #FB8F44;- --enterprise-upsale-border-color: var(--borderColor-severe-muted);+ --enterprise-upsell-color: #FB8F44;+ --enterprise-upsell-border-color: var(--borderColor-severe-muted);}diff --git a/lib/redmine/menu_manager/menu_helper.rb b/lib/redmine/menu_manager/menu_helper.rbindex 5d600d4ad57..3ae37bc2cb4 100644--- a/lib/redmine/menu_manager/menu_helper.rb+++ b/lib/redmine/menu_manager/menu_helper.rb@@ -246,7 +246,7 @@ module Redmine::MenuManager::MenuHelpertitle_text = "".html_safe + content_tag(:span, caption, class: "ellipsis") + badge_for(item)if item.enterprise_feature.present? && !EnterpriseToken.allows_to?(item.enterprise_feature)title_text += ("".html_safe + render(Primer::Beta::Octicon.new(icon: "op-enterprise-addons",- classes: "upsale-colored",+ classes: "upsell-colored",ml: 2)))endtitle_textdiff --git a/lib/redmine/menu_manager/top_menu/help_menu.rb b/lib/redmine/menu_manager/top_menu/help_menu.rbindex fdf8e118319..fa96472d25e 100644--- a/lib/redmine/menu_manager/top_menu/help_menu.rb+++ b/lib/redmine/menu_manager/top_menu/help_menu.rb@@ -91,8 +91,8 @@ module Redmine::MenuManager::TopMenu::HelpMenutitle: I18n.t("top_menu.help_and_support")endunless EnterpriseToken.hide_banners? && EnterpriseToken.active?- result << static_link_item(:upsale,- href_suffix: "/?utm_source=unknown&utm_medium=op-instance&utm_campaign=ee-upsale-help-menu")+ result << static_link_item(:upsell,+ href_suffix: "/?utm_source=unknown&utm_medium=op-instance&utm_campaign=ee-upsell-help-menu")endresult << static_link_item(:user_guides)result << content_tag(:li, class: "op-menu--item") dodiff --git a/lookbook/docs/components/enterprise.md.erb b/lookbook/docs/components/enterprise.md.erbindex 744b7d97ae6..f9d6ec3edf5 100644--- a/lookbook/docs/components/enterprise.md.erb+++ b/lookbook/docs/components/enterprise.md.erb@@ -1,4 +1,4 @@-OpenProject provides multiple ways to render upsale components. This document describes the different components and how to use them.+OpenProject provides multiple ways to render upsell components. This document describes the different components and how to use them.# Requirements@@ -13,8 +13,8 @@ To use the banners below, you need to add translations and links.**Translations**-You need to add translations for the feature and the upsale banner.-The feature translation is used in the feature list, the upsale translation is used in the upsale banner.+You need to add translations for the feature and the upsell banner.+The feature translation is used in the feature list, the upsell translation is used in the upsell banner.This is the default convention:@@ -25,7 +25,7 @@ en:feature:# ...your_feature_name: "Fancy EE feature!"- upsale:+ upsell:# ...your_feature_name:title: "Title of the banner"@@ -36,7 +36,7 @@ en:```You can optionally provide a `i18n_scope` parameter to the components below to customize the place to look-for the upsale translation keys.+for the upsell translation keys.**docs/static_links.yml**@@ -46,21 +46,21 @@ file under the `enterprise_features` section.If none is provided, the link will go to the enterprise landing page.-## Full-page upsale pages+## Full-page upsell pagesUse when: You have a feature video / image and a full page to fill```ruby-render EnterpriseEdition::UpsalePageComponent.new(+render EnterpriseEdition::UpsellPageComponent.new(:enterprise_feature,video: "enterprise/some-video.mp4",# or image: "enterprise/some-image.png")```-<%= embed OpenProject::EnterpriseEdition::UpsalePageComponentPreview, :default, panels: %i[] %>+<%= embed OpenProject::EnterpriseEdition::UpsellPageComponentPreview, :default, panels: %i[] %>-## Inline upsale banners+## Inline upsell bannersUse when: You want to show content below the banners, e.g. in administrative setting pages.@@ -70,7 +70,7 @@ render EnterpriseEdition::BannerComponent.new(:enterprise_feature)<%= embed OpenProject::EnterpriseEdition::BannerComponentPreview, :default, panels: %i[] %>-## Dismissible upsale banners+## Dismissible upsell bannersUse when: You want to show a feature to regular users, but allow them to hide it for good.diff --git a/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb b/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rbindex e808e85f13e..159fcf9c883 100644--- a/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb+++ b/lookbook/previews/open_project/enterprise_edition/banner_component_preview.rb@@ -38,7 +38,7 @@ module OpenProject# ee:# # Title used unless it is overwritten for the specific feature# title: "Enterprise add-on"- # upsale:+ # upsell:# [feature_key]:# # Title used for this feature only. If this is missing, the default feature key is used.# title: "A splendid feature"diff --git a/lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rb b/lookbook/previews/open_project/enterprise_edition/upsell_page_component_preview.rbsimilarity index 90%rename from lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rbrename to lookbook/previews/open_project/enterprise_edition/upsell_page_component_preview.rbindex fbcf4cf20fc..da3f0869987 100644--- a/lookbook/previews/open_project/enterprise_edition/upsale_page_component_preview.rb+++ b/lookbook/previews/open_project/enterprise_edition/upsell_page_component_preview.rb@@ -31,8 +31,8 @@module OpenProjectmodule EnterpriseEdition# @logical_path OpenProject/EnterpriseEdition- class UpsalePageComponentPreview < Lookbook::Preview- # Render a full-screen upsale page, with optional video or image features.+ class UpsellPageComponentPreview < Lookbook::Preview+ # Render a full-screen upsell page, with optional video or image features.# The easiest way to render the banner component is to provide a feature key and# have the assorted data structures match the expectations.# The text will be fetched from the i18n files:@@ -41,7 +41,7 @@ module OpenProject# ee:# # Title used unless it is overwritten for the specific feature# title: "Enterprise add-on"- # upsale:+ # upsell:# [feature_key]:# # Title used for this feature only. If this is missing, the default title is used.# title: "A splendid feature"@@ -61,12 +61,12 @@ module OpenProject# The href is inferred from `OpenProject::Static::Links.enterprise_features[feature_key][:href]`.# @display min_height 450pxdef default- render ::EnterpriseEdition::UpsalePageComponent.new(:customize_life_cycle)+ render ::EnterpriseEdition::UpsellPageComponent.new(:customize_life_cycle)enddef videorender(- ::EnterpriseEdition::UpsalePageComponent+ ::EnterpriseEdition::UpsellPageComponent.new(:date_alerts,video: "enterprise/date-alert-notifications.mp4"))@@ -74,7 +74,7 @@ module OpenProjectdef imagerender(- ::EnterpriseEdition::UpsalePageComponent+ ::EnterpriseEdition::UpsellPageComponent.new(:ldap_groups, image: "enterprise/ldap-groups.jpg"))enddiff --git a/modules/auth_saml/app/views/saml/providers/index.html.erb b/modules/auth_saml/app/views/saml/providers/index.html.erbindex da5a68c158f..30602bf0771 100644--- a/modules/auth_saml/app/views/saml/providers/index.html.erb+++ b/modules/auth_saml/app/views/saml/providers/index.html.erb@@ -24,5 +24,5 @@end %><% end %>-<%= render EnterpriseEdition::BannerComponent.new(:sso_auth_providers, i18n_scope: "saml.providers.upsale")%>+<%= render EnterpriseEdition::BannerComponent.new(:sso_auth_providers, i18n_scope: "saml.providers.upsell")%><%= render ::Saml::Providers::TableComponent.new(rows: @providers) %>diff --git a/modules/auth_saml/config/locales/en.yml b/modules/auth_saml/config/locales/en.ymlindex a0257e2f061..ce8b8eac5ca 100644--- a/modules/auth_saml/config/locales/en.yml+++ b/modules/auth_saml/config/locales/en.yml@@ -66,7 +66,7 @@ en:are used to provide user attributes in OpenProjectmetadata:dialog: "This is the URL where the OpenProject SAML metadata is available. Optionally use it to configure your identity provider:"- upsale:+ upsell:title: "Single Sign-On (SSO) with SAML"description: Connect OpenProject to a SAML identity providerrequest_attributes:diff --git a/modules/auth_saml/spec/features/administration/saml_crud_spec.rb b/modules/auth_saml/spec/features/administration/saml_crud_spec.rbindex 8abe6d62409..9601a4df708 100644--- a/modules/auth_saml/spec/features/administration/saml_crud_spec.rb+++ b/modules/auth_saml/spec/features/administration/saml_crud_spec.rb@@ -193,7 +193,7 @@ RSpec.describe "SAML administration CRUD",endcontext "without EE", without_ee: %i[sso_auth_providers] do- it "renders the upsale page" do+ it "renders the upsell page" dovisit "/admin/saml/providers"expect(page).to have_enterprise_banner(:professional)enddiff --git a/modules/boards/config/locales/en.yml b/modules/boards/config/locales/en.ymlindex 2412c528976..a3d7edd78c2 100644--- a/modules/boards/config/locales/en.yml+++ b/modules/boards/config/locales/en.yml@@ -9,7 +9,7 @@ en:project_module_board_view: "Boards"ee:- upsale:+ upsell:board_view:description: 'Would you like to automate your workflows with Boards? Advanced boards are an Enterprise add-on. Please upgrade to a paid plan.'boards:diff --git a/modules/boards/config/locales/js-en.yml b/modules/boards/config/locales/js-en.ymlindex 91960a988d4..f3ef362d3e0 100644--- a/modules/boards/config/locales/js-en.yml+++ b/modules/boards/config/locales/js-en.yml@@ -1,7 +1,7 @@# English strings go hereen:ee:- upsale:+ upsell:board_view:description: 'Would you like to automate your workflows with Boards? Advanced boards are an Enterprise add-on. Please upgrade to a paid plan.'js:diff --git a/modules/costs/config/locales/en.yml b/modules/costs/config/locales/en.ymlindex f27e8a5b660..993c3485837 100644--- a/modules/costs/config/locales/en.yml+++ b/modules/costs/config/locales/en.yml@@ -234,6 +234,6 @@ en:ee:features:time_entry_time_restrictions: Require exact time tracking- upsale:+ upsell:time_entry_time_restrictions:description: "Improve your time tracking by requiring exact start and finish times when logging time."diff --git a/modules/grids/config/locales/js-en.yml b/modules/grids/config/locales/js-en.ymlindex 2e4303c605a..8b804bb0ea5 100644--- a/modules/grids/config/locales/js-en.yml+++ b/modules/grids/config/locales/js-en.yml@@ -1,6 +1,6 @@en:ee:- upsale:+ upsell:grid_widget_wp_graph:description: "Some widgets, like the work package graph widget, are only available in the Enterprise edition."js:diff --git a/modules/grids/spec/support/pages/grid.rb b/modules/grids/spec/support/pages/grid.rbindex 6d36327ea60..3a611a92dc9 100644--- a/modules/grids/spec/support/pages/grid.rb+++ b/modules/grids/spec/support/pages/grid.rb@@ -57,7 +57,7 @@ module Pagesdef expect_add_widget_enterprise_edition_notice(row_number, column_number, location)within_add_widget_modal(row_number, column_number, location) doexpect(page).to have_content(I18n.t("js.grid.add_widget"))- expect(page).to have_text "Available only through the Basic enterprise plan"+ expect(page).to have_text "Available starting with the Basic enterprise plan"endenddiff --git a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rbindex 9d8849266fd..39807b7af78 100644--- a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb+++ b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb@@ -77,7 +77,7 @@ module LdapGroupsdef check_eeunless EnterpriseToken.allows_to?(:ldap_groups)- render template: "ldap_groups/synchronized_groups/upsale"+ render template: "ldap_groups/synchronized_groups/upsell"falseendenddiff --git a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rb b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rbindex abe35e34cee..481eb3efba9 100644--- a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rb+++ b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rb@@ -56,7 +56,7 @@ module LdapGroupsdef check_eeunless EnterpriseToken.allows_to?(:ldap_groups)- render template: "ldap_groups/synchronized_groups/upsale"+ render template: "ldap_groups/synchronized_groups/upsell"falseendenddiff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsell.html.erbsimilarity index 67%rename from modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erbrename to modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsell.html.erbindex 0858f361177..b33c817c721 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsell.html.erb@@ -1,3 +1,3 @@<% html_title(t(:label_administration), t("ldap_groups.synchronized_groups.plural")) -%>-<%= render EnterpriseEdition::UpsalePageComponent.new(:ldap_groups, image: "enterprise/ldap-groups.jpg") %>+<%= render EnterpriseEdition::UpsellPageComponent.new(:ldap_groups, image: "enterprise/ldap-groups.jpg") %>diff --git a/modules/ldap_groups/config/locales/en.yml b/modules/ldap_groups/config/locales/en.ymlindex 671b858795d..168e4714cad 100644--- a/modules/ldap_groups/config/locales/en.yml+++ b/modules/ldap_groups/config/locales/en.yml@@ -1,6 +1,6 @@en:ee:- upsale:+ upsell:ldap_groups:title: 'LDAP group synchronization'description: 'Synchronize LDAP groups with OpenProject groups to manage users, change their permissions and facilitate user management across groups.'@@ -82,5 +82,5 @@ en:Without it, only existing accounts in OpenProject will be added to groups.dn_text: 'Enter the full DN of the group in LDAP'group_text: 'Select an existing OpenProject group that members of the LDAP group shall be synchronized with'- upsale:+ upsell:description: 'Take advantage of synchronised LDAP groups to manage users, change their permissions and facilitate user management across groups.'diff --git a/modules/ldap_groups/spec/features/administration_spec.rb b/modules/ldap_groups/spec/features/administration_spec.rbindex dd684cc2d57..35a40a80a60 100644--- a/modules/ldap_groups/spec/features/administration_spec.rb+++ b/modules/ldap_groups/spec/features/administration_spec.rb@@ -9,9 +9,9 @@ RSpec.describe "LDAP group sync administration spec", :js doendcontext "without EE" do- it "shows upsale" do- expect(page).to have_enterprise_upsale_page- expect(page).to have_text "Available only through the Premium enterprise plan"+ it "shows upsell" do+ expect(page).to have_enterprise_upsell_page+ expect(page).to have_text "Available starting with the Premium enterprise plan"endend@@ -20,7 +20,7 @@ RSpec.describe "LDAP group sync administration spec", :js dolet!(:auth_source) { create(:ldap_auth_source, name: "ldap") }it "allows synced group administration flow" do- expect(page).not_to have_enterprise_upsale_page+ expect(page).not_to have_enterprise_upsell_page# Open create menupage.find_test_selector("op-admin-synchronized-groups--button-new", text: I18n.t(:button_add)).click# Create groupdiff --git a/modules/openid_connect/app/views/openid_connect/providers/index.html.erb b/modules/openid_connect/app/views/openid_connect/providers/index.html.erbindex 33ae7abd753..dcb13d7d67d 100644--- a/modules/openid_connect/app/views/openid_connect/providers/index.html.erb+++ b/modules/openid_connect/app/views/openid_connect/providers/index.html.erb@@ -40,5 +40,5 @@end%>-<%= render EnterpriseEdition::BannerComponent.new(:sso_auth_providers, i18n_scope: "openid_connect.providers.upsale") %>+<%= render EnterpriseEdition::BannerComponent.new(:sso_auth_providers, i18n_scope: "openid_connect.providers.upsell") %><%= render ::OpenIDConnect::Providers::TableComponent.new(rows: @providers) %>diff --git a/modules/openid_connect/config/locales/en.yml b/modules/openid_connect/config/locales/en.ymlindex d4869fc40cf..7087d6a2eb0 100644--- a/modules/openid_connect/config/locales/en.yml+++ b/modules/openid_connect/config/locales/en.yml@@ -96,7 +96,7 @@ en:name: Microsoft Entracustom:name: Custom- upsale:+ upsell:title: "Single Sign-On (SSO) with OpenID connect"description: Connect OpenProject to an OpenID connect identity providerlabel_add_new: Add a new OpenID providerdiff --git a/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb b/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rbindex 60a993f3aff..7b50d22e60d 100644--- a/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb+++ b/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb@@ -173,7 +173,7 @@ RSpec.describe "OIDC administration CRUD",endcontext "without EE", without_ee: %i[sso_auth_providers] do- it "renders the upsale page" do+ it "renders the upsell page" dovisit "/admin/openid_connect/providers"expect(page).to have_enterprise_banner(:premium)enddiff --git a/modules/storages/app/controllers/storages/admin/storages_controller.rb b/modules/storages/app/controllers/storages/admin/storages_controller.rbindex 95c87db6bb3..ffeedfd870c 100644--- a/modules/storages/app/controllers/storages/admin/storages_controller.rb+++ b/modules/storages/app/controllers/storages/admin/storages_controller.rb@@ -79,7 +79,7 @@ class Storages::Admin::StoragesController < ApplicationController@target_step = @wizard.prepare_next_stepend- def upsale; end+ def upsell; enddef createservice_result = Storages::Storages::CreateService@@ -268,7 +268,7 @@ class Storages::Admin::StoragesController < ApplicationControllerdef require_ee_token_for_one_driveif ::Storages::Storage::one_drive_without_ee_token?(@provider_type)- redirect_to action: :upsale+ redirect_to action: :upsellendenddiff --git a/modules/storages/app/views/storages/admin/storages/index.html.erb b/modules/storages/app/views/storages/admin/storages/index.html.erbindex f982951ec69..5b5f4c436ec 100644--- a/modules/storages/app/views/storages/admin/storages/index.html.erb+++ b/modules/storages/app/views/storages/admin/storages/index.html.erb@@ -36,7 +36,7 @@ end %>) do |item|item.with_trailing_visual_icon(icon: "op-enterprise-addons",- classes: "upsale-colored"+ classes: "upsell-colored") if ::Storages::Storage::one_drive_without_ee_token?(provider_type)endenddiff --git a/modules/storages/app/views/storages/admin/storages/upsale.html.erb b/modules/storages/app/views/storages/admin/storages/upsell.html.erbsimilarity index 58%rename from modules/storages/app/views/storages/admin/storages/upsale.html.erbrename to modules/storages/app/views/storages/admin/storages/upsell.html.erbindex aae18ca0597..ccc2dd19e9d 100644--- a/modules/storages/app/views/storages/admin/storages/upsale.html.erb+++ b/modules/storages/app/views/storages/admin/storages/upsell.html.erb@@ -1,5 +1,5 @@-<% html_title(t(:label_administration), t("storages.upsale.title")) -%>+<% html_title(t(:label_administration), t("storages.upsell.title")) -%>-<%= render EnterpriseEdition::UpsalePageComponent.new(:one_drive_sharepoint_file_storage,+<%= render EnterpriseEdition::UpsellPageComponent.new(:one_drive_sharepoint_file_storage,video: "enterprise/one_drive_sharepoint_integration.mp4",- i18n_scope: "storages.upsale") %>+ i18n_scope: "storages.upsell") %>diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex 5a2bd35935a..9d6f0ef221b 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -484,7 +484,7 @@ en:description: Add a storage to see them here.heading: You don't have any storages yet.successful_storage_connection: Storage connected successfully! Remember to activate the storage in the Projects tab for each desired project to use it.- upsale:+ upsell:description: |-Integrate your OneDrive/SharePoint as a file storage with OpenProject. Upload files and link them directly towork packages in a project.diff --git a/modules/storages/config/routes.rb b/modules/storages/config/routes.rbindex 3507d9aca8d..5ef6c8b912f 100644--- a/modules/storages/config/routes.rb+++ b/modules/storages/config/routes.rb@@ -66,7 +66,7 @@ Rails.application.routes.draw dodelete :replace_oauth_applicationend- get :upsale, on: :collection+ get :upsell, on: :collectionendendenddiff --git a/modules/storages/spec/features/storages/admin/create_storage_spec.rb b/modules/storages/spec/features/storages/admin/create_storage_spec.rbindex c966d658a18..4109c66098e 100644--- a/modules/storages/spec/features/storages/admin/create_storage_spec.rb+++ b/modules/storages/spec/features/storages/admin/create_storage_spec.rb@@ -266,7 +266,7 @@ RSpec.describe "Admin Create a new file storage",endcontext "with OneDrive Storage and enterprise token missing", with_ee: false do- it "renders enterprise icon and redirects to upsale", :webmock do+ it "renders enterprise icon and redirects to upsell", :webmock dovisit admin_settings_storages_pathwithin(".SubHeader") do@@ -278,7 +278,7 @@ RSpec.describe "Admin Create a new file storage",endend- expect(page).to have_current_path(upsale_admin_settings_storages_path)+ expect(page).to have_current_path(upsell_admin_settings_storages_path)wait_for { page }.to have_text("OneDrive/SharePoint integration")endenddiff --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 fb39836b507..cf2591caad2 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@@ -4,7 +4,7 @@ module ::TeamPlannerinclude Layoutbefore_action :load_and_authorize_in_optional_projectbefore_action :build_plan_view, only: %i[new]- before_action :require_ee_token, except: %i[upsale]+ before_action :require_ee_token, except: %i[upsell]before_action :find_plan_view, only: %i[destroy]menu_item :team_planner_view@@ -38,7 +38,7 @@ module ::TeamPlannerrender layout: "angular/angular"end- def upsale; end+ def upsell; enddef destroyif @view.destroy@@ -52,7 +52,7 @@ module ::TeamPlannerdef require_ee_tokenunless EnterpriseToken.allows_to?(:team_planner_view)- redirect_to action: :upsale+ redirect_to action: :upsellendenddiff --git a/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erb b/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erbdeleted file mode 100644index bcd94d818e6..00000000000--- a/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erb+++ /dev/null@@ -1,8 +0,0 @@-<% html_title(t(:label_administration), t("ee.upsale.team_planner_view.title")) -%>--<%=- render EnterpriseEdition::UpsalePageComponent.new(- :team_planner_view,- video: "enterprise/team-planner-animation.mp4"- )-%>diff --git a/modules/team_planner/app/views/team_planner/team_planner/upsell.html.erb b/modules/team_planner/app/views/team_planner/team_planner/upsell.html.erbnew file mode 100644index 00000000000..82b8e48522f--- /dev/null+++ b/modules/team_planner/app/views/team_planner/team_planner/upsell.html.erb@@ -0,0 +1,8 @@+<% html_title(t(:label_administration), t("ee.upsell.team_planner_view.title")) -%>++<%=+ render EnterpriseEdition::UpsellPageComponent.new(+ :team_planner_view,+ video: "enterprise/team-planner-animation.mp4"+ )+%>diff --git a/modules/team_planner/config/locales/en.yml b/modules/team_planner/config/locales/en.ymlindex 62005bf133c..d44f2e90c8a 100644--- a/modules/team_planner/config/locales/en.yml+++ b/modules/team_planner/config/locales/en.yml@@ -11,7 +11,7 @@ en:ee:feature_names:team_planner_view: "Team planner"- upsale:+ upsell:team_planner_view:title: "Team planner"description: "Get a complete overview of your team’s planning with Team Planner. Stretch, shorten and drag-and-drop work packages to modify dates, move them or change assignees."diff --git a/modules/team_planner/config/routes.rb b/modules/team_planner/config/routes.rbindex 501607c86cc..38056a185d3 100644--- a/modules/team_planner/config/routes.rb+++ b/modules/team_planner/config/routes.rb@@ -5,7 +5,7 @@ Rails.application.routes.draw docollection doget "/", to: "team_planner/team_planner#overview"get "/new", to: "team_planner/team_planner#new"- get "/upsale", to: "team_planner/team_planner#upsale", as: :upsale+ get "/upsell", to: "team_planner/team_planner#upsell", as: :upsellendend@@ -16,7 +16,7 @@ Rails.application.routes.draw doas: :team_planners docollection doget "menu" => "team_planner/menus#show"- get "/upsale", to: "team_planner/team_planner#upsale", as: :upsale+ get "/upsell", to: "team_planner/team_planner#upsell", as: :upsellget "/new", to: "team_planner/team_planner#show", as: :newenddiff --git a/modules/team_planner/lib/open_project/team_planner/engine.rb b/modules/team_planner/lib/open_project/team_planner/engine.rbindex b0208927ba0..c4c51f2303e 100644--- a/modules/team_planner/lib/open_project/team_planner/engine.rb+++ b/modules/team_planner/lib/open_project/team_planner/engine.rb@@ -40,13 +40,13 @@ module OpenProject::TeamPlannerdependencies: :work_package_tracking,enterprise_feature: "team_planner_view" dopermission :view_team_planner,- { "team_planner/team_planner": %i[index show upsale overview],+ { "team_planner/team_planner": %i[index show upsell overview],"team_planner/menus": %i[show] },permissible_on: :project,dependencies: %i[view_work_packages],contract_actions: { team_planner: %i[read] }permission :manage_team_planner,- { "team_planner/team_planner": %i[index show new create destroy upsale] },+ { "team_planner/team_planner": %i[index show new create destroy upsell] },permissible_on: :project,dependencies: %i[view_team_planneradd_work_packagesdiff --git a/modules/team_planner/spec/features/team_planner_upsale_spec.rb b/modules/team_planner/spec/features/team_planner_upsell_spec.rbsimilarity index 86%rename from modules/team_planner/spec/features/team_planner_upsale_spec.rbrename to modules/team_planner/spec/features/team_planner_upsell_spec.rbindex d2b678084dc..d392095d635 100644--- a/modules/team_planner/spec/features/team_planner_upsale_spec.rb+++ b/modules/team_planner/spec/features/team_planner_upsell_spec.rb@@ -40,21 +40,21 @@ RSpec.describe "Team planner index",login_as current_userend- it "redirects routes to upsale" do+ it "redirects routes to upsell" dovisit team_planners_path- expect(page).to have_enterprise_upsale_page(:premium)+ expect(page).to have_enterprise_upsell_page(:premium)visit project_team_planners_path(project)- expect(page).to have_enterprise_upsale_page(:premium)+ expect(page).to have_enterprise_upsell_page(:premium)visit new_project_team_planners_path(project)- expect(page).to have_enterprise_upsale_page(:premium)+ expect(page).to have_enterprise_upsell_page(:premium)visit project_team_planner_path(project, id: "new")- expect(page).to have_enterprise_upsale_page(:premium)+ expect(page).to have_enterprise_upsell_page(:premium)endenddiff --git a/modules/team_planner/spec/routing/team_planner_routing_spec.rb b/modules/team_planner/spec/routing/team_planner_routing_spec.rbindex 31324e96d75..ef5500f2413 100644--- a/modules/team_planner/spec/routing/team_planner_routing_spec.rb+++ b/modules/team_planner/spec/routing/team_planner_routing_spec.rb@@ -48,10 +48,10 @@ RSpec.describe "Team planner routing" doendcontext "with :project_id" do- it "routes to team_planner#upsale" do+ it "routes to team_planner#upsell" doexpect(subject)- .to route(:get, "/projects/foobar/team_planners/upsale")- .to(controller: "team_planner/team_planner", action: :upsale, project_id: "foobar")+ .to route(:get, "/projects/foobar/team_planners/upsell")+ .to(controller: "team_planner/team_planner", action: :upsell, project_id: "foobar")endit "routes to team_planner#show" do@@ -62,10 +62,10 @@ RSpec.describe "Team planner routing" doendcontext "without :project_id" do- it "routes to team_planner#upsale" do+ it "routes to team_planner#upsell" doexpect(subject)- .to route(:get, "/team_planners/upsale")- .to(controller: "team_planner/team_planner", action: :upsale)+ .to route(:get, "/team_planners/upsell")+ .to(controller: "team_planner/team_planner", action: :upsell)endit "routes to team_planner#new" dodiff --git a/modules/two_factor_authentication/config/locales/en.yml b/modules/two_factor_authentication/config/locales/en.ymlindex fb49d813a23..f411826839f 100644--- a/modules/two_factor_authentication/config/locales/en.yml+++ b/modules/two_factor_authentication/config/locales/en.yml@@ -86,7 +86,7 @@ en:text_2fa_enabled: "Upon every login, this user will be requested to enter a OTP token from their default 2FA device."text_2fa_disabled: "The user did not set up a 2FA device through their 'My account page'"only_sms_allowed: "Only SMS delivery can be set up for other users."- upsale:+ upsell:title: "Two-factor authentication"description: "Strenghten the security of your OpenProject instance by offering (or enforcing) two-factor authentification to all project members."backup_codes:diff --git a/spec/components/enterprise_edition/banner_component_spec.rb b/spec/components/enterprise_edition/banner_component_spec.rbindex 621d6bb3755..24ed35edbef 100644--- a/spec/components/enterprise_edition/banner_component_spec.rb+++ b/spec/components/enterprise_edition/banner_component_spec.rb@@ -39,7 +39,7 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component dolet(:component_test_selector) { "op-enterprise-banner" }let(:features) { nil }let(:enforce_available_locales) { I18n.config.enforce_available_locales }- let(:i18n_upsale) do+ let(:i18n_upsell) do{some_enterprise_feature: {title:,@@ -63,7 +63,7 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component dofeatures: {some_enterprise_feature: "Enterprise feature translation"},- upsale: i18n_upsale+ upsell: i18n_upsell}}end@@ -166,7 +166,7 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component doendcontext "without a title, but a description_html" do- let(:i18n_upsale) do+ let(:i18n_upsell) do{some_enterprise_feature: {description_html: description@@ -179,7 +179,7 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component doendcontext "without a title, but a description" do- let(:i18n_upsale) do+ let(:i18n_upsell) do{some_enterprise_feature: {description:@@ -192,7 +192,7 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component doendcontext "with a more specific title in the i18n file" do- let(:i18n_upsale) do+ let(:i18n_upsell) do{some_enterprise_feature: {title:,@@ -209,7 +209,7 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component do{my: {custom: {- upsale: {+ upsell: {title: "Foo",description: "Bar"}@@ -224,13 +224,13 @@ RSpec.describe EnterpriseEdition::BannerComponent, type: :component doendlet(:expected_title) { "Foo" }let(:expected_description) { "Bar" }- let(:component_args) { { i18n_scope: "my.custom.upsale" } }+ let(:component_args) { { i18n_scope: "my.custom.upsell" } }it_behaves_like "renders the component"endcontext "without a description key in the i18n file" do- let(:i18n_upsale) do+ let(:i18n_upsell) do{some_enterprise_feature: {}}diff --git a/spec/controllers/custom_actions_controller_spec.rb b/spec/controllers/custom_actions_controller_spec.rbindex ee28b05c1c7..791a600cd60 100644--- a/spec/controllers/custom_actions_controller_spec.rb+++ b/spec/controllers/custom_actions_controller_spec.rb@@ -46,7 +46,7 @@ RSpec.describe CustomActionsController, with_ee: %i[custom_actions] doendit "renders enterprise_token" do- expect(response).to render_template "custom_actions/upsale"+ expect(response).to render_template "custom_actions/upsell"endendenddiff --git a/spec/controllers/custom_styles_controller_spec.rb b/spec/controllers/custom_styles_controller_spec.rbindex faf2601e3a5..490bbde9cc1 100644--- a/spec/controllers/custom_styles_controller_spec.rb+++ b/spec/controllers/custom_styles_controller_spec.rb@@ -50,18 +50,18 @@ RSpec.describe CustomStylesController doallow(EnterpriseToken).to receive(:current).and_return(nil)end- it "redirects to #upsale" do- expect(subject).to redirect_to action: :upsale+ it "redirects to #upsell" do+ expect(subject).to redirect_to action: :upsellendendend- describe "#upsale" do- subject { get :upsale }+ describe "#upsell" do+ subject { get :upsell }- it "renders upsale" do+ it "renders upsell" doexpect(subject).to be_successful- expect(subject).to render_template "upsale"+ expect(subject).to render_template "upsell"endenddiff --git a/spec/controllers/enterprises_controller_spec.rb b/spec/controllers/enterprises_controller_spec.rbindex b0a45d0b404..a6dc6666848 100644--- a/spec/controllers/enterprises_controller_spec.rb+++ b/spec/controllers/enterprises_controller_spec.rb@@ -120,7 +120,7 @@ RSpec.describe EnterprisesController doit "still renders #show with form" doexpect(response).not_to render_template partial: "enterprises/_current"- expect(response.body).to have_css ".upsale-benefits"+ expect(response.body).to have_css ".upsell-benefits"endendenddiff --git a/spec/controllers/shares_controller_spec.rb b/spec/controllers/shares_controller_spec.rbindex 2ac3a4dc8c8..911a4755c8c 100644--- a/spec/controllers/shares_controller_spec.rb+++ b/spec/controllers/shares_controller_spec.rb@@ -196,13 +196,13 @@ RSpec.describe SharesController docontext "when the strategy allows viewing but enterprise check fails" dobefore doallow_any_instance_of(SharingStrategies::ProjectQueryStrategy).to receive_messages(viewable?: true, manageable?: false)- allow(Shares::ProjectQueries::UpsaleComponent).to receive(:new).and_call_original+ allow(Shares::ProjectQueries::UpsellComponent).to receive(:new).and_call_originalend- it "renders the upsale component" do+ it "renders the upsell component" domake_requestexpect(response).to have_http_status(:ok)- expect(Shares::ProjectQueries::UpsaleComponent).to have_received(:new)+ expect(Shares::ProjectQueries::UpsellComponent).to have_received(:new)endend@@ -230,13 +230,13 @@ RSpec.describe SharesController doallow_any_instance_of(SharingStrategies::ProjectQueryStrategy).to receive_messages(viewable?: false, manageable?: true)- allow(Shares::ProjectQueries::UpsaleComponent).to receive(:new).and_call_original+ allow(Shares::ProjectQueries::UpsellComponent).to receive(:new).and_call_originalend- it "renders the upsale component" do+ it "renders the upsell component" domake_requestexpect(response).to have_http_status(:ok)- expect(Shares::ProjectQueries::UpsaleComponent).to have_received(:new)+ expect(Shares::ProjectQueries::UpsellComponent).to have_received(:new)endenddiff --git a/spec/features/custom_styles/tabs_navigation_spec.rb b/spec/features/custom_styles/tabs_navigation_spec.rbindex 007e1daa509..de9d6a2b620 100644--- a/spec/features/custom_styles/tabs_navigation_spec.rb+++ b/spec/features/custom_styles/tabs_navigation_spec.rb@@ -37,9 +37,9 @@ RSpec.describe "Tabs navigation and content switching on the admin/design page"visit custom_style_path(tab: "interface")end- it "redirects to upsale page" do- expect(page).to have_enterprise_upsale_page- expect(page).to have_text "Available only through the Basic enterprise plan"+ it "redirects to upsell page" do+ expect(page).to have_enterprise_upsell_page+ expect(page).to have_text "Available starting with the Basic enterprise plan"endenddiff --git a/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb b/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rbindex 185e8704a06..052d07ba64a 100644--- a/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb+++ b/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb@@ -191,17 +191,17 @@ RSpec.describe "Notification center date alerts", :js, with_settings: { journal_endcontext "without date alerts ee" do- it "shows the upsale page" do+ it "shows the upsell page" doside_menu.click_item "Date alert"expect(page).to have_current_path(/notifications\/date_alerts/)- expect(page).to have_enterprise_upsale_page(:basic)+ expect(page).to have_enterprise_upsell_page(:basic)# It does not allows direct url accessvisit notifications_center_path(filter: "reason", name: "dateAlert")expect(page).to have_current_path(/notifications\/date_alerts/)- expect(page).to have_enterprise_upsale_page(:basic)+ expect(page).to have_enterprise_upsell_page(:basic)endenddiff --git a/spec/features/projects/persisted_lists_sharing_spec.rb b/spec/features/projects/persisted_lists_sharing_spec.rbindex 468c558ddc7..b4f7c287493 100644--- a/spec/features/projects/persisted_lists_sharing_spec.rb+++ b/spec/features/projects/persisted_lists_sharing_spec.rb@@ -76,7 +76,7 @@ RSpec.describe "Project list sharing",let(:share_dialog) { Components::Sharing::ProjectQueries::ShareModal.new(shared_projects_list) }describe "without the enterprise edition" do- it "renders an upsale modal" do+ it "renders an upsell modal" dologin_as(sharer)projects_index_page.visit!@@ -84,7 +84,7 @@ RSpec.describe "Project list sharing",projects_index_page.open_share_dialogshare_dialog.expect_open- share_dialog.expect_upsale_banner+ share_dialog.expect_upsell_bannerendenddiff --git a/spec/features/projects/settings/work_packages_settings_spec.rb b/spec/features/projects/settings/work_packages_settings_spec.rbindex 623815f881f..e39bc2bed20 100644--- a/spec/features/projects/settings/work_packages_settings_spec.rb+++ b/spec/features/projects/settings/work_packages_settings_spec.rb@@ -91,7 +91,7 @@ RSpec.describe "Projects", "work packages settings menu", :js doit "shows the enterprise banner" dowork_packages_settings_page.visit!- expect(page).to have_test_selector("op-enterprise-upsale-page")+ expect(page).to have_test_selector("op-enterprise-upsell-page")endenddiff --git a/spec/features/work_packages/share/enterprise_restriction_spec.rb b/spec/features/work_packages/share/enterprise_restriction_spec.rbindex f4518abe582..a96007e69fb 100644--- a/spec/features/work_packages/share/enterprise_restriction_spec.rb+++ b/spec/features/work_packages/share/enterprise_restriction_spec.rb@@ -59,8 +59,8 @@ RSpec.describe "Work Package Sharing Enterprise Restriction", :js doendcontext "without an enterprise token" do- it "renders an upsale banner" do- share_modal.expect_upsale_banner+ it "renders an upsell banner" do+ share_modal.expect_upsell_bannerendenddiff --git a/spec/requests/admin/attachments/virus_scanning_settings_spec.rb b/spec/requests/admin/attachments/virus_scanning_settings_spec.rbindex c218c170a57..c7275169764 100644--- a/spec/requests/admin/attachments/virus_scanning_settings_spec.rb+++ b/spec/requests/admin/attachments/virus_scanning_settings_spec.rb@@ -130,10 +130,10 @@ RSpec.describe "Attachments virus scanning",enddescribe "without ee" do- it "renders upsale" do+ it "renders upsell" doget "/admin/settings/virus_scanning"expect(response.body).to have_text "Virus scanning"- expect(response.body).to have_text "Available only through the Corporate enterprise plan."+ expect(response.body).to have_text "Available starting with the Corporate enterprise plan."endendenddiff --git a/spec/support/components/sharing/project_queries/share_modal.rb b/spec/support/components/sharing/project_queries/share_modal.rbindex f3595e4c438..19d43c79679 100644--- a/spec/support/components/sharing/project_queries/share_modal.rb+++ b/spec/support/components/sharing/project_queries/share_modal.rb@@ -60,8 +60,8 @@ module Componentsendend- def expect_upsale_banner- expect(page).to have_css("[data-test-selector='op-share-dialog-upsale-block']")+ def expect_upsell_banner+ expect(page).to have_css("[data-test-selector='op-share-dialog-upsell-block']")endendenddiff --git a/spec/support/components/sharing/share_modal.rb b/spec/support/components/sharing/share_modal.rbindex 11b846cb1b3..64f725958a9 100644--- a/spec/support/components/sharing/share_modal.rb+++ b/spec/support/components/sharing/share_modal.rb@@ -377,10 +377,10 @@ module Componentsresults_selector: "body"end- def expect_upsale_banner+ def expect_upsell_bannerwithin_modal doexpect(page)- .to have_text(I18n.t(:"ee.upsale.title"))+ .to have_text(I18n.t(:"ee.upsell.title"))endenddiff --git a/spec/support/matchers/has_enterprise_banner.rb b/spec/support/matchers/has_enterprise_banner.rbindex 12355020318..d1bcf71f65b 100644--- a/spec/support/matchers/has_enterprise_banner.rb+++ b/spec/support/matchers/has_enterprise_banner.rb@@ -33,7 +33,7 @@ RSpec::Matchers.define :have_enterprise_banner do |**args|match do |page|if args[:plan]- expected_text = I18n.t("ee.upsale.plan_text_html", plan: args[:plan].capitalize)+ expected_text = I18n.t("ee.upsell.plan_text_html", plan: args[:plan].capitalize)page.find(test_selector("op-enterprise-banner"), **args, text: expected_text)elsepage.find(test_selector("op-enterprise-banner"), **args)diff --git a/spec/support/matchers/has_enterprise_upsale_page.rb b/spec/support/matchers/has_enterprise_upsell_page.rbsimilarity index 78%rename from spec/support/matchers/has_enterprise_upsale_page.rbrename to spec/support/matchers/has_enterprise_upsell_page.rbindex 7d27f2bc601..10d9a123d4d 100644--- a/spec/support/matchers/has_enterprise_upsale_page.rb+++ b/spec/support/matchers/has_enterprise_upsell_page.rb@@ -28,32 +28,32 @@# See COPYRIGHT and LICENSE files for more details.#++-RSpec::Matchers.define :have_enterprise_upsale_page do |**args|+RSpec::Matchers.define :have_enterprise_upsell_page do |**args|include TestSelectorFindersmatch do |page|if args[:plan]- expected_text = I18n.t("ee.upsale.plan_text_html", plan: args[:plan].capitalize)- page.find(test_selector("op-enterprise-upsale-page"), **args, text: expected_text)+ expected_text = I18n.t("ee.upsell.plan_text_html", plan: args[:plan].capitalize)+ page.find(test_selector("op-enterprise-upsell-page"), **args, text: expected_text)else- page.find(test_selector("op-enterprise-upsale-page"), **args)+ page.find(test_selector("op-enterprise-upsell-page"), **args)endendmatch_when_negated do |page|- page.has_no_selector?(test_selector("op-enterprise-upsale-page"), **args)+ page.has_no_selector?(test_selector("op-enterprise-upsell-page"), **args)endfailure_message do<<~MESSAGE- Expected page to have Enterprise edition upsale page, but it does not:+ Expected page to have Enterprise edition upsell page, but it does not:#{@error}MESSAGEendfailure_message_when_negated do<<~MESSAGE- Expected page not to have Enterprise edition upsale page, but it does:+ Expected page not to have Enterprise edition upsell page, but it does:#{@error}MESSAGEend