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.

Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/katello/common/vendor.js +0 -1
  3. data/app/controllers/katello/api/v2/activation_keys_controller.rb +1 -0
  4. data/app/controllers/katello/api/v2/alternate_content_sources_controller.rb +4 -4
  5. data/app/controllers/katello/api/v2/capsule_content_controller.rb +5 -0
  6. data/app/controllers/katello/api/v2/content_imports_controller.rb +1 -0
  7. data/app/controllers/katello/api/v2/content_view_components_controller.rb +1 -1
  8. data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +2 -1
  9. data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +1 -1
  10. data/app/controllers/katello/api/v2/organizations_controller.rb +1 -0
  11. data/app/controllers/katello/api/v2/repositories_controller.rb +78 -12
  12. data/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb +1 -1
  13. data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +7 -1
  14. data/app/controllers/katello/concerns/api/v2/smart_proxies_controller_extensions.rb +1 -0
  15. data/app/controllers/katello/concerns/hosts_controller_extensions.rb +11 -9
  16. data/app/helpers/katello/content_source_helper.rb +9 -0
  17. data/app/helpers/katello/hosts_and_hostgroups_helper.rb +31 -0
  18. data/app/lib/actions/katello/activation_key/destroy.rb +1 -0
  19. data/app/lib/actions/katello/agent_action.rb +1 -0
  20. data/app/lib/actions/katello/alternate_content_source/create.rb +1 -1
  21. data/app/lib/actions/katello/alternate_content_source/update.rb +2 -2
  22. data/app/lib/actions/katello/capsule_content/sync.rb +10 -2
  23. data/app/lib/actions/katello/cdn_configuration/update.rb +1 -1
  24. data/app/lib/actions/katello/content_view/promote.rb +1 -0
  25. data/app/lib/actions/katello/content_view/publish.rb +5 -2
  26. data/app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb +7 -3
  27. data/app/lib/actions/katello/content_view_version/auto_create_repositories.rb +4 -2
  28. data/app/lib/actions/katello/content_view_version/import.rb +22 -10
  29. data/app/lib/actions/katello/product/destroy.rb +1 -1
  30. data/app/lib/actions/katello/repository/destroy.rb +3 -3
  31. data/app/lib/actions/katello/repository/errata_mail.rb +9 -6
  32. data/app/lib/actions/katello/repository/refresh_repository.rb +1 -1
  33. data/app/lib/actions/katello/repository/sync.rb +13 -6
  34. data/app/lib/actions/katello/repository_set/enable_repository.rb +6 -2
  35. data/app/lib/actions/pulp3/alternate_content_source/refresh_remote.rb +16 -0
  36. data/app/lib/actions/pulp3/orchestration/alternate_content_source/refresh.rb +1 -0
  37. data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +1 -1
  38. data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +10 -2
  39. data/app/lib/katello/concerns/renderer_extensions.rb +2 -1
  40. data/app/lib/katello/errors.rb +2 -2
  41. data/app/lib/katello/resources/candlepin.rb +7 -1
  42. data/app/lib/katello/resources/cdn/katello_cdn.rb +3 -13
  43. data/app/lib/katello/resources/cdn.rb +14 -9
  44. data/app/lib/katello/util/candlepin_repository_checker.rb +73 -0
  45. data/app/models/katello/activation_key.rb +12 -1
  46. data/app/models/katello/alternate_content_source.rb +15 -4
  47. data/app/models/katello/alternate_content_source_product.rb +1 -1
  48. data/app/models/katello/authorization/repository.rb +2 -2
  49. data/app/models/katello/cdn_configuration.rb +12 -3
  50. data/app/models/katello/concerns/host_managed_extensions.rb +15 -2
  51. data/app/models/katello/concerns/http_proxy_extensions.rb +5 -10
  52. data/app/models/katello/concerns/smart_proxy_extensions.rb +30 -15
  53. data/app/models/katello/content.rb +15 -0
  54. data/app/models/katello/content_credential.rb +8 -9
  55. data/app/models/katello/content_view.rb +7 -3
  56. data/app/models/katello/content_view_component.rb +4 -0
  57. data/app/models/katello/content_view_version.rb +1 -1
  58. data/app/models/katello/erratum.rb +6 -2
  59. data/app/models/katello/host/content_facet.rb +13 -3
  60. data/app/models/katello/repository.rb +15 -1
  61. data/app/models/katello/root_repository.rb +0 -2
  62. data/app/overrides/add_smart_proxy_form.rb +5 -0
  63. data/app/presenters/katello/content_view_version_compare_presenter.rb +5 -0
  64. data/app/presenters/katello/host_package_presenter.rb +4 -4
  65. data/app/services/katello/pulp3/alternate_content_source.rb +23 -15
  66. data/app/services/katello/pulp3/ansible_collection.rb +7 -10
  67. data/app/services/katello/pulp3/content_view_version/export.rb +19 -6
  68. data/app/services/katello/pulp3/content_view_version/import.rb +2 -0
  69. data/app/services/katello/pulp3/content_view_version/import_validator.rb +21 -5
  70. data/app/services/katello/pulp3/content_view_version/importable_products.rb +11 -1
  71. data/app/services/katello/pulp3/content_view_version/importable_repositories.rb +38 -9
  72. data/app/services/katello/pulp3/content_view_version/metadata_generator.rb +12 -5
  73. data/app/services/katello/pulp3/content_view_version/metadata_map.rb +13 -2
  74. data/app/services/katello/pulp3/content_view_version/syncable_format_export.rb +5 -1
  75. data/app/services/katello/pulp3/pulp_content_unit.rb +3 -0
  76. data/app/services/katello/pulp3/repository.rb +18 -6
  77. data/app/services/katello/pulp3/repository_mirror.rb +0 -1
  78. data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +2 -2
  79. data/app/services/katello/pulp3/task_group.rb +18 -1
  80. data/app/services/katello/repository_type.rb +5 -2
  81. data/app/services/katello/repository_type_manager.rb +4 -3
  82. data/app/views/dashboard/_content_views_widget.html.erb +1 -1
  83. data/app/views/foreman/job_templates/change_content_source.erb +6 -0
  84. data/app/views/foreman/job_templates/update_packages_by_search_query.erb +7 -1
  85. data/app/views/katello/api/v2/alternate_content_sources/base.json.rabl +4 -4
  86. data/app/views/katello/api/v2/alternate_content_sources/index.json.rabl +1 -0
  87. data/app/views/katello/api/v2/alternate_content_sources/permissions.rabl +11 -0
  88. data/app/views/katello/api/v2/content_credentials/show.json.rabl +12 -0
  89. data/app/views/katello/api/v2/content_views/permissions.rabl +1 -0
  90. data/app/views/katello/api/v2/host_packages/base.json.rabl +1 -1
  91. data/app/views/katello/api/v2/module_streams/show.json.rabl +7 -0
  92. data/app/views/katello/api/v2/repositories/compare.json.rabl +10 -0
  93. data/app/views/katello/api/v2/smart_proxies/pulp_info.json.rabl +1 -0
  94. data/app/views/katello/hosts/_errata_counts.html.erb +46 -0
  95. data/app/views/overrides/activation_keys/_host_synced_content_select.html.erb +1 -0
  96. data/app/views/overrides/smart_proxies/_acs_http_proxy.html.erb +6 -0
  97. data/config/initializers/monkeys.rb +1 -0
  98. data/config/routes/api/v2.rb +2 -0
  99. data/config/routes.rb +3 -0
  100. data/db/migrate/20220730033504_update_custom_cdn.rb +13 -0
  101. data/db/migrate/20220920173656_add_http_proxy_to_smart_proxy.rb +7 -0
  102. data/db/migrate/20220920180858_remove_http_proxy_from_katello_alternate_content_sources.rb +6 -0
  103. data/engines/bastion/app/assets/javascripts/bastion/components/notification.service.js +1 -1
  104. data/engines/bastion/app/views/bastion/layouts/assets.html.erb +5 -5
  105. data/engines/bastion/vendor/assets/javascripts/bastion/angular/angular.js +1 -1
  106. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credential.factory.js +17 -0
  107. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/content-credentials.routes.js +10 -0
  108. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js +36 -0
  109. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-details.controller.js +7 -1
  110. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-acs.html +38 -0
  111. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-details.html +3 -0
  112. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/views/content-credentials.html +7 -2
  113. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +4 -2
  114. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +1 -1
  115. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +4 -3
  116. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +14 -1392
  117. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/katello-features.run.js +1 -0
  118. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +7 -0
  119. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +1 -1
  120. data/lib/katello/permission_creator.rb +1 -0
  121. data/lib/katello/plugin.rb +34 -11
  122. data/lib/katello/repository_types/deb.rb +1 -1
  123. data/lib/katello/repository_types/docker.rb +1 -1
  124. data/lib/katello/repository_types/python.rb +3 -3
  125. data/lib/katello/tasks/check_candlepin_content.rake +16 -0
  126. data/lib/katello/tasks/reset.rake +1 -1
  127. data/lib/katello/version.rb +1 -1
  128. data/lib/monkeys/try_pulp_container_path.rb +35 -0
  129. data/locale/action_names.rb +7 -7
  130. data/locale/bn/katello.po +395 -63
  131. data/locale/cs/katello.po +396 -64
  132. data/locale/de/katello.po +399 -67
  133. data/locale/en/katello.po +395 -63
  134. data/locale/es/katello.po +399 -67
  135. data/locale/fr/katello.po +400 -68
  136. data/locale/gu/katello.po +395 -63
  137. data/locale/hi/katello.po +395 -63
  138. data/locale/it/katello.po +396 -64
  139. data/locale/ja/katello.po +400 -68
  140. data/locale/katello.pot +1916 -1213
  141. data/locale/kn/katello.po +395 -63
  142. data/locale/ko/katello.po +396 -64
  143. data/locale/mr/katello.po +395 -63
  144. data/locale/or/katello.po +395 -63
  145. data/locale/pa/katello.po +395 -63
  146. data/locale/pt/katello.po +395 -63
  147. data/locale/pt_BR/katello.po +399 -67
  148. data/locale/ru/katello.po +396 -64
  149. data/locale/ta/katello.po +395 -63
  150. data/locale/te/katello.po +395 -63
  151. data/locale/zh_CN/katello.po +400 -68
  152. data/locale/zh_TW/katello.po +396 -64
  153. data/webpack/components/Bookmark/index.js +5 -1
  154. data/webpack/components/Content/Details/ContentDetails.js +1 -1
  155. data/webpack/components/Content/Details/__tests__/__snapshots__/ContentDetails.test.js.snap +6 -0
  156. data/webpack/components/EditableSwitch.js +1 -0
  157. data/webpack/components/EditableTextInput/EditableTextInput.js +3 -3
  158. data/webpack/components/Errata/errataHelpers.js +33 -0
  159. data/webpack/components/Errata/index.js +45 -12
  160. data/webpack/components/Loading.js +18 -8
  161. data/webpack/components/Packages/index.js +8 -24
  162. data/webpack/components/RoutedTabs/index.js +1 -0
  163. data/webpack/components/Search/Search.js +20 -2
  164. data/webpack/components/Search/__tests__/search.test.js +3 -3
  165. data/webpack/components/Table/EmptyStateMessage.js +1 -1
  166. data/webpack/components/Table/PageControls.js +1 -0
  167. data/webpack/components/Table/TableHooks.js +4 -0
  168. data/webpack/components/Table/TableWrapper.js +7 -7
  169. data/webpack/components/TypeAhead/pf4Search/TypeAheadInput.js +1 -0
  170. data/webpack/components/TypeAhead/pf4Search/TypeAheadItems.js +2 -0
  171. data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js +1 -1
  172. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ChangeHostCVModal.js +3 -1
  173. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +2 -1
  174. data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.js +124 -68
  175. data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.scss +5 -0
  176. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.js +30 -4
  177. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.scss +23 -0
  178. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsModal.js +5 -4
  179. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/__tests__/hostCollectionsCard.test.js +25 -10
  180. data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeCard.js +3 -3
  181. data/webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeEditModal.js +6 -0
  182. data/webpack/components/extensions/HostDetails/Cards/__tests__/errataOverviewCard.test.js +145 -32
  183. data/webpack/components/extensions/HostDetails/DetailsTabCards/RegistrationCard.js +3 -1
  184. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js +2 -1
  185. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/index.js +1 -0
  186. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/ErrataTab.js +78 -26
  187. data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +23 -10
  188. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesConstants.js +1 -0
  189. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackageInstallModal.js +9 -4
  190. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +141 -23
  191. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.scss +6 -1
  192. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +9 -8
  193. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +24 -3
  194. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerModal.js +7 -2
  195. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesEnabler.js +2 -1
  196. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +20 -4
  197. data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +56 -38
  198. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json +3 -3
  199. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +5 -4
  200. data/webpack/components/extensions/HostDetails/Tabs/customizedRexUrlHelpers.js +3 -3
  201. data/webpack/containers/Application/config.js +2 -2
  202. data/webpack/containers/Application/overrides.scss +12 -0
  203. data/webpack/global_test_setup.js +19 -1
  204. data/webpack/ouia_id_check.js +0 -2
  205. data/webpack/redux/actions/RedHatRepositories/helpers.js +4 -8
  206. data/webpack/scenes/AlternateContentSources/ACSActions.js +37 -6
  207. data/webpack/scenes/AlternateContentSources/ACSConstants.js +2 -0
  208. data/webpack/scenes/AlternateContentSources/ACSIndexPage.js +1 -1
  209. data/webpack/scenes/AlternateContentSources/ACSSelectors.js +6 -6
  210. data/webpack/scenes/AlternateContentSources/Acs.scss +3 -0
  211. data/webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js +24 -3
  212. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCreateFinish.js +10 -8
  213. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCredentials.js +25 -4
  214. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSReview.js +22 -11
  215. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSSmartProxies.js +27 -2
  216. data/webpack/scenes/AlternateContentSources/Create/Steps/AcsUrlPaths.js +49 -17
  217. data/webpack/scenes/AlternateContentSources/Create/Steps/SelectSource.js +76 -23
  218. data/webpack/scenes/AlternateContentSources/Create/__tests__/acsCreate.test.js +159 -11
  219. data/webpack/scenes/AlternateContentSources/Details/ACSExpandableDetails.js +83 -29
  220. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditCredentials.js +9 -8
  221. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js +2 -2
  222. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js +2 -2
  223. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditSmartProxies.js +39 -7
  224. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditURLPaths.js +27 -11
  225. data/webpack/scenes/AlternateContentSources/Details/__tests__/ACSEdits.test.js +58 -55
  226. data/webpack/scenes/AlternateContentSources/Details/__tests__/ACSExpandableDetails.test.js +35 -32
  227. data/webpack/scenes/AlternateContentSources/MainTable/ACSTable.js +323 -150
  228. data/webpack/scenes/AlternateContentSources/MainTable/__tests__/acsIndex.fixtures.json +5 -1
  229. data/webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js +10 -11
  230. data/webpack/scenes/AlternateContentSources/helpers.js +26 -0
  231. data/webpack/scenes/ContentViews/ContentViewsConstants.js +1 -0
  232. data/webpack/scenes/ContentViews/ContentViewsPage.js +1 -1
  233. data/webpack/scenes/ContentViews/Copy/CopyContentViewForm.js +1 -0
  234. data/webpack/scenes/ContentViews/Copy/CopyContentViewModal.js +1 -0
  235. data/webpack/scenes/ContentViews/Create/ContentViewFormComponents.js +10 -5
  236. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +30 -7
  237. data/webpack/scenes/ContentViews/Create/CreateContentViewModal.js +1 -0
  238. data/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +21 -6
  239. data/webpack/scenes/ContentViews/Delete/Steps/CVDeleteEnvironmentsSelection.js +3 -3
  240. data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionReassignActivationKeysForm.js +1 -0
  241. data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionReassignHostsForm.js +1 -0
  242. data/webpack/scenes/ContentViews/Delete/__tests__/CvData.fixtures.json +2 -0
  243. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewAddModal.js +3 -0
  244. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewBulkAddModal.js +4 -1
  245. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentVersion.js +1 -1
  246. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +2 -1
  247. data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +14 -0
  248. data/webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js +11 -1
  249. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +1 -1
  250. data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +2 -0
  251. data/webpack/scenes/ContentViews/Details/Filters/Add/CVFilterAddModal.js +5 -0
  252. data/webpack/scenes/ContentViews/Details/Filters/AffectedRepositories/AffectedRepositorySelection.js +1 -0
  253. data/webpack/scenes/ContentViews/Details/Filters/ArtifactsWithNoErrata.js +1 -0
  254. data/webpack/scenes/ContentViews/Details/Filters/CVContainerImageFilterContent.js +8 -2
  255. data/webpack/scenes/ContentViews/Details/Filters/CVDebFilterContent.js +5 -1
  256. data/webpack/scenes/ContentViews/Details/Filters/CVErrataDateFilterContent.js +22 -6
  257. data/webpack/scenes/ContentViews/Details/Filters/CVErrataIDFilterContent.js +19 -9
  258. data/webpack/scenes/ContentViews/Details/Filters/CVModuleStreamFilterContent.js +9 -2
  259. data/webpack/scenes/ContentViews/Details/Filters/CVPackageGroupFilterContent.js +9 -2
  260. data/webpack/scenes/ContentViews/Details/Filters/CVRpmFilterContent.js +8 -2
  261. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilterDetailsHeader.js +1 -1
  262. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +2 -1
  263. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVRpmMatchContentModal.js +3 -2
  264. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentModal.test.js +1 -1
  265. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVContainerImageFilterContent.test.js +2 -2
  266. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js +1 -1
  267. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetails.test.js +1 -1
  268. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js +1 -1
  269. data/webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js +2 -2
  270. data/webpack/scenes/ContentViews/Details/Promote/ContentViewVersionPromote.js +2 -0
  271. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +2 -1
  272. data/webpack/scenes/ContentViews/Details/Versions/BulkDelete/Steps/ReviewEnvironments.js +3 -3
  273. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompare.js +9 -1
  274. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareConfig.js +83 -0
  275. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js +32 -8
  276. data/webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/CVVersionCompare.test.js +56 -3
  277. data/webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/cvCompareRepositories.fixtures.json +175 -0
  278. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +6 -2
  279. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVEnvironmentSelectionForm.js +3 -3
  280. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVReassignActivationKeysForm.js +1 -0
  281. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVReassignHostsForm.js +1 -0
  282. data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedActivationKeys.js +2 -2
  283. data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedHosts.js +2 -2
  284. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +2 -2
  285. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetails.js +1 -0
  286. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsHeader.js +4 -1
  287. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js +5 -4
  288. data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +5 -1
  289. data/webpack/scenes/ContentViews/Publish/CVPublishReview.js +3 -3
  290. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +10 -5
  291. data/webpack/scenes/ContentViews/__tests__/basicContentViews.fixtures.js +2 -0
  292. data/webpack/scenes/ContentViews/__tests__/contentViewList.fixtures.json +1 -0
  293. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +81 -19
  294. data/webpack/scenes/ContentViews/components/CVBreadCrumb.js +1 -1
  295. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +1 -0
  296. data/webpack/scenes/ContentViews/components/InactiveText.js +9 -1
  297. data/webpack/scenes/ContentViews/expansions/RelatedCompositeContentViewsModal.js +4 -2
  298. data/webpack/scenes/ContentViews/expansions/RelatedContentViewComponentsModal.js +3 -2
  299. data/webpack/scenes/Hosts/ChangeContentSource/actions.js +18 -11
  300. data/webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceForm.js +15 -8
  301. data/webpack/scenes/Hosts/ChangeContentSource/components/FormField.js +3 -4
  302. data/webpack/scenes/Hosts/ChangeContentSource/components/Hosts.js +55 -0
  303. data/webpack/scenes/Hosts/ChangeContentSource/components/HostsModal.js +59 -0
  304. data/webpack/scenes/Hosts/ChangeContentSource/constants.js +1 -0
  305. data/webpack/scenes/Hosts/ChangeContentSource/helpers.js +2 -5
  306. data/webpack/scenes/Hosts/ChangeContentSource/index.js +46 -41
  307. data/webpack/scenes/Hosts/ChangeContentSource/selectors.js +5 -5
  308. data/webpack/scenes/ModuleStreams/Details/ModuleDetailsSchema.js +10 -1
  309. data/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js +1 -1
  310. data/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap +97 -2
  311. data/webpack/scenes/Organizations/OrganizationSelectors.js +1 -0
  312. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnConfigurationConstants.js +2 -1
  313. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnTypeForm.js +10 -25
  314. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CustomCdnTypeForm.js +154 -0
  315. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/ExportSyncForm.js +4 -4
  316. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/NetworkSyncForm.js +59 -44
  317. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/CdnTypeForm.test.js +3 -28
  318. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/CustomCdnTypeForm.test.js +97 -0
  319. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/ExportSyncForm.test.js +1 -1
  320. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/__tests__/NetworkSyncForm.test.js +4 -4
  321. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/index.js +23 -10
  322. data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +1 -1
  323. data/webpack/scenes/Subscriptions/SubscriptionConstants.js +2 -1
  324. data/webpack/scenes/Subscriptions/SubscriptionsPage.js +5 -5
  325. data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js +3 -3
  326. data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/__snapshots__/UpstreamSubscriptionsPage.test.js.snap +2 -2
  327. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +3 -3
  328. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +3 -3
  329. data/webpack/scenes/Tasks/helpers.js +14 -7
  330. metadata +54 -35
  331. data/app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb +0 -18
  332. data/db/migrate/20221206170122_update_ignore_srpm_to_false_for_mirror_complete.rb +0 -5
  333. 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.6.2.1
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: 2023-01-10 00:00:00.000000000 Z
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.18.0
277
+ version: 3.21.0
278
278
  - - "<"
