katello 4.7.4 → 4.8.0.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of katello might be problematic. Click here for more details.

Files changed (356) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/registry/registry_proxies_controller.rb +8 -22
  3. data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +15 -12
  4. data/app/controllers/katello/api/v2/alternate_content_sources_controller.rb +7 -5
  5. data/app/controllers/katello/api/v2/capsule_content_controller.rb +0 -4
  6. data/app/controllers/katello/api/v2/content_export_incrementals_controller.rb +22 -81
  7. data/app/controllers/katello/api/v2/content_exports_controller.rb +11 -80
  8. data/app/controllers/katello/api/v2/content_imports_controller.rb +1 -0
  9. data/app/controllers/katello/api/v2/exports_controller.rb +130 -0
  10. data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +7 -8
  11. data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +8 -4
  12. data/app/controllers/katello/api/v2/organizations_controller.rb +3 -0
  13. data/app/controllers/katello/api/v2/package_groups_controller.rb +0 -52
  14. data/app/controllers/katello/api/v2/repositories_controller.rb +3 -18
  15. data/app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb +4 -6
  16. data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +1 -2
  17. data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +4 -1
  18. data/app/controllers/katello/concerns/content_facet_hosts_controller_extensions.rb +24 -0
  19. data/app/controllers/katello/concerns/hosts_controller_extensions.rb +3 -3
  20. data/app/helpers/katello/hosts_and_hostgroups_helper.rb +59 -23
  21. data/app/helpers/katello/katello_urls_helper.rb +0 -15
  22. data/app/helpers/katello/sync_management_helper.rb +0 -4
  23. data/app/lib/actions/candlepin/owner/destroy_imports.rb +1 -1
  24. data/app/lib/actions/katello/alternate_content_source/create.rb +3 -1
  25. data/app/lib/actions/katello/alternate_content_source/update.rb +3 -1
  26. data/app/lib/actions/katello/capsule_content/sync.rb +0 -4
  27. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +1 -2
  28. data/app/lib/actions/katello/content_view/publish.rb +6 -2
  29. data/app/lib/actions/katello/content_view/remove.rb +8 -2
  30. data/app/lib/actions/katello/content_view_version/destroy.rb +1 -1
  31. data/app/lib/actions/katello/environment/destroy.rb +8 -2
  32. data/app/lib/actions/katello/host/reassign.rb +4 -2
  33. data/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +0 -1
  34. data/app/lib/actions/katello/product/destroy.rb +2 -1
  35. data/app/lib/actions/katello/repository/filtered_index_content.rb +2 -10
  36. data/app/lib/actions/katello/repository/import_upload.rb +0 -1
  37. data/app/lib/actions/katello/repository/sync.rb +0 -1
  38. data/app/lib/actions/katello/repository/update.rb +5 -3
  39. data/app/lib/actions/katello/repository/upload_files.rb +0 -1
  40. data/app/lib/actions/pulp3/abstract.rb +0 -6
  41. data/app/lib/actions/pulp3/content_view/delete_repository_references.rb +1 -2
  42. data/app/lib/actions/pulp3/content_view_version/create_syncable_export_history.rb +4 -0
  43. data/app/lib/actions/pulp3/orchestration/content_view_version/copy_version_units_to_library.rb +1 -1
  44. data/app/lib/actions/pulp3/orchestration/content_view_version/export.rb +12 -11
  45. data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +7 -2
  46. data/app/lib/actions/pulp3/orchestration/content_view_version/syncable_export.rb +7 -4
  47. data/app/lib/actions/pulp3/repository/reclaim_space.rb +1 -1
  48. data/app/lib/actions/pulp3/repository/refresh_distribution.rb +1 -2
  49. data/app/lib/actions/pulp3/repository/save_distribution_references.rb +2 -2
  50. data/app/lib/katello/api/v2/error_handling.rb +12 -2
  51. data/app/lib/katello/concerns/base_template_scope_extensions.rb +7 -3
  52. data/app/lib/katello/concerns/renderer_extensions.rb +1 -1
  53. data/app/lib/katello/event_daemon/runner.rb +12 -9
  54. data/app/lib/katello/resources/candlepin/consumer.rb +6 -6
  55. data/app/lib/katello/resources/candlepin/owner.rb +1 -1
  56. data/app/lib/katello/resources/candlepin/upstream_consumer.rb +3 -4
  57. data/app/lib/katello/resources/candlepin.rb +4 -4
  58. data/app/lib/katello/util/errata.rb +12 -10
  59. data/app/lib/katello/util/search.rb +0 -1
  60. data/app/lib/katello/validators/content_view_environment_org_validator.rb +5 -2
  61. data/app/lib/katello/validators/content_view_environment_validator.rb +1 -2
  62. data/app/lib/katello/validators/generated_content_view_validator.rb +16 -0
  63. data/app/mailers/katello/errata_mailer.rb +4 -2
  64. data/app/models/katello/alternate_content_source.rb +59 -5
  65. data/app/models/katello/concerns/content_facet_host_extensions.rb +25 -14
  66. data/app/models/katello/concerns/host_managed_extensions.rb +31 -8
  67. data/app/models/katello/concerns/redhat_extensions.rb +16 -6
  68. data/app/models/katello/concerns/smart_proxy_extensions.rb +0 -12
  69. data/app/models/katello/concerns/subscription_facet_host_extensions.rb +1 -0
  70. data/app/models/katello/content_view.rb +22 -5
  71. data/app/models/katello/content_view_environment.rb +11 -2
  72. data/app/models/katello/content_view_environment_content_facet.rb +9 -0
  73. data/app/models/katello/content_view_version.rb +10 -5
  74. data/app/models/katello/erratum.rb +6 -1
  75. data/app/models/katello/glue/candlepin/pool.rb +6 -0
  76. data/app/models/katello/glue/candlepin/product.rb +7 -1
  77. data/app/models/katello/glue/candlepin/subscription.rb +5 -0
  78. data/app/models/katello/glue/provider.rb +26 -26
  79. data/app/models/katello/host/content_facet.rb +108 -18
  80. data/app/models/katello/host/info_provider.rb +25 -21
  81. data/app/models/katello/host/subscription_facet.rb +18 -14
  82. data/app/models/katello/kt_environment.rb +12 -7
  83. data/app/models/katello/package_group.rb +0 -12
  84. data/app/models/katello/pool.rb +4 -1
  85. data/app/models/katello/product.rb +11 -1
  86. data/app/models/katello/repository.rb +11 -11
  87. data/app/models/katello/root_repository.rb +5 -4
  88. data/app/models/katello/task_status.rb +0 -18
  89. data/app/services/katello/candlepin/consumer.rb +2 -2
  90. data/app/services/katello/host/package_profile_uploader.rb +1 -1
  91. data/app/services/katello/product_content_finder.rb +11 -8
  92. data/app/services/katello/pulp3/content_view_version/export.rb +8 -65
  93. data/app/services/katello/pulp3/content_view_version/export_validation_error.rb +7 -0
  94. data/app/services/katello/pulp3/content_view_version/export_validator.rb +121 -0
  95. data/app/services/katello/pulp3/content_view_version/importable_products.rb +1 -1
  96. data/app/services/katello/pulp3/content_view_version/syncable_format_export.rb +7 -1
  97. data/app/services/katello/pulp3/erratum.rb +1 -0
  98. data/app/services/katello/pulp3/module_stream.rb +26 -11
  99. data/app/services/katello/pulp3/repository/yum.rb +2 -1
  100. data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +2 -1
  101. data/app/services/katello/registration_manager.rb +46 -26
  102. data/app/services/katello/repository_type.rb +3 -9
  103. data/app/services/katello/simple_package.rb +22 -0
  104. data/app/views/foreman/smart_proxies/_content_sync.html.erb +2 -1
  105. data/app/views/foreman/smart_proxies/_reclaim_space.html.erb +1 -0
  106. data/app/views/katello/api/v2/content_facet/base.json.rabl +23 -2
  107. data/app/views/katello/api/v2/content_facet/show.json.rabl +11 -8
  108. data/app/views/katello/api/v2/content_views/base.json.rabl +1 -1
  109. data/app/views/katello/api/v2/hosts/base.json.rabl +22 -2
  110. data/app/views/overrides/activation_keys/_host_environment_select.html.erb +2 -2
  111. data/config/initializers/monkeys.rb +0 -2
  112. data/config/routes/api/registry.rb +8 -7
  113. data/config/routes/api/v2.rb +0 -2
  114. data/config/routes.rb +3 -0
  115. data/db/migrate/20200429153103_installed_package_bad_nvrea.rb +1 -1
  116. data/db/migrate/20220228173251_remove_drpm_from_ignorable_content.rb +7 -3
  117. data/db/migrate/20220419193414_content_settings_to_dsl_category.rb +1 -1
  118. data/db/migrate/20220929204746_add_content_view_environment_content_facet.rb +52 -0
  119. data/db/migrate/20221123212341_remove_pulp_docker_registry_port_setting.rb +5 -0
  120. data/db/migrate/20230119003859_ensure_repo_username_password_nil_not_blank.rb +1 -1
  121. data/db/migrate/20230203141353_set_new_acs_verify_ssl_default.rb +5 -0
  122. data/db/seeds.d/111-upgrade_tasks.rb +3 -1
  123. data/engines/bastion/app/assets/stylesheets/bastion/bastion.scss +4 -0
  124. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +2 -4
  125. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-errata-modal.controller.js +0 -1
  126. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +2 -4
  127. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +2 -1
  128. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +11 -3
  129. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-hosts-list.html +1 -1
  130. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +8 -4
  131. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +5485 -0
  132. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +5397 -0
  133. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +5658 -0
  134. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +5284 -0
  135. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ka.po +5231 -0
  136. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +5275 -0
  137. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +5389 -0
  138. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +5212 -0
  139. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +5145 -0
  140. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +9 -0
  141. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/content-access-mode-banner.html +2 -2
  142. data/lib/katello/engine.rb +2 -1
  143. data/lib/katello/permission_creator.rb +2 -4
  144. data/lib/katello/permissions/registry_permissions.rb +5 -5
  145. data/lib/katello/plugin.rb +22 -14
  146. data/lib/katello/repository_types/README.md +136 -19
  147. data/lib/katello/repository_types/deb.rb +0 -1
  148. data/lib/katello/repository_types/docker.rb +0 -1
  149. data/lib/katello/repository_types/file.rb +0 -1
  150. data/lib/katello/repository_types/yum.rb +0 -4
  151. data/lib/katello/tasks/clean_candlepin_orphaned_products.rake +38 -0
  152. data/lib/katello/tasks/clean_orphaned_facets.rb +20 -0
  153. data/lib/katello/tasks/reimport.rake +1 -2
  154. data/lib/katello/tasks/repository.rake +1 -22
  155. data/lib/katello/tasks/reset.rake +1 -0
  156. data/lib/katello/tasks/upgrades/4.8/fix_incorrect_providers.rake +29 -0
  157. data/lib/katello/tasks/upgrades/4.8/regenerate_imported_repository_metadata.rake +33 -0
  158. data/lib/katello/version.rb +1 -1
  159. data/lib/katello.rb +0 -5
  160. data/locale/bn/katello.po +69 -27
  161. data/locale/cs/katello.po +69 -27
  162. data/locale/de/katello.po +78 -36
  163. data/locale/en/katello.po +69 -27
  164. data/locale/es/katello.po +70 -28
  165. data/locale/fr/katello.po +73 -31
  166. data/locale/gu/katello.po +69 -27
  167. data/locale/hi/katello.po +69 -27
  168. data/locale/it/katello.po +69 -27
  169. data/locale/ja/katello.po +73 -31
  170. data/locale/ka/katello.po +73 -31
  171. data/locale/katello.pot +335 -262
  172. data/locale/kn/katello.po +69 -27
  173. data/locale/ko/katello.po +69 -27
  174. data/locale/mr/katello.po +69 -27
  175. data/locale/or/katello.po +69 -27
  176. data/locale/pa/katello.po +69 -27
  177. data/locale/pt/katello.po +69 -27
  178. data/locale/pt_BR/katello.po +70 -28
  179. data/locale/ru/katello.po +70 -28
  180. data/locale/ta/katello.po +69 -27
  181. data/locale/te/katello.po +69 -27
  182. data/locale/zh_CN/katello.po +73 -31
  183. data/locale/zh_TW/katello.po +70 -28
  184. data/webpack/components/Content/ContentPage.js +51 -35
  185. data/webpack/components/Content/__tests__/ContentPage.test.js +2 -4
  186. data/webpack/components/Content/__tests__/__snapshots__/ContentPage.test.js.snap +22 -3
  187. data/webpack/components/Table/EmptyStateMessage.js +14 -11
  188. data/webpack/components/Table/MainTable.js +36 -15
  189. data/webpack/components/Table/TableWrapper.js +25 -25
  190. data/webpack/components/Table/__test__/emptyStateMessage.test.js +51 -0
  191. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ChangeHostCVModal.js +10 -72
  192. data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.js +5 -4
  193. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsModal.js +1 -1
  194. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/__tests__/hostCollectionsModal.test.js +1 -17
  195. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/ErrataTab.js +18 -9
  196. data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +1 -2
  197. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackageInstallModal.js +1 -2
  198. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +1 -2
  199. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +47 -27
  200. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +1 -2
  201. data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +2 -21
  202. data/webpack/components/extensions/HostDetails/Tabs/__tests__/moduleStreamsTab.test.js +1 -28
  203. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packageInstallModal.test.js +1 -10
  204. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +1 -18
  205. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js +1 -17
  206. data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +1 -15
  207. data/webpack/global_test_setup.js +1 -1
  208. data/webpack/redux/actions/RedHatRepositories/helpers.js +5 -3
  209. data/webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js +12 -10
  210. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCredentials.js +6 -0
  211. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSSmartProxies.js +1 -0
  212. data/webpack/scenes/AlternateContentSources/Create/Steps/AcsUrlPaths.js +3 -10
  213. data/webpack/scenes/AlternateContentSources/Create/Steps/NameACS.js +1 -0
  214. data/webpack/scenes/AlternateContentSources/Create/__tests__/acsCreate.test.js +3 -3
  215. data/webpack/scenes/AlternateContentSources/Details/ACSExpandableDetails.js +6 -5
  216. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditCredentials.js +1 -0
  217. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js +3 -1
  218. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js +1 -0
  219. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditSmartProxies.js +2 -0
  220. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditURLPaths.js +13 -4
  221. data/webpack/scenes/AlternateContentSources/MainTable/ACSTable.js +7 -4
  222. data/webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js +4 -8
  223. data/webpack/scenes/AlternateContentSources/helpers.js +1 -1
  224. data/webpack/scenes/Content/Details/ContentRepositories.js +5 -4
  225. data/webpack/scenes/Content/Details/__tests__/contentDetail.test.js +1 -12
  226. data/webpack/scenes/Content/Table/ContentTable.js +2 -1
  227. data/webpack/scenes/Content/__tests__/contentTable.test.js +1 -14
  228. data/webpack/scenes/ContentViews/Delete/__tests__/contentViewDelete.test.js +1 -25
  229. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +2 -1
  230. data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/contentViewComponents.test.js +44 -31
  231. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +3 -0
  232. data/webpack/scenes/ContentViews/Details/Filters/AffectedRepositories/AffectedRepositoryTable.js +6 -1
  233. data/webpack/scenes/ContentViews/Details/Filters/CVContainerImageFilterContent.js +2 -1
  234. data/webpack/scenes/ContentViews/Details/Filters/CVDebFilterContent.js +2 -1
  235. data/webpack/scenes/ContentViews/Details/Filters/CVErrataIDFilterContent.js +3 -1
  236. data/webpack/scenes/ContentViews/Details/Filters/CVModuleStreamFilterContent.js +3 -1
  237. data/webpack/scenes/ContentViews/Details/Filters/CVPackageGroupFilterContent.js +3 -1
  238. data/webpack/scenes/ContentViews/Details/Filters/CVRpmFilterContent.js +2 -1
  239. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilterDetailsHeader.js +2 -0
  240. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +2 -1
  241. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVDebMatchContentModal.js +1 -1
  242. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVRpmMatchContentModal.js +1 -1
  243. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentModal.test.js +35 -33
  244. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVContainerImageFilterContent.test.js +48 -45
  245. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js +58 -24
  246. data/webpack/scenes/ContentViews/Details/Filters/__tests__/ContentViewPackageGroupFilter.test.js +64 -0
  247. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetails.test.js +36 -20
  248. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js +40 -23
  249. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvErrataIDFilter.test.js +0 -13
  250. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvModuleStreamFilter.test.js +0 -13
  251. data/webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js +2 -1
  252. data/webpack/scenes/ContentViews/Details/Histories/__tests__/contentViewHistory.test.js +1 -10
  253. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +2 -1
  254. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewAddRemove.test.js +1 -10
  255. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareConfig.js +21 -9
  256. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js +4 -0
  257. data/webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/CVVersionCompare.test.js +1 -32
  258. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +3 -1
  259. data/webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js +1 -15
  260. data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedActivationKeys.js +1 -1
  261. data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedHosts.js +1 -2
  262. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +31 -9
  263. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js +4 -0
  264. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetails.test.js +30 -14
  265. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +1 -1
  266. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +55 -120
  267. data/webpack/scenes/ContentViews/components/ContentViewSelect/ContentViewSelectOption.js +87 -0
  268. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +1 -1
  269. data/webpack/scenes/ContentViews/components/WizardHeader.js +1 -1
  270. data/webpack/scenes/ContentViews/expansions/RelatedContentViewComponentsModal.js +1 -1
  271. data/webpack/scenes/ContentViews/expansions/__tests__/contentViewComponentsModal.test.js +8 -1
  272. data/webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceForm.js +153 -28
  273. data/webpack/scenes/Hosts/ChangeContentSource/index.js +14 -15
  274. data/webpack/scenes/Hosts/ChangeContentSource/selectors.js +4 -0
  275. data/webpack/scenes/Hosts/ChangeContentSource/styles.scss +4 -0
  276. data/webpack/scenes/ModuleStreams/ModuleStreamsPage.js +3 -9
  277. data/webpack/scenes/ModuleStreams/__tests__/__snapshots__/ModuleStreamPage.test.js.snap +7 -1
  278. data/webpack/scenes/RedHatRepositories/components/Search.js +22 -16
  279. data/webpack/scenes/RedHatRepositories/index.scss +20 -1
  280. data/webpack/scenes/SmartProxy/SmartProxyContentTable.js +12 -1
  281. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnTypeForm.js +1 -1
  282. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CustomCdnTypeForm.js +1 -1
  283. data/webpack/scenes/Subscriptions/SubscriptionsPage.js +21 -19
  284. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +34 -1
  285. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +20 -7
  286. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.test.js +0 -1
  287. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap +65 -15
  288. metadata +52 -115
  289. data/app/lib/actions/katello/pulp_selector.rb +0 -24
  290. data/app/lib/actions/katello/repository/correct_checksum.rb +0 -24
  291. data/app/lib/actions/katello/repository/destroy_package_group.rb +0 -26
  292. data/app/lib/actions/katello/repository/upload_package_group.rb +0 -24
  293. data/app/lib/actions/pulp/abstract.rb +0 -37
  294. data/app/lib/actions/pulp/abstract_async_task.rb +0 -154
  295. data/app/lib/actions/pulp/abstract_async_task_group.rb +0 -94
  296. data/app/lib/actions/pulp/consumer/sync_capsule.rb +0 -45
  297. data/app/lib/actions/pulp/consumer/unassociate_units.rb +0 -20
  298. data/app/lib/actions/pulp/expect_one_task.rb +0 -11
  299. data/app/lib/actions/pulp/orchestration/orphan_cleanup/remove_orphans.rb +0 -16
  300. data/app/lib/actions/pulp/orchestration/repository/copy_all_units.rb +0 -19
  301. data/app/lib/actions/pulp/orchestration/repository/delete.rb +0 -15
  302. data/app/lib/actions/pulp/orchestration/repository/refresh.rb +0 -14
  303. data/app/lib/actions/pulp/orchestration/repository/refresh_if_needed.rb +0 -13
  304. data/app/lib/actions/pulp/orchestration/repository/refresh_repos.rb +0 -19
  305. data/app/lib/actions/pulp/orchestration/repository/remove_units.rb +0 -14
  306. data/app/lib/actions/pulp/orchestration/repository/smart_proxy_sync.rb +0 -34
  307. data/app/lib/actions/pulp/orchestration/repository/sync.rb +0 -18
  308. data/app/lib/actions/pulp/orchestration/repository/upload_content.rb +0 -37
  309. data/app/lib/actions/pulp/orphan_cleanup/remove_orphans.rb +0 -15
  310. data/app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb +0 -16
  311. data/app/lib/actions/pulp/repository/abstract_copy_content.rb +0 -45
  312. data/app/lib/actions/pulp/repository/abstract_remove_content.rb +0 -32
  313. data/app/lib/actions/pulp/repository/clear.rb +0 -18
  314. data/app/lib/actions/pulp/repository/copy_all_units.rb +0 -30
  315. data/app/lib/actions/pulp/repository/copy_units.rb +0 -25
  316. data/app/lib/actions/pulp/repository/create.rb +0 -28
  317. data/app/lib/actions/pulp/repository/create_in_plan.rb +0 -15
  318. data/app/lib/actions/pulp/repository/create_upload_request.rb +0 -20
  319. data/app/lib/actions/pulp/repository/delete_upload_request.rb +0 -19
  320. data/app/lib/actions/pulp/repository/destroy.rb +0 -28
  321. data/app/lib/actions/pulp/repository/distributor_publish.rb +0 -25
  322. data/app/lib/actions/pulp/repository/download.rb +0 -16
  323. data/app/lib/actions/pulp/repository/import_upload.rb +0 -19
  324. data/app/lib/actions/pulp/repository/presenters/abstract_sync_presenter.rb +0 -47
  325. data/app/lib/actions/pulp/repository/presenters/deb_presenter.rb +0 -95
  326. data/app/lib/actions/pulp/repository/presenters/docker_presenter.rb +0 -103
  327. data/app/lib/actions/pulp/repository/presenters/file_unit_presenter.rb +0 -42
  328. data/app/lib/actions/pulp/repository/presenters/yum_presenter.rb +0 -131
  329. data/app/lib/actions/pulp/repository/refresh.rb +0 -21
  330. data/app/lib/actions/pulp/repository/regenerate_applicability.rb +0 -21
  331. data/app/lib/actions/pulp/repository/remove_distribution.rb +0 -11
  332. data/app/lib/actions/pulp/repository/remove_units.rb +0 -44
  333. data/app/lib/actions/pulp/repository/sync.rb +0 -99
  334. data/app/lib/actions/pulp/repository/upload_file.rb +0 -28
  335. data/app/lib/actions/pulp/repository_group/create.rb +0 -31
  336. data/app/lib/actions/pulp/repository_group/delete.rb +0 -17
  337. data/app/lib/actions/pulp/repository_group/export.rb +0 -51
  338. data/app/lib/katello/util/package_clause_generator.rb +0 -77
  339. data/app/models/katello/glue/pulp/pulp_errors.rb +0 -9
  340. data/app/models/katello/glue/pulp/repo.rb +0 -353
  341. data/app/models/katello/pulp_sync_status.rb +0 -165
  342. data/app/models/katello/pulp_task_status.rb +0 -63
  343. data/app/services/katello/pulp/content.rb +0 -24
  344. data/app/services/katello/pulp/importer_comparison.rb +0 -28
  345. data/app/services/katello/pulp/repository/deb.rb +0 -61
  346. data/app/services/katello/pulp/repository/docker.rb +0 -82
  347. data/app/services/katello/pulp/repository/file.rb +0 -52
  348. data/app/services/katello/pulp/repository/yum.rb +0 -205
  349. data/app/services/katello/pulp/repository.rb +0 -327
  350. data/app/services/katello/pulp/server.rb +0 -35
  351. data/app/services/katello/pulp/simple_package.rb +0 -24
  352. data/app/services/katello/pulp/smart_proxy_repository.rb +0 -52
  353. data/lib/monkeys/fix_deb_optimized_sync.rb +0 -35
  354. data/lib/monkeys/fix_pulp_container_path.rb +0 -35
  355. data/locale/zanata.xml +0 -30
  356. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentSearch.fixtures.json +0 -33
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Project-Id-Version: katello 4.7.0\n"
15
+ "Project-Id-Version: katello 2.4.0-RC1\n"
16
16
  "Report-Msgid-Bugs-To: \n"
