katello 4.6.2.1 → 4.7.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/vendor.js +0 -1
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +1 -0
- data/app/controllers/katello/api/v2/alternate_content_sources_controller.rb +4 -4
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +5 -0
- data/app/controllers/katello/api/v2/content_imports_controller.rb +1 -0
- data/app/controllers/katello/api/v2/content_view_components_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +2 -1
- data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/organizations_controller.rb +1 -0
- data/app/controllers/katello/api/v2/repositories_controller.rb +78 -12
- data/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb +1 -1
- data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +7 -1
- data/app/controllers/katello/concerns/api/v2/smart_proxies_controller_extensions.rb +1 -0
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +11 -9
- data/app/helpers/katello/content_source_helper.rb +9 -0
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +31 -0
- data/app/lib/actions/katello/activation_key/destroy.rb +1 -0
- data/app/lib/actions/katello/agent_action.rb +1 -0
- data/app/lib/actions/katello/alternate_content_source/create.rb +1 -1
- data/app/lib/actions/katello/alternate_content_source/update.rb +2 -2
- data/app/lib/actions/katello/capsule_content/sync.rb +10 -2
- data/app/lib/actions/katello/cdn_configuration/update.rb +1 -1
- data/app/lib/actions/katello/content_view/promote.rb +1 -0
- data/app/lib/actions/katello/content_view/publish.rb +5 -2
- data/app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb +7 -3
- data/app/lib/actions/katello/content_view_version/auto_create_repositories.rb +4 -2
- data/app/lib/actions/katello/content_view_version/import.rb +22 -10
- data/app/lib/actions/katello/product/destroy.rb +1 -1
- data/app/lib/actions/katello/repository/destroy.rb +3 -3
- data/app/lib/actions/katello/repository/errata_mail.rb +9 -6
- data/app/lib/actions/katello/repository/refresh_repository.rb +1 -1
- data/app/lib/actions/katello/repository/sync.rb +13 -6
- data/app/lib/actions/katello/repository_set/enable_repository.rb +6 -2
- data/app/lib/actions/pulp3/alternate_content_source/refresh_remote.rb +16 -0
- data/app/lib/actions/pulp3/orchestration/alternate_content_source/refresh.rb +1 -0
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +1 -1
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +10 -2
- data/app/lib/katello/concerns/renderer_extensions.rb +2 -1
- data/app/lib/katello/errors.rb +2 -2
- data/app/lib/katello/resources/candlepin.rb +7 -1
- data/app/lib/katello/resources/cdn/katello_cdn.rb +3 -13
- data/app/lib/katello/resources/cdn.rb +14 -9
- data/app/lib/katello/util/candlepin_repository_checker.rb +73 -0
- data/app/models/katello/activation_key.rb +12 -1
- data/app/models/katello/alternate_content_source.rb +15 -4
- data/app/models/katello/alternate_content_source_product.rb +1 -1
- data/app/models/katello/authorization/repository.rb +2 -2
- data/app/models/katello/cdn_configuration.rb +12 -3
- data/app/models/katello/concerns/host_managed_extensions.rb +15 -2
- data/app/models/katello/concerns/http_proxy_extensions.rb +5 -10
- data/app/models/katello/concerns/smart_proxy_extensions.rb +30 -15
- data/app/models/katello/content.rb +15 -0
- data/app/models/katello/content_credential.rb +8 -9
- data/app/models/katello/content_view.rb +7 -3
- data/app/models/katello/content_view_component.rb +4 -0
- data/app/models/katello/content_view_version.rb +1 -1
- data/app/models/katello/erratum.rb +6 -2
- data/app/models/katello/host/content_facet.rb +13 -3
- data/app/models/katello/repository.rb +15 -1
- data/app/models/katello/root_repository.rb +0 -2
- data/app/overrides/add_smart_proxy_form.rb +5 -0
- data/app/presenters/katello/content_view_version_compare_presenter.rb +5 -0
- data/app/presenters/katello/host_package_presenter.rb +4 -4
- data/app/services/katello/pulp3/alternate_content_source.rb +23 -15
- data/app/services/katello/pulp3/ansible_collection.rb +7 -10
- data/app/services/katello/pulp3/content_view_version/export.rb +19 -6
- data/app/services/katello/pulp3/content_view_version/import.rb +2 -0
- data/app/services/katello/pulp3/content_view_version/import_validator.rb +21 -5
- data/app/services/katello/pulp3/content_view_version/importable_products.rb +11 -1
- data/app/services/katello/pulp3/content_view_version/importable_repositories.rb +38 -9
- data/app/services/katello/pulp3/content_view_version/metadata_generator.rb +12 -5
- data/app/services/katello/pulp3/content_view_version/metadata_map.rb +13 -2
- data/app/services/katello/pulp3/content_view_version/syncable_format_export.rb +5 -1
- data/app/services/katello/pulp3/pulp_content_unit.rb +3 -0
- data/app/services/katello/pulp3/repository.rb +18 -6
- data/app/services/katello/pulp3/repository_mirror.rb +0 -1
- data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +2 -2
- data/app/services/katello/pulp3/task_group.rb +18 -1
- data/app/services/katello/repository_type.rb +5 -2
- data/app/services/katello/repository_type_manager.rb +4 -3
- data/app/views/dashboard/_content_views_widget.html.erb +1 -1
- data/app/views/foreman/job_templates/change_content_source.erb +6 -0
- data/app/views/foreman/job_templates/update_packages_by_search_query.erb +7 -1
- data/app/views/katello/api/v2/alternate_content_sources/base.json.rabl +4 -4
- data/app/views/katello/api/v2/alternate_content_sources/index.json.rabl +1 -0
- data/app/views/katello/api/v2/alternate_content_sources/permissions.rabl +11 -0
- data/app/views/katello/api/v2/content_credentials/show.json.rabl +12 -0
- data/app/views/katello/api/v2/content_views/permissions.rabl +1 -0
- data/app/views/katello/api/v2/host_packages/base.json.rabl +1 -1
- data/app/views/katello/api/v2/module_streams/show.json.rabl +7 -0
- data/app/views/katello/api/v2/repositories/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/smart_proxies/pulp_info.json.rabl +1 -0
- data/app/views/katello/hosts/_errata_counts.html.erb +46 -0
- data/app/views/overrides/activation_keys/_host_synced_content_select.html.erb +1 -0
- data/app/views/overrides/smart_proxies/_acs_http_proxy.html.erb +6 -0
- data/config/initializers/monkeys.rb +1 -0
- data/config/routes/api/v2.rb +2 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20220730033504_update_custom_cdn.rb +13 -0
- data/db/migrate/20220920173656_add_http_proxy_to_smart_proxy.rb +7 -0
- data/db/migrate/20220920180858_remove_http_proxy_from_katello_alternate_content_sources.rb +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/notification.service.js +1 -1
- data/engines/bastion/app/views/bastion/layouts/assets.html.erb +5 -5
- data/engines/bastion/vendor/assets/javascripts/bastion/angular/angular.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credential.factory.js +17 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credentials.routes.js +10 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-details.controller.js +7 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-acs.html +38 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-details.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/views/content-credentials.html +7 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +4 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +4 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +14 -1392
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/katello-features.run.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +7 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +1 -1
- data/lib/katello/permission_creator.rb +1 -0
- data/lib/katello/plugin.rb +34 -11
- data/lib/katello/repository_types/deb.rb +1 -1
- data/lib/katello/repository_types/docker.rb +1 -1
- data/lib/katello/repository_types/python.rb +3 -3
- data/lib/katello/tasks/check_candlepin_content.rake +16 -0
- data/lib/katello/tasks/reset.rake +1 -1
- data/lib/katello/version.rb +1 -1
- data/lib/monkeys/try_pulp_container_path.rb +35 -0
- data/locale/action_names.rb +7 -7
- data/locale/bn/katello.po +395 -63
- data/locale/cs/katello.po +396 -64
- data/locale/de/katello.po +399 -67
- data/locale/en/katello.po +395 -63
- data/locale/es/katello.po +399 -67
- data/locale/fr/katello.po +400 -68
- data/locale/gu/katello.po +395 -63
- data/locale/hi/katello.po +395 -63
- data/locale/it/katello.po +396 -64
- data/locale/ja/katello.po +400 -68
- data/locale/katello.pot +1916 -1213
- data/locale/kn/katello.po +395 -63
- data/locale/ko/katello.po +396 -64
- data/locale/mr/katello.po +395 -63
- data/locale/or/katello.po +395 -63
- data/locale/pa/katello.po +395 -63
- data/locale/pt/katello.po +395 -63
- data/locale/pt_BR/katello.po +399 -67
- data/locale/ru/katello.po +396 -64
- data/locale/ta/katello.po +395 -63
- data/locale/te/katello.po +395 -63
- data/locale/zh_CN/katello.po +400 -68
- data/locale/zh_TW/katello.po +396 -64
- data/webpack/components/Bookmark/index.js +5 -1
- data/webpack/components/Content/Details/ContentDetails.js +1 -1
- data/webpack/components/Content/Details/__tests__/__snapshots__/ContentDetails.test.js.snap +6 -0
- data/webpack/components/EditableSwitch.js +1 -0
- data/webpack/components/EditableTextInput/EditableTextInput.js +3 -3
- data/webpack/components/Errata/errataHelpers.js +33 -0
- data/webpack/components/Errata/index.js +45 -12
- data/webpack/components/Loading.js +18 -8
- data/webpack/components/Packages/index.js +8 -24
- data/webpack/components/RoutedTabs/index.js +1 -0
- data/webpack/components/Search/Search.js +20 -2
- data/webpack/components/Search/__tests__/search.test.js +3 -3
- data/webpack/components/Table/EmptyStateMessage.js +1 -1
- data/webpack/components/Table/PageControls.js +1 -0
- data/webpack/components/Table/TableHooks.js +4 -0
- data/webpack/components/Table/TableWrapper.js +7 -7
- data/webpack/components/TypeAhead/pf4Search/TypeAheadInput.js +1 -0
- data/webpack/components/TypeAhead/pf4Search/TypeAheadItems.js +2 -0
- data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js +1 -1
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ChangeHostCVModal.js +3 -1
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +2 -1
- data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.js +124 -68
- data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.scss +5 -0
- data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.js +30 -4
- data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.scss +23 -0
- data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsModal.js +5 -4
- data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/__tests__/hostCollectionsCard.test.js +25 -10
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeCard.js +3 -3
- data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeEditModal.js +6 -0
- data/webpack/components/extensions/HostDetails/Cards/__tests__/errataOverviewCard.test.js +145 -32
- data/webpack/components/extensions/HostDetails/DetailsTabCards/RegistrationCard.js +3 -1
- data/webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js +2 -1
- data/webpack/components/extensions/HostDetails/Tabs/ContentTab/index.js +1 -0
- data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/ErrataTab.js +78 -26
- data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +23 -10
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesConstants.js +1 -0
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackageInstallModal.js +9 -4
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +141 -23
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.scss +6 -1
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +9 -8
- data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +24 -3
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerModal.js +7 -2
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesEnabler.js +2 -1
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +20 -4
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +56 -38
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json +3 -3
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +5 -4
- data/webpack/components/extensions/HostDetails/Tabs/customizedRexUrlHelpers.js +3 -3
- data/webpack/containers/Application/config.js +2 -2
- data/webpack/containers/Application/overrides.scss +12 -0
- data/webpack/global_test_setup.js +19 -1
- data/webpack/ouia_id_check.js +0 -2
- data/webpack/redux/actions/RedHatRepositories/helpers.js +4 -8
- data/webpack/scenes/AlternateContentSources/ACSActions.js +37 -6
- data/webpack/scenes/AlternateContentSources/ACSConstants.js +2 -0
- data/webpack/scenes/AlternateContentSources/ACSIndexPage.js +1 -1
- data/webpack/scenes/AlternateContentSources/ACSSelectors.js +6 -6
- data/webpack/scenes/AlternateContentSources/Acs.scss +3 -0
- data/webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js +24 -3
- data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCreateFinish.js +10 -8
- data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCredentials.js +25 -4
- data/webpack/scenes/AlternateContentSources/Create/Steps/ACSReview.js +22 -11
- data/webpack/scenes/AlternateContentSources/Create/Steps/ACSSmartProxies.js +27 -2
- data/webpack/scenes/AlternateContentSources/Create/Steps/AcsUrlPaths.js +49 -17
- data/webpack/scenes/AlternateContentSources/Create/Steps/SelectSource.js +76 -23
- data/webpack/scenes/AlternateContentSources/Create/__tests__/acsCreate.test.js +159 -11
- data/webpack/scenes/AlternateContentSources/Details/ACSExpandableDetails.js +83 -29
- data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditCredentials.js +9 -8
- data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js +2 -2
- data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js +2 -2
- data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditSmartProxies.js +39 -7
- data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditURLPaths.js +27 -11
- data/webpack/scenes/AlternateContentSources/Details/__tests__/ACSEdits.test.js +58 -55
- data/webpack/scenes/AlternateContentSources/Details/__tests__/ACSExpandableDetails.test.js +35 -32
- data/webpack/scenes/AlternateContentSources/MainTable/ACSTable.js +323 -150
- data/webpack/scenes/AlternateContentSources/MainTable/__tests__/acsIndex.fixtures.json +5 -1
- data/webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js +10 -11
- data/webpack/scenes/AlternateContentSources/helpers.js +26 -0
- data/webpack/scenes/ContentViews/ContentViewsConstants.js +1 -0
- data/webpack/scenes/ContentViews/ContentViewsPage.js +1 -1
- data/webpack/scenes/ContentViews/Copy/CopyContentViewForm.js +1 -0
- data/webpack/scenes/ContentViews/Copy/CopyContentViewModal.js +1 -0
- data/webpack/scenes/ContentViews/Create/ContentViewFormComponents.js +10 -5
- data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +30 -7
- data/webpack/scenes/ContentViews/Create/CreateContentViewModal.js +1 -0
- data/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +21 -6
- data/webpack/scenes/ContentViews/Delete/Steps/CVDeleteEnvironmentsSelection.js +3 -3
- data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionReassignActivationKeysForm.js +1 -0
- data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionReassignHostsForm.js +1 -0
- data/webpack/scenes/ContentViews/Delete/__tests__/CvData.fixtures.json +2 -0
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewAddModal.js +3 -0
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewBulkAddModal.js +4 -1
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentVersion.js +1 -1
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +2 -1
- data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +14 -0
- data/webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js +11 -1
- data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +1 -1
- data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +2 -0
- data/webpack/scenes/ContentViews/Details/Filters/Add/CVFilterAddModal.js +5 -0
- data/webpack/scenes/ContentViews/Details/Filters/AffectedRepositories/AffectedRepositorySelection.js +1 -0
- data/webpack/scenes/ContentViews/Details/Filters/ArtifactsWithNoErrata.js +1 -0
- data/webpack/scenes/ContentViews/Details/Filters/CVContainerImageFilterContent.js +8 -2
- data/webpack/scenes/ContentViews/Details/Filters/CVDebFilterContent.js +5 -1
- data/webpack/scenes/ContentViews/Details/Filters/CVErrataDateFilterContent.js +22 -6
- data/webpack/scenes/ContentViews/Details/Filters/CVErrataIDFilterContent.js +19 -9
- data/webpack/scenes/ContentViews/Details/Filters/CVModuleStreamFilterContent.js +9 -2
- data/webpack/scenes/ContentViews/Details/Filters/CVPackageGroupFilterContent.js +9 -2
- data/webpack/scenes/ContentViews/Details/Filters/CVRpmFilterContent.js +8 -2
- data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilterDetailsHeader.js +1 -1
- data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +2 -1
- data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVRpmMatchContentModal.js +3 -2
- data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentModal.test.js +1 -1
- data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVContainerImageFilterContent.test.js +2 -2
- data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js +1 -1
- data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetails.test.js +1 -1
- data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js +1 -1
- data/webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js +2 -2
- data/webpack/scenes/ContentViews/Details/Promote/ContentViewVersionPromote.js +2 -0
- data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +2 -1
- data/webpack/scenes/ContentViews/Details/Versions/BulkDelete/Steps/ReviewEnvironments.js +3 -3
- data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompare.js +9 -1
- data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareConfig.js +83 -0
- data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js +32 -8
- data/webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/CVVersionCompare.test.js +56 -3
- data/webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/cvCompareRepositories.fixtures.json +175 -0
- data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +6 -2
- data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVEnvironmentSelectionForm.js +3 -3
- data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVReassignActivationKeysForm.js +1 -0
- data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVReassignHostsForm.js +1 -0
- data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedActivationKeys.js +2 -2
- data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedHosts.js +2 -2
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +2 -2
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetails.js +1 -0
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsHeader.js +4 -1
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js +5 -4
- data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +5 -1
- data/webpack/scenes/ContentViews/Publish/CVPublishReview.js +3 -3
- data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +10 -5
- data/webpack/scenes/ContentViews/__tests__/basicContentViews.fixtures.js +2 -0
- data/webpack/scenes/ContentViews/__tests__/contentViewList.fixtures.json +1 -0
- data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +81 -19
- data/webpack/scenes/ContentViews/components/CVBreadCrumb.js +1 -1
- data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +1 -0
- data/webpack/scenes/ContentViews/components/InactiveText.js +9 -1
- data/webpack/scenes/ContentViews/expansions/RelatedCompositeContentViewsModal.js +4 -2
- data/webpack/scenes/ContentViews/expansions/RelatedContentViewComponentsModal.js +3 -2
- data/webpack/scenes/Hosts/ChangeContentSource/actions.js +18 -11
- data/webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceForm.js +15 -8
- data/webpack/scenes/Hosts/ChangeContentSource/components/FormField.js +3 -4
- data/webpack/scenes/Hosts/ChangeContentSource/components/Hosts.js +55 -0
- data/webpack/scenes/Hosts/ChangeContentSource/components/HostsModal.js +59 -0
- data/webpack/scenes/Hosts/ChangeContentSource/constants.js +1 -0
- data/webpack/scenes/Hosts/ChangeContentSource/helpers.js +2 -5
- data/webpack/scenes/Hosts/ChangeContentSource/index.js +46 -41
- data/webpack/scenes/Hosts/ChangeContentSource/selectors.js +5 -5
- data/webpack/scenes/ModuleStreams/Details/ModuleDetailsSchema.js +10 -1
- data/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap +97 -2
- data/webpack/scenes/Organizations/OrganizationSelectors.js +1 -0
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnConfigurationConstants.js +2 -1
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnTypeForm.js +10 -25
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CustomCdnTypeForm.js +154 -0
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/ExportSyncForm.js +4 -4
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/NetworkSyncForm.js +59 -44
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/CdnTypeForm.test.js +3 -28
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/CustomCdnTypeForm.test.js +97 -0
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/ExportSyncForm.test.js +1 -1
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/NetworkSyncForm.test.js +4 -4
- data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/index.js +23 -10
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +1 -1
- data/webpack/scenes/Subscriptions/SubscriptionConstants.js +2 -1
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +5 -5
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js +3 -3
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/__snapshots__/UpstreamSubscriptionsPage.test.js.snap +2 -2
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +3 -3
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +3 -3
- data/webpack/scenes/Tasks/helpers.js +14 -7
- metadata +54 -35
- data/app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb +0 -18
- data/db/migrate/20221206170122_update_ignore_srpm_to_false_for_mirror_complete.rb +0 -5
- data/vendor/assets/javascripts/katello/jquery.trunk8.js +0 -203
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.7.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -274,120 +274,120 @@ dependencies:
|
|
274
274
|
requirements:
|
275
275
|
- - ">="
|
276
276
|
- !ruby/object:Gem::Version
|
277
|
-
version: 3.
|
277
|
+
version: 3.21.0
|
278
278
|
- - "<"
|
279
279
|
- !ruby/object:Gem::Version
|
280
|
-
version: 3.
|
280
|
+
version: 3.22.0
|
281
281
|
type: :runtime
|
282
282
|
prerelease: false
|
283
283
|
version_requirements: !ruby/object:Gem::Requirement
|
284
284
|
requirements:
|
285
285
|
- - ">="
|
286
286
|
- !ruby/object:Gem::Version
|
287
|
-
version: 3.
|
287
|
+
version: 3.21.0
|
288
288
|
- - "<"
|
289
289
|
- !ruby/object:Gem::Version
|
290
|
-
version: 3.
|
290
|
+
version: 3.22.0
|
291
291
|
- !ruby/object:Gem::Dependency
|
292
292
|
name: pulp_file_client
|
293
293
|
requirement: !ruby/object:Gem::Requirement
|
294
294
|
requirements:
|
295
295
|
- - ">="
|
296
296
|
- !ruby/object:Gem::Version
|
297
|
-
version: 1.
|
297
|
+
version: 1.11.0
|
298
298
|
- - "<"
|
299
299
|
- !ruby/object:Gem::Version
|
300
|
-
version: 1.
|
300
|
+
version: '1.12'
|
301
301
|
type: :runtime
|
302
302
|
prerelease: false
|
303
303
|
version_requirements: !ruby/object:Gem::Requirement
|
304
304
|
requirements:
|
305
305
|
- - ">="
|
306
306
|
- !ruby/object:Gem::Version
|
307
|
-
version: 1.
|
307
|
+
version: 1.11.0
|
308
308
|
- - "<"
|
309
309
|
- !ruby/object:Gem::Version
|
310
|
-
version: 1.
|
310
|
+
version: '1.12'
|
311
311
|
- !ruby/object:Gem::Dependency
|
312
312
|
name: pulp_ansible_client
|
313
313
|
requirement: !ruby/object:Gem::Requirement
|
314
314
|
requirements:
|
315
315
|
- - ">="
|
316
316
|
- !ruby/object:Gem::Version
|
317
|
-
version: 0.
|
317
|
+
version: 0.15.0
|
318
318
|
- - "<"
|
319
319
|
- !ruby/object:Gem::Version
|
320
|
-
version: '0.
|
320
|
+
version: '0.16'
|
321
321
|
type: :runtime
|
322
322
|
prerelease: false
|
323
323
|
version_requirements: !ruby/object:Gem::Requirement
|
324
324
|
requirements:
|
325
325
|
- - ">="
|
326
326
|
- !ruby/object:Gem::Version
|
327
|
-
version: 0.
|
327
|
+
version: 0.15.0
|
328
328
|
- - "<"
|
329
329
|
- !ruby/object:Gem::Version
|
330
|
-
version: '0.
|
330
|
+
version: '0.16'
|
331
331
|
- !ruby/object:Gem::Dependency
|
332
332
|
name: pulp_container_client
|
333
333
|
requirement: !ruby/object:Gem::Requirement
|
334
334
|
requirements:
|
335
335
|
- - ">="
|
336
336
|
- !ruby/object:Gem::Version
|
337
|
-
version: 2.
|
337
|
+
version: 2.14.0
|
338
338
|
- - "<"
|
339
339
|
- !ruby/object:Gem::Version
|
340
|
-
version: 2.
|
340
|
+
version: 2.15.0
|
341
341
|
type: :runtime
|
342
342
|
prerelease: false
|
343
343
|
version_requirements: !ruby/object:Gem::Requirement
|
344
344
|
requirements:
|
345
345
|
- - ">="
|
346
346
|
- !ruby/object:Gem::Version
|
347
|
-
version: 2.
|
347
|
+
version: 2.14.0
|
348
348
|
- - "<"
|
349
349
|
- !ruby/object:Gem::Version
|
350
|
-
version: 2.
|
350
|
+
version: 2.15.0
|
351
351
|
- !ruby/object:Gem::Dependency
|
352
352
|
name: pulp_deb_client
|
353
353
|
requirement: !ruby/object:Gem::Requirement
|
354
354
|
requirements:
|
355
355
|
- - ">="
|
356
356
|
- !ruby/object:Gem::Version
|
357
|
-
version: 2.
|
357
|
+
version: 2.20.0
|
358
358
|
- - "<"
|
359
359
|
- !ruby/object:Gem::Version
|
360
|
-
version: 2.
|
360
|
+
version: '2.21'
|
361
361
|
type: :runtime
|
362
362
|
prerelease: false
|
363
363
|
version_requirements: !ruby/object:Gem::Requirement
|
364
364
|
requirements:
|
365
365
|
- - ">="
|
366
366
|
- !ruby/object:Gem::Version
|
367
|
-
version: 2.
|
367
|
+
version: 2.20.0
|
368
368
|
- - "<"
|
369
369
|
- !ruby/object:Gem::Version
|
370
|
-
version: 2.
|
370
|
+
version: '2.21'
|
371
371
|
- !ruby/object:Gem::Dependency
|
372
372
|
name: pulp_rpm_client
|
373
373
|
requirement: !ruby/object:Gem::Requirement
|
374
374
|
requirements:
|
375
375
|
- - ">="
|
376
376
|
- !ruby/object:Gem::Version
|
377
|
-
version: 3.
|
377
|
+
version: 3.18.0
|
378
378
|
- - "<"
|
379
379
|
- !ruby/object:Gem::Version
|
380
|
-
version: 3.
|
380
|
+
version: 3.19.0
|
381
381
|
type: :runtime
|
382
382
|
prerelease: false
|
383
383
|
version_requirements: !ruby/object:Gem::Requirement
|
384
384
|
requirements:
|
385
385
|
- - ">="
|
386
386
|
- !ruby/object:Gem::Version
|
387
|
-
version: 3.
|
387
|
+
version: 3.18.0
|
388
388
|
- - "<"
|
389
389
|
- !ruby/object:Gem::Version
|
390
|
-
version: 3.
|
390
|
+
version: 3.19.0
|
391
391
|
- !ruby/object:Gem::Dependency
|
392
392
|
name: pulp_certguard_client
|
393
393
|
requirement: !ruby/object:Gem::Requirement
|
@@ -408,20 +408,20 @@ dependencies:
|
|
408
408
|
requirements:
|
409
409
|
- - ">="
|
410
410
|
- !ruby/object:Gem::Version
|
411
|
-
version: 3.
|
411
|
+
version: 3.7.2
|
412
412
|
- - "<"
|
413
413
|
- !ruby/object:Gem::Version
|
414
|
-
version: 3.
|
414
|
+
version: '3.8'
|
415
415
|
type: :runtime
|
416
416
|
prerelease: false
|
417
417
|
version_requirements: !ruby/object:Gem::Requirement
|
418
418
|
requirements:
|
419
419
|
- - ">="
|
420
420
|
- !ruby/object:Gem::Version
|
421
|
-
version: 3.
|
421
|
+
version: 3.7.2
|
422
422
|
- - "<"
|
423
423
|
- !ruby/object:Gem::Version
|
424
|
-
version: 3.
|
424
|
+
version: '3.8'
|
425
425
|
- !ruby/object:Gem::Dependency
|
426
426
|
name: pulp_ostree_client
|
427
427
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1065,6 +1065,7 @@ files:
|
|
1065
1065
|
- app/lib/actions/pulp3/alternate_content_source/delete.rb
|
1066
1066
|
- app/lib/actions/pulp3/alternate_content_source/delete_remote.rb
|
1067
1067
|
- app/lib/actions/pulp3/alternate_content_source/refresh.rb
|
1068
|
+
- app/lib/actions/pulp3/alternate_content_source/refresh_remote.rb
|
1068
1069
|
- app/lib/actions/pulp3/alternate_content_source/update.rb
|
1069
1070
|
- app/lib/actions/pulp3/alternate_content_source/update_remote.rb
|
1070
1071
|
- app/lib/actions/pulp3/capsule_content/generate_metadata.rb
|
@@ -1087,7 +1088,6 @@ files:
|
|
1087
1088
|
- app/lib/actions/pulp3/orchestration/alternate_content_source/create.rb
|
1088
1089
|
- app/lib/actions/pulp3/orchestration/alternate_content_source/delete.rb
|
1089
1090
|
- app/lib/actions/pulp3/orchestration/alternate_content_source/refresh.rb
|
1090
|
-
- app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb
|
1091
1091
|
- app/lib/actions/pulp3/orchestration/alternate_content_source/update.rb
|
1092
1092
|
- app/lib/actions/pulp3/orchestration/content_view_version/copy_version_units_to_library.rb
|
1093
1093
|
- app/lib/actions/pulp3/orchestration/content_view_version/export.rb
|
@@ -1202,6 +1202,7 @@ files:
|
|
1202
1202
|
- app/lib/katello/resources/cdn.rb
|
1203
1203
|
- app/lib/katello/resources/cdn/katello_cdn.rb
|
1204
1204
|
- app/lib/katello/resources/registry.rb
|
1205
|
+
- app/lib/katello/util/candlepin_repository_checker.rb
|
1205
1206
|
- app/lib/katello/util/cdn_var_substitutor.rb
|
1206
1207
|
- app/lib/katello/util/data.rb
|
1207
1208
|
- app/lib/katello/util/deduplication_migrator.rb
|
@@ -1622,6 +1623,7 @@ files:
|
|
1622
1623
|
- app/views/katello/api/v2/activation_keys/subscriptions.json.rabl
|
1623
1624
|
- app/views/katello/api/v2/alternate_content_sources/base.json.rabl
|
1624
1625
|
- app/views/katello/api/v2/alternate_content_sources/index.json.rabl
|
1626
|
+
- app/views/katello/api/v2/alternate_content_sources/permissions.rabl
|
1625
1627
|
- app/views/katello/api/v2/alternate_content_sources/show.json.rabl
|
1626
1628
|
- app/views/katello/api/v2/ansible_collections/base.json.rabl
|
1627
1629
|
- app/views/katello/api/v2/ansible_collections/compare.json.rabl
|
@@ -1780,6 +1782,7 @@ files:
|
|
1780
1782
|
- app/views/katello/api/v2/providers/products.json.rabl
|
1781
1783
|
- app/views/katello/api/v2/providers/show.json.rabl
|
1782
1784
|
- app/views/katello/api/v2/repositories/base.json.rabl
|
1785
|
+
- app/views/katello/api/v2/repositories/compare.json.rabl
|
1783
1786
|
- app/views/katello/api/v2/repositories/index.json.rabl
|
1784
1787
|
- app/views/katello/api/v2/repositories/package_group_categories.json.rabl
|
1785
1788
|
- app/views/katello/api/v2/repositories/package_groups.json.rabl
|
@@ -1825,6 +1828,7 @@ files:
|
|
1825
1828
|
- app/views/katello/errata_mailer/promote_errata.text.erb
|
1826
1829
|
- app/views/katello/errata_mailer/sync_errata.html.erb
|
1827
1830
|
- app/views/katello/errata_mailer/sync_errata.text.erb
|
1831
|
+
- app/views/katello/hosts/_errata_counts.html.erb
|
1828
1832
|
- app/views/katello/layouts/foreman_with_bastion.html.erb
|
1829
1833
|
- app/views/katello/layouts/katello.html.erb
|
1830
1834
|
- app/views/katello/layouts/react.html.erb
|
@@ -1847,6 +1851,7 @@ files:
|
|
1847
1851
|
- app/views/overrides/organizations/_index_header_override.html.erb
|
1848
1852
|
- app/views/overrides/organizations/_index_row_override.html.erb
|
1849
1853
|
- app/views/overrides/organizations/_step_1_override.html.erb
|
1854
|
+
- app/views/overrides/smart_proxies/_acs_http_proxy.html.erb
|
1850
1855
|
- app/views/overrides/smart_proxies/_download_policy.erb
|
1851
1856
|
- app/views/overrides/smart_proxies/_environment_tab.html.erb
|
1852
1857
|
- app/views/overrides/smart_proxies/_environment_tab_pane.html.erb
|
@@ -2222,7 +2227,9 @@ files:
|
|
2222
2227
|
- db/migrate/20220524132259_remove_last_refreshed_from_katello_alternate_content_sources.rb
|
2223
2228
|
- db/migrate/20220601163911_add_vendor_to_katello_installed_packages.rb
|
2224
2229
|
- db/migrate/20220610165621_add_repositories_and_products_to_acs.rb
|
2225
|
-
- db/migrate/
|
2230
|
+
- db/migrate/20220730033504_update_custom_cdn.rb
|
2231
|
+
- db/migrate/20220920173656_add_http_proxy_to_smart_proxy.rb
|
2232
|
+
- db/migrate/20220920180858_remove_http_proxy_from_katello_alternate_content_sources.rb
|
2226
2233
|
- db/seeds.d/101-locations.rb
|
2227
2234
|
- db/seeds.d/102-organizations.rb
|
2228
2235
|
- db/seeds.d/104-proxy.rb
|
@@ -4038,10 +4045,12 @@ files:
|
|
4038
4045
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credentials.module.js
|
4039
4046
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credentials.routes.js
|
4040
4047
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-type.filter.js
|
4048
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
|
4041
4049
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-details-info.controller.js
|
4042
4050
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-details.controller.js
|
4043
4051
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-products.controller.js
|
4044
4052
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-repositories.controller.js
|
4053
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-acs.html
|
4045
4054
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-details.html
|
4046
4055
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-info.html
|
4047
4056
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-products.html
|
@@ -4429,6 +4438,7 @@ files:
|
|
4429
4438
|
- lib/katello/repository_types/python.rb
|
4430
4439
|
- lib/katello/repository_types/yum.rb
|
4431
4440
|
- lib/katello/scheduled_jobs.rb
|
4441
|
+
- lib/katello/tasks/check_candlepin_content.rake
|
4432
4442
|
- lib/katello/tasks/clean_backend_objects.rake
|
4433
4443
|
- lib/katello/tasks/clean_old_file_repos.rake
|
4434
4444
|
- lib/katello/tasks/clean_published_repo_directories.rake
|
@@ -4466,6 +4476,7 @@ files:
|
|
4466
4476
|
- lib/monkeys/anemone.rb
|
4467
4477
|
- lib/monkeys/ar_postgres_evr_t.rb
|
4468
4478
|
- lib/monkeys/fx_sqlite_skip.rb
|
4479
|
+
- lib/monkeys/try_pulp_container_path.rb
|
4469
4480
|
- lib/proxy_api/container_gateway.rb
|
4470
4481
|
- lib/proxy_api/pulp.rb
|
4471
4482
|
- lib/proxy_api/pulp_node.rb
|
@@ -4546,7 +4557,6 @@ files:
|
|
4546
4557
|
- vendor/assets/javascripts/katello/jquery.hoverIntent.js
|
4547
4558
|
- vendor/assets/javascripts/katello/jquery.periodicalupdater.js
|
4548
4559
|
- vendor/assets/javascripts/katello/jquery.treeTable.js
|
4549
|
-
- vendor/assets/javascripts/katello/jquery.trunk8.js
|
4550
4560
|
- vendor/assets/stylesheets/katello/facebox.css
|
4551
4561
|
- vendor/assets/stylesheets/katello/jquery-ui-1.8.11.custom.css.scss
|
4552
4562
|
- vendor/assets/stylesheets/katello/jquery.multiselect.css
|
@@ -4593,6 +4603,7 @@ files:
|
|
4593
4603
|
- webpack/components/EditableTextInput/__tests__/editableTextInput.test.js
|
4594
4604
|
- webpack/components/EditableTextInput/editableTextInput.scss
|
4595
4605
|
- webpack/components/EditableTextInput/index.js
|
4606
|
+
- webpack/components/Errata/errataHelpers.js
|
4596
4607
|
- webpack/components/Errata/index.js
|
4597
4608
|
- webpack/components/ErratumTypeLabel.js
|
4598
4609
|
- webpack/components/Loading.js
|
@@ -4666,6 +4677,7 @@ files:
|
|
4666
4677
|
- webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.scss
|
4667
4678
|
- webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsActions.js
|
4668
4679
|
- webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.js
|
4680
|
+
- webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.scss
|
4669
4681
|
- webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsConstants.js
|
4670
4682
|
- webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsModal.js
|
4671
4683
|
- webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsSelectors.js
|
@@ -4858,6 +4870,7 @@ files:
|
|
4858
4870
|
- webpack/scenes/AlternateContentSources/ACSConstants.js
|
4859
4871
|
- webpack/scenes/AlternateContentSources/ACSIndexPage.js
|
4860
4872
|
- webpack/scenes/AlternateContentSources/ACSSelectors.js
|
4873
|
+
- webpack/scenes/AlternateContentSources/Acs.scss
|
4861
4874
|
- webpack/scenes/AlternateContentSources/Create/ACSCreateContext.js
|
4862
4875
|
- webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js
|
4863
4876
|
- webpack/scenes/AlternateContentSources/Create/Steps/ACSCreateFinish.js
|
@@ -4888,6 +4901,7 @@ files:
|
|
4888
4901
|
- webpack/scenes/AlternateContentSources/MainTable/ACSTable.scss
|
4889
4902
|
- webpack/scenes/AlternateContentSources/MainTable/__tests__/acsIndex.fixtures.json
|
4890
4903
|
- webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js
|
4904
|
+
- webpack/scenes/AlternateContentSources/helpers.js
|
4891
4905
|
- webpack/scenes/AlternateContentSources/index.js
|
4892
4906
|
- webpack/scenes/Content/ContentActions.js
|
4893
4907
|
- webpack/scenes/Content/ContentConfig.js
|
@@ -5065,6 +5079,7 @@ files:
|
|
5065
5079
|
- webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/contentViewVersionThreeDetails.fixtures.json
|
5066
5080
|
- webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/contentViewVersionTwoDetails.fixtures.json
|
5067
5081
|
- webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/contentViewVersions.fixtures.json
|
5082
|
+
- webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/cvCompareRepositories.fixtures.json
|
5068
5083
|
- webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/emptyStateCVVersionOneDetails.fixtures.json
|
5069
5084
|
- webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/emptyStateCVVersionTwoDetails.fixtures.json
|
5070
5085
|
- webpack/scenes/ContentViews/Details/Versions/ContentViewVersionContent.js
|
@@ -5163,6 +5178,8 @@ files:
|
|
5163
5178
|
- webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceForm.js
|
5164
5179
|
- webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceTemplate.js
|
5165
5180
|
- webpack/scenes/Hosts/ChangeContentSource/components/FormField.js
|
5181
|
+
- webpack/scenes/Hosts/ChangeContentSource/components/Hosts.js
|
5182
|
+
- webpack/scenes/Hosts/ChangeContentSource/components/HostsModal.js
|
5166
5183
|
- webpack/scenes/Hosts/ChangeContentSource/constants.js
|
5167
5184
|
- webpack/scenes/Hosts/ChangeContentSource/helpers.js
|
5168
5185
|
- webpack/scenes/Hosts/ChangeContentSource/index.js
|
@@ -5301,9 +5318,11 @@ files:
|
|
5301
5318
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnConfigurationConstants.js
|
5302
5319
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnConfigurationForm.scss
|
5303
5320
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnTypeForm.js
|
5321
|
+
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CustomCdnTypeForm.js
|
5304
5322
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/ExportSyncForm.js
|
5305
5323
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/NetworkSyncForm.js
|
5306
5324
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/CdnTypeForm.test.js
|
5325
|
+
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/CustomCdnTypeForm.test.js
|
5307
5326
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/ExportSyncForm.test.js
|
5308
5327
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/NetworkSyncForm.test.js
|
5309
5328
|
- webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/index.js
|
@@ -5411,9 +5430,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
5411
5430
|
version: '2.5'
|
5412
5431
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
5413
5432
|
requirements:
|
5414
|
-
- - "
|
5433
|
+
- - ">"
|
5415
5434
|
- !ruby/object:Gem::Version
|
5416
|
-
version:
|
5435
|
+
version: 1.3.1
|
5417
5436
|
requirements: []
|
5418
5437
|
rubygems_version: 3.1.6
|
5419
5438
|
signing_key:
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Pulp3
|
3
|
-
module Orchestration
|
4
|
-
module AlternateContentSource
|
5
|
-
class RefreshRemote < Pulp3::AbstractAsyncTask
|
6
|
-
def plan(smart_proxy_acs)
|
7
|
-
plan_self(smart_proxy_acs_id: smart_proxy_acs.id, smart_proxy_id: smart_proxy_acs.smart_proxy_id)
|
8
|
-
end
|
9
|
-
|
10
|
-
def invoke_external_task
|
11
|
-
smart_proxy_acs = ::Katello::SmartProxyAlternateContentSource.find(input[:smart_proxy_acs_id])
|
12
|
-
smart_proxy_acs.backend_service.update_remote
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,203 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) 2012 Rick Viscomi (rviscomi@gmail.com)
|
3
|
-
*
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
5
|
-
*
|
6
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
7
|
-
*
|
8
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
9
|
-
*/
|
10
|
-
|
11
|
-
|
12
|
-
(function ($) {
|
13
|
-
var methods,
|
14
|
-
utils,
|
15
|
-
SIDES = {
|
16
|
-
/* cen...ter */
|
17
|
-
center: 'center',
|
18
|
-
/* ...left */
|
19
|
-
left: 'left',
|
20
|
-
/* right... */
|
21
|
-
right: 'right'
|
22
|
-
},
|
23
|
-
WIDTH = {
|
24
|
-
auto: 'auto'
|
25
|
-
},
|
26
|
-
settings = {
|
27
|
-
fill: '…',
|
28
|
-
lines: 1,
|
29
|
-
side: SIDES.right,
|
30
|
-
tooltip: true,
|
31
|
-
width: WIDTH.auto
|
32
|
-
};
|
33
|
-
|
34
|
-
function truncate() {
|
35
|
-
var width = settings.width,
|
36
|
-
side = settings.side,
|
37
|
-
fill = settings.fill,
|
38
|
-
line_height = parseInt(this.css('line-height')) * settings.lines,
|
39
|
-
str = this.attr('title') || this.text(),
|
40
|
-
length = str.length,
|
41
|
-
i = 1,
|
42
|
-
max_bite = '',
|
43
|
-
bite_size,
|
44
|
-
bite;
|
45
|
-
|
46
|
-
/* Reset the field to the original string. */
|
47
|
-
this.html(str);
|
48
|
-
|
49
|
-
if (width === WIDTH.auto) {
|
50
|
-
/* Assuming there is no "overflow: hidden". */
|
51
|
-
if (this.height() <= line_height) {
|
52
|
-
/* Text is already at the optimal trunkage. */
|
53
|
-
return;
|
54
|
-
}
|
55
|
-
|
56
|
-
/* Binary search technique for finding the optimal trunkage. */
|
57
|
-
/* Find the maximum bite without overflowing. */
|
58
|
-
bite_size = length >> i; // Halve the length.
|
59
|
-
|
60
|
-
do {
|
61
|
-
bite = utils.eatStr(str, side, bite_size, fill);
|
62
|
-
|
63
|
-
this.html(bite);
|
64
|
-
|
65
|
-
i++;
|
66
|
-
|
67
|
-
if (this.height() > line_height) {
|
68
|
-
bite_size += length >> i; // Length divided by 2**i
|
69
|
-
}
|
70
|
-
else {
|
71
|
-
bite_size -= length >> i; // Length divided by 2**i
|
72
|
-
|
73
|
-
/* Save the bigger bite. */
|
74
|
-
max_bite = (max_bite.length > bite.length) ? max_bite : bite;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
while (length >> i > 0);
|
78
|
-
|
79
|
-
/* Display the biggest bite. */
|
80
|
-
this.html(max_bite);
|
81
|
-
|
82
|
-
if (settings.tooltip) {
|
83
|
-
this.attr('title', str);
|
84
|
-
}
|
85
|
-
}
|
86
|
-
else if (!isNaN(width)) {
|
87
|
-
bite_size = width;
|
88
|
-
|
89
|
-
bite = utils.eatStr(str, side, bite_size, fill);
|
90
|
-
|
91
|
-
this.html(bite);
|
92
|
-
|
93
|
-
if (settings.tooltip) {
|
94
|
-
this.attr('title', str);
|
95
|
-
}
|
96
|
-
}
|
97
|
-
else {
|
98
|
-
$.error('Invalid width "' + width + '".');
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
methods = {
|
103
|
-
init: function (options) {
|
104
|
-
settings = $.extend(settings, options);
|
105
|
-
|
106
|
-
return this.each(function () {
|
107
|
-
truncate.call($(this));
|
108
|
-
});
|
109
|
-
},
|
110
|
-
|
111
|
-
/** Updates the text value of the elements while maintaining truncation. */
|
112
|
-
update: function (text) {
|
113
|
-
return this.each(function () {
|
114
|
-
/* Update text. */
|
115
|
-
if (text) {
|
116
|
-
this.text(text);
|
117
|
-
}
|
118
|
-
|
119
|
-
/* Truncate accordingly. */
|
120
|
-
truncate.call($(this));
|
121
|
-
});
|
122
|
-
},
|
123
|
-
|
124
|
-
/** Returns this instance's settings object. NOT CHAINABLE. */
|
125
|
-
getSettings: function () {
|
126
|
-
return settings;
|
127
|
-
}
|
128
|
-
};
|
129
|
-
|
130
|
-
utils = {
|
131
|
-
/** Replaces [bite_size] [side]-most chars in [str] with [fill]. */
|
132
|
-
eatStr: function (str, side, bite_size, fill) {
|
133
|
-
var length = str.length,
|
134
|
-
key = utils.eatStr.generateKey.apply(null, arguments),
|
135
|
-
half_length,
|
136
|
-
half_bite_size;
|
137
|
-
|
138
|
-
/* If the result is already in the cache, return it. */
|
139
|
-
if (utils.eatStr.cache[key]) {
|
140
|
-
return utils.eatStr.cache[key];
|
141
|
-
}
|
142
|
-
|
143
|
-
/* Common error handling. */
|
144
|
-
if ((typeof str !== 'string') || (length === 0)) {
|
145
|
-
$.error('Invalid source string "' + str + '".');
|
146
|
-
}
|
147
|
-
if ((bite_size < 0) || (bite_size > length)) {
|
148
|
-
$.error('Invalid bite size "' + bite_size + '".');
|
149
|
-
}
|
150
|
-
else if (bite_size === 0) {
|
151
|
-
/* No bite should show no truncation. */
|
152
|
-
return str;
|
153
|
-
}
|
154
|
-
if (typeof (fill + '') !== 'string') {
|
155
|
-
$.error('Fill unable to be converted to a string.');
|
156
|
-
}
|
157
|
-
|
158
|
-
/* Compute the result, store it in the cache, and return it. */
|
159
|
-
switch (side) {
|
160
|
-
case SIDES.right:
|
161
|
-
/* str... */
|
162
|
-
return utils.eatStr.cache[key] =
|
163
|
-
$.trim(str.substr(0, length - bite_size)) + fill;
|
164
|
-
|
165
|
-
case SIDES.left:
|
166
|
-
/* ...str */
|
167
|
-
return utils.eatStr.cache[key] =
|
168
|
-
fill + $.trim(str.substr(bite_size));
|
169
|
-
|
170
|
-
case SIDES.center:
|
171
|
-
/* Bit-shift to the right by one === Math.floor(x / 2) */
|
172
|
-
half_length = length >> 1; // halve the length
|
173
|
-
half_bite_size = bite_size >> 1; // halve the bite_size
|
174
|
-
|
175
|
-
/* st...r */
|
176
|
-
return utils.eatStr.cache[key] =
|
177
|
-
$.trim(utils.eatStr(str.substr(0, length - half_length), SIDES.right, bite_size - half_bite_size, '')) +
|
178
|
-
fill +
|
179
|
-
$.trim(utils.eatStr(str.substr(length - half_length), SIDES.left, half_bite_size, ''));
|
180
|
-
|
181
|
-
default:
|
182
|
-
$.error('Invalid side "' + side + '".');
|
183
|
-
}
|
184
|
-
}
|
185
|
-
};
|
186
|
-
|
187
|
-
utils.eatStr.cache = {};
|
188
|
-
utils.eatStr.generateKey = function () {
|
189
|
-
return Array.prototype.join.call(arguments, '');
|
190
|
-
};
|
191
|
-
|
192
|
-
$.fn.trunk8 = function (method) {
|
193
|
-
if (methods[method]) {
|
194
|
-
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
195
|
-
}
|
196
|
-
else if (typeof method === 'object' || !method) {
|
197
|
-
return methods.init.apply(this, arguments);
|
198
|
-
}
|
199
|
-
else {
|
200
|
-
$.error('Method ' + method + ' does not exist on jQuery.trunk8');
|
201
|
-
}
|
202
|
-
};
|
203
|
-
})(jQuery);
|