279
279
  - !ruby/object:Gem::Version
280
- version: 3.19.0
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.18.0
287
+ version: 3.21.0
288
288
  - - "<"
289
289
  - !ruby/object:Gem::Version
290
- version: 3.19.0
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.10.0
297
+ version: 1.11.0
298
298
  - - "<"
299
299
  - !ruby/object:Gem::Version
300
- version: 1.11.0
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.10.0
307
+ version: 1.11.0
308
308
  - - "<"
309
309
  - !ruby/object:Gem::Version
310
- version: 1.11.0
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.13.1
317
+ version: 0.15.0
318
318
  - - "<"
319
319
  - !ruby/object:Gem::Version
320
- version: '0.14'
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.13.1
327
+ version: 0.15.0
328
328
  - - "<"
329
329
  - !ruby/object:Gem::Version
330
- version: '0.14'
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.10.0
337
+ version: 2.14.0
338
338
  - - "<"
339
339
  - !ruby/object:Gem::Version
340
- version: 2.11.0
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.10.0
347
+ version: 2.14.0
348
348
  - - "<"
349
349
  - !ruby/object:Gem::Version
350
- version: 2.11.0
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.18.0
357
+ version: 2.20.0
358
358
  - - "<"
359
359
  - !ruby/object:Gem::Version