17
17
  "PO-Revision-Date: 2017-12-19 20:14+0000\n"
18
18
  "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2023\n"
@@ -656,6 +656,9 @@ msgstr "所有版本都将从这些环境中删除"
656
656
  msgid "Allow Katello to update host installed packages, enabled repos, and module inventory directly instead of wrapped in Dynflow tasks (try turning off if Puma processes are using too much memory)"
657
657
  msgstr "允许 Katello 直接更新主机安装的软件包、启用的仓库以直模块清单,而不是直接嵌套在 Dynflow 任务中(如果 Puma 进程使用太多内存,则关闭它)"
658
658
 
659
+ msgid "Allow a host to be registered to multiple content view environments with 'subscription-manager register --environments'."
660
+ msgstr ""
661
+
659
662
  msgid "Allow deleting repositories in published content views"
660
663
  msgstr "允许删除公布的内容视图中的仓库"
661
664
 
@@ -665,6 +668,9 @@ msgstr "只要主机处于构建模式,允许主机注册绕过 'Host Profile
665
668
  msgid "Allow hosts to re-register themselves only when they are in build mode"
666
669
  msgstr "仅当主机处于构建模式时才允许主机重新注册"
667
670
 
671
+ msgid "Allow multiple content views"
672
+ msgstr ""
673
+
668
674
  msgid "Allow new host registrations to assume registered profiles with matching hostname as long as the registering DMI UUID is not used by another host."
