katello 4.14.0 → 4.15.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/katello/common/chosen.jquery.js +3 -3
- data/app/assets/javascripts/katello/common/env_select_scroll.js +3 -3
- data/app/assets/javascripts/katello/common/katello.js +8 -7
- data/app/assets/javascripts/katello/common/katello_object.js +3 -3
- data/app/assets/javascripts/katello/common/menu.js +7 -7
- data/app/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js +6 -6
- data/app/assets/javascripts/katello/locale/bn/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/bn_IN/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/ca/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/cs/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/de/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/de_AT/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/de_DE/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/el/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/en/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/en_GB/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/en_US/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/es/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/et_EE/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/fr/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/gl/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/gu/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/he_IL/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/hi/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/id/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/it/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/ja/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/ka/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/kn/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/ko/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/ml_IN/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/mr/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/nl_NL/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/or/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/pa/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/pl/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/pl_PL/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/pt/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/pt_BR/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/ro/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/ro_RO/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/ru/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/sl/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/sv_SE/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/ta/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/ta_IN/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/te/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/tr/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/vi/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/vi_VN/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/zh/katello.js +258 -27
- data/app/assets/javascripts/katello/locale/zh_CN/katello.js +259 -28
- data/app/assets/javascripts/katello/locale/zh_TW/katello.js +259 -28
- data/app/assets/javascripts/katello/organizations/download_certificate.js +1 -1
- data/app/assets/javascripts/katello/sync_management/sync_management.js +22 -18
- data/app/assets/javascripts/katello/widgets/env_content_view_selector.js +5 -5
- data/app/assets/javascripts/katello/widgets/path_selector.js +6 -6
- data/app/assets/javascripts/katello/widgets/subpanel_new.js +1 -1
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +7 -7
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +6 -1
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +131 -59
- data/app/controllers/katello/api/v2/api_controller.rb +1 -1
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +21 -10
- data/app/controllers/katello/api/v2/content_view_components_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_environments_controller.rb +54 -0
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +3 -3
- data/app/controllers/katello/api/v2/content_views_controller.rb +1 -1
- data/app/controllers/katello/api/v2/environments_controller.rb +1 -1
- data/app/controllers/katello/api/v2/exports_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_collections_controller.rb +2 -2
- data/app/controllers/katello/api/v2/host_contents_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_errata_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +1 -4
- data/app/controllers/katello/api/v2/organizations_controller.rb +2 -1
- data/app/controllers/katello/api/v2/repositories_controller.rb +3 -2
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +1 -1
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +10 -16
- data/app/controllers/katello/concerns/api/v2/multi_cv_params_handling.rb +24 -0
- data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +2 -5
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +1 -1
- data/app/controllers/katello/concerns/registration_commands_controller_extensions.rb +1 -1
- data/app/helpers/katello/concerns/smart_proxy_helper_extensions.rb +5 -5
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +2 -2
- data/app/helpers/katello/katello_url_helper.rb +1 -1
- data/app/lib/actions/candlepin/product/content_create.rb +12 -1
- data/app/lib/actions/candlepin/product/content_update.rb +21 -4
- data/app/lib/actions/katello/activation_key/reassign.rb +4 -3
- data/app/lib/actions/katello/capsule_content/sync_capsule.rb +8 -3
- data/app/lib/actions/katello/capsule_content/update_content_counts.rb +21 -3
- data/app/lib/actions/katello/cdn_configuration/update.rb +1 -1
- data/app/lib/actions/katello/content_view/capsule_sync.rb +17 -1
- data/app/lib/actions/katello/content_view/incremental_updates.rb +1 -1
- data/app/lib/actions/katello/content_view/presenters/incremental_updates_presenter.rb +1 -1
- data/app/lib/actions/katello/content_view/remove.rb +8 -12
- data/app/lib/actions/katello/content_view_version/import.rb +1 -1
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +2 -2
- data/app/lib/actions/katello/flatpak/scan_remote.rb +62 -0
- data/app/lib/actions/katello/host/hypervisors.rb +1 -1
- data/app/lib/actions/katello/product/content_create.rb +28 -19
- data/app/lib/actions/katello/product/content_destroy.rb +6 -5
- data/app/lib/actions/katello/product/destroy.rb +1 -1
- data/app/lib/actions/katello/repository/clone_contents.rb +14 -0
- data/app/lib/actions/katello/repository/create.rb +24 -17
- data/app/lib/actions/katello/repository/create_container_push_root.rb +44 -0
- data/app/lib/actions/katello/repository/create_root.rb +5 -14
- data/app/lib/actions/katello/repository/destroy.rb +3 -3
- data/app/lib/actions/katello/repository/discover.rb +1 -1
- data/app/lib/actions/katello/repository/finish_upload.rb +13 -0
- data/app/lib/actions/katello/repository/import_upload.rb +1 -1
- data/app/lib/actions/katello/repository/sync.rb +16 -0
- data/app/lib/actions/katello/repository/update.rb +11 -20
- data/app/lib/actions/katello/repository/upload_files.rb +1 -1
- data/app/lib/actions/katello/repository_set/enable_repository.rb +1 -1
- data/app/lib/actions/katello/repository_set/scan_cdn.rb +1 -1
- data/app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb +1 -1
- data/app/lib/actions/pulp3/capsule_content/sync.rb +1 -1
- data/app/lib/actions/pulp3/content_view/delete_repository_references.rb +6 -2
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +1 -1
- data/app/lib/actions/pulp3/orchestration/repository/create.rb +6 -1
- data/app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb +1 -1
- data/app/lib/actions/pulp3/repository/initialize.rb +17 -0
- data/app/lib/actions/pulp3/repository/refresh_distribution.rb +1 -1
- data/app/lib/katello/api/constraints/register_with_activation_key_constraint.rb +11 -0
- data/app/lib/katello/concerns/base_template_scope_extensions.rb +1 -1
- data/app/lib/katello/http_resource.rb +6 -6
- data/app/lib/katello/messaging/stomp_connection.rb +4 -4
- data/app/lib/katello/resources/candlepin/activation_key.rb +1 -1
- data/app/lib/katello/resources/candlepin/owner.rb +1 -1
- data/app/lib/katello/resources/candlepin/product.rb +1 -1
- data/app/lib/katello/resources/candlepin.rb +1 -1
- data/app/lib/katello/resources/cdn/katello_cdn.rb +3 -3
- data/app/lib/katello/resources/cdn.rb +1 -1
- data/app/lib/katello/resources/discovery/container.rb +5 -3
- data/app/lib/katello/resources/discovery/yum.rb +3 -1
- data/app/lib/katello/resources/registry.rb +0 -3
- data/app/lib/katello/util/candlepin_repository_checker.rb +2 -2
- data/app/lib/katello/util/cveak_migrator.rb +38 -0
- data/app/lib/katello/util/deb.rb +9 -0
- data/app/lib/katello/util/deduplication_migrator.rb +8 -8
- data/app/lib/katello/util/model.rb +2 -2
- data/app/lib/katello/util/search.rb +5 -5
- data/app/lib/katello/util/task_status.rb +19 -19
- data/app/lib/katello/util/url_matcher.rb +3 -3
- data/app/lib/katello/validators/content_view_environment_org_validator.rb +2 -1
- data/app/lib/katello/validators/katello_url_format_validator.rb +2 -2
- data/app/mailers/katello/errata_mailer.rb +1 -4
- data/app/models/katello/activation_key.rb +123 -27
- data/app/models/katello/alternate_content_source.rb +5 -5
- data/app/models/katello/authorization/activation_key.rb +1 -1
- data/app/models/katello/authorization/content_view_environment.rb +7 -0
- data/app/models/katello/cdn_configuration.rb +1 -1
- data/app/models/katello/concerns/content_facet_host_extensions.rb +24 -2
- data/app/models/katello/concerns/host_managed_extensions.rb +29 -22
- data/app/models/katello/concerns/organization_extensions.rb +4 -4
- data/app/models/katello/concerns/redhat_extensions.rb +1 -1
- data/app/models/katello/concerns/smart_proxy_extensions.rb +84 -39
- data/app/models/katello/content.rb +3 -3
- data/app/models/katello/content_view.rb +15 -18
- data/app/models/katello/content_view_environment.rb +56 -15
- data/app/models/katello/content_view_environment_activation_key.rb +20 -0
- data/app/models/katello/content_view_erratum_filter_rule.rb +1 -1
- data/app/models/katello/content_view_filter.rb +2 -2
- data/app/models/katello/content_view_history.rb +1 -1
- data/app/models/katello/content_view_repository.rb +1 -1
- data/app/models/katello/content_view_version.rb +3 -3
- data/app/models/katello/content_view_version_export_history.rb +2 -2
- data/app/models/katello/content_view_version_import_history.rb +1 -1
- data/app/models/katello/events/delete_latest_content_view_version.rb +1 -1
- data/app/models/katello/flatpak_remote.rb +11 -0
- data/app/models/katello/flatpak_remote_repository.rb +12 -0
- data/app/models/katello/flatpak_remote_repository_manifest.rb +10 -0
- data/app/models/katello/glue/candlepin/activation_key.rb +1 -1
- data/app/models/katello/glue/candlepin/candlepin_object.rb +1 -1
- data/app/models/katello/glue/candlepin/pool.rb +1 -1
- data/app/models/katello/glue/pulp/repos.rb +1 -1
- data/app/models/katello/host/content_facet.rb +33 -17
- data/app/models/katello/host/info_provider.rb +2 -4
- data/app/models/katello/host/subscription_facet.rb +3 -3
- data/app/models/katello/host_available_module_stream.rb +1 -1
- data/app/models/katello/installed_product.rb +2 -2
- data/app/models/katello/kt_environment.rb +11 -6
- data/app/models/katello/ping.rb +2 -3
- data/app/models/katello/repository.rb +40 -6
- data/app/models/katello/rhel_lifecycle_status.rb +10 -10
- data/app/models/katello/root_repository.rb +14 -18
- data/app/models/katello/task_status.rb +1 -1
- data/app/models/katello/upstream_pool.rb +2 -2
- data/app/presenters/katello/product_content_presenter.rb +2 -2
- data/app/presenters/katello/repository_presenter.rb +3 -3
- data/app/presenters/katello/sync_status_presenter.rb +3 -3
- data/app/services/cert/certs.rb +6 -2
- data/app/services/katello/candlepin_event_listener.rb +1 -1
- data/app/services/katello/event_monitor/poller_thread.rb +1 -1
- data/app/services/katello/event_queue.rb +1 -1
- data/app/services/katello/product_content_finder.rb +10 -10
- data/app/services/katello/product_content_importer.rb +1 -1
- data/app/services/katello/pulp3/alternate_content_source.rb +2 -2
- data/app/services/katello/pulp3/ansible_collection.rb +1 -1
- data/app/services/katello/pulp3/api/apt.rb +4 -0
- data/app/services/katello/pulp3/content.rb +1 -0
- data/app/services/katello/pulp3/content_view_version/export.rb +3 -10
- data/app/services/katello/pulp3/content_view_version/export_validator.rb +1 -1
- data/app/services/katello/pulp3/content_view_version/import.rb +2 -2
- data/app/services/katello/pulp3/content_view_version/import_gpg_keys.rb +1 -1
- data/app/services/katello/pulp3/content_view_version/importable_products.rb +2 -2
- data/app/services/katello/pulp3/content_view_version/importable_repositories.rb +4 -4
- data/app/services/katello/pulp3/content_view_version/metadata_generator.rb +2 -2
- data/app/services/katello/pulp3/deb.rb +35 -1
- data/app/services/katello/pulp3/docker_manifest.rb +1 -1
- data/app/services/katello/pulp3/docker_manifest_list.rb +6 -2
- data/app/services/katello/pulp3/docker_tag.rb +1 -1
- data/app/services/katello/pulp3/erratum.rb +2 -2
- data/app/services/katello/pulp3/file_unit.rb +1 -1
- data/app/services/katello/pulp3/generic_content_unit.rb +1 -1
- data/app/services/katello/pulp3/module_stream.rb +2 -2
- data/app/services/katello/pulp3/repository/ansible_collection.rb +1 -1
- data/app/services/katello/pulp3/repository/apt.rb +22 -16
- data/app/services/katello/pulp3/repository/docker.rb +2 -2
- data/app/services/katello/pulp3/repository/file.rb +1 -1
- data/app/services/katello/pulp3/repository/generic.rb +1 -1
- data/app/services/katello/pulp3/repository/yum.rb +7 -7
- data/app/services/katello/pulp3/repository.rb +15 -9
- data/app/services/katello/pulp3/repository_mirror.rb +3 -3
- data/app/services/katello/registration_manager.rb +23 -6
- data/app/services/katello/repository_type.rb +3 -3
- data/app/services/katello/smart_proxy_helper.rb +3 -3
- data/app/services/katello/ui_notifications/content_view/delete_latest_version_failure.rb +1 -1
- data/app/services/katello/ui_notifications/subscriptions/expire_soon.rb +3 -3
- data/app/services/katello/ui_notifications/subscriptions/manifest_expire_soon_warning.rb +3 -3
- data/app/services/katello/ui_notifications/task_notification.rb +2 -2
- data/app/services/katello/upstream_connection_checker.rb +1 -1
- data/app/views/foreman/job_templates/install_errata_by_search_query.erb +1 -1
- data/app/views/foreman/job_templates/install_errata_by_search_query_-_katello_ansible_default.erb +1 -1
- data/app/views/katello/api/v2/activation_keys/base.json.rabl +43 -8
- data/app/views/katello/api/v2/alternate_content_sources/base.json.rabl +1 -1
- data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +5 -5
- data/app/views/katello/api/v2/common/_metadata.json.rabl +1 -1
- data/app/views/katello/api/v2/content_credentials/show.json.rabl +1 -1
- data/app/views/katello/api/v2/content_facet/base.json.rabl +15 -6
- data/app/views/katello/api/v2/content_facet/show.json.rabl +1 -1
- data/app/views/katello/api/v2/content_view_environments/index.json.rabl +7 -0
- data/app/views/katello/api/v2/content_view_environments/show.json.rabl +33 -0
- data/app/views/katello/api/v2/content_view_filter_rules/show.json.rabl +1 -1
- data/app/views/katello/api/v2/content_view_filters/show.json.rabl +1 -1
- data/app/views/katello/api/v2/content_view_versions/base.json.rabl +3 -3
- data/app/views/katello/api/v2/content_views/base.json.rabl +4 -3
- data/app/views/katello/api/v2/content_views/show.json.rabl +1 -2
- data/app/views/katello/api/v2/debs/backend.json.rabl +7 -0
- data/app/views/katello/api/v2/debs/base.json.rabl +4 -0
- data/app/views/katello/api/v2/debs/show.json.rabl +2 -0
- data/app/views/katello/api/v2/docker_manifest_lists/show.json.rabl +1 -0
- data/app/views/katello/api/v2/docker_tags/_base.json.rabl +2 -2
- data/app/views/katello/api/v2/environments/show.json.rabl +4 -4
- data/app/views/katello/api/v2/gpg_keys/show.json.rabl +1 -1
- data/app/views/katello/api/v2/host_collections/base.json.rabl +1 -1
- data/app/views/katello/api/v2/hosts/base.json.rabl +2 -2
- data/app/views/katello/api/v2/package_groups/base.json.rabl +2 -2
- data/app/views/katello/api/v2/products/show.json.rabl +2 -2
- data/app/views/katello/api/v2/repositories/show.json.rabl +1 -1
- data/app/views/katello/api/v2/repository_sets/show.json.rabl +1 -1
- data/app/views/katello/api/v2/subscriptions/base.json.rabl +1 -1
- data/app/views/katello/api/v2/subscriptions/show.json.rabl +3 -3
- data/app/views/katello/api/v2/sync_plans/show.json.rabl +1 -1
- data/app/views/katello/sync_management/index.html.erb +2 -2
- data/config/initializers/inflections.rb +11 -0
- data/config/katello.yaml.example +4 -10
- data/config/routes/api/registry.rb +0 -2
- data/config/routes/api/rhsm.rb +1 -4
- data/config/routes/api/v2.rb +2 -3
- data/db/migrate/20140716211853_repo_rename_feed_to_url.rb +1 -1
- data/db/migrate/20141003210742_add_docker_container_registry_url_to_providers.rb +1 -1
- data/db/migrate/20150224083608_remove_docker_registry_url.rb +1 -1
- data/db/migrate/20160808002834_add_files.rb +1 -1
- data/db/migrate/20161014133811_move_content_view_version_description_to_histories.rb +1 -1
- data/db/migrate/20200818192230_update_system_purpose_status.rb +1 -1
- data/db/migrate/20201012172713_remove_gpg_key_perms.rb +1 -1
- data/db/migrate/20210322142311_add_auth_url_token_to_root_repositories.rb +1 -1
- data/db/migrate/20211220185935_clean_duplicate_content_units.rb +2 -2
- data/db/migrate/20230717150442_change_change_content_source_job_template_name.rb +1 -1
- data/db/migrate/20240207191223_remove_entitlement_mode_host_statuses.rb +1 -1
- data/db/migrate/20240508100434_add_content_id_to_katello_repository.rb +5 -0
- data/db/migrate/20240730163043_add_content_view_environment_activation_key.rb +87 -0
- data/db/migrate/20240806130902_add_more_deb_fields.rb +15 -0
- data/db/migrate/20240903194428_add_priority_to_content_view_environment_activation_key.rb +5 -0
- data/db/migrate/20241007200316_add_fields_to_katello_docker_manifest_list.rb +8 -0
- data/db/migrate/20241007212705_add_bootc_facts_to_content_facet.rb +27 -0
- data/db/migrate/20241025151105_remove_pulp3_migrated_hrefs_from_content_tables.rb +10 -0
- data/db/migrate/20241030181402_create_katello_flatpak_tables.rb +41 -0
- data/db/seeds.d/106-mail_notifications.rb +9 -9
- data/db/seeds.d/108-subcription-bookmarks.rb +1 -1
- data/db/seeds.d/109-katello-notification-blueprints.rb +21 -21
- data/db/seeds.d/110-content-view-autopublish.rb +5 -5
- data/db/seeds.d/111-container-image-bookmarks.rb +1 -1
- data/db/seeds.d/111-upgrade_tasks.rb +1 -1
- data/engines/bastion/app/assets/javascripts/bastion/i18n/i18n.module.js +4 -0
- data/engines/bastion/lib/bastion/engine.rb +1 -1
- data/engines/bastion/lib/bastion.rb +1 -1
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js +5 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-repository-sets.controller.js +16 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +29 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-repository-sets.html +13 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-host-collections-modal.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-modal-helper.service.js +0 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.routes.js +9 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-dependencies.html +54 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-info.html +13 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb.html +8 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +11 -0
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/activation_keys.scss +1 -1
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +1 -1
- data/lib/katello/engine.rb +17 -15
- data/lib/katello/permission_creator.rb +51 -49
- data/lib/katello/permissions/host_permissions.rb +4 -4
- data/lib/katello/permissions/organization_permissions.rb +4 -4
- data/lib/katello/permissions/registry_permissions.rb +1 -1
- data/lib/katello/permissions/roles_permissions.rb +1 -1
- data/lib/katello/permissions/user_permissions.rb +1 -1
- data/lib/katello/plugin.rb +14 -8
- data/lib/katello/repository_types/docker.rb +4 -2
- data/lib/katello/repository_types/ostree.rb +5 -3
- data/lib/katello/repository_types/python.rb +1 -1
- data/lib/katello/repository_types/yum.rb +2 -1
- data/lib/katello/scheduled_jobs.rb +1 -1
- data/lib/katello/tasks/migrate_structure_content_for_deb.rake +105 -0
- data/lib/katello/tasks/receptor/extract_orgs.rake +1 -1
- data/lib/katello/tasks/reimport.rake +1 -1
- data/lib/katello/tasks/repository.rake +19 -9
- data/lib/katello/tasks/upgrades/4.1/reupdate_content_import_export_perms.rake +1 -1
- data/lib/katello/tasks/upgrades/4.3/fix_url_auth.rake +1 -1
- data/lib/katello/version.rb +1 -1
- data/locale/action_names.rb +92 -1
- data/locale/bn/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn/katello.po +259 -28
- data/locale/bn_IN/katello.po +258 -27
- data/locale/ca/LC_MESSAGES/katello.mo +0 -0
- data/locale/ca/katello.po +258 -27
- data/locale/cs/katello.po +258 -30
- data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs_CZ/katello.po +258 -27
- data/locale/de/LC_MESSAGES/katello.mo +0 -0
- data/locale/de/katello.po +259 -28
- data/locale/de_AT/katello.po +258 -27
- data/locale/de_DE/katello.po +258 -27
- data/locale/el/LC_MESSAGES/katello.mo +0 -0
- data/locale/el/katello.po +258 -27
- data/locale/en/katello.po +258 -27
- data/locale/en_GB/katello.po +258 -27
- data/locale/en_US/katello.po +258 -27
- data/locale/es/LC_MESSAGES/katello.mo +0 -0
- data/locale/es/katello.po +259 -28
- data/locale/et_EE/katello.po +258 -27
- data/locale/fr/LC_MESSAGES/katello.mo +0 -0
- data/locale/fr/katello.po +259 -28
- data/locale/gl/katello.po +258 -27
- data/locale/gu/katello.po +258 -27
- data/locale/he_IL/katello.po +258 -27
- data/locale/hi/katello.po +258 -27
- data/locale/id/katello.po +258 -27
- data/locale/it/LC_MESSAGES/katello.mo +0 -0
- data/locale/it/katello.po +259 -28
- data/locale/ja/LC_MESSAGES/katello.mo +0 -0
- data/locale/ja/katello.po +259 -28
- data/locale/ka/LC_MESSAGES/katello.mo +0 -0
- data/locale/ka/katello.po +259 -28
- data/locale/katello.pot +1041 -696
- data/locale/kn/katello.po +258 -27
- data/locale/ko/LC_MESSAGES/katello.mo +0 -0
- data/locale/ko/katello.po +259 -28
- data/locale/ml_IN/katello.po +258 -27
- data/locale/mr/katello.po +258 -27
- data/locale/nl_NL/LC_MESSAGES/katello.mo +0 -0
- data/locale/nl_NL/katello.po +258 -27
- data/locale/or/katello.po +258 -27
- data/locale/pa/katello.po +258 -27
- data/locale/pl/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl/katello.po +258 -27
- data/locale/pl_PL/katello.po +258 -27
- data/locale/pt/katello.po +258 -27
- data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt_BR/katello.po +259 -28
- data/locale/ro/katello.po +258 -27
- data/locale/ro_RO/katello.po +258 -27
- data/locale/ru/LC_MESSAGES/katello.mo +0 -0
- data/locale/ru/katello.po +259 -28
- data/locale/sl/katello.po +258 -27
- data/locale/sv_SE/katello.po +258 -27
- data/locale/ta/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta/katello.po +259 -28
- data/locale/ta_IN/katello.po +258 -27
- data/locale/te/katello.po +258 -27
- data/locale/tr/katello.po +258 -27
- data/locale/vi/katello.po +258 -27
- data/locale/vi_VN/katello.po +258 -27
- data/locale/zh/katello.po +258 -27
- data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_CN/katello.po +259 -28
- data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_TW/katello.po +259 -28
- data/vendor/assets/javascripts/katello/chosen.jquery.js +2 -2
- data/vendor/assets/javascripts/katello/jquery.ba-bbq.js +1 -1
- data/vendor/assets/javascripts/katello/jquery.hoverIntent.js +2 -2
- data/webpack/ForemanColumnExtensions/index.js +1 -1
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +113 -86
- data/webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js +7 -2
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/DebsTab.js +31 -4
- data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +1 -1
- data/webpack/components/extensions/RegistrationCommands/fields/ActivationKeys.js +1 -7
- data/webpack/components/extensions/RegistrationCommands/helpers.js +15 -0
- data/webpack/components/extensions/RegistrationCommands/index.js +3 -9
- data/webpack/global_index.js +11 -4
- data/webpack/redux/actions/RedHatRepositories/helpers.js +8 -6
- data/webpack/scenes/ActivationKeys/Details/ActivationKeyDetails.js +4 -0
- data/webpack/scenes/ActivationKeys/Details/components/CVEDetailsCard.js +37 -0
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +1 -2
- data/webpack/scenes/Hosts/ChangeContentSource/helpers.js +2 -8
- data/webpack/scenes/SmartProxy/ExpandableCvDetails.js +22 -2
- data/webpack/scenes/SmartProxy/ExpandedSmartProxyRepositories.js +39 -20
- data/webpack/scenes/SmartProxy/SmartProxyContentActions.js +2 -1
- data/webpack/scenes/SmartProxy/SmartProxyExpandableTable.js +6 -4
- data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentTest.js +62 -0
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +6 -4
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +1 -1
- metadata +86 -76
- data/app/lib/katello/api/constraints/activation_key_constraint.rb +0 -7
- /data/app/lib/katello/{api → routing}/mapper_extensions.rb +0 -0
@@ -1,5 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
|
+
import { useDispatch } from 'react-redux';
|
3
4
|
import { translate as __ } from 'foremanReact/common/I18n';
|
4
5
|
import { TableComposable, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
5
6
|
import { CheckCircleIcon, TimesCircleIcon } from '@patternfly/react-icons';
|
@@ -8,17 +9,26 @@ import { urlBuilder } from 'foremanReact/common/urlHelpers';
|
|
8
9
|
import { useSet } from 'foremanReact/components/PF4/TableIndexPage/Table/TableHooks';
|
9
10
|
import ContentViewIcon from '../ContentViews/components/ContentViewIcon';
|
10
11
|
import ExpandedSmartProxyRepositories from './ExpandedSmartProxyRepositories';
|
12
|
+
import { updateSmartProxyContentCounts } from './SmartProxyContentActions';
|
11
13
|
|
12
|
-
const ExpandableCvDetails = ({
|
14
|
+
const ExpandableCvDetails = ({
|
15
|
+
smartProxyId, contentViews, contentCounts, envId,
|
16
|
+
}) => {
|
13
17
|
const columnHeaders = [
|
14
18
|
__('Content view'),
|
15
19
|
__('Version'),
|
16
20
|
__('Last published'),
|
17
21
|
__('Synced'),
|
18
22
|
];
|
19
|
-
|
23
|
+
const dispatch = useDispatch();
|
20
24
|
const expandedTableRows = useSet([]);
|
21
25
|
const tableRowIsExpanded = id => expandedTableRows.has(id);
|
26
|
+
const refreshCountAction = cvId => ({
|
27
|
+
title: __('Refresh counts'),
|
28
|
+
onClick: () => {
|
29
|
+
dispatch(updateSmartProxyContentCounts(smartProxyId, { content_view_id: cvId }));
|
30
|
+
},
|
31
|
+
});
|
22
32
|
|
23
33
|
return (
|
24
34
|
<TableComposable
|
@@ -68,6 +78,12 @@ const ExpandableCvDetails = ({ contentViews, contentCounts, envId }) => {
|
|
68
78
|
</Td>
|
69
79
|
<Td><LongDateTime date={cv.last_published} showRelativeTimeTooltip /></Td>
|
70
80
|
<Td>{upToDateVal}</Td>
|
81
|
+
<Td
|
82
|
+
key={`rowActions-${id}`}
|
83
|
+
actions={{
|
84
|
+
items: [refreshCountAction(id)],
|
85
|
+
}}
|
86
|
+
/>
|
71
87
|
</Tr>
|
72
88
|
<Tr key="child_row" ouiaId={`ContentViewTableRowChild-${id}`} isExpanded={isExpanded}>
|
73
89
|
<Td colSpan={12}>
|
@@ -89,6 +105,10 @@ const ExpandableCvDetails = ({ contentViews, contentCounts, envId }) => {
|
|
89
105
|
};
|
90
106
|
|
91
107
|
ExpandableCvDetails.propTypes = {
|
108
|
+
smartProxyId: PropTypes.oneOfType([
|
109
|
+
PropTypes.number,
|
110
|
+
PropTypes.string,
|
111
|
+
]).isRequired,
|
92
112
|
contentViews: PropTypes.arrayOf(PropTypes.shape({})),
|
93
113
|
contentCounts: PropTypes.shape({
|
94
114
|
content_view_versions: PropTypes.shape({}),
|
@@ -19,7 +19,6 @@ const ExpandedSmartProxyRepositories = ({
|
|
19
19
|
filteredData[key] = entry;
|
20
20
|
}
|
21
21
|
});
|
22
|
-
|
23
22
|
return filteredData;
|
24
23
|
};
|
25
24
|
const envContentCounts = filterDataByEnvId();
|
@@ -48,6 +47,43 @@ const ExpandedSmartProxyRepositories = ({
|
|
48
47
|
/* eslint-enable max-len */
|
49
48
|
return cellList;
|
50
49
|
};
|
50
|
+
|
51
|
+
const getDataListItems = () => {
|
52
|
+
if (Object.keys(envContentCounts).length) {
|
53
|
+
return Object.keys(envContentCounts).map((repo, index) => (
|
54
|
+
<DataListItem key={`${repo.id}-${index}`}>
|
55
|
+
<DataListItemRow>
|
56
|
+
<DataListItemCells
|
57
|
+
dataListCells={dataListCellLists(envContentCounts[repo], repo)}
|
58
|
+
/>
|
59
|
+
</DataListItemRow>
|
60
|
+
</DataListItem>
|
61
|
+
));
|
62
|
+
}
|
63
|
+
|
64
|
+
if (repositories?.length) {
|
65
|
+
return repositories.map((repo, index) => (
|
66
|
+
<DataListItem key={`${repo.id}-${index}`}>
|
67
|
+
<DataListItemRow>
|
68
|
+
<DataListItemCells
|
69
|
+
dataListCells={dataListCellListsNotSynced(repo)}
|
70
|
+
/>
|
71
|
+
</DataListItemRow>
|
72
|
+
</DataListItem>
|
73
|
+
));
|
74
|
+
}
|
75
|
+
|
76
|
+
return (
|
77
|
+
<DataListItem key="empty">
|
78
|
+
<DataListItemRow>
|
79
|
+
<DataListItemCells
|
80
|
+
dataListCells={[<DataListCell key="cv-empty"><InactiveText text={__('Content view version is empty')} /></DataListCell>]}
|
81
|
+
/>
|
82
|
+
</DataListItemRow>
|
83
|
+
</DataListItem>
|
84
|
+
);
|
85
|
+
};
|
86
|
+
|
51
87
|
if (syncedToCapsule) {
|
52
88
|
return (
|
53
89
|
<DataList aria-label="Expanded repository details" isCompact>
|
@@ -64,24 +100,7 @@ const ExpandedSmartProxyRepositories = ({
|
|
64
100
|
/>
|
65
101
|
</DataListItemRow>
|
66
102
|
</DataListItem>
|
67
|
-
{
|
68
|
-
Object.keys(envContentCounts).map((repo, index) => (
|
69
|
-
<DataListItem key={`${repo.id}-${index}`}>
|
70
|
-
<DataListItemRow>
|
71
|
-
<DataListItemCells
|
72
|
-
dataListCells={dataListCellLists(envContentCounts[repo], repo)}
|
73
|
-
/>
|
74
|
-
</DataListItemRow>
|
75
|
-
</DataListItem>
|
76
|
-
)) :
|
77
|
-
<DataListItem key="empty">
|
78
|
-
<DataListItemRow>
|
79
|
-
<DataListItemCells
|
80
|
-
dataListCells={[<DataListCell key="cv-empty"><InactiveText text={__('Content view version is empty')} /></DataListCell>]}
|
81
|
-
/>
|
82
|
-
</DataListItemRow>
|
83
|
-
</DataListItem>
|
84
|
-
}
|
103
|
+
{getDataListItems()}
|
85
104
|
</DataList>
|
86
105
|
);
|
87
106
|
}
|
@@ -112,7 +131,7 @@ const ExpandedSmartProxyRepositories = ({
|
|
112
131
|
<DataListItem key="empty">
|
113
132
|
<DataListItemRow>
|
114
133
|
<DataListItemCells
|
115
|
-
dataListCells={[<DataListCell key="cv-empty"><InactiveText text={__('Content view version is empty')} /></DataListCell>]}
|
134
|
+
dataListCells={[<DataListCell key="cv-empty"><InactiveText text={__('Content view version is empty or content counts are not up to date')} /></DataListCell>]}
|
116
135
|
/>
|
117
136
|
</DataListItemRow>
|
118
137
|
</DataListItem>
|
@@ -18,10 +18,11 @@ export const getSmartProxies = () => get({
|
|
18
18
|
params: { organization_id: orgId(), per_page: 'all' },
|
19
19
|
});
|
20
20
|
|
21
|
-
export const updateSmartProxyContentCounts = smartProxyId => post({
|
21
|
+
export const updateSmartProxyContentCounts = (smartProxyId, params) => post({
|
22
22
|
type: API_OPERATIONS.POST,
|
23
23
|
key: SMART_PROXY_COUNTS_UPDATE_KEY,
|
24
24
|
url: api.getApiUrl(`/capsules/${smartProxyId}/content/update_counts`),
|
25
|
+
params,
|
25
26
|
handleSuccess: (response) => {
|
26
27
|
renderTaskStartedToast(response?.data, __('Smart proxy content count refresh has started in the background'));
|
27
28
|
},
|
@@ -35,12 +35,13 @@ const SmartProxyExpandableTable = ({ smartProxyId, organizationId }) => {
|
|
35
35
|
__('Last sync'),
|
36
36
|
];
|
37
37
|
|
38
|
-
const refreshCountAction = {
|
38
|
+
const refreshCountAction = envId => ({
|
39
39
|
title: __('Refresh counts'),
|
40
40
|
onClick: () => {
|
41
|
-
dispatch(updateSmartProxyContentCounts(smartProxyId));
|
41
|
+
dispatch(updateSmartProxyContentCounts(smartProxyId, { environment_id: envId }));
|
42
42
|
},
|
43
|
-
};
|
43
|
+
});
|
44
|
+
|
44
45
|
const fetchItems = useCallback(
|
45
46
|
() => getSmartProxyContent({ smartProxyId, organizationId }),
|
46
47
|
[smartProxyId, organizationId],
|
@@ -109,7 +110,7 @@ const SmartProxyExpandableTable = ({ smartProxyId, organizationId }) => {
|
|
109
110
|
<Td
|
110
111
|
key={`rowActions-${id}`}
|
111
112
|
actions={{
|
112
|
-
items: [refreshCountAction],
|
113
|
+
items: [refreshCountAction(id)],
|
113
114
|
}}
|
114
115
|
/>
|
115
116
|
</Tr>
|
@@ -117,6 +118,7 @@ const SmartProxyExpandableTable = ({ smartProxyId, organizationId }) => {
|
|
117
118
|
<Td colSpan={4}>
|
118
119
|
{isExpanded ?
|
119
120
|
<ExpandableCvDetails
|
121
|
+
smartProxyId={smartProxyId}
|
120
122
|
contentViews={contentViews}
|
121
123
|
contentCounts={contentCounts}
|
122
124
|
envId={id}
|
@@ -8,6 +8,7 @@ import SmartProxyExpandableTable from '../SmartProxyExpandableTable';
|
|
8
8
|
const smartProxyContentData = require('./SmartProxyContentTest.fixtures.json');
|
9
9
|
|
10
10
|
const smartProxyContentPath = api.getApiUrl('/capsules/1/content/sync');
|
11
|
+
const smartProxyRefreshCountPath = api.getApiUrl('/capsules/1/content/update_counts');
|
11
12
|
|
12
13
|
const smartProxyContent = { ...smartProxyContentData };
|
13
14
|
|
@@ -48,3 +49,64 @@ test('Can display Smart proxy content table and expand env and cv details', asyn
|
|
48
49
|
expect(getAllByText(/2 Package groups/i)[0]).toBeInTheDocument();
|
49
50
|
assertNockRequest(detailsScope, done);
|
50
51
|
});
|
52
|
+
|
53
|
+
test('Can call content count refresh for environment', async (done) => {
|
54
|
+
const detailsScope = nockInstance
|
55
|
+
.get(smartProxyContentPath)
|
56
|
+
.query(true)
|
57
|
+
.reply(200, smartProxyContent);
|
58
|
+
|
59
|
+
const countsEnvRefreshScope = nockInstance
|
60
|
+
.post(smartProxyRefreshCountPath, {
|
61
|
+
environment_id: 1,
|
62
|
+
})
|
63
|
+
.reply(202);
|
64
|
+
|
65
|
+
const {
|
66
|
+
getByText, queryAllByLabelText,
|
67
|
+
} = renderWithRedux(contentTable);
|
68
|
+
await patientlyWaitFor(() => expect(getByText('Environment')).toBeInTheDocument());
|
69
|
+
const envRowActions = queryAllByLabelText('Actions')[0];
|
70
|
+
envRowActions.click();
|
71
|
+
await patientlyWaitFor(() => expect(getByText('Refresh counts')).toBeInTheDocument());
|
72
|
+
const refreshEnv = getByText('Refresh counts');
|
73
|
+
refreshEnv.click();
|
74
|
+
|
75
|
+
assertNockRequest(detailsScope);
|
76
|
+
assertNockRequest(countsEnvRefreshScope, done);
|
77
|
+
});
|
78
|
+
|
79
|
+
test('Can call content count refresh for content view', async (done) => {
|
80
|
+
const detailsScope = nockInstance
|
81
|
+
.get(smartProxyContentPath)
|
82
|
+
.query(true)
|
83
|
+
.reply(200, smartProxyContent);
|
84
|
+
|
85
|
+
const countsCVRefreshScope = nockInstance
|
86
|
+
.post(smartProxyRefreshCountPath, {
|
87
|
+
content_view_id: 1,
|
88
|
+
})
|
89
|
+
.reply(202);
|
90
|
+
|
91
|
+
|
92
|
+
const {
|
93
|
+
getByText, getAllByText, getByLabelText, queryAllByLabelText,
|
94
|
+
} = renderWithRedux(contentTable);
|
95
|
+
await patientlyWaitFor(() => expect(getByText('Environment')).toBeInTheDocument());
|
96
|
+
const tdEnvExpand = getByLabelText('expand-env-1');
|
97
|
+
const envExpansion = within(tdEnvExpand).getByLabelText('Details');
|
98
|
+
envExpansion.click();
|
99
|
+
await patientlyWaitFor(() => expect(getAllByText('Content view')[0]).toBeInTheDocument());
|
100
|
+
expect(getAllByText('Last published')[0]).toBeInTheDocument();
|
101
|
+
expect(getAllByText('Repository')[0]).toBeInTheDocument();
|
102
|
+
expect(getAllByText('Synced')[0]).toBeInTheDocument();
|
103
|
+
const cvRowActions = queryAllByLabelText('Actions')[1];
|
104
|
+
cvRowActions.click();
|
105
|
+
|
106
|
+
await patientlyWaitFor(() => expect(getByText('Refresh counts')).toBeInTheDocument());
|
107
|
+
const refreshCvCounts = getByText('Refresh counts');
|
108
|
+
refreshCvCounts.click();
|
109
|
+
|
110
|
+
assertNockRequest(detailsScope, done);
|
111
|
+
assertNockRequest(countsCVRefreshScope, done);
|
112
|
+
});
|
@@ -4,7 +4,7 @@ import { Grid, Col, Row, Tabs, Tab, FormControl, ControlLabel } from 'react-boot
|
|
4
4
|
import { FormattedMessage } from 'react-intl';
|
5
5
|
import { Button, Spinner } from 'patternfly-react';
|
6
6
|
import { Alert } from '@patternfly/react-core';
|
7
|
-
import { propsToCamelCase } from 'foremanReact/common/helpers';
|
7
|
+
import { propsToCamelCase, getDocsURL } from 'foremanReact/common/helpers';
|
8
8
|
import ForemanModal from 'foremanReact/components/ForemanModal';
|
9
9
|
import Slot from 'foremanReact/components/common/Slot';
|
10
10
|
import { translate as __ } from 'foremanReact/common/I18n';
|
@@ -12,6 +12,7 @@ import TooltipButton from '../../../components/TooltipButton';
|
|
12
12
|
import { LoadingState } from '../../../components/LoadingState';
|
13
13
|
import { Table } from '../../../components/pf3Table';
|
14
14
|
|
15
|
+
|
15
16
|
import { columns } from './ManifestHistoryTableSchema';
|
16
17
|
import DeleteManifestModalText from './DeleteManifestModalText';
|
17
18
|
import { MANAGE_MANIFEST_MODAL_ID, DELETE_MANIFEST_MODAL_ID } from './ManifestConstants';
|
@@ -32,7 +33,7 @@ class ManageManifestModal extends Component {
|
|
32
33
|
}
|
33
34
|
|
34
35
|
if (prevProps.taskInProgress && !this.props.taskInProgress) {
|
35
|
-
this.props.loadOrganization();
|
36
|
+
this.props.loadOrganization({ force_manifest_expire_cache: true });
|
36
37
|
this.props.loadManifestHistory();
|
37
38
|
}
|
38
39
|
|
@@ -111,8 +112,9 @@ class ManageManifestModal extends Component {
|
|
111
112
|
header: __('There is no manifest history to display.'),
|
112
113
|
description: __('Import a manifest using the Manifest tab above.'),
|
113
114
|
documentation: {
|
114
|
-
label: __('Learn more about adding subscription manifests '),
|
115
|
-
|
115
|
+
label: __('Learn more about adding subscription manifests in '),
|
116
|
+
buttonLabel: __('the documentation.'),
|
117
|
+
url: getDocsURL('Managing_Content', 'Managing_Red_Hat_Subscriptions_content-management'),
|
116
118
|
},
|
117
119
|
});
|
118
120
|
|
@@ -204,7 +204,7 @@ class SubscriptionsPage extends Component {
|
|
204
204
|
description: __('Add subscriptions using the Add Subscriptions button.'),
|
205
205
|
action: {
|
206
206
|
title: __('Add subscriptions'),
|
207
|
-
url: 'subscriptions/add',
|
207
|
+
url: '/subscriptions/add',
|
208
208
|
},
|
209
209
|
}
|
210
210
|
: {
|