360
- version: 2.19.0
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.18.0
367
+ version: 2.20.0
368
368
  - - "<"
369
369
  - !ruby/object:Gem::Version
370
- version: 2.19.0
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.17.0
377
+ version: 3.18.0
378
378
  - - "<"
379
379
  - !ruby/object:Gem::Version
380
- version: 3.18.0
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.17.0
387
+ version: 3.18.0
388
388
  - - "<"
389
389
  - !ruby/object:Gem::Version
390
- version: 3.18.0
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.6.0
411
+ version: 3.7.2
412
412
  - - "<"
413
413
  - !ruby/object:Gem::Version
414
- version: 3.7.0
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.6.0
421
+ version: 3.7.2
422
422
  - - "<"
423
423
  - !ruby/object:Gem::Version
424
- version: 3.7.0
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/20221206170122_update_ignore_srpm_to_false_for_mirror_complete.rb
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: '0'
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,5 +0,0 @@
1
- class UpdateIgnoreSrpmToFalseForMirrorComplete < ActiveRecord::Migration[6.1]
2
- def change
3
- Katello::RootRepository.yum_type.where(mirroring_policy: 'mirror_complete', ignorable_content: ['srpm']).update_all(ignorable_content: [])
4
- end
5
- 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: '&hellip;',
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);