669
675
  msgstr "只要其他主机未使用注册的 DMI UUID,就允许新的主机注册假定注册的配置文件具有匹配的主机名。"
670
676
 
@@ -1106,6 +1112,9 @@ msgstr "Candlepin 消费者者 %s 已移除"
1106
1112
  msgid "Candlepin is not running properly"
1107
1113
  msgstr "Candlepin 没有正常运行"
1108
1114
 
1115
+ msgid "Candlepin returned different consumer uuid than requested (%s), updating uuid in subscription_facet."
1116
+ msgstr ""
1117
+
1109
1118
  msgid "Cannot add %s repositories to a content view."
1110
1119
  msgstr "无法将%s仓库添加到一个内容视图。"
1111
1120
 
@@ -1490,9 +1499,6 @@ msgstr "元数据中指定的内容视图版本-'%{name} ' 已经存在。如果
1490
1499
  msgid "Content View Version: '%{cvv}', Product: '%{product}', Repository: '%{repo}' "
1491
1500
  msgstr "内容视图版本:'%{cvv}', 产品:'%{product}', 仓库:'%{repo}' "
1492
1501
 
1493
- msgid "Content View and Environment not set for registration."
1494
- msgstr "未设置内容视图和环境以进行注册。"
1495
-
1496
1502
  msgid "Content View id"
