katello 4.10.0 → 4.11.0.rc2
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/locale/bn/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/bn_IN/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/ca/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/cs/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/de/katello.js +260 -245
- data/app/assets/javascripts/katello/locale/de_AT/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/de_DE/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/el/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/en/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/en_GB/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/en_US/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/es/katello.js +257 -233
- data/app/assets/javascripts/katello/locale/et_EE/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/fr/katello.js +268 -268
- data/app/assets/javascripts/katello/locale/gl/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/gu/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/he_IL/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/hi/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/id/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/it/katello.js +254 -221
- data/app/assets/javascripts/katello/locale/ja/katello.js +268 -268
- data/app/assets/javascripts/katello/locale/ka/katello.js +261 -231
- data/app/assets/javascripts/katello/locale/kn/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/ko/katello.js +255 -222
- data/app/assets/javascripts/katello/locale/locale/katello.js +1049 -1012
- data/app/assets/javascripts/katello/locale/ml_IN/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/mr/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/nl_NL/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/or/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/pa/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/pl/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/pl_PL/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/pt/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/pt_BR/katello.js +257 -233
- data/app/assets/javascripts/katello/locale/ro/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/ro_RO/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/ru/katello.js +255 -222
- data/app/assets/javascripts/katello/locale/sl/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/sv_SE/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/ta/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/ta_IN/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/te/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/tr/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/vi/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/vi_VN/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/zh/katello.js +254 -215
- data/app/assets/javascripts/katello/locale/zh_CN/katello.js +268 -268
- data/app/assets/javascripts/katello/locale/zh_TW/katello.js +255 -222
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +15 -2
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +21 -4
- data/app/controllers/katello/api/v2/capsules_controller.rb +11 -1
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/docker_tags_controller.rb +2 -0
- data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +2 -1
- data/app/controllers/katello/api/v2/organizations_controller.rb +2 -2
- data/app/controllers/katello/api/v2/repositories_controller.rb +1 -0
- data/app/controllers/katello/api/v2/simple_content_access_controller.rb +5 -5
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +11 -3
- data/app/controllers/katello/concerns/api/api_controller.rb +6 -0
- data/app/controllers/katello/concerns/api/v2/hosts_bulk_actions_controller_extensions.rb +23 -0
- data/app/controllers/katello/concerns/filtered_auto_complete_search.rb +1 -1
- data/app/controllers/katello/concerns/organizations_controller_extensions.rb +2 -0
- data/app/controllers/katello/remote_execution_controller.rb +1 -1
- data/app/jobs/create_host_lifecycle_expire_soon_notifications.rb +11 -0
- data/app/lib/actions/katello/applicability/hosts/bulk_generate.rb +10 -0
- data/app/lib/actions/katello/capsule_content/refresh_repos.rb +8 -2
- data/app/lib/actions/katello/capsule_content/sync.rb +30 -10
- data/app/lib/actions/katello/capsule_content/sync_capsule.rb +13 -0
- data/app/lib/actions/katello/capsule_content/update_content_counts.rb +24 -0
- data/app/lib/actions/katello/content_view/promote.rb +9 -0
- data/app/lib/actions/katello/content_view/publish.rb +9 -0
- data/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +8 -0
- data/app/lib/actions/katello/repository/sync.rb +11 -0
- data/app/lib/actions/pulp3/capsule_content/reclaim_space.rb +5 -0
- data/app/lib/actions/pulp3/content_view_version/create_export_history.rb +6 -1
- data/app/lib/actions/pulp3/content_view_version/export.rb +8 -0
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +1 -1
- data/app/lib/katello/concerns/base_template_scope_extensions.rb +14 -1
- data/app/lib/katello/errors.rb +1 -0
- data/app/lib/katello/repo_discovery.rb +2 -2
- data/app/lib/katello/validators/content_view_environment_coherent_default_validator.rb +22 -0
- data/app/lib/katello/validators/content_view_environment_validator.rb +1 -0
- data/app/mailers/katello/task_mailer.rb +54 -0
- data/app/models/katello/concerns/host_managed_extensions.rb +41 -1
- data/app/models/katello/concerns/organization_extensions.rb +1 -1
- data/app/models/katello/concerns/smart_proxy_extensions.rb +75 -3
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +6 -0
- data/app/models/katello/content_view.rb +21 -0
- data/app/models/katello/content_view_environment.rb +6 -1
- data/app/models/katello/docker_meta_tag.rb +1 -1
- data/app/models/katello/docker_tag.rb +1 -1
- data/app/models/katello/erratum.rb +1 -1
- data/app/models/katello/host/content_facet.rb +10 -7
- data/app/models/katello/product.rb +8 -0
- data/app/models/katello/repository.rb +31 -6
- data/app/models/katello/rhel_lifecycle_status.rb +214 -0
- data/app/models/katello/sync_plan.rb +19 -1
- data/app/models/katello/yum_metadata_file.rb +1 -1
- data/app/services/katello/applicability/applicable_content_helper.rb +1 -1
- data/app/services/katello/event_queue.rb +10 -2
- data/app/services/katello/host_status_manager.rb +1 -0
- data/app/services/katello/product_content_importer.rb +45 -3
- data/app/services/katello/pulp3/ansible_collection.rb +1 -0
- data/app/services/katello/pulp3/api/core.rb +1 -1
- data/app/services/katello/pulp3/deb.rb +1 -0
- data/app/services/katello/pulp3/docker_manifest.rb +1 -0
- data/app/services/katello/pulp3/docker_manifest_list.rb +9 -4
- data/app/services/katello/pulp3/docker_tag.rb +1 -0
- data/app/services/katello/pulp3/erratum.rb +1 -0
- data/app/services/katello/pulp3/file_unit.rb +1 -0
- data/app/services/katello/pulp3/module_stream.rb +1 -0
- data/app/services/katello/pulp3/package_group.rb +1 -0
- data/app/services/katello/pulp3/pulp_content_unit.rb +39 -0
- data/app/services/katello/pulp3/repository_mirror.rb +21 -2
- data/app/services/katello/pulp3/rpm.rb +1 -0
- data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +1 -1
- data/app/services/katello/pulp3/srpm.rb +3 -2
- data/app/services/katello/registration_manager.rb +6 -3
- data/app/services/katello/repository_type.rb +2 -1
- data/app/services/katello/ui_notifications/hosts/lifecycle_expire_soon.rb +58 -0
- data/app/views/foreman/job_templates/resolve_traces.erb +1 -1
- data/app/views/foreman/smart_proxies/_content_tab.html.erb +1 -3
- data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +39 -1
- data/app/views/katello/api/v2/content_export_incrementals/repository.json.rabl +13 -0
- data/app/views/katello/api/v2/content_facet/show.json.rabl +4 -0
- data/app/views/katello/api/v2/content_views/base.json.rabl +1 -1
- data/app/views/katello/api/v2/docker_tags/_base.json.rabl +28 -6
- data/app/views/katello/hosts/_errata_counts.html.erb +2 -2
- data/app/views/katello/task_mailer/cv_promote_failure.html.erb +31 -0
- data/app/views/katello/task_mailer/cv_promote_failure.text.erb +13 -0
- data/app/views/katello/task_mailer/cv_publish_failure.html.erb +31 -0
- data/app/views/katello/task_mailer/cv_publish_failure.text.erb +13 -0
- data/app/views/katello/task_mailer/proxy_sync_failure.html.erb +45 -0
- data/app/views/katello/task_mailer/proxy_sync_failure.text.erb +25 -0
- data/app/views/katello/task_mailer/repo_sync_failure.html.erb +35 -0
- data/app/views/katello/task_mailer/repo_sync_failure.text.erb +15 -0
- data/app/views/overrides/organizations/_edit_override.html.erb +4 -0
- data/config/routes/api/v2.rb +2 -0
- data/db/migrate/20230825180856_add_content_counts_to_smart_proxy.rb +7 -0
- data/db/migrate/20231020153017_create_indexes_for_nvra_and_epoch.rb +6 -0
- data/db/seeds.d/106-mail_notifications.rb +32 -0
- data/db/seeds.d/109-katello-notification-blueprints.rb +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-alert.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-host-collections.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-subscriptions.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-copy.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-host-collections.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-repository-sets.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-subscriptions.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/new-activation-key.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +16 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/common/views/rhel-lifecycle-notice.html +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credentials.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-products.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-repositories.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/new-content-credential.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-errata-modal.controller.js +5 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-debs-actions.controller.js +5 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-debs-applicable.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-debs-installed.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-module-streams.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-applicable.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-installed.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-traces.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-debs-actions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-debs-applicable.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-debs-installed.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-module-streams.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-actions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-applicable.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-installed.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-traces.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.routes.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-host-collections.controller.js +4 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-subscriptions.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-host-collections.controller.js +4 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-repository-sets.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-subscriptions.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-add-subscriptions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +4 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-host-collections.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-provisioning-info.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions-list.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.controller.js +7 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js +8 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-repositories.controller.js +10 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tag-environments.controller.js +5 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tag-repositories.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js +6 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment-content.controller.js +13 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment.controller.js +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/new-environment.controller.js +8 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum-content-hosts.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum-repositories.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-info.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/details/file-content-views.controller.js +10 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/details/file-repositories.controller.js +8 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js +9 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-add-hosts.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-copy.controller.js +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-hosts.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/new-host-collection.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host.factory.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +166 -43
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.controller.js +7 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-advanced-sync.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-manage-content.controller.js +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery-create.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/product-form.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/content-access-mode-banner.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-add-products.controller.js +5 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-products.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/new-sync-plan.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-details.controller.js +6 -2
- data/lib/katello/engine.rb +2 -3
- data/lib/katello/permission_creator.rb +2 -2
- data/lib/katello/plugin.rb +4 -0
- data/lib/katello/repository_types/ostree.rb +1 -0
- data/lib/katello/repository_types/python.rb +1 -0
- data/lib/katello/scheduled_jobs.rb +1 -1
- data/lib/katello/version.rb +1 -1
- data/locale/action_names.rb +1 -3
- data/locale/bn/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn/katello.po +236 -197
- data/locale/bn/katello.po.time_stamp +0 -0
- data/locale/bn_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn_IN/katello.po +236 -197
- data/locale/bn_IN/katello.po.time_stamp +0 -0
- data/locale/ca/LC_MESSAGES/katello.mo +0 -0
- data/locale/ca/katello.po +236 -197
- data/locale/ca/katello.po.time_stamp +0 -0
- data/locale/cs/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs/katello.po +236 -206
- data/locale/cs/katello.po.time_stamp +0 -0
- data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs_CZ/katello.po +236 -197
- data/locale/cs_CZ/katello.po.time_stamp +0 -0
- data/locale/de/LC_MESSAGES/katello.mo +0 -0
- data/locale/de/katello.po +241 -202
- data/locale/de/katello.po.time_stamp +0 -0
- data/locale/de_AT/LC_MESSAGES/katello.mo +0 -0
- data/locale/de_AT/katello.po +236 -197
- data/locale/de_AT/katello.po.time_stamp +0 -0
- data/locale/de_DE/LC_MESSAGES/katello.mo +0 -0
- data/locale/de_DE/katello.po +236 -197
- data/locale/de_DE/katello.po.time_stamp +0 -0
- data/locale/el/LC_MESSAGES/katello.mo +0 -0
- data/locale/el/katello.po +236 -197
- data/locale/el/katello.po.time_stamp +0 -0
- data/locale/en/LC_MESSAGES/katello.mo +0 -0
- data/locale/en/katello.po +236 -197
- data/locale/en/katello.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_GB/katello.po +236 -197
- data/locale/en_GB/katello.po.time_stamp +0 -0
- data/locale/en_US/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_US/katello.po +236 -197
- data/locale/en_US/katello.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/katello.mo +0 -0
- data/locale/es/katello.po +238 -199
- data/locale/es/katello.po.time_stamp +0 -0
- data/locale/et_EE/LC_MESSAGES/katello.mo +0 -0
- data/locale/et_EE/katello.po +236 -197
- data/locale/et_EE/katello.po.time_stamp +0 -0
- data/locale/fr/LC_MESSAGES/katello.mo +0 -0
- data/locale/fr/katello.po +247 -208
- data/locale/fr/katello.po.time_stamp +0 -0
- data/locale/gl/LC_MESSAGES/katello.mo +0 -0
- data/locale/gl/katello.po +236 -197
- data/locale/gl/katello.po.time_stamp +0 -0
- data/locale/gu/LC_MESSAGES/katello.mo +0 -0
- data/locale/gu/katello.po +236 -197
- data/locale/gu/katello.po.time_stamp +0 -0
- data/locale/he_IL/LC_MESSAGES/katello.mo +0 -0
- data/locale/he_IL/katello.po +236 -197
- data/locale/he_IL/katello.po.time_stamp +0 -0
- data/locale/hi/LC_MESSAGES/katello.mo +0 -0
- data/locale/hi/katello.po +236 -197
- data/locale/hi/katello.po.time_stamp +0 -0
- data/locale/id/LC_MESSAGES/katello.mo +0 -0
- data/locale/id/katello.po +236 -197
- data/locale/id/katello.po.time_stamp +0 -0
- data/locale/it/LC_MESSAGES/katello.mo +0 -0
- data/locale/it/katello.po +236 -197
- data/locale/it/katello.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/katello.mo +0 -0
- data/locale/ja/katello.po +247 -208
- data/locale/ja/katello.po.time_stamp +0 -0
- data/locale/ka/LC_MESSAGES/katello.mo +0 -0
- data/locale/ka/katello.po +241 -202
- data/locale/ka/katello.po.time_stamp +0 -0
- data/locale/katello.pot +1427 -1296
- data/locale/kn/LC_MESSAGES/katello.mo +0 -0
- data/locale/kn/katello.po +236 -197
- data/locale/kn/katello.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/katello.mo +0 -0
- data/locale/ko/katello.po +236 -197
- data/locale/ko/katello.po.time_stamp +0 -0
- data/locale/ml_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/ml_IN/katello.po +236 -197
- data/locale/ml_IN/katello.po.time_stamp +0 -0
- data/locale/mr/LC_MESSAGES/katello.mo +0 -0
- data/locale/mr/katello.po +236 -197
- data/locale/mr/katello.po.time_stamp +0 -0
- data/locale/nl_NL/LC_MESSAGES/katello.mo +0 -0
- data/locale/nl_NL/katello.po +236 -197
- data/locale/nl_NL/katello.po.time_stamp +0 -0
- data/locale/or/LC_MESSAGES/katello.mo +0 -0
- data/locale/or/katello.po +236 -197
- data/locale/or/katello.po.time_stamp +0 -0
- data/locale/pa/LC_MESSAGES/katello.mo +0 -0
- data/locale/pa/katello.po +236 -197
- data/locale/pa/katello.po.time_stamp +0 -0
- data/locale/pl/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl/katello.po +236 -197
- data/locale/pl/katello.po.time_stamp +0 -0
- data/locale/pl_PL/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl_PL/katello.po +236 -197
- data/locale/pl_PL/katello.po.time_stamp +0 -0
- data/locale/pt/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt/katello.po +236 -197
- data/locale/pt/katello.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt_BR/katello.po +238 -199
- data/locale/pt_BR/katello.po.time_stamp +0 -0
- data/locale/ro/LC_MESSAGES/katello.mo +0 -0
- data/locale/ro/katello.po +236 -197
- data/locale/ro/katello.po.time_stamp +0 -0
- data/locale/ro_RO/LC_MESSAGES/katello.mo +0 -0
- data/locale/ro_RO/katello.po +236 -197
- data/locale/ro_RO/katello.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/katello.mo +0 -0
- data/locale/ru/katello.po +236 -197
- data/locale/ru/katello.po.time_stamp +0 -0
- data/locale/sl/LC_MESSAGES/katello.mo +0 -0
- data/locale/sl/katello.po +236 -197
- data/locale/sl/katello.po.time_stamp +0 -0
- data/locale/sv_SE/LC_MESSAGES/katello.mo +0 -0
- data/locale/sv_SE/katello.po +236 -197
- data/locale/sv_SE/katello.po.time_stamp +0 -0
- data/locale/ta/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta/katello.po +236 -197
- data/locale/ta/katello.po.time_stamp +0 -0
- data/locale/ta_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta_IN/katello.po +236 -197
- data/locale/ta_IN/katello.po.time_stamp +0 -0
- data/locale/te/LC_MESSAGES/katello.mo +0 -0
- data/locale/te/katello.po +236 -197
- data/locale/te/katello.po.time_stamp +0 -0
- data/locale/tr/LC_MESSAGES/katello.mo +0 -0
- data/locale/tr/katello.po +236 -197
- data/locale/tr/katello.po.time_stamp +0 -0
- data/locale/vi/LC_MESSAGES/katello.mo +0 -0
- data/locale/vi/katello.po +236 -197
- data/locale/vi/katello.po.time_stamp +0 -0
- data/locale/vi_VN/LC_MESSAGES/katello.mo +0 -0
- data/locale/vi_VN/katello.po +236 -197
- data/locale/vi_VN/katello.po.time_stamp +0 -0
- data/locale/zh/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh/katello.po +236 -197
- data/locale/zh/katello.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_CN/katello.po +247 -208
- data/locale/zh_CN/katello.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_TW/katello.po +236 -197
- data/locale/zh_TW/katello.po.time_stamp +0 -0
- data/webpack/components/Table/EmptyStateMessage.js +7 -4
- data/webpack/components/Table/MainTable.scss +18 -17
- data/webpack/components/Table/TableWrapper.js +4 -1
- data/webpack/components/extensions/HostDetails/ActionsBar/index.js +45 -4
- data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.scss +9 -7
- data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.js +1 -1
- data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsModal.js +1 -1
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeActions.js +29 -7
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeCard.js +106 -66
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeCard.scss +6 -0
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeConstants.js +2 -0
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeEditModal.js +53 -29
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeSelectors.js +7 -6
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/__tests__/SystemPurposeCard.test.js +24 -5
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/__tests__/SystemPurposeEditModal.test.js +137 -7
- data/webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js +11 -10
- data/webpack/components/extensions/HostDetails/DetailsTabCards/RegistrationCard.js +8 -2
- data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/ErrataTab.js +27 -10
- data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/HostErrataActions.js +3 -22
- data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/HostErrataConstants.js +0 -1
- data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +3 -2
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackageInstallModal.js +2 -2
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +48 -12
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +22 -10
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionHooks.js +1 -1
- data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +2 -2
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerModal.js +71 -5
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerModal.scss +16 -0
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesEnabler.js +4 -1
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +6 -2
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +2 -1
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +25 -0
- data/webpack/components/extensions/Hosts/ActionsBar/index.js +36 -0
- data/webpack/components/extensions/Hosts/constants.js +2 -0
- data/webpack/components/extensions/RegistrationCommands/RegistrationCommandsPageHelpers.js +13 -7
- data/webpack/components/extensions/RegistrationCommands/__tests__/__snapshots__/ActivationKeys.test.js.snap +9 -1
- data/webpack/components/extensions/RegistrationCommands/fields/ActivationKeys.js +87 -22
- data/webpack/components/extensions/RegistrationCommands/index.js +17 -41
- data/webpack/global_index.js +11 -2
- data/webpack/redux/reducers/RedHatRepositories/enabled.fixtures.js +4 -0
- data/webpack/redux/reducers/RedHatRepositories/enabled.js +1 -0
- data/webpack/scenes/ActivationKeys/Details/ActivationKeyDetails.js +10 -1
- data/webpack/scenes/ActivationKeys/Details/ActivationKeyDetails.scss +33 -31
- data/webpack/scenes/AlternateContentSources/MainTable/ACSTable.js +3 -1
- data/webpack/scenes/Content/ContentConfig.js +3 -0
- data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +6 -4
- data/webpack/scenes/ContentViews/Create/CreateContentViewForm.scss +8 -6
- data/webpack/scenes/ContentViews/Delete/ContentViewDeleteWizard.js +1 -0
- data/webpack/scenes/ContentViews/Delete/Steps/CVEnvironmentSelectionForm.scss +4 -2
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewAddModal.js +3 -4
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewBulkAddModal.js +2 -2
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +5 -5
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/compositeCVDetails.fixtures.json +393 -0
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/contentViewComponents.test.js +30 -4
- data/webpack/scenes/ContentViews/Details/Filters/CVErrataDateFilterContent.js +3 -1
- data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +3 -3
- data/webpack/scenes/ContentViews/Details/Repositories/RepoIcon.js +2 -1
- data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js +1 -1
- data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +1 -1
- data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveCVVersionWizard.js +1 -1
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js +1 -1
- data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +24 -1
- data/webpack/scenes/ContentViews/Publish/PublishContentViewWizard.js +1 -0
- data/webpack/scenes/ContentViews/Publish/__tests__/publishContentView.test.js +42 -0
- data/webpack/scenes/ContentViews/Publish/cvPublishForm.scss +13 -11
- data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +2 -1
- data/webpack/scenes/ContentViews/__tests__/mockDetails.fixtures.json +2 -1
- data/webpack/scenes/Hosts/ChangeContentSource/index.js +4 -3
- data/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js +1 -2
- data/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap +1 -1
- data/webpack/scenes/RedHatRepositories/RedHatRepositoriesPage.js +2 -1
- data/webpack/scenes/RedHatRepositories/__tests__/__snapshots__/RedHatRepositoriesPage.test.js.snap +6 -0
- data/webpack/scenes/RedHatRepositories/components/EnabledRepository/EnabledRepository.js +4 -1
- data/webpack/scenes/RedHatRepositories/components/EnabledRepository/EnabledRepositoryContent.js +13 -4
- data/webpack/scenes/RedHatRepositories/components/EnabledRepository/__tests__/EnabledRepositoryContent.test.js +1 -0
- data/webpack/scenes/RedHatRepositories/components/EnabledRepository/__tests__/__snapshots__/EnabledRepository.test.js.snap +1 -0
- data/webpack/scenes/RedHatRepositories/components/EnabledRepository/__tests__/__snapshots__/EnabledRepositoryContent.test.js.snap +3 -2
- data/webpack/scenes/SmartProxy/AdditionalCapsuleContent.js +93 -0
- data/webpack/scenes/SmartProxy/Content.js +12 -4
- data/webpack/scenes/SmartProxy/ExpandableCvDetails.js +107 -0
- data/webpack/scenes/SmartProxy/ExpandedSmartProxyRepositories.js +139 -0
- data/webpack/scenes/SmartProxy/SmartProxyContentActions.js +17 -4
- data/webpack/scenes/SmartProxy/SmartProxyContentConstants.js +1 -0
- data/webpack/scenes/SmartProxy/SmartProxyExpandableTable.js +150 -0
- data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentTest.fixtures.json +799 -0
- data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentTest.js +29 -17
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.js +16 -19
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.scss +12 -8
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap +21 -18
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnConfigurationForm.scss +4 -2
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.scss +38 -19
- data/webpack/scenes/Subscriptions/Manifest/index.js +0 -2
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +38 -12
- data/webpack/scenes/Subscriptions/SubscriptionsPage.scss +38 -36
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +16 -13
- data/webpack/utils/helpers.js +0 -1
- metadata +148 -33
- data/app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb +0 -47
- data/webpack/components/Table/TableHooks.js +0 -315
- data/webpack/components/Table/__test__/useBulkSelect.test.js +0 -99
- data/webpack/components/extensions/RegistrationCommands/__tests__/LifeCycleEnvironment.test.js +0 -11
- data/webpack/components/extensions/RegistrationCommands/__tests__/__snapshots__/LifeCycleEnvironment.test.js.snap +0 -29
- data/webpack/components/extensions/RegistrationCommands/fields/LifecycleEnvironment.js +0 -57
- data/webpack/scenes/SmartProxy/SmartProxyContentTable.js +0 -164
- data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentResult.fixtures.json +0 -140
- data/webpack/scenes/Subscriptions/Manifest/Manifest.scss +0 -16
@@ -30,7 +30,7 @@ import AddedStatusLabel from '../../../../components/AddedStatusLabel';
|
|
30
30
|
import ComponentVersion from './ComponentVersion';
|
31
31
|
import ComponentEnvironments from './ComponentEnvironments';
|
32
32
|
import ContentViewIcon from '../../components/ContentViewIcon';
|
33
|
-
import { ADDED, ALL_STATUSES,
|
33
|
+
import { ADDED, ALL_STATUSES, NOT_ADDED } from '../../ContentViewsConstants';
|
34
34
|
import SelectableDropdown from '../../../../components/SelectableDropdown/SelectableDropdown';
|
35
35
|
import '../../../../components/EditableTextInput/editableTextInput.scss';
|
36
36
|
import ComponentContentViewAddModal from './ComponentContentViewAddModal';
|
@@ -98,7 +98,7 @@ const ContentViewComponents = ({ cvId, details }) => {
|
|
98
98
|
dispatch(addComponent({
|
99
99
|
compositeContentViewId: cvId,
|
100
100
|
components: [{ latest: true, content_view_id: componentCvId }],
|
101
|
-
}, () => dispatch(
|
101
|
+
}, () => dispatch(getContentViewDetails(cvId))));
|
102
102
|
}
|
103
103
|
}, [cvId, dispatch]);
|
104
104
|
|
@@ -108,7 +108,7 @@ const ContentViewComponents = ({ cvId, details }) => {
|
|
108
108
|
dispatch(removeComponent({
|
109
109
|
compositeContentViewId: cvId,
|
110
110
|
component_ids: componentIds,
|
111
|
-
}, () => dispatch(
|
111
|
+
}, () => dispatch(getContentViewDetails(cvId))));
|
112
112
|
};
|
113
113
|
|
114
114
|
const addBulk = () => {
|
@@ -122,7 +122,7 @@ const ContentViewComponents = ({ cvId, details }) => {
|
|
122
122
|
dispatch(removeComponent({
|
123
123
|
compositeContentViewId: cvId,
|
124
124
|
component_ids: [componentIdToRemove],
|
125
|
-
}, () => dispatch(
|
125
|
+
}, () => dispatch(getContentViewDetails(cvId))));
|
126
126
|
};
|
127
127
|
|
128
128
|
const toggleBulkAction = () => {
|
@@ -156,7 +156,7 @@ const ContentViewComponents = ({ cvId, details }) => {
|
|
156
156
|
<SplitItem>
|
157
157
|
<Button
|
158
158
|
ouiaId={`edit-component-version-${componentCvId}`}
|
159
|
-
className="foreman-edit-icon"
|
159
|
+
className="katello-edit-icon foreman-edit-icon"
|
160
160
|
aria-label="edit_version"
|
161
161
|
variant="plain"
|
162
162
|
onClick={() => {
|
@@ -0,0 +1,393 @@
|
|
1
|
+
{
|
2
|
+
"content_host_count": 0,
|
3
|
+
"composite": true,
|
4
|
+
"component_ids": [
|
5
|
+
5,
|
6
|
+
7
|
7
|
+
],
|
8
|
+
"duplicate_repositories_to_publish": [
|
9
|
+
{
|
10
|
+
"id": 1,
|
11
|
+
"name": "repo1",
|
12
|
+
"components": [
|
13
|
+
{
|
14
|
+
"content_view_name": "test",
|
15
|
+
"content_view_version": "2.0"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"content_view_name": "dev",
|
19
|
+
"content_view_version": "3.0"
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"default": false,
|
25
|
+
"version_count": 1,
|
26
|
+
"latest_version": "1.0",
|
27
|
+
"latest_version_id": 10,
|
28
|
+
"auto_publish": false,
|
29
|
+
"solve_dependencies": false,
|
30
|
+
"import_only": false,
|
31
|
+
"generated_for": "none",
|
32
|
+
"related_cv_count": 2,
|
33
|
+
"related_composite_cvs": [],
|
34
|
+
"needs_publish": false,
|
35
|
+
"filtered": false,
|
36
|
+
"repository_ids": [
|
37
|
+
39,
|
38
|
+
50,
|
39
|
+
51,
|
40
|
+
52,
|
41
|
+
49
|
42
|
+
],
|
43
|
+
"id": 4,
|
44
|
+
"name": "dup_container",
|
45
|
+
"label": "dup_container",
|
46
|
+
"description": "",
|
47
|
+
"organization_id": 1,
|
48
|
+
"organization": {
|
49
|
+
"name": "Default Organization",
|
50
|
+
"label": "Default_Organization",
|
51
|
+
"id": 1
|
52
|
+
},
|
53
|
+
"created_at": "2023-09-15 13:19:51 -0400",
|
54
|
+
"updated_at": "2023-09-15 14:34:29 -0400",
|
55
|
+
"last_task": {
|
56
|
+
"id": "14bb82d0-fdea-4316-a4dc-0e3f914acf8e",
|
57
|
+
"started_at": "2023-09-15 14:34:28 -0400",
|
58
|
+
"result": "success",
|
59
|
+
"last_sync_words": "3 days"
|
60
|
+
},
|
61
|
+
"latest_version_environments": [
|
62
|
+
{
|
63
|
+
"id": 1,
|
64
|
+
"name": "Library",
|
65
|
+
"label": "Library"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"repositories": [
|
69
|
+
{
|
70
|
+
"id": 39,
|
71
|
+
"name": "repo1",
|
72
|
+
"label": "repo1",
|
73
|
+
"content_type": "yum"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"id": 50,
|
77
|
+
"name": "repo1",
|
78
|
+
"label": "repo1",
|
79
|
+
"content_type": "yum"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"id": 51,
|
83
|
+
"name": "docker_repo",
|
84
|
+
"label": "docker_repo",
|
85
|
+
"content_type": "docker"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"id": 52,
|
89
|
+
"name": "python-pulp",
|
90
|
+
"label": "python-pulp",
|
91
|
+
"content_type": "python"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"id": 49,
|
95
|
+
"name": "test_ansible",
|
96
|
+
"label": "test_ansible",
|
97
|
+
"content_type": "ansible_collection"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"versions": [
|
101
|
+
{
|
102
|
+
"id": 10,
|
103
|
+
"version": "1.0",
|
104
|
+
"published": "2023-09-15 14:34:29 -0400",
|
105
|
+
"description": "",
|
106
|
+
"environment_ids": [
|
107
|
+
1
|
108
|
+
],
|
109
|
+
"filters_applied": false,
|
110
|
+
"published_at_words": "3 days"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"components": [
|
114
|
+
{
|
115
|
+
"id": 5,
|
116
|
+
"name": "test 2.0",
|
117
|
+
"content_view_id": 2,
|
118
|
+
"version": "2.0",
|
119
|
+
"environments": [
|
120
|
+
{
|
121
|
+
"id": 2,
|
122
|
+
"name": "dev",
|
123
|
+
"label": "dev"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"id": 3,
|
127
|
+
"name": "test",
|
128
|
+
"label": "test"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"content_view": {
|
132
|
+
"id": 2,
|
133
|
+
"name": "test",
|
134
|
+
"label": "test",
|
135
|
+
"description": "",
|
136
|
+
"next_version": 4,
|
137
|
+
"latest_version": "3.0"
|
138
|
+
},
|
139
|
+
"repositories": [
|
140
|
+
{
|
141
|
+
"id": 39,
|
142
|
+
"name": "repo1",
|
143
|
+
"label": "repo1",
|
144
|
+
"description": null
|
145
|
+
}
|
146
|
+
]
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"id": 7,
|
150
|
+
"name": "dev 3.0",
|
151
|
+
"content_view_id": 3,
|
152
|
+
"version": "3.0",
|
153
|
+
"environments": [
|
154
|
+
{
|
155
|
+
"id": 2,
|
156
|
+
"name": "dev",
|
157
|
+
"label": "dev"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"content_view": {
|
161
|
+
"id": 3,
|
162
|
+
"name": "dev",
|
163
|
+
"label": "dev",
|
164
|
+
"description": "",
|
165
|
+
"next_version": 5,
|
166
|
+
"latest_version": "4.0"
|
167
|
+
},
|
168
|
+
"repositories": [
|
169
|
+
{
|
170
|
+
"id": 50,
|
171
|
+
"name": "repo1",
|
172
|
+
"label": "repo1",
|
173
|
+
"description": null
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"id": 51,
|
177
|
+
"name": "docker_repo",
|
178
|
+
"label": "docker_repo",
|
179
|
+
"description": null
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"id": 52,
|
183
|
+
"name": "python-pulp",
|
184
|
+
"label": "python-pulp",
|
185
|
+
"description": null
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"id": 49,
|
189
|
+
"name": "test_ansible",
|
190
|
+
"label": "test_ansible",
|
191
|
+
"description": null
|
192
|
+
}
|
193
|
+
]
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"content_view_components": [
|
197
|
+
{
|
198
|
+
"latest": false,
|
199
|
+
"id": 2,
|
200
|
+
"created_at": "2023-09-15 13:28:32 -0400",
|
201
|
+
"updated_at": "2023-09-15 13:28:32 -0400",
|
202
|
+
"composite_content_view": {
|
203
|
+
"id": 6,
|
204
|
+
"name": "dup_container",
|
205
|
+
"label": "dup_container",
|
206
|
+
"description": "",
|
207
|
+
"next_version": 2,
|
208
|
+
"latest_version": "1.0",
|
209
|
+
"version_count": 1
|
210
|
+
},
|
211
|
+
"content_view": {
|
212
|
+
"id": 2,
|
213
|
+
"name": "test",
|
214
|
+
"label": "test",
|
215
|
+
"description": "",
|
216
|
+
"next_version": 4,
|
217
|
+
"latest_version": "3.0",
|
218
|
+
"version_count": 3
|
219
|
+
},
|
220
|
+
"content_view_version": {
|
221
|
+
"id": 5,
|
222
|
+
"name": "test 2.0",
|
223
|
+
"content_view_id": 2,
|
224
|
+
"version": "2.0",
|
225
|
+
"content_view": {
|
226
|
+
"id": 2,
|
227
|
+
"name": "test",
|
228
|
+
"label": "test",
|
229
|
+
"description": ""
|
230
|
+
},
|
231
|
+
"environments": [
|
232
|
+
{
|
233
|
+
"id": 2,
|
234
|
+
"name": "dev",
|
235
|
+
"label": "dev"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"id": 3,
|
239
|
+
"name": "test",
|
240
|
+
"label": "test"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"repositories": [
|
244
|
+
{
|
245
|
+
"id": 39,
|
246
|
+
"name": "repo1",
|
247
|
+
"label": "repo1",
|
248
|
+
"description": null
|
249
|
+
}
|
250
|
+
]
|
251
|
+
},
|
252
|
+
"component_content_view_versions": [
|
253
|
+
{
|
254
|
+
"id": 8,
|
255
|
+
"version": "3.0",
|
256
|
+
"description": "",
|
257
|
+
"published_at_words": "3 days"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"id": 5,
|
261
|
+
"version": "2.0",
|
262
|
+
"description": "",
|
263
|
+
"published_at_words": "4 days"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"id": 3,
|
267
|
+
"version": "1.0",
|
268
|
+
"description": "",
|
269
|
+
"published_at_words": "18 days"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"latest": false,
|
275
|
+
"id": 1,
|
276
|
+
"created_at": "2023-09-15 13:28:32 -0400",
|
277
|
+
"updated_at": "2023-09-15 13:58:39 -0400",
|
278
|
+
"composite_content_view": {
|
279
|
+
"id": 6,
|
280
|
+
"name": "dup_container",
|
281
|
+
"label": "dup_container",
|
282
|
+
"description": "",
|
283
|
+
"next_version": 2,
|
284
|
+
"latest_version": "1.0",
|
285
|
+
"version_count": 1
|
286
|
+
},
|
287
|
+
"content_view": {
|
288
|
+
"id": 3,
|
289
|
+
"name": "dev",
|
290
|
+
"label": "dev",
|
291
|
+
"description": "",
|
292
|
+
"next_version": 5,
|
293
|
+
"latest_version": "4.0",
|
294
|
+
"version_count": 4
|
295
|
+
},
|
296
|
+
"content_view_version": {
|
297
|
+
"id": 7,
|
298
|
+
"name": "dev 3.0",
|
299
|
+
"content_view_id": 3,
|
300
|
+
"version": "3.0",
|
301
|
+
"content_view": {
|
302
|
+
"id": 3,
|
303
|
+
"name": "dev",
|
304
|
+
"label": "dev",
|
305
|
+
"description": ""
|
306
|
+
},
|
307
|
+
"environments": [
|
308
|
+
{
|
309
|
+
"id": 2,
|
310
|
+
"name": "dev",
|
311
|
+
"label": "dev"
|
312
|
+
}
|
313
|
+
],
|
314
|
+
"repositories": [
|
315
|
+
{
|
316
|
+
"id": 50,
|
317
|
+
"name": "repo1",
|
318
|
+
"label": "repo1",
|
319
|
+
"description": null
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"id": 51,
|
323
|
+
"name": "docker_repo",
|
324
|
+
"label": "docker_repo",
|
325
|
+
"description": null
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"id": 52,
|
329
|
+
"name": "python-pulp",
|
330
|
+
"label": "python-pulp",
|
331
|
+
"description": null
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"id": 49,
|
335
|
+
"name": "test_ansible",
|
336
|
+
"label": "test_ansible",
|
337
|
+
"description": null
|
338
|
+
}
|
339
|
+
]
|
340
|
+
},
|
341
|
+
"component_content_view_versions": [
|
342
|
+
{
|
343
|
+
"id": 9,
|
344
|
+
"version": "4.0",
|
345
|
+
"description": "",
|
346
|
+
"published_at_words": "3 days"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"id": 7,
|
350
|
+
"version": "3.0",
|
351
|
+
"description": "",
|
352
|
+
"published_at_words": "4 days"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"id": 6,
|
356
|
+
"version": "2.0",
|
357
|
+
"description": "",
|
358
|
+
"published_at_words": "4 days"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"id": 2,
|
362
|
+
"version": "1.0",
|
363
|
+
"description": "",
|
364
|
+
"published_at_words": "18 days"
|
365
|
+
}
|
366
|
+
]
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"activation_keys": [],
|
370
|
+
"hosts": [],
|
371
|
+
"next_version": "2.0",
|
372
|
+
"last_published": "2023-09-15 14:34:29 -0400",
|
373
|
+
"environments": [
|
374
|
+
{
|
375
|
+
"id": 1,
|
376
|
+
"label": "Library",
|
377
|
+
"name": "Library",
|
378
|
+
"activation_keys": [],
|
379
|
+
"hosts": [],
|
380
|
+
"permissions": {
|
381
|
+
"readable": true
|
382
|
+
}
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"permissions": {
|
386
|
+
"view_content_views": true,
|
387
|
+
"edit_content_views": true,
|
388
|
+
"destroy_content_views": true,
|
389
|
+
"publish_content_views": true,
|
390
|
+
"promote_or_remove_content_views": true
|
391
|
+
},
|
392
|
+
"errors": null
|
393
|
+
}
|
@@ -8,12 +8,14 @@ import cvComponentData from './contentViewComponents.fixtures.json';
|
|
8
8
|
import cvUnpublishedComponentData from './unpublishedCVComponents.fixtures.json';
|
9
9
|
import cvPublishedComponentData from './publishedContentViewDetails.fixtures.json';
|
10
10
|
import cvDetails from '../../__tests__/contentViewDetails.fixtures.json';
|
11
|
+
import compositeCvDetails from './compositeCVDetails.fixtures.json';
|
11
12
|
|
12
13
|
const renderOptions = { apiNamespace: `${CONTENT_VIEWS_KEY}_1` };
|
13
14
|
const cvComponentsWithoutSearch = api.getApiUrl('/content_views/4/content_view_components/show_all?per_page=20&page=1&status=All');
|
14
15
|
const cvComponents = api.getApiUrl('/content_views/4/content_view_components/show_all?per_page=20&page=1&search=&status=All');
|
15
16
|
const addComponentURL = api.getApiUrl('/content_views/4/content_view_components/add');
|
16
17
|
const publishedComponentDetailsURL = api.getApiUrl('/content_views/13');
|
18
|
+
const cvDetailsPath = api.getApiUrl('/content_views/4');
|
17
19
|
const removeComponentURL = api.getApiUrl('/content_views/4/content_view_components/remove');
|
18
20
|
const autocompleteUrl = '/content_views/auto_complete_search';
|
19
21
|
const autocompleteQuery = {
|
@@ -208,6 +210,11 @@ test('Can add published component views to content view with modal', async (done
|
|
208
210
|
.put(addComponentURL, addComponentParams)
|
209
211
|
.reply(200, {});
|
210
212
|
|
213
|
+
const cvDetailsScope = nockInstance
|
214
|
+
.get(cvDetailsPath)
|
215
|
+
.query(true)
|
216
|
+
.reply(200, compositeCvDetails);
|
217
|
+
|
211
218
|
const {
|
212
219
|
getByText, getByLabelText, queryByLabelText, getAllByLabelText,
|
213
220
|
} = renderWithRedux(
|
@@ -234,7 +241,8 @@ test('Can add published component views to content view with modal', async (done
|
|
234
241
|
assertNockRequest(scope);
|
235
242
|
assertNockRequest(publishedComponentVersionsScope);
|
236
243
|
assertNockRequest(addComponentScope);
|
237
|
-
assertNockRequest(returnScope
|
244
|
+
assertNockRequest(returnScope);
|
245
|
+
assertNockRequest(cvDetailsScope, done);
|
238
246
|
});
|
239
247
|
|
240
248
|
test('Can add unpublished component views to content view', async (done) => {
|
@@ -256,6 +264,11 @@ test('Can add unpublished component views to content view', async (done) => {
|
|
256
264
|
.put(addComponentURL, addComponentParams)
|
257
265
|
.reply(200, {});
|
258
266
|
|
267
|
+
const cvDetailsScope = nockInstance
|
268
|
+
.get(cvDetailsPath)
|
269
|
+
.query(true)
|
270
|
+
.reply(200, compositeCvDetails);
|
271
|
+
|
259
272
|
const { getByText, getAllByLabelText } = renderWithRedux(
|
260
273
|
<ContentViewComponents cvId={4} details={cvDetails} />,
|
261
274
|
renderOptions,
|
@@ -270,7 +283,8 @@ test('Can add unpublished component views to content view', async (done) => {
|
|
270
283
|
assertNockRequest(autocompleteScope);
|
271
284
|
assertNockRequest(scope);
|
272
285
|
assertNockRequest(addComponentScope);
|
273
|
-
assertNockRequest(returnScope
|
286
|
+
assertNockRequest(returnScope);
|
287
|
+
assertNockRequest(cvDetailsScope, done);
|
274
288
|
});
|
275
289
|
|
276
290
|
test('Can remove component views from content view', async (done) => {
|
@@ -292,6 +306,11 @@ test('Can remove component views from content view', async (done) => {
|
|
292
306
|
.put(removeComponentURL, removeComponentParams)
|
293
307
|
.reply(200, {});
|
294
308
|
|
309
|
+
const cvDetailsScope = nockInstance
|
310
|
+
.get(cvDetailsPath)
|
311
|
+
.query(true)
|
312
|
+
.reply(200, compositeCvDetails);
|
313
|
+
|
295
314
|
const { getByText, getAllByLabelText } = renderWithRedux(
|
296
315
|
<ContentViewComponents cvId={4} details={cvDetails} />,
|
297
316
|
renderOptions,
|
@@ -306,7 +325,8 @@ test('Can remove component views from content view', async (done) => {
|
|
306
325
|
assertNockRequest(autocompleteScope);
|
307
326
|
assertNockRequest(scope);
|
308
327
|
assertNockRequest(removeComponentScope);
|
309
|
-
assertNockRequest(returnScope
|
328
|
+
assertNockRequest(returnScope);
|
329
|
+
assertNockRequest(cvDetailsScope, done);
|
310
330
|
});
|
311
331
|
|
312
332
|
test('Can bulk add component views to content view with modal', async (done) => {
|
@@ -328,6 +348,11 @@ test('Can bulk add component views to content view with modal', async (done) =>
|
|
328
348
|
.put(addComponentURL, addComponentParams)
|
329
349
|
.reply(200, {});
|
330
350
|
|
351
|
+
const cvDetailsScope = nockInstance
|
352
|
+
.get(cvDetailsPath)
|
353
|
+
.query(true)
|
354
|
+
.reply(200, compositeCvDetails);
|
355
|
+
|
331
356
|
const {
|
332
357
|
getAllByText, getByLabelText, queryByText, getAllByRole,
|
333
358
|
} = renderWithRedux(
|
@@ -360,5 +385,6 @@ test('Can bulk add component views to content view with modal', async (done) =>
|
|
360
385
|
assertNockRequest(autocompleteScope);
|
361
386
|
assertNockRequest(scope);
|
362
387
|
assertNockRequest(addComponentScope);
|
363
|
-
assertNockRequest(returnScope
|
388
|
+
assertNockRequest(returnScope);
|
389
|
+
assertNockRequest(cvDetailsScope, done);
|
364
390
|
});
|
@@ -21,7 +21,9 @@ export const dateFormat = date => `${(date.getMonth() + 1).toString().padStart(2
|
|
21
21
|
|
22
22
|
export const convertAPIDateToUIFormat = (dateString) => {
|
23
23
|
if (!dateString || dateString === '') return '';
|
24
|
-
|
24
|
+
const dateTZ = new Date(dateString);
|
25
|
+
dateTZ.setMinutes(dateTZ.getMinutes() + dateTZ.getTimezoneOffset());
|
26
|
+
return dateFormat(dateTZ);
|
25
27
|
};
|
26
28
|
|
27
29
|
export const dateParse = (date) => {
|
@@ -39,6 +39,7 @@ import {
|
|
39
39
|
Th,
|
40
40
|
Td,
|
41
41
|
} from '@patternfly/react-table';
|
42
|
+
import { useSelectionSet } from 'foremanReact/components/PF4/TableIndexPage/Table/TableHooks';
|
42
43
|
import { useKatelloDocUrl } from '../../../../utils/useKatelloDocUrl';
|
43
44
|
import AddedStatusLabel from '../../../../components/AddedStatusLabel';
|
44
45
|
import SelectableDropdown from '../../../../components/SelectableDropdown';
|
@@ -64,7 +65,6 @@ import {
|
|
64
65
|
import ContentCounts from './ContentCounts';
|
65
66
|
import LastSync from './LastSync';
|
66
67
|
import RepoIcon from './RepoIcon';
|
67
|
-
import { useSelectionSet } from '../../../../components/Table/TableHooks';
|
68
68
|
|
69
69
|
const allRepositories = 'All repositories';
|
70
70
|
|
@@ -227,7 +227,7 @@ const ContentViewRepositories = ({ cvId, details }) => {
|
|
227
227
|
|
228
228
|
const rowDropdownItems = ({ id }) => [
|
229
229
|
{
|
230
|
-
title: 'Add',
|
230
|
+
title: __('Add'),
|
231
231
|
ouiaId: `add-repository-${id}`,
|
232
232
|
isDisabled: importOnly || generatedContentView || repositoryIds.includes(id),
|
233
233
|
onClick: () => {
|
@@ -235,7 +235,7 @@ const ContentViewRepositories = ({ cvId, details }) => {
|
|
235
235
|
},
|
236
236
|
},
|
237
237
|
{
|
238
|
-
title: 'Remove',
|
238
|
+
title: __('Remove'),
|
239
239
|
ouiaId: `remove-repository-${id}`,
|
240
240
|
isDisabled: importOnly || generatedContentView || !repositoryIds.includes(id),
|
241
241
|
onClick: () => {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { Tooltip } from '@patternfly/react-core';
|
3
|
-
import { BundleIcon, MiddlewareIcon, BoxIcon, CodeBranchIcon, FanIcon, TenantIcon } from '@patternfly/react-icons';
|
3
|
+
import { BundleIcon, MiddlewareIcon, BoxIcon, CodeBranchIcon, FanIcon, TenantIcon, AnsibleTowerIcon } from '@patternfly/react-icons';
|
4
4
|
import PropTypes from 'prop-types';
|
5
5
|
|
6
6
|
const RepoIcon = ({ type }) => {
|
@@ -10,6 +10,7 @@ const RepoIcon = ({ type }) => {
|
|
10
10
|
ostree: CodeBranchIcon,
|
11
11
|
file: TenantIcon,
|
12
12
|
deb: FanIcon,
|
13
|
+
ansible_collection: AnsibleTowerIcon,
|
13
14
|
};
|
14
15
|
const Icon = iconMap[type] || BoxIcon;
|
15
16
|
|
@@ -4,10 +4,10 @@ import {
|
|
4
4
|
} from 'react-redux';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import { translate as __ } from 'foremanReact/common/I18n';
|
7
|
+
import { useTableSort } from 'foremanReact/components/PF4/Helpers/useTableSort';
|
7
8
|
import { TableVariant, Tr, Th, Tbody, Td, Thead } from '@patternfly/react-table';
|
8
9
|
import { TableType } from './CVVersionCompareConfig';
|
9
10
|
import TableWrapper from '../../../../../components/Table/TableWrapper';
|
10
|
-
import { useTableSort } from '../../../../../components/Table/TableHooks';
|
11
11
|
import './CVVersionCompare.scss';
|
12
12
|
|
13
13
|
const CVVersionCompareTable = ({
|
@@ -8,7 +8,7 @@ import { STATUS } from 'foremanReact/constants';
|
|
8
8
|
import { Link } from 'react-router-dom';
|
9
9
|
import PropTypes from 'prop-types';
|
10
10
|
import { first } from 'lodash';
|
11
|
-
import { useSelectionSet } from '
|
11
|
+
import { useSelectionSet } from 'foremanReact/components/PF4/TableIndexPage/Table/TableHooks';
|
12
12
|
import TableWrapper from '../../../../components/Table/TableWrapper';
|
13
13
|
import InactiveText from '../../components/InactiveText';
|
14
14
|
import ContentViewVersionEnvironments from './ContentViewVersionEnvironments';
|
@@ -3,6 +3,7 @@ import { useDispatch } from 'react-redux';
|
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import { Wizard } from '@patternfly/react-core';
|
5
5
|
import { translate as __ } from 'foremanReact/common/I18n';
|
6
|
+
import { useSet } from 'foremanReact/components/PF4/TableIndexPage/Table/TableHooks';
|
6
7
|
import getEnvironmentPaths from '../../../components/EnvironmentPaths/EnvironmentPathActions';
|
7
8
|
import CVEnvironmentSelectionForm from './RemoveSteps/CVEnvironmentSelectionForm';
|
8
9
|
import CVReassignActivationKeysForm from './RemoveSteps/CVReassignActivationKeysForm';
|
@@ -12,7 +13,6 @@ import CVVersionDeleteFinish from './RemoveSteps/CVVersionDeleteFinish';
|
|
12
13
|
import getContentViewDetails from '../../ContentViewDetailActions';
|
13
14
|
import getContentViews from '../../../ContentViewsActions';
|
14
15
|
import DeleteContext from './DeleteContext';
|
15
|
-
import { useSet } from '../../../../../components/Table/TableHooks';
|
16
16
|
|
17
17
|
const RemoveCVVersionWizard = ({
|
18
18
|
cvId, versionIdToRemove, versionNameToRemove,
|
data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js
CHANGED
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
Thead,
|
22
22
|
Tr,
|
23
23
|
} from '@patternfly/react-table';
|
24
|
-
import { useUrlParams } from '
|
24
|
+
import { useUrlParams } from 'foremanReact/components/PF4/TableIndexPage/Table/TableHooks';
|
25
25
|
import TableWrapper from '../../../../../components/Table/TableWrapper';
|
26
26
|
import { TableType } from './ContentViewVersionDetailConfig';
|
27
27
|
|