1497
1503
  msgstr "内容视图 ID"
1498
1504
 
@@ -1511,6 +1517,12 @@ msgstr "内容凭证"
1511
1517
  msgid "Content credentials"
1512
1518
  msgstr "内容凭证"
1513
1519
 
1520
+ msgid "Content facet for host %s has more than one content view. Use #content_views instead."
1521
+ msgstr ""
1522
+
1523
+ msgid "Content facet for host %s has more than one lifecycle environment. Use #lifecycle_environments instead."
1524
+ msgstr ""
1525
+
1514
1526
  msgid "Content files to upload. Can be a single file or array of files."
1515
1527
  msgstr "要上传的内容文件。可以是单个文件或文件数组。"
1516
1528
 
@@ -1553,6 +1565,9 @@ msgstr "内容视图"
1553
1565
  msgid "Content view ${name} created"
1554
1566
  msgstr "内容视图 {name} 已创建"
1555
1567
 
1568
+ msgid "Content view '%{cv_name}' is a generated content view, which cannot be assigned to hosts or activation keys."
1569
+ msgstr ""
1570
+
1556
1571
  msgid "Content view '%{view}' is not in environment '%{env}'"
1557
1572
  msgstr "内容视图 '%{view}' 没有在环境 '%{env}' 中"
1558
1573
 
@@ -1562,9 +1577,18 @@ msgstr "内容视图 '%{view}' 没有在生命周期环境 '%{env}' 中。"
1562
1577
  msgid "Content view ID"
1563
1578
  msgstr "内容视图 ID"
1564
1579
 
1580
+ msgid "Content view and environment not set for registration."
1581
+ msgstr ""
1582
+
1565
1583
  msgid "Content view details"
1566
1584
  msgstr "内容视图详情"
1567
1585
 
1586
+ msgid "Content view environments and activation key must all belong to the same organization"
1587
+ msgstr ""
1588
+
1589
+ msgid "Content view environments must have both a content view and an environment"
1590
+ msgstr ""
1591
+
1568
1592
  msgid "Content view has repository label '%s' which is not specified in repos_units parameter."
1569
1593
  msgstr "内容视图具有仓库标签 '%s',它没有在 repos_units 参数中指定。"
1570
1594
 
@@ -1574,6 +1598,9 @@ msgstr "内容视图标识符"
1574
1598
  msgid "Content view label"
1575
1599
  msgstr "内容视图标签"
1576
1600
 
1601
+ msgid "Content view must be specified"
1602
+ msgstr ""
1603
+
1577
1604
  msgid "Content view name"
1578
1605
  msgstr "内容视图名称"
1579
1606
 
@@ -1751,8 +1778,8 @@ msgstr "无法找到 id 为 '%s' 的智能代理"
1751
1778
  msgid "Couldn't find smart proxies with name '%s'"
1752
1779
  msgstr "无法找到名称为 '%s' 的智能代理"
1753
1780
 
1754
- msgid "Couldn't find specified Content View and Lifecycle Environment."
1755
- msgstr "找不到指定的内容视图和生命周期环境。"
1781
+ msgid "Couldn't find specified content view and lifecycle environment."
1782
+ msgstr ""
1756
1783
 
1757
1784
  msgid "Couldn't find subject of synchronization"
1758
1785
  msgstr "找不到要同步的東西"
@@ -2765,8 +2792,8 @@ msgstr "生成仓库适用性"
2765
2792
  msgid "Generated"
2766
2793
  msgstr "生成"
2767
2794
 
2768
- msgid "Generated Content views cannot be assigned to Host/Activation Keys"
2769
- msgstr "生成的内容视图无法分配给主机/激活码"
2795
+ msgid "Generated content views cannot be assigned to hosts or activation keys"
2796
+ msgstr ""
2770
2797
 
2771
2798
  msgid "Generated content views cannot be directly published. They can updated only via export."
2772
2799
  msgstr "生成的内容视图无法直接发布。它们只能通过导出进行更新。"
@@ -3179,7 +3206,7 @@ msgstr "如果您希望将部分主机移到不同的内容视图或环境中,
3179
3206
  msgid "Ignorable content can be only set for Yum repositories."
3180
3207
  msgstr "可忽略内容只能为 Yum 仓库设置。"
3181
3208
 
3182
- msgid "Ignore SRPMs can not be set in combination with 'Complete Mirroring' mirroring policy."
3209
+ msgid "Ignore %s can not be set in combination with 'Complete Mirroring' mirroring policy."
3183
3210
  msgstr ""
3184
3211
 
3185
3212
  msgid "Ignore errors"
@@ -3710,6 +3737,9 @@ msgstr "生命周期环境 ID"
3710
3737
  msgid "Lifecycle environment for the host."
3711
3738
  msgstr "主机的生命周期环境。"
3712
3739
 
3740
+ msgid "Lifecycle environment must be specified"
3741
+ msgstr ""
3742
+
3713
3743
  msgid "Lifecycle environment was not attached to the smart proxy; therefore, no changes were made."
3714
3744
  msgstr "生命周期环境没有附加到智能代理,因此没有改变。"
3715
3745
 
@@ -4136,9 +4166,6 @@ msgstr "启用红帽存储库或创建自定义产品后,将在此处显示模
4136
4166
  msgid "Multi-entitlement"
4137
4167
  msgstr "多权利"
4138
4168
 
4139
- msgid "Multiple environments are not supported."
4140
- msgstr "不支持多个环境。"
4141
-
4142
4169
  msgid "Must supply at least one of mandatory_package_names, optional_package_names, conditional_package_names, default_package_names parameters"
4143
4170
  msgstr "必须最少提供 mandatory_package_names、optional_package_names、conditional_package_names、 default_package_names 参数中的一个"
4144
4171
 
@@ -4232,12 +4259,6 @@ msgstr "决不"
4232
4259
  msgid "Never Synced"
4233
4260
  msgstr "從未同步"
4234
4261
 
4235
- msgid "Never checked in"
4236
- msgstr "从未签到"
4237
-
4238
- msgid "Never registered"
4239
- msgstr "从未注册"
4240
-
4241
4262
  msgid "New Errata"
4242
4263
  msgstr "新勘誤"
4243
4264
 
@@ -4724,6 +4745,9 @@ msgstr "需要的机构"
4724
4745
  msgid "Orphaned Content Protection Time"
4725
4746
  msgstr "孤立的内容保护时间"
4726
4747
 
4748
+ msgid "Orphaned content facets for deleted hosts exist for the content view and environment. Please run rake task : katello:clean_orphaned_facets and try again!"
4749
+ msgstr ""
4750
+
4727
4751
  msgid "Other"
4728
4752
  msgstr "其他"
4729
4753
 
@@ -5217,9 +5241,6 @@ msgstr "Pulp 3 导出目的地文件路径"
5217
5241
  msgid "Pulp 3 is not enabled on Smart proxy!"
5218
5242
  msgstr "智能代理上没有启用 Pulp 3!"
5219
5243
 
5220
- msgid "Pulp Docker registry port"
5221
- msgstr "Pulp Docker registry 端口"
5222
-
5223
5244
  msgid "Pulp bulk load size"
5224
5245
  msgstr "Pulp 批量负载大小"
5225
5246
 
@@ -5454,6 +5475,9 @@ msgstr "注册人"
5454
5475
  msgid "Registered on"
5455
5476
  msgstr "注册于"
5456
5477
 
5478
+ msgid "Registering to multiple environments is not enabled."
5479
+ msgstr ""
5480
+
5457
5481
  msgid "Registration details"
5458
5482
  msgstr "注册详情"
5459
5483
 
@@ -6931,9 +6955,6 @@ msgstr "您尝试访问的页面需要选择一个特定的机构。"
6931
6955
  msgid "The path %{real_path} does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest."
6932
6956
  msgstr "路径 %{real_path} 似乎不是有效的仓库。如果您认为这是一个错误,请尝试刷新清单。"
6933
6957
 
6934
- msgid "The port used by Pulp Crane to provide Docker Registries"
6935
- msgstr "Pulp Crane 用于提供 Docker registry 的端口"
6936
-
6937
6958
  msgid "The product %{name} has no %{type} repositories with upstream URLs to add to the alternate content source."
6938
6959
  msgstr "产品 %{name} 没有带有上游 URL 的 %{type} 软件仓库来添加到备用内容源中。"
6939
6960
 
@@ -7093,8 +7114,8 @@ msgstr "此主机没有任何模块流。"
7093
7114
  msgid "This host does not have any packages."
7094
7115
  msgstr "该主机没有任何软件包。"
7095
7116
 
7096
- msgid "This host has errata that are applicable, but not installable."
7097
- msgstr "此主机有适用的勘误,但不能安装。"
7117
+ msgid "This host has errata that are applicable, but not installable. Adjust your filters and try again."
7118
+ msgstr ""
7098
7119
 
7099
7120
  msgid "This host's organization is in Simple Content Access mode. Attaching subscriptions is disabled."
7100
7121
  msgstr "该主机的机构处于“简单内容访问”模式。自动附加被禁用。"
@@ -7126,8 +7147,8 @@ msgstr "没有连接的仓库"
7126
7147
  msgid "This organization has Simple Content Access enabled. Hosts are not required to have subscriptions attached to access repositories. {br} Learn more about your overall subscription usage with the {subscriptionsService}."
7127
7148
  msgstr "该机构已启用“简单内容访问”。不需要主机将订阅附加到访问仓库。{br} 了解总体订阅使用的详情{subscriptionsService}。"
7128
7149
 
7129
- msgid "This organization is not using {scaLink}. Legacy subscription management is deprecated and will be removed in a future version."
7130
- msgstr ""
7150
+ msgid "This organization is not using {scaLink}. Entitlement-based subscription management is deprecated and will be removed in a future version."
7151
+ msgstr "这个机构没有使用 {scaLink}。基于权利的订阅管理已弃用,并将在以后的版本中删除。"
7131
7152
 
7132
7153
  msgid "This repository is not suggested. Please see additional %(anchorBegin)sdocumentation%(anchorEnd)s prior to use."
7133
7154
  msgstr "不建议使用此仓库。使用前,请参阅 %(anchorBegin)s文档%(anchorEnd)s"
@@ -7306,6 +7327,9 @@ msgstr "无法连接"
7306
7327
  msgid "Unable to connect. Got: %s"
7307
7328
  msgstr "无法连接。得到了: %s"
7308
7329
 
7330
+ msgid "Unable to create ContentViewEnvironment. Check the logs for more information."
7331
+ msgstr ""
7332
+
7309
7333
  msgid "Unable to delete any alternate content source. You either do not have the permission to delete, or none of the alternate content sources exist."
7310
7334
  msgstr "无法删除任何备用内容源。您没有删除的权限,或者没有任何备用内容源。"
7311
7335
 
@@ -7804,6 +7828,9 @@ msgstr "查看订阅使用情况"
7804
7828
  msgid "View a report of the affected hosts"
7805
7829
  msgstr "查看受影响主机的报告"
7806
7830
 
7831
+ msgid "View applicable errata"
7832
+ msgstr ""
7833
+
7807
7834
  msgid "View by"
7808
7835
  msgstr "查看方法"
7809
7836
 
@@ -7948,9 +7975,6 @@ msgstr "您有订阅将在 %s 天内过期"
7948
7975
  msgid "You have unsaved changes. Do you want to exit without saving your changes?"
7949
7976
  msgstr "您有尚未保存的更改。您要退出而不保存更改吗?"
7950
7977
 
7951
- msgid "You may want to check the host's content view and lifecycle environment."
7952
- msgstr "您可能需要检查主机的内容视图和生命周期环境。"
7953
-
7954
7978
  msgid "You were not allowed to add %s"
7955
7979
  msgstr "您不允许添加 %s"
7956
7980
 
@@ -8089,6 +8113,12 @@ msgstr "注册时自动附加订阅"
8089
8113
  msgid "base url to perform repo discovery on"
8090
8114
  msgstr "执行仓库发现的基本 url"
8091
8115
 
8116
+ msgid "bug fix"
8117
+ msgstr ""
8118
+
8119
+ msgid "bug fixes"
8120
+ msgstr ""
8121
+
8092
8122
  msgid "bulk add filter rules"
8093
8123
  msgstr "批量添加过滤规则"
8094
8124
 
@@ -8263,6 +8293,12 @@ msgstr "yum、deb, 和 docker 仓库的下载策略('immediate' 或 'on_demand
8263
8293
  msgid "enables or disables synchronization"
8264
8294
  msgstr "启用或禁用同步"
8265
8295
 
8296
+ msgid "enhancement"
8297
+ msgstr ""
8298
+
8299
+ msgid "enhancements"
8300
+ msgstr ""
8301
+
8266
8302
  msgid "environment"
8267
8303
  msgstr "環境"
8268
8304
 
@@ -8677,6 +8713,12 @@ msgstr "規則識別子"
8677
8713
  msgid "run job invocation"
8678
8714
  msgstr ""
8679
8715
 
8716
+ msgid "security advisories"
8717
+ msgstr ""
8718
+
8719
+ msgid "security advisory"
8720
+ msgstr ""
8721
+
8680
8722
  msgid "service level"
8681
8723
  msgstr "服務等級"
8682
8724
 
@@ -10,7 +10,7 @@
10
10
  #
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: katello 4.7.0\n"
13
+ "Project-Id-Version: katello 2.4.0-RC1\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
15
  "PO-Revision-Date: 2017-12-19 20:14+0000\n"
16
16
  "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2022\n"
@@ -653,6 +653,9 @@ msgstr ""
653
653
  msgid "Allow Katello to update host installed packages, enabled repos, and module inventory directly instead of wrapped in Dynflow tasks (try turning off if Puma processes are using too much memory)"
654
654
  msgstr ""
655
655
 
656
+ msgid "Allow a host to be registered to multiple content view environments with 'subscription-manager register --environments'."
657
+ msgstr ""
658
+
656
659
  msgid "Allow deleting repositories in published content views"
657
660
  msgstr ""
658
661
 
@@ -662,6 +665,9 @@ msgstr ""
662
665
  msgid "Allow hosts to re-register themselves only when they are in build mode"
663
666
  msgstr ""
664
667
 
668
+ msgid "Allow multiple content views"
669
+ msgstr ""
670
+
665
671
  msgid "Allow new host registrations to assume registered profiles with matching hostname as long as the registering DMI UUID is not used by another host."
666
672
  msgstr ""
667
673
 
@@ -1101,6 +1107,9 @@ msgstr ""
1101
1107
  msgid "Candlepin is not running properly"
1102
1108
  msgstr ""
1103
1109
 
1110
+ msgid "Candlepin returned different consumer uuid than requested (%s), updating uuid in subscription_facet."
1111
+ msgstr ""
1112
+
1104
1113
  msgid "Cannot add %s repositories to a content view."
1105
1114
  msgstr "無法新增 %s 個軟體庫到內容視域上。"
1106
1115
 
@@ -1485,9 +1494,6 @@ msgstr ""
1485
1494
  msgid "Content View Version: '%{cvv}', Product: '%{product}', Repository: '%{repo}' "
1486
1495
  msgstr ""
1487
1496
 
1488
- msgid "Content View and Environment not set for registration."
1489
- msgstr "內容視域與環境並未設定給註冊用。"
1490
-
1491
1497
  msgid "Content View id"
1492
1498
  msgstr ""
1493
1499
 
@@ -1506,6 +1512,12 @@ msgstr ""
1506
1512
  msgid "Content credentials"
1507
1513
  msgstr ""
1508
1514
 
1515
+ msgid "Content facet for host %s has more than one content view. Use #content_views instead."
1516
+ msgstr ""
1517
+
1518
+ msgid "Content facet for host %s has more than one lifecycle environment. Use #lifecycle_environments instead."
1519
+ msgstr ""
1520
+
1509
1521
  msgid "Content files to upload. Can be a single file or array of files."
1510
1522
  msgstr "欲上傳的內容檔案。能夠是單一檔案或檔案集。"
1511
1523
 
@@ -1548,6 +1560,9 @@ msgstr ""
1548
1560
  msgid "Content view ${name} created"
1549
1561
  msgstr ""
1550
1562
 
1563
+ msgid "Content view '%{cv_name}' is a generated content view, which cannot be assigned to hosts or activation keys."
1564
+ msgstr ""
1565
+
1551
1566
  msgid "Content view '%{view}' is not in environment '%{env}'"
1552
1567
  msgstr "內容視域 '%{view}' 不在 '%{env}' 環境中"
1553
1568
 
@@ -1557,9 +1572,18 @@ msgstr "內容檢視 '%{view}' 並不位於生命週期環境 '%{env}' 中。"
1557
1572
  msgid "Content view ID"
1558
1573
  msgstr ""
1559
1574
 
1575
+ msgid "Content view and environment not set for registration."
1576
+ msgstr ""
1577
+
1560
1578
  msgid "Content view details"
1561
1579
  msgstr ""
1562
1580
 
1581
+ msgid "Content view environments and activation key must all belong to the same organization"
1582
+ msgstr ""
1583
+
1584
+ msgid "Content view environments must have both a content view and an environment"
1585
+ msgstr ""
1586
+
1563
1587
  msgid "Content view has repository label '%s' which is not specified in repos_units parameter."
1564
1588
  msgstr ""
1565
1589
 
@@ -1569,6 +1593,9 @@ msgstr "內容視域識別子"
1569
1593
  msgid "Content view label"
1570
1594
  msgstr "內容視域標籤"
1571
1595
 
1596
+ msgid "Content view must be specified"
1597
+ msgstr ""
1598
+
1572
1599
  msgid "Content view name"
1573
1600
  msgstr ""
1574
1601
 
@@ -1746,8 +1773,8 @@ msgstr ""
1746
1773
  msgid "Couldn't find smart proxies with name '%s'"
1747
1774
  msgstr ""
1748
1775
 
1749
- msgid "Couldn't find specified Content View and Lifecycle Environment."
1750
- msgstr "找不到特定的內容視域與生命週期環境。"
1776
+ msgid "Couldn't find specified content view and lifecycle environment."
1777
+ msgstr ""
1751
1778
 
1752
1779
  msgid "Couldn't find subject of synchronization"
1753
1780
  msgstr "找不到要同步的東西"
@@ -2756,7 +2783,7 @@ msgstr ""
2756
2783
  msgid "Generated"
2757
2784
  msgstr ""
2758
2785
 
2759
- msgid "Generated Content views cannot be assigned to Host/Activation Keys"
2786
+ msgid "Generated content views cannot be assigned to hosts or activation keys"
2760
2787
  msgstr ""
2761
2788
 
2762
2789
  msgid "Generated content views cannot be directly published. They can updated only via export."
@@ -3170,7 +3197,7 @@ msgstr ""
3170
3197
  msgid "Ignorable content can be only set for Yum repositories."
3171
3198
  msgstr ""
3172
3199
 
3173
- msgid "Ignore SRPMs can not be set in combination with 'Complete Mirroring' mirroring policy."
3200
+ msgid "Ignore %s can not be set in combination with 'Complete Mirroring' mirroring policy."
3174
3201
  msgstr ""
3175
3202
 
3176
3203
  msgid "Ignore errors"
@@ -3701,6 +3728,9 @@ msgstr ""
3701
3728
  msgid "Lifecycle environment for the host."
3702
3729
  msgstr ""
3703
3730
 
3731
+ msgid "Lifecycle environment must be specified"
3732
+ msgstr ""
3733
+
3704
3734
  msgid "Lifecycle environment was not attached to the smart proxy; therefore, no changes were made."
3705
3735
  msgstr ""
3706
3736
 
@@ -4127,9 +4157,6 @@ msgstr ""
4127
4157
  msgid "Multi-entitlement"
4128
4158
  msgstr "多重權利"
4129
4159
 
4130
- msgid "Multiple environments are not supported."
4131
- msgstr ""
4132
-
4133
4160
  msgid "Must supply at least one of mandatory_package_names, optional_package_names, conditional_package_names, default_package_names parameters"
4134
4161
  msgstr ""
4135
4162
 
@@ -4217,12 +4244,6 @@ msgstr "永不"
4217
4244
  msgid "Never Synced"
4218
4245
  msgstr "從未同步"
4219
4246
 
4220
- msgid "Never checked in"
4221
- msgstr ""
4222
-
4223
- msgid "Never registered"
4224
- msgstr ""
4225
-
4226
4247
  msgid "New Errata"
4227
4248
  msgstr "新勘誤"
4228
4249
 
@@ -4709,6 +4730,9 @@ msgstr "需要的組織"
4709
4730
  msgid "Orphaned Content Protection Time"
4710
4731
  msgstr ""
4711
4732
 
4733
+ msgid "Orphaned content facets for deleted hosts exist for the content view and environment. Please run rake task : katello:clean_orphaned_facets and try again!"
4734
+ msgstr ""
4735
+
4712
4736
  msgid "Other"
4713
4737
  msgstr "其它"
4714
4738
 
@@ -5200,9 +5224,6 @@ msgstr ""
5200
5224
  msgid "Pulp 3 is not enabled on Smart proxy!"
5201
5225
  msgstr ""
5202
5226
 
5203
- msgid "Pulp Docker registry port"
5204
- msgstr ""
5205
-
5206
5227
  msgid "Pulp bulk load size"
5207
5228
  msgstr ""
5208
5229
 
@@ -5437,6 +5458,9 @@ msgstr ""
5437
5458
  msgid "Registered on"
5438
5459
  msgstr ""
5439
5460
 
5461
+ msgid "Registering to multiple environments is not enabled."
5462
+ msgstr ""
5463
+
5440
5464
  msgid "Registration details"
5441
5465
  msgstr ""
5442
5466
 
@@ -6914,9 +6938,6 @@ msgstr "您嘗試存取的網頁需要選擇特定組織。"
6914
6938
  msgid "The path %{real_path} does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest."
6915
6939
  msgstr ""
6916
6940
 
6917
- msgid "The port used by Pulp Crane to provide Docker Registries"
6918
- msgstr ""
6919
-
6920
6941
  msgid "The product %{name} has no %{type} repositories with upstream URLs to add to the alternate content source."
6921
6942
  msgstr ""
6922
6943
 
@@ -7076,7 +7097,7 @@ msgstr ""
7076
7097
  msgid "This host does not have any packages."
7077
7098
  msgstr ""
7078
7099
 
7079
- msgid "This host has errata that are applicable, but not installable."
7100
+ msgid "This host has errata that are applicable, but not installable. Adjust your filters and try again."
7080
7101
  msgstr ""
7081
7102
 
7082
7103
  msgid "This host's organization is in Simple Content Access mode. Attaching subscriptions is disabled."
@@ -7109,7 +7130,7 @@ msgstr ""
7109
7130
  msgid "This organization has Simple Content Access enabled. Hosts are not required to have subscriptions attached to access repositories. {br} Learn more about your overall subscription usage with the {subscriptionsService}."
7110
7131
  msgstr ""
7111
7132
 
7112
- msgid "This organization is not using {scaLink}. Legacy subscription management is deprecated and will be removed in a future version."
7133
+ msgid "This organization is not using {scaLink}. Entitlement-based subscription management is deprecated and will be removed in a future version."
7113
7134
  msgstr ""
7114
7135
 
7115
7136
  msgid "This repository is not suggested. Please see additional %(anchorBegin)sdocumentation%(anchorEnd)s prior to use."
@@ -7289,6 +7310,9 @@ msgstr "無法連線"
7289
7310
  msgid "Unable to connect. Got: %s"
7290
7311
  msgstr "無法連線。收到:%s"
7291
7312
 
7313
+ msgid "Unable to create ContentViewEnvironment. Check the logs for more information."
7314
+ msgstr ""
7315
+
7292
7316
  msgid "Unable to delete any alternate content source. You either do not have the permission to delete, or none of the alternate content sources exist."
7293
7317
  msgstr ""
7294
7318
 
@@ -7787,6 +7811,9 @@ msgstr ""
7787
7811
  msgid "View a report of the affected hosts"
7788
7812
  msgstr ""
7789
7813
 
7814
+ msgid "View applicable errata"
7815
+ msgstr ""
7816
+
7790
7817
  msgid "View by"
7791
7818
  msgstr ""
7792
7819
 
@@ -7931,9 +7958,6 @@ msgstr ""
7931
7958
  msgid "You have unsaved changes. Do you want to exit without saving your changes?"
7932
7959
  msgstr ""
7933
7960
 
7934
- msgid "You may want to check the host's content view and lifecycle environment."
7935
- msgstr ""
7936
-
7937
7961
  msgid "You were not allowed to add %s"
7938
7962
  msgstr "不允許新增 %s"
7939
7963
 
@@ -8072,6 +8096,12 @@ msgstr "註冊後自動連接訂閱"
8072
8096
  msgid "base url to perform repo discovery on"
8073
8097
  msgstr "進行軟體庫復原的基礎網址"
8074
8098
 
8099
+ msgid "bug fix"
8100
+ msgstr ""
8101
+
8102
+ msgid "bug fixes"
8103
+ msgstr ""
8104
+
8075
8105
  msgid "bulk add filter rules"
8076
8106
  msgstr ""
8077
8107
 
@@ -8246,6 +8276,12 @@ msgstr ""
8246
8276
  msgid "enables or disables synchronization"
8247
8277
  msgstr "啟用或停用同步"
8248
8278
 
8279
+ msgid "enhancement"
8280
+ msgstr ""
8281
+
8282
+ msgid "enhancements"
8283
+ msgstr ""
8284
+
8249
8285
  msgid "environment"
8250
8286
  msgstr "環境"
8251
8287
 
@@ -8660,6 +8696,12 @@ msgstr "規則識別子"
8660
8696
  msgid "run job invocation"
8661
8697
  msgstr ""
8662
8698
 
8699
+ msgid "security advisories"
8700
+ msgstr ""
8701
+
8702
+ msgid "security advisory"
8703
+ msgstr ""
8704
+
8663
8705
  msgid "service level"
8664
8706
  msgstr "服務等級"
8665
8707
 
@@ -1,55 +1,71 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Grid, Col, Row, Form, FormGroup } from 'react-bootstrap';
4
- import Search from '../../components/Search/index';
4
+ import SearchBar from 'foremanReact/components/SearchBar';
5
+ import { getControllerSearchProps } from 'foremanReact/constants';
5
6
  import ContentTable from './ContentTable';
6
7
 
7
8
  const ContentPage = ({
8
- header, onSearch, getAutoCompleteParams,
9
+ header, onSearch, bookmarkController,
10
+ autocompleteEndpoint, autocompleteQueryParams,
9
11
  updateSearchQuery, initialInputValue,
10
12
  content, tableSchema, onPaginationChange,
11
- }) => (
12
- <Grid bsClass="container-fluid">
13
- <Row>
14
- <Col sm={12}>
15
- <h1>{header}</h1>
16
- </Col>
17
- </Row>
18
- <Row>
19
- <Col sm={6}>
20
- <Form className="toolbar-pf-actions">
21
- <FormGroup className="toolbar-pf toolbar-pf-filter">
22
- <Search
23
- onSearch={onSearch}
24
- getAutoCompleteParams={getAutoCompleteParams}
25
- updateSearchQuery={updateSearchQuery}
26
- initialInputValue={initialInputValue}
27
- />
28
- </FormGroup>
29
- </Form>
30
- </Col>
31
- </Row>
32
- <Row>
33
- <Col sm={12}>
34
- <ContentTable
35
- content={content}
36
- tableSchema={tableSchema}
37
- onPaginationChange={onPaginationChange}
38
- />
39
- </Col>
40
- </Row>
41
- </Grid>
42
- );
13
+ }) => {
14
+ const searchDataProp = {
15
+ ...getControllerSearchProps(autocompleteEndpoint, `searchBar-content-page-${header}`, true, autocompleteQueryParams),
16
+ controller: bookmarkController,
17
+ };
18
+ return (
19
+ <Grid bsClass="container-fluid">
20
+ <Row>
21
+ <Col sm={12}>
22
+ <h1>{header}</h1>
23
+ </Col>
24
+ </Row>
25
+ <Row>
26
+ <Col sm={6}>
27
+ <Form className="toolbar-pf-actions">
28
+ <FormGroup className="toolbar-pf toolbar-pf-filter">
29
+ <SearchBar
30
+ data={searchDataProp}
31
+ onSearch={onSearch}
32
+ onSearchChange={updateSearchQuery}
33
+ initialInputValue={initialInputValue}
34
+ />
35
+ </FormGroup>
36
+ </Form>
37
+ </Col>
38
+ </Row>
39
+ <Row>
40
+ <Col sm={12}>
41
+ <ContentTable
42
+ content={content}
43
+ tableSchema={tableSchema}
44
+ onPaginationChange={onPaginationChange}
45
+ />
46
+ </Col>
47
+ </Row>
48
+ </Grid>
49
+ );
50
+ };
43
51
 
44
52
  ContentPage.propTypes = {
45
53
  header: PropTypes.string.isRequired,
46
54
  content: PropTypes.shape({}).isRequired,
47
55
  tableSchema: PropTypes.arrayOf(PropTypes.shape({})).isRequired,
48
56
  onSearch: PropTypes.func.isRequired,
49
- getAutoCompleteParams: PropTypes.func.isRequired,
50
57
  updateSearchQuery: PropTypes.func.isRequired,
51
58
  initialInputValue: PropTypes.string.isRequired,
52
59
  onPaginationChange: PropTypes.func.isRequired,
60
+ autocompleteEndpoint: PropTypes.string,
61
+ autocompleteQueryParams: PropTypes.shape({}),
62
+ bookmarkController: PropTypes.string,
63
+ };
64
+
65
+ ContentPage.defaultProps = {
66
+ autocompleteEndpoint: undefined,
67
+ autocompleteQueryParams: undefined,
68
+ bookmarkController: undefined,
53
69
  };
54
70
 
55
71
  export default ContentPage;