katello 3.18.0.rc1 → 4.0.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 (345) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb +0 -19
  3. data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +1 -3
  4. data/app/controllers/katello/api/v2/api_controller.rb +1 -2
  5. data/app/controllers/katello/api/v2/capsule_content_controller.rb +2 -2
  6. data/app/controllers/katello/api/v2/content_credentials_controller.rb +24 -24
  7. data/app/controllers/katello/api/v2/content_export_incrementals_controller.rb +98 -0
  8. data/app/controllers/katello/api/v2/content_exports_controller.rb +88 -0
  9. data/app/controllers/katello/api/v2/content_imports_controller.rb +59 -0
  10. data/app/controllers/katello/api/v2/content_view_filters_controller.rb +16 -7
  11. data/app/controllers/katello/api/v2/content_view_versions_controller.rb +57 -92
  12. data/app/controllers/katello/api/v2/content_views_controller.rb +12 -3
  13. data/app/controllers/katello/api/v2/host_debs_controller.rb +1 -0
  14. data/app/controllers/katello/api/v2/host_errata_controller.rb +2 -2
  15. data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +2 -3
  16. data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +20 -7
  17. data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +1 -1
  18. data/app/controllers/katello/api/v2/products_controller.rb +9 -9
  19. data/app/controllers/katello/api/v2/repositories_controller.rb +5 -19
  20. data/app/controllers/katello/api/v2/repository_sets_controller.rb +24 -14
  21. data/app/controllers/katello/api/v2/simple_content_access_controller.rb +34 -0
  22. data/app/controllers/katello/api/v2/subscriptions_controller.rb +1 -1
  23. data/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb +8 -4
  24. data/app/controllers/katello/concerns/api/v2/authorization.rb +10 -0
  25. data/app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb +22 -18
  26. data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +1 -1
  27. data/app/controllers/katello/concerns/registration_controller_extensions.rb +16 -0
  28. data/app/helpers/katello/sync_management_helper.rb +0 -2
  29. data/app/lib/actions/candlepin/environment/create.rb +1 -1
  30. data/app/lib/actions/candlepin/environment/set_content.rb +1 -1
  31. data/app/lib/actions/helpers/smart_proxy_sync_history_helper.rb +24 -0
  32. data/app/lib/actions/katello/activation_key/create.rb +9 -11
  33. data/app/lib/actions/katello/applicability/hosts/bulk_generate.rb +6 -2
  34. data/app/lib/actions/katello/capsule_content/sync.rb +8 -8
  35. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +31 -8
  36. data/app/lib/actions/katello/check_matching_content.rb +17 -0
  37. data/app/lib/actions/katello/content_view/environment_create.rb +6 -8
  38. data/app/lib/actions/katello/content_view/promote_to_environment.rb +1 -1
  39. data/app/lib/actions/katello/content_view/publish.rb +6 -5
  40. data/app/lib/actions/katello/content_view_version/import.rb +5 -11
  41. data/app/lib/actions/katello/content_view_version/import_library.rb +17 -0
  42. data/app/lib/actions/katello/content_view_version/incremental_update.rb +30 -10
  43. data/app/lib/actions/katello/host/hypervisors_update.rb +4 -4
  44. data/app/lib/actions/katello/host/update_system_purpose.rb +1 -1
  45. data/app/lib/actions/katello/host/upload_package_profile.rb +3 -1
  46. data/app/lib/actions/katello/host/upload_profiles.rb +8 -6
  47. data/app/lib/actions/katello/organization/create.rb +3 -5
  48. data/app/lib/actions/katello/organization/destroy.rb +1 -1
  49. data/app/lib/actions/katello/organization/manifest_delete.rb +3 -5
  50. data/app/lib/actions/katello/organization/manifest_import.rb +1 -1
  51. data/app/lib/actions/katello/organization/manifest_refresh.rb +1 -1
  52. data/app/lib/actions/katello/repository/check_matching_content.rb +3 -1
  53. data/app/lib/actions/katello/repository/clone_contents.rb +8 -11
  54. data/app/lib/actions/katello/repository/create.rb +0 -8
  55. data/app/lib/actions/katello/repository/filtered_index_content.rb +3 -0
  56. data/app/lib/actions/katello/repository/import_upload.rb +2 -0
  57. data/app/lib/actions/katello/repository/index_content.rb +1 -0
  58. data/app/lib/actions/katello/repository/multi_clone_contents.rb +9 -12
  59. data/app/lib/actions/katello/repository/remove_content.rb +1 -1
  60. data/app/lib/actions/katello/repository/sync.rb +3 -1
  61. data/app/lib/actions/katello/repository/update.rb +1 -8
  62. data/app/lib/actions/katello/repository/upload_files.rb +1 -0
  63. data/app/lib/actions/middleware/execute_if_contents_changed.rb +4 -1
  64. data/app/lib/actions/middleware/record_smart_proxy_sync_history.rb +35 -0
  65. data/app/lib/actions/pulp/consumer/sync_capsule.rb +4 -2
  66. data/app/lib/actions/pulp/orchestration/repository/refresh_repos.rb +0 -6
  67. data/app/lib/actions/pulp/repository/distributor_publish.rb +1 -1
  68. data/app/lib/actions/pulp3/abstract_async_task.rb +1 -0
  69. data/app/lib/actions/pulp3/capsule_content/refresh_distribution.rb +3 -3
  70. data/app/lib/actions/pulp3/capsule_content/sync.rb +1 -0
  71. data/app/lib/actions/pulp3/content_migration.rb +10 -0
  72. data/app/lib/actions/pulp3/content_migration_presenter.rb +59 -0
  73. data/app/lib/actions/pulp3/content_view/delete_repository_references.rb +1 -1
  74. data/app/lib/actions/pulp3/content_view_version/export.rb +6 -1
  75. data/app/lib/actions/pulp3/import_migration.rb +6 -1
  76. data/app/lib/actions/pulp3/orchestration/content_view_version/copy_version_units_to_library.rb +2 -1
  77. data/app/lib/actions/pulp3/orchestration/content_view_version/export.rb +30 -9
  78. data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +60 -0
  79. data/app/lib/actions/pulp3/orchestration/content_view_version/import.rb +0 -4
  80. data/app/lib/actions/pulp3/orchestration/repository/generate_metadata.rb +4 -1
  81. data/app/lib/actions/pulp3/orchestration/repository/import_upload.rb +16 -3
  82. data/app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb +1 -6
  83. data/app/lib/actions/pulp3/repository/copy_content.rb +1 -1
  84. data/app/lib/actions/pulp3/repository/delete.rb +1 -1
  85. data/app/lib/actions/pulp3/repository/save_version.rb +1 -1
  86. data/app/lib/actions/pulp3/repository/upload_tag.rb +18 -0
  87. data/app/lib/katello/concerns/base_template_scope_extensions.rb +8 -0
  88. data/app/lib/katello/event_daemon/monitor.rb +53 -0
  89. data/app/lib/katello/event_daemon/runner.rb +99 -0
  90. data/app/lib/katello/logging.rb +32 -0
  91. data/app/lib/katello/messaging/connection.rb +1 -7
  92. data/app/lib/katello/validators/content_view_puppet_module_validator.rb +1 -1
  93. data/app/models/katello/activation_key.rb +2 -2
  94. data/app/models/katello/authorization/content_view_filter.rb +15 -0
  95. data/app/models/katello/authorization/content_view_version.rb +25 -2
  96. data/app/models/katello/authorization/content_view_version_export_history.rb +1 -1
  97. data/app/models/katello/authorization/organization.rb +8 -0
  98. data/app/models/katello/candlepin/repository_mapper.rb +1 -1
  99. data/app/models/katello/concerns/operatingsystem_extensions.rb +2 -0
  100. data/app/models/katello/concerns/organization_extensions.rb +2 -2
  101. data/app/models/katello/concerns/pulp_database_unit.rb +7 -0
  102. data/app/models/katello/concerns/redhat_extensions.rb +2 -2
  103. data/app/models/katello/concerns/smart_proxy_extensions.rb +33 -5
  104. data/app/models/katello/content_migration_progress.rb +4 -0
  105. data/app/models/katello/content_view.rb +35 -5
  106. data/app/models/katello/content_view_environment.rb +2 -2
  107. data/app/models/katello/content_view_filter.rb +5 -0
  108. data/app/models/katello/content_view_history.rb +2 -1
  109. data/app/models/katello/content_view_package_filter.rb +1 -1
  110. data/app/models/katello/content_view_puppet_environment.rb +2 -2
  111. data/app/models/katello/content_view_puppet_module.rb +8 -0
  112. data/app/models/katello/content_view_repository.rb +13 -1
  113. data/app/models/katello/content_view_version.rb +2 -1
  114. data/app/models/katello/content_view_version_export_history.rb +26 -1
  115. data/app/models/katello/erratum.rb +3 -1
  116. data/app/models/katello/glue/candlepin/pool.rb +2 -0
  117. data/app/models/katello/glue/pulp/repo.rb +0 -6
  118. data/app/models/katello/glue/pulp/repos.rb +1 -22
  119. data/app/models/katello/host/subscription_facet.rb +4 -0
  120. data/app/models/katello/ping.rb +11 -6
  121. data/app/models/katello/pool.rb +5 -0
  122. data/app/models/katello/product.rb +3 -3
  123. data/app/models/katello/repository.rb +36 -3
  124. data/app/models/katello/smart_proxy_sync_history.rb +8 -0
  125. data/app/models/katello/subscription_status.rb +3 -2
  126. data/app/presenters/katello/host_subscription_presenter.rb +3 -4
  127. data/app/presenters/katello/host_subscriptions_presenter.rb +24 -0
  128. data/app/services/katello/applicability/applicable_content_helper.rb +44 -15
  129. data/app/services/katello/candlepin_event_listener.rb +11 -19
  130. data/app/services/katello/event_monitor/poller_thread.rb +2 -11
  131. data/app/services/katello/pulp/smart_proxy_repository.rb +0 -15
  132. data/app/services/katello/pulp3/api/docker.rb +4 -0
  133. data/app/services/katello/pulp3/content_view_version/export.rb +122 -6
  134. data/app/services/katello/pulp3/content_view_version/import.rb +37 -22
  135. data/app/services/katello/pulp3/content_view_version/import_export_common.rb +6 -16
  136. data/app/services/katello/pulp3/content_view_version/import_validator.rb +84 -0
  137. data/app/services/katello/pulp3/docker_manifest.rb +1 -0
  138. data/app/services/katello/pulp3/docker_tag.rb +1 -0
  139. data/app/services/katello/pulp3/migration.rb +51 -10
  140. data/app/services/katello/pulp3/repository.rb +13 -4
  141. data/app/services/katello/pulp3/repository/docker.rb +5 -0
  142. data/app/services/katello/pulp3/repository/yum.rb +15 -10
  143. data/app/services/katello/pulp3/task.rb +7 -3
  144. data/app/services/katello/pulp3/task_group.rb +10 -0
  145. data/app/services/katello/repository_type.rb +3 -2
  146. data/app/services/katello/smart_proxy_helper.rb +9 -0
  147. data/app/views/foreman/hosts/_registration.html.erb +12 -0
  148. data/app/views/foreman/smart_proxies/_content_tab.html.erb +4 -47
  149. data/app/views/foreman/smart_proxies/show.html.erb +1 -1
  150. data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +22 -25
  151. data/app/views/katello/api/v2/content_view_version_export_histories/show.json.rabl +1 -0
  152. data/app/views/katello/api/v2/content_views/base.json.rabl +1 -0
  153. data/app/views/katello/api/v2/content_views/show.json.rabl +6 -0
  154. data/app/views/katello/api/v2/organizations/show.json.rabl +7 -9
  155. data/app/views/katello/layouts/react.html.erb +3 -2
  156. data/app/views/overrides/activation_keys/_host_tab_pane.html.erb +1 -5
  157. data/app/views/overrides/organizations/_edit_override.html.erb +1 -4
  158. data/app/views/overrides/smart_proxies/_environment_tab.html.erb +1 -1
  159. data/app/views/overrides/smart_proxies/_environment_tab_pane.html.erb +1 -1
  160. data/config/katello.yaml.example +0 -3
  161. data/config/routes/api/v2.rb +31 -13
  162. data/db/migrate/20150930183738_migrate_content_hosts.rb +1 -1
  163. data/db/migrate/20191204214919_add_content_view_version_counts.rb +0 -1
  164. data/db/migrate/20200514092553_move_katello_fields_from_hostgroups.katello.rb +5 -2
  165. data/db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb +13 -0
  166. data/db/migrate/20201021150008_add_import_only_to_katello_content_view.rb +5 -0
  167. data/db/migrate/20201119211133_pulp3_migration_progress.rb +9 -0
  168. data/db/migrate/20210119162528_delete_puppet_and_ostree_repos.rb +56 -0
  169. data/db/migrate/20210128231228_add_type_and_from_cvv_to_cvv_export_history.rb +14 -0
  170. data/db/migrate/20210201163238_migrate_background_download_policy_to_migrate.rb +7 -0
  171. data/db/seeds.d/104-proxy.rb +1 -1
  172. data/db/seeds.d/111-upgrade_tasks.rb +2 -1
  173. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +1 -1
  174. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/common/views/katello-agent-notice.html +1 -1
  175. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-system-purpose-modal.html +35 -40
  176. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register-os-client.directive.js +17 -0
  177. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +2 -2
  178. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +2 -2
  179. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-client.html +12 -5
  180. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-deb-client.html +38 -0
  181. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-oracle-client.html +5 -0
  182. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-sles-client.html +28 -0
  183. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register.html +14 -11
  184. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +6 -2
  185. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-activation-keys.controller.js +8 -3
  186. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-content-hosts.controller.js +9 -3
  187. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +12 -0
  188. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/package-filter-details.html +2 -2
  189. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +7 -7
  190. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-info.html +7 -1
  191. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-publish.html +4 -0
  192. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +17 -3
  193. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/views/content-view-new.html +16 -2
  194. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html +5 -0
  195. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +78 -7
  196. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +17 -20
  197. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +17 -24
  198. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +1292 -1170
  199. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +17 -20
  200. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +858 -807
  201. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +18 -19
  202. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +17 -24
  203. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +17 -18
  204. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +986 -971
  205. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +19 -20
  206. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +9 -9
  207. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js +2 -2
  208. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +1 -1
  209. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/download-policy.service.js +0 -1
  210. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +1 -1
  211. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository-types.service.js +8 -1
  212. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +2 -2
  213. data/lib/katello/engine.rb +6 -6
  214. data/lib/katello/middleware/event_daemon.rb +1 -1
  215. data/lib/katello/permission_creator.rb +35 -14
  216. data/lib/katello/plugin.rb +8 -3
  217. data/lib/katello/tasks/delete_orphaned_content.rake +1 -3
  218. data/lib/katello/tasks/jenkins.rake +1 -1
  219. data/lib/katello/tasks/pulp3_content_switchover.rake +1 -1
  220. data/lib/katello/tasks/pulp3_migration.rake +18 -6
  221. data/lib/katello/tasks/pulp3_migration_abort.rake +22 -0
  222. data/lib/katello/tasks/pulp3_migration_stats.rake +28 -8
  223. data/lib/katello/tasks/pulp3_post_migration_check.rake +1 -3
  224. data/lib/katello/tasks/receptor/extract_orgs.rake +1 -1
  225. data/lib/katello/tasks/reimport.rake +1 -1
  226. data/lib/katello/tasks/repository.rake +3 -5
  227. data/lib/katello/tasks/upgrades/4.0/remove_ostree_puppet_content.rake +16 -0
  228. data/lib/katello/version.rb +1 -1
  229. data/lib/proxy_api/container_gateway.rb +21 -0
  230. data/locale/action_names.rb +51 -51
  231. data/locale/bn/katello.edit.po +0 -0
  232. data/locale/bn/katello.po +136 -51
  233. data/locale/cs/katello.edit.po +0 -0
  234. data/locale/cs/katello.po +136 -49
  235. data/locale/de/katello.edit.po +0 -0
  236. data/locale/de/katello.po +136 -48
  237. data/locale/en/katello.edit.po +0 -0
  238. data/locale/en/katello.po +136 -48
  239. data/locale/es/katello.edit.po +0 -0
  240. data/locale/es/katello.po +136 -48
  241. data/locale/fr/katello.edit.po +0 -0
  242. data/locale/fr/katello.po +136 -48
  243. data/locale/gu/katello.edit.po +0 -0
  244. data/locale/gu/katello.po +136 -51
  245. data/locale/hi/katello.edit.po +0 -0
  246. data/locale/hi/katello.po +136 -51
  247. data/locale/it/katello.edit.po +0 -0
  248. data/locale/it/katello.po +136 -48
  249. data/locale/ja/katello.edit.po +0 -0
  250. data/locale/ja/katello.po +136 -48
  251. data/locale/katello.pot +941 -767
  252. data/locale/kn/katello.edit.po +0 -0
  253. data/locale/kn/katello.po +136 -51
  254. data/locale/ko/katello.edit.po +0 -0
  255. data/locale/ko/katello.po +136 -48
  256. data/locale/mr/katello.edit.po +0 -0
  257. data/locale/mr/katello.po +136 -51
  258. data/locale/or/katello.edit.po +0 -0
  259. data/locale/or/katello.po +136 -51
  260. data/locale/pa/katello.edit.po +0 -0
  261. data/locale/pa/katello.po +136 -51
  262. data/locale/pt/katello.edit.po +0 -0
  263. data/locale/pt/katello.po +136 -51
  264. data/locale/pt_BR/katello.edit.po +0 -0
  265. data/locale/pt_BR/katello.po +136 -48
  266. data/locale/ru/katello.edit.po +0 -0
  267. data/locale/ru/katello.po +136 -48
  268. data/locale/ta/katello.edit.po +0 -0
  269. data/locale/ta/katello.po +136 -51
  270. data/locale/te/katello.edit.po +0 -0
  271. data/locale/te/katello.po +136 -51
  272. data/locale/zh_CN/katello.edit.po +0 -0
  273. data/locale/zh_CN/katello.po +136 -48
  274. data/locale/zh_TW/katello.edit.po +0 -0
  275. data/locale/zh_TW/katello.po +136 -48
  276. data/package.json +1 -1
  277. data/webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js +0 -1
  278. data/webpack/__mocks__/foremanReact/components/Pagination/PaginationHooks.js +2 -0
  279. data/webpack/__mocks__/foremanReact/components/common/dates/LongDateTime.js +5 -0
  280. data/webpack/{scenes/ContentViews/Details/Repositories → components/SelectableDropdown}/SelectableDropdown.js +20 -3
  281. data/webpack/components/SelectableDropdown/__tests__/SelectableDropdown.test.js +45 -0
  282. data/webpack/components/SelectableDropdown/index.js +3 -0
  283. data/webpack/components/Table/TableWrapper.js +2 -1
  284. data/webpack/components/Table/helpers.js +14 -0
  285. data/webpack/components/TypeAhead/TypeAhead.js +2 -1
  286. data/webpack/components/TypeAhead/pf3Search/TypeAheadSearch.js +2 -1
  287. data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js +0 -1
  288. data/webpack/containers/Application/overrides.scss +6 -0
  289. data/webpack/index.js +6 -0
  290. data/webpack/redux/actions/RedHatRepositories/helpers.js +5 -5
  291. data/webpack/scenes/ContentViews/ContentViewsActions.js +31 -2
  292. data/webpack/scenes/ContentViews/ContentViewsConstants.js +5 -1
  293. data/webpack/scenes/ContentViews/Copy/ContentViewCopySelectors.js +16 -0
  294. data/webpack/scenes/ContentViews/Copy/CopyContentViewForm.js +77 -0
  295. data/webpack/scenes/ContentViews/Copy/CopyContentViewModal.js +44 -0
  296. data/webpack/scenes/ContentViews/Copy/__tests__/contentViewCopyResult.fixtures.json +42 -0
  297. data/webpack/scenes/ContentViews/Copy/__tests__/copyContentView.test.js +39 -0
  298. data/webpack/scenes/ContentViews/Copy/index.js +4 -0
  299. data/webpack/scenes/ContentViews/Create/ContentViewCreateSelectors.js +16 -0
  300. data/webpack/scenes/ContentViews/Create/ContentViewFormComponents.js +58 -0
  301. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +175 -0
  302. data/webpack/scenes/ContentViews/Create/CreateContentViewModal.js +27 -0
  303. data/webpack/scenes/ContentViews/Create/__tests__/contentViewCreateResult.fixtures.json +42 -0
  304. data/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +92 -0
  305. data/webpack/scenes/ContentViews/Create/index.js +4 -0
  306. data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +16 -0
  307. data/webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js +20 -1
  308. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +17 -7
  309. data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +19 -13
  310. data/webpack/scenes/ContentViews/Details/Filters/ContentType.js +40 -0
  311. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +124 -0
  312. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.fixtures.json +134 -0
  313. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js +92 -0
  314. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +44 -25
  315. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewDetailRepos.test.js +17 -7
  316. data/webpack/scenes/ContentViews/Details/__tests__/contentViewDetail.test.js +24 -0
  317. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +53 -3
  318. data/webpack/scenes/ContentViews/Table/tableDataGenerator.js +4 -3
  319. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +41 -0
  320. data/webpack/scenes/ContentViews/helpers.js +13 -0
  321. data/webpack/scenes/SmartProxy/Content.js +17 -0
  322. data/webpack/scenes/SmartProxy/SmartProxyContentActions.js +11 -0
  323. data/webpack/scenes/SmartProxy/SmartProxyContentConstants.js +3 -0
  324. data/webpack/scenes/SmartProxy/SmartProxyContentSelectors.js +16 -0
  325. data/webpack/scenes/SmartProxy/SmartProxyContentTable.js +152 -0
  326. data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentResult.fixtures.json +140 -0
  327. data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentTest.js +38 -0
  328. data/webpack/scenes/SmartProxy/index.js +4 -0
  329. data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +13 -11
  330. data/webpack/scenes/Subscriptions/Manifest/ManifestActions.js +3 -3
  331. data/webpack/scenes/Subscriptions/Manifest/__tests__/ManifestActions.test.js +2 -2
  332. data/webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js +2 -2
  333. data/webpack/test-utils/react-testing-lib-wrapper.js +8 -2
  334. data/webpack/utils/helpers.js +3 -0
  335. metadata +110 -31
  336. data/app/controllers/katello/api/v2/gpg_keys_controller.rb +0 -114
  337. data/app/overrides/disable_turbolinks_on_proxies_index.rb +0 -5
  338. data/app/services/katello/event_daemon.rb +0 -135
  339. data/app/services/katello/pulp/content_counts_calculator.rb +0 -60
  340. data/lib/katello/tasks/common.rake +0 -7
  341. data/lib/katello/tasks/reports.rake +0 -4
  342. data/lib/katello/tasks/upgrades/3.10/update_gpg_key_urls.rake +0 -32
  343. data/webpack/__mocks__/foremanReact/components/common/Fill/GlobalFill.js +0 -3
  344. data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.scss +0 -5
  345. data/webpack/scenes/ContentViews/Table/actionResolver.js +0 -28
@@ -0,0 +1,4 @@
1
+ import { withRouter } from 'react-router-dom';
2
+ import Content from './Content';
3
+
4
+ export default withRouter(Content);
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
3
3
  import { Grid, Col, Row, Tabs, Tab, Form, FormGroup, FormControl, ControlLabel } from 'react-bootstrap';
4
4
  import { Button, Spinner } from 'patternfly-react';
5
5
  import ForemanModal from 'foremanReact/components/ForemanModal';
6
+ import Slot from 'foremanReact/components/common/Slot';
6
7
  import { translate as __ } from 'foremanReact/common/I18n';
7
8
  import TooltipButton from '../../../components/TooltipButton';
8
9
  import { LoadingState } from '../../../components/LoadingState';
@@ -250,17 +251,17 @@ class ManageManifestModal extends Component {
250
251
  />
251
252
  }
252
253
  {canDeleteManifest &&
253
- <React.Fragment>
254
- <TooltipButton
255
- disabled={!isManifestImported || actionInProgress}
256
- bsStyle="danger"
257
- onClick={this.showDeleteManifestModal}
258
- title={__('Delete')}
259
- tooltipId="delete-manifest-button-tooltip"
260
- tooltipText={this.disabledTooltipText()}
261
- tooltipPlacement="top"
262
- />
263
- </React.Fragment>
254
+ <React.Fragment>
255
+ <TooltipButton
256
+ disabled={!isManifestImported || actionInProgress}
257
+ bsStyle="danger"
258
+ onClick={this.showDeleteManifestModal}
259
+ title={__('Delete')}
260
+ tooltipId="delete-manifest-button-tooltip"
261
+ tooltipText={this.disabledTooltipText()}
262
+ tooltipPlacement="top"
263
+ />
264
+ </React.Fragment>
264
265
  }
265
266
  </div>
266
267
  <ForemanModal title={__('Confirm delete manifest')} id={DELETE_MANIFEST_MODAL_ID}>
@@ -280,6 +281,7 @@ class ManageManifestModal extends Component {
280
281
  </FormGroup>
281
282
  </React.Fragment>
282
283
  }
284
+ <Slot id="katello-manage-manifest-form" multi />
283
285
  </Form>
284
286
  </Tab>
285
287
  }
@@ -88,7 +88,7 @@ export const checkSimpleContentAccessEligible = () => async (dispatch) => {
88
88
  dispatch({ type: SIMPLE_CONTENT_ACCESS_ELIGIBLE_REQUEST });
89
89
 
90
90
  try {
91
- const { data } = await api.get(`/organizations/${orgId()}/upstream_subscriptions/simple_content_access/eligible`, {});
91
+ const { data } = await api.get(`/organizations/${orgId()}/simple_content_access/eligible`, {});
92
92
  return dispatch({
93
93
  type: SIMPLE_CONTENT_ACCESS_ELIGIBLE_SUCCESS,
94
94
  response: data,
@@ -106,7 +106,7 @@ export const enableSimpleContentAccess = (extendedParams = {}) => async (dispatc
106
106
  };
107
107
 
108
108
  try {
109
- const { data } = await api.put(`/organizations/${orgId()}/upstream_subscriptions/simple_content_access/enable`, {}, params);
109
+ const { data } = await api.put(`/organizations/${orgId()}/simple_content_access/enable`, {}, params);
110
110
  return dispatch({
111
111
  type: ENABLE_SIMPLE_CONTENT_ACCESS_SUCCESS,
112
112
  response: data,
@@ -124,7 +124,7 @@ export const disableSimpleContentAccess = (extendedParams = {}) => async (dispat
124
124
  };
125
125
 
126
126
  try {
127
- const { data } = await api.put(`/organizations/${orgId()}/upstream_subscriptions/simple_content_access/disable`, {}, params);
127
+ const { data } = await api.put(`/organizations/${orgId()}/simple_content_access/disable`, {}, params);
128
128
  return dispatch({
129
129
  type: DISABLE_SIMPLE_CONTENT_ACCESS_SUCCESS,
130
130
  response: data,
@@ -136,7 +136,7 @@ describe('manifest actions', () => {
136
136
  });
137
137
 
138
138
  describe('creates ENABLE_SIMPLE_CONTENT_ACCESS_REQUEST', () => {
139
- const url = '/katello/api/v2/organizations/1/upstream_subscriptions/simple_content_access/enable';
139
+ const url = '/katello/api/v2/organizations/1/simple_content_access/enable';
140
140
 
141
141
  it('and then fails with 422', async () => {
142
142
  mockErrorRequest({
@@ -158,7 +158,7 @@ describe('creates ENABLE_SIMPLE_CONTENT_ACCESS_REQUEST', () => {
158
158
  });
159
159
 
160
160
  describe('creates DISABLE_SIMPLE_CONTENT_ACCESS_REQUEST', () => {
161
- const url = '/katello/api/v2/organizations/1/upstream_subscriptions/simple_content_access/disable';
161
+ const url = '/katello/api/v2/organizations/1/simple_content_access/disable';
162
162
 
163
163
  it('and then fails with 422', async () => {
164
164
  mockErrorRequest({
@@ -55,8 +55,8 @@ const initialState = {
55
55
  },
56
56
  };
57
57
 
58
- const enableSimpleContetAccessPath = api.getApiUrl('/organizations/1/upstream_subscriptions/simple_content_access/enable');
59
- const disableSimpleContetAccessPath = api.getApiUrl('/organizations/1/upstream_subscriptions/simple_content_access/disable');
58
+ const enableSimpleContetAccessPath = api.getApiUrl('/organizations/1/simple_content_access/enable');
59
+ const disableSimpleContetAccessPath = api.getApiUrl('/organizations/1/simple_content_access/disable');
60
60
  const manifestHistoryPath = api.getApiUrl('/organizations/1/subscriptions/manifest_history');
61
61
 
62
62
  test('Enable Simple Content Access after toggle switch value to true', async (done) => {
@@ -5,9 +5,10 @@ import React from 'react';
5
5
  import thunk from 'redux-thunk';
6
6
  import Immutable from 'seamless-immutable';
7
7
  import { APIMiddleware, reducers as apiReducer } from 'foremanReact/redux/API';
8
+ import { reducers as fillReducers } from 'foremanReact/components/common/Fill';
8
9
  import { reducers as foremanModalReducer } from 'foremanReact/components/ForemanModal';
9
10
  import { STATUS } from 'foremanReact/constants';
10
- import { render, waitFor } from '@testing-library/react';
11
+ import { render, waitFor, waitForElementToBeRemoved } from '@testing-library/react';
11
12
  import { createStore, applyMiddleware, combineReducers } from 'redux';
12
13
  import { Provider } from 'react-redux';
13
14
  import { MemoryRouter } from 'react-router-dom';
@@ -33,6 +34,7 @@ function renderWithRedux(
33
34
  katello: allKatelloReducers,
34
35
  ...apiReducer,
35
36
  ...foremanModalReducer,
37
+ ...fillReducers,
36
38
  });
37
39
 
38
40
  // Namespacing the initial state as well
@@ -45,6 +47,7 @@ function renderWithRedux(
45
47
  settings: initialSettingsState,
46
48
  },
47
49
  },
50
+ extendable: {},
48
51
  ...initialState,
49
52
  });
50
53
  const middlewares = applyMiddleware(thunk, APIMiddleware);
@@ -60,7 +63,10 @@ function renderWithRedux(
60
63
 
61
64
  // When the tests run slower, they can hit the default waitFor timeout, which is 1000ms
62
65
  // There doesn't seem to be a way to set it globally for r-t-lib, so using this wrapper function
63
- export const patientlyWaitFor = waitForFunc => waitFor(waitForFunc, { timeout: 5000 });
66
+ const rtlTimeout = 5000;
67
+ export const patientlyWaitFor = waitForFunc => waitFor(waitForFunc, { timeout: rtlTimeout });
68
+ export const patientlyWaitForRemoval = waitForFunc =>
69
+ waitForElementToBeRemoved(waitForFunc, { timeout: rtlTimeout });
64
70
 
65
71
  // re-export everything, so the library can be used from this wrapper.
66
72
  export * from '@testing-library/react';
@@ -96,6 +96,9 @@ export const apiError = (actionType, result, additionalData = {}) => (dispatch)
96
96
  return resultWithSuccessFlag(result);
97
97
  };
98
98
 
99
+ export const capitalize = s => s && s[0].toUpperCase() + s.slice(1);
100
+
101
+ export const truncate = (str, truncateLimit = 50) => (str.length > truncateLimit ? `${str.substring(0, truncateLimit - 3)}...` : str);
99
102
 
100
103
  export default {
101
104
  getResponseErrorMsgs,
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: 3.18.0.rc1
4
+ version: 4.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -263,7 +263,7 @@ dependencies:
263
263
  version: 3.6.0
264
264
  - - "<"
265
265
  - !ruby/object:Gem::Version
266
- version: 3.8.0
266
+ version: 3.10.0
267
267
  type: :runtime
268
268
  prerelease: false
269
269
  version_requirements: !ruby/object:Gem::Requirement
@@ -273,7 +273,7 @@ dependencies:
273
273
  version: 3.6.0
274
274
  - - "<"
275
275
  - !ruby/object:Gem::Version
276
- version: 3.8.0
276
+ version: 3.10.0
277
277
  - !ruby/object:Gem::Dependency
278
278
  name: pulp_file_client
279
279
  requirement: !ruby/object:Gem::Requirement
@@ -283,7 +283,7 @@ dependencies:
283
283
  version: 1.2.0
284
284
  - - "<"
285
285
  - !ruby/object:Gem::Version
286
- version: 1.4.0
286
+ version: 1.6.0
287
287
  type: :runtime
288
288
  prerelease: false
289
289
  version_requirements: !ruby/object:Gem::Requirement
@@ -293,7 +293,7 @@ dependencies:
293
293
  version: 1.2.0
294
294
  - - "<"
295
295
  - !ruby/object:Gem::Version
296
- version: 1.4.0
296
+ version: 1.6.0
297
297
  - !ruby/object:Gem::Dependency
298
298
  name: pulp_ansible_client
299
299
  requirement: !ruby/object:Gem::Requirement
@@ -303,7 +303,7 @@ dependencies:
303
303
  version: '0.2'
304
304
  - - "<"
305
305
  - !ruby/object:Gem::Version
306
- version: '0.5'
306
+ version: '0.7'
307
307
  type: :runtime
308
308
  prerelease: false
309
309
  version_requirements: !ruby/object:Gem::Requirement
@@ -313,7 +313,7 @@ dependencies:
313
313
  version: '0.2'
314
314
  - - "<"
315
315
  - !ruby/object:Gem::Version
316
- version: '0.5'
316
+ version: '0.7'
317
317
  - !ruby/object:Gem::Dependency
318
318
  name: pulp_container_client
319
319
  requirement: !ruby/object:Gem::Requirement
@@ -323,7 +323,7 @@ dependencies:
323
323
  version: 2.0.0
324
324
  - - "<"
325
325
  - !ruby/object:Gem::Version
326
- version: 2.2.0
326
+ version: 2.3.0
327
327
  type: :runtime
328
328
  prerelease: false
329
329
  version_requirements: !ruby/object:Gem::Requirement
@@ -333,7 +333,7 @@ dependencies:
333
333
  version: 2.0.0
334
334
  - - "<"
335
335
  - !ruby/object:Gem::Version
336
- version: 2.2.0
336
+ version: 2.3.0
337
337
  - !ruby/object:Gem::Dependency
338
338
  name: pulp_deb_client
339
339
  requirement: !ruby/object:Gem::Requirement
@@ -343,7 +343,7 @@ dependencies:
343
343
  version: 2.6.0
344
344
  - - "<"
345
345
  - !ruby/object:Gem::Version
346
- version: 2.8.0
346
+ version: 2.9.0
347
347
  type: :runtime
348
348
  prerelease: false
349
349
  version_requirements: !ruby/object:Gem::Requirement
@@ -353,7 +353,7 @@ dependencies:
353
353
  version: 2.6.0
354
354
  - - "<"
355
355
  - !ruby/object:Gem::Version
356
- version: 2.8.0
356
+ version: 2.9.0
357
357
  - !ruby/object:Gem::Dependency
358
358
  name: pulp_rpm_client
359
359
  requirement: !ruby/object:Gem::Requirement
@@ -363,7 +363,7 @@ dependencies:
363
363
  version: 3.6.2
364
364
  - - "<"
365
365
  - !ruby/object:Gem::Version
366
- version: 3.8.0
366
+ version: 3.9.0
367
367
  type: :runtime
368
368
  prerelease: false
369
369
  version_requirements: !ruby/object:Gem::Requirement
@@ -373,7 +373,7 @@ dependencies:
373
373
  version: 3.6.2
374
374
  - - "<"
375
375
  - !ruby/object:Gem::Version
376
- version: 3.8.0
376
+ version: 3.9.0
377
377
  - !ruby/object:Gem::Dependency
378
378
  name: pulp_2to3_migration_client
379
379
  requirement: !ruby/object:Gem::Requirement
@@ -383,7 +383,7 @@ dependencies:
383
383
  version: 0.3.0
384
384
  - - "<"
385
385
  - !ruby/object:Gem::Version
386
- version: 0.6.0
386
+ version: 0.7.0
387
387
  - - "!="
388
388
  - !ruby/object:Gem::Version
389
389
  version: 0.4.0
@@ -396,7 +396,7 @@ dependencies:
396
396
  version: 0.3.0
397
397
  - - "<"
398
398
  - !ruby/object:Gem::Version
399
- version: 0.6.0
399
+ version: 0.7.0
400
400
  - - "!="
401
401
  - !ruby/object:Gem::Version
402
402
  version: 0.4.0
@@ -720,6 +720,9 @@ files:
720
720
  - app/controllers/katello/api/v2/capsule_content_controller.rb
721
721
  - app/controllers/katello/api/v2/capsules_controller.rb
722
722
  - app/controllers/katello/api/v2/content_credentials_controller.rb
723
+ - app/controllers/katello/api/v2/content_export_incrementals_controller.rb
724
+ - app/controllers/katello/api/v2/content_exports_controller.rb
725
+ - app/controllers/katello/api/v2/content_imports_controller.rb
723
726
  - app/controllers/katello/api/v2/content_uploads_controller.rb
724
727
  - app/controllers/katello/api/v2/content_view_components_controller.rb
725
728
  - app/controllers/katello/api/v2/content_view_filter_rules_controller.rb
@@ -736,7 +739,6 @@ files:
736
739
  - app/controllers/katello/api/v2/environments_controller.rb
737
740
  - app/controllers/katello/api/v2/errata_controller.rb
738
741
  - app/controllers/katello/api/v2/file_units_controller.rb
739
- - app/controllers/katello/api/v2/gpg_keys_controller.rb
740
742
  - app/controllers/katello/api/v2/host_autocomplete_controller.rb
741
743
  - app/controllers/katello/api/v2/host_collections_controller.rb
742
744
  - app/controllers/katello/api/v2/host_contents_controller.rb
@@ -760,6 +762,7 @@ files:
760
762
  - app/controllers/katello/api/v2/repositories_controller.rb
761
763
  - app/controllers/katello/api/v2/repository_sets_controller.rb
762
764
  - app/controllers/katello/api/v2/root_controller.rb
765
+ - app/controllers/katello/api/v2/simple_content_access_controller.rb
763
766
  - app/controllers/katello/api/v2/srpms_controller.rb
764
767
  - app/controllers/katello/api/v2/subscriptions_controller.rb
765
768
  - app/controllers/katello/api/v2/sync_controller.rb
@@ -780,6 +783,7 @@ files:
780
783
  - app/controllers/katello/concerns/filtered_auto_complete_search.rb
781
784
  - app/controllers/katello/concerns/hosts_controller_extensions.rb
782
785
  - app/controllers/katello/concerns/organizations_controller_extensions.rb
786
+ - app/controllers/katello/concerns/registration_controller_extensions.rb
783
787
  - app/controllers/katello/concerns/smart_proxies_controller_extensions.rb
784
788
  - app/controllers/katello/errata_controller.rb
785
789
  - app/controllers/katello/http_errors.rb
@@ -842,6 +846,7 @@ files:
842
846
  - app/lib/actions/helpers/notifications.rb
843
847
  - app/lib/actions/helpers/output_propagator.rb
844
848
  - app/lib/actions/helpers/presenter.rb
849
+ - app/lib/actions/helpers/smart_proxy_sync_history_helper.rb
845
850
  - app/lib/actions/katello/activation_key/create.rb
846
851
  - app/lib/actions/katello/activation_key/destroy.rb
847
852
  - app/lib/actions/katello/activation_key/reassign.rb
@@ -852,6 +857,7 @@ files:
852
857
  - app/lib/actions/katello/capsule_content/refresh_repos.rb
853
858
  - app/lib/actions/katello/capsule_content/sync.rb
854
859
  - app/lib/actions/katello/capsule_content/sync_capsule.rb
860
+ - app/lib/actions/katello/check_matching_content.rb
855
861
  - app/lib/actions/katello/content_view/add_to_environment.rb
856
862
  - app/lib/actions/katello/content_view/capsule_sync.rb
857
863
  - app/lib/actions/katello/content_view/create.rb
@@ -882,6 +888,7 @@ files:
882
888
  - app/lib/actions/katello/content_view_version/destroy.rb
883
889
  - app/lib/actions/katello/content_view_version/export.rb
884
890
  - app/lib/actions/katello/content_view_version/import.rb
891
+ - app/lib/actions/katello/content_view_version/import_library.rb
885
892
  - app/lib/actions/katello/content_view_version/incremental_update.rb
886
893
  - app/lib/actions/katello/content_view_version/republish_repositories.rb
887
894
  - app/lib/actions/katello/environment/destroy.rb
@@ -995,6 +1002,7 @@ files:
995
1002
  - app/lib/actions/middleware/pulp3_services_check.rb
996
1003
  - app/lib/actions/middleware/pulp_services_check.rb
997
1004
  - app/lib/actions/middleware/record_fixtures.rb
1005
+ - app/lib/actions/middleware/record_smart_proxy_sync_history.rb
998
1006
  - app/lib/actions/middleware/remote_action.rb
999
1007
  - app/lib/actions/middleware/skip_if_matching_content.rb
1000
1008
  - app/lib/actions/pulp/abstract.rb
@@ -1064,6 +1072,7 @@ files:
1064
1072
  - app/lib/actions/pulp3/content_guard/refresh.rb
1065
1073
  - app/lib/actions/pulp3/content_guard/refresh_all_distributions.rb
1066
1074
  - app/lib/actions/pulp3/content_migration.rb
1075
+ - app/lib/actions/pulp3/content_migration_presenter.rb
1067
1076
  - app/lib/actions/pulp3/content_view/delete_repository_references.rb
1068
1077
  - app/lib/actions/pulp3/content_view_version/create_exporter.rb
1069
1078
  - app/lib/actions/pulp3/content_view_version/create_importer.rb
@@ -1074,6 +1083,7 @@ files:
1074
1083
  - app/lib/actions/pulp3/import_migration.rb
1075
1084
  - app/lib/actions/pulp3/orchestration/content_view_version/copy_version_units_to_library.rb
1076
1085
  - app/lib/actions/pulp3/orchestration/content_view_version/export.rb
1086
+ - app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb
1077
1087
  - app/lib/actions/pulp3/orchestration/content_view_version/import.rb
1078
1088
  - app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
1079
1089
  - app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb
@@ -1125,6 +1135,7 @@ files:
1125
1135
  - app/lib/actions/pulp3/repository/update_remote.rb
1126
1136
  - app/lib/actions/pulp3/repository/update_repository.rb
1127
1137
  - app/lib/actions/pulp3/repository/upload_file.rb
1138
+ - app/lib/actions/pulp3/repository/upload_tag.rb
1128
1139
  - app/lib/katello/README
1129
1140
  - app/lib/katello/api/constraints/activation_key_constraint.rb
1130
1141
  - app/lib/katello/api/mapper_extensions.rb
@@ -1136,6 +1147,8 @@ files:
1136
1147
  - app/lib/katello/concerns/permission_extensions.rb
1137
1148
  - app/lib/katello/concerns/renderer_extensions.rb
1138
1149
  - app/lib/katello/errors.rb
1150
+ - app/lib/katello/event_daemon/monitor.rb
1151
+ - app/lib/katello/event_daemon/runner.rb
1139
1152
  - app/lib/katello/foreman.rb
1140
1153
  - app/lib/katello/http_resource.rb
1141
1154
  - app/lib/katello/lazy_accessor.rb
@@ -1221,6 +1234,7 @@ files:
1221
1234
  - app/models/katello/authorization/content_view.rb
1222
1235
  - app/models/katello/authorization/content_view_component.rb
1223
1236
  - app/models/katello/authorization/content_view_environment.rb
1237
+ - app/models/katello/authorization/content_view_filter.rb
1224
1238
  - app/models/katello/authorization/content_view_history.rb
1225
1239
  - app/models/katello/authorization/content_view_version.rb
1226
1240
  - app/models/katello/authorization/content_view_version_export_history.rb
@@ -1262,6 +1276,7 @@ files:
1262
1276
  - app/models/katello/content_facet_applicable_rpm.rb
1263
1277
  - app/models/katello/content_facet_erratum.rb
1264
1278
  - app/models/katello/content_facet_repository.rb
1279
+ - app/models/katello/content_migration_progress.rb
1265
1280
  - app/models/katello/content_override.rb
1266
1281
  - app/models/katello/content_view.rb
1267
1282
  - app/models/katello/content_view_component.rb
@@ -1391,6 +1406,7 @@ files:
1391
1406
  - app/models/katello/rhsm_fact_parser.rb
1392
1407
  - app/models/katello/root_repository.rb
1393
1408
  - app/models/katello/rpm.rb
1409
+ - app/models/katello/smart_proxy_sync_history.rb
1394
1410
  - app/models/katello/srpm.rb
1395
1411
  - app/models/katello/subscription.rb
1396
1412
  - app/models/katello/subscription_facet_activation_key.rb
@@ -1409,11 +1425,11 @@ files:
1409
1425
  - app/overrides/add_activation_keys_input.rb
1410
1426
  - app/overrides/add_organization_attributes.rb
1411
1427
  - app/overrides/add_smart_proxy_form.rb
1412
- - app/overrides/disable_turbolinks_on_proxies_index.rb
1413
1428
  - app/overrides/override_taxonomy_actions.rb
1414
1429
  - app/presenters/katello/activation_key_subscriptions_presenter.rb
1415
1430
  - app/presenters/katello/content_view_version_compare_presenter.rb
1416
1431
  - app/presenters/katello/host_subscription_presenter.rb
1432
+ - app/presenters/katello/host_subscriptions_presenter.rb
1417
1433
  - app/presenters/katello/product_content_presenter.rb
1418
1434
  - app/presenters/katello/relation_presenter.rb
1419
1435
  - app/presenters/katello/repository_presenter.rb
@@ -1432,7 +1448,6 @@ files:
1432
1448
  - app/services/katello/candlepin/system_purpose.rb
1433
1449
  - app/services/katello/candlepin/upstream_consumer.rb
1434
1450
  - app/services/katello/candlepin_event_listener.rb
1435
- - app/services/katello/event_daemon.rb
1436
1451
  - app/services/katello/event_monitor/poller_thread.rb
1437
1452
  - app/services/katello/event_queue.rb
1438
1453
  - app/services/katello/host_status_manager.rb
@@ -1445,7 +1460,6 @@ files:
1445
1460
  - app/services/katello/pulp/consumer.rb
1446
1461
  - app/services/katello/pulp/consumer_group.rb
1447
1462
  - app/services/katello/pulp/content.rb
1448
- - app/services/katello/pulp/content_counts_calculator.rb
1449
1463
  - app/services/katello/pulp/deb.rb
1450
1464
  - app/services/katello/pulp/distribution.rb
1451
1465
  - app/services/katello/pulp/docker_blob.rb
@@ -1486,6 +1500,7 @@ files:
1486
1500
  - app/services/katello/pulp3/content_view_version/export.rb
1487
1501
  - app/services/katello/pulp3/content_view_version/import.rb
1488
1502
  - app/services/katello/pulp3/content_view_version/import_export_common.rb
1503
+ - app/services/katello/pulp3/content_view_version/import_validator.rb
1489
1504
  - app/services/katello/pulp3/deb.rb
1490
1505
  - app/services/katello/pulp3/distribution.rb
1491
1506
  - app/services/katello/pulp3/docker_blob.rb
@@ -1544,6 +1559,7 @@ files:
1544
1559
  - app/views/dashboard/_subscription_status_widget.html.erb
1545
1560
  - app/views/dashboard/_subscription_widget.html.erb
1546
1561
  - app/views/dashboard/_sync_widget.html.erb
1562
+ - app/views/foreman/hosts/_registration.html.erb
1547
1563
  - app/views/foreman/job_templates/install_errata.erb
1548
1564
  - app/views/foreman/job_templates/install_errata_-_katello_ansible_default.erb
1549
1565
  - app/views/foreman/job_templates/install_group.erb
@@ -2119,9 +2135,15 @@ files:
2119
2135
  - db/migrate/20200820145217_add_download_concurrency_to_katello_root_repositories.rb
2120
2136
  - db/migrate/20200910140340_remove_distribution_uuid.rb
2121
2137
  - db/migrate/20200914200906_remove_auto_enabled.rb
2138
+ - db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
2122
2139
  - db/migrate/20201008204114_add_os_versions_to_katello_root_repositories.rb
2123
2140
  - db/migrate/20201012172713_remove_gpg_key_perms.rb
2124
2141
  - db/migrate/20201012192035_add_metadata_to_katello_content_view_version_export_history.rb
2142
+ - db/migrate/20201021150008_add_import_only_to_katello_content_view.rb
2143
+ - db/migrate/20201119211133_pulp3_migration_progress.rb
2144
+ - db/migrate/20210119162528_delete_puppet_and_ostree_repos.rb
2145
+ - db/migrate/20210128231228_add_type_and_from_cvv_to_cvv_export_history.rb
2146
+ - db/migrate/20210201163238_migrate_background_download_policy_to_migrate.rb
2125
2147
  - db/seeds.d/101-locations.rb
2126
2148
  - db/seeds.d/102-organizations.rb
2127
2149
  - db/seeds.d/104-proxy.rb
@@ -3972,6 +3994,7 @@ files:
3972
3994
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-traces-modal.html
3973
3995
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-modal-helper.service.js
3974
3996
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register-client.directive.js
3997
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register-os-client.directive.js
3975
3998
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register.controller.js
3976
3999
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-status.controller.js
3977
4000
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts-helper.service.js
@@ -4019,6 +4042,9 @@ files:
4019
4042
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-tasks.html
4020
4043
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
4021
4044
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-client.html
4045
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-deb-client.html
4046
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-oracle-client.html
4047
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register-sles-client.html
4022
4048
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register.html
4023
4049
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-view.factory.js
4024
4050
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js
@@ -4467,7 +4493,6 @@ files:
4467
4493
  - lib/katello/tasks/clean_backend_objects.rake
4468
4494
  - lib/katello/tasks/clean_old_file_repos.rake
4469
4495
  - lib/katello/tasks/clean_published_repo_directories.rake
4470
- - lib/katello/tasks/common.rake
4471
4496
  - lib/katello/tasks/delete_orphaned_content.rake
4472
4497
  - lib/katello/tasks/import_applicability.rake
4473
4498
  - lib/katello/tasks/import_subscriptions.rake
@@ -4475,12 +4500,12 @@ files:
4475
4500
  - lib/katello/tasks/job_templates.rake
4476
4501
  - lib/katello/tasks/pulp3_content_switchover.rake
4477
4502
  - lib/katello/tasks/pulp3_migration.rake
4503
+ - lib/katello/tasks/pulp3_migration_abort.rake
4478
4504
  - lib/katello/tasks/pulp3_migration_stats.rake
4479
4505
  - lib/katello/tasks/pulp3_post_migration_check.rake
4480
4506
  - lib/katello/tasks/receptor/extract_orgs.rake
4481
4507
  - lib/katello/tasks/regenerate_ueber_certs.rake
4482
4508
  - lib/katello/tasks/reimport.rake
4483
- - lib/katello/tasks/reports.rake
4484
4509
  - lib/katello/tasks/repository.rake
4485
4510
  - lib/katello/tasks/reset.rake
4486
4511
  - lib/katello/tasks/rubocop.rake
@@ -4490,7 +4515,6 @@ files:
4490
4515
  - lib/katello/tasks/update_subscription_facet_backend_data.rake
4491
4516
  - lib/katello/tasks/upgrade_check.rake
4492
4517
  - lib/katello/tasks/upgrades/3.10/clear_invalid_repo_credentials.rake
4493
- - lib/katello/tasks/upgrades/3.10/update_gpg_key_urls.rake
4494
4518
  - lib/katello/tasks/upgrades/3.11/import_yum_metadata_file.rake
4495
4519
  - lib/katello/tasks/upgrades/3.11/update_puppet_repos.rake
4496
4520
  - lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
@@ -4500,6 +4524,7 @@ files:
4500
4524
  - lib/katello/tasks/upgrades/3.16/update_applicable_el8_hosts.rake
4501
4525
  - lib/katello/tasks/upgrades/3.18/add_cvv_export_history_metadata.rb
4502
4526
  - lib/katello/tasks/upgrades/3.8/clear_checksum_type.rake
4527
+ - lib/katello/tasks/upgrades/4.0/remove_ostree_puppet_content.rake
4503
4528
  - lib/katello/tasks/virt_who_report.rake
4504
4529
  - lib/katello/url_constrained_cookie_store.rb
4505
4530
  - lib/katello/version.rb
@@ -4507,35 +4532,58 @@ files:
4507
4532
  - lib/monkeys/ar_postgres_evr_t.rb
4508
4533
  - lib/monkeys/fx_sqlite_skip.rb
4509
4534
  - lib/monkeys/passenger_tee_input.rb
4535
+ - lib/proxy_api/container_gateway.rb
4510
4536
  - lib/proxy_api/pulp.rb
4511
4537
  - lib/proxy_api/pulp_node.rb
4512
4538
  - locale/Makefile
4513
4539
  - locale/README
4514
4540
  - locale/action_names.rb
4541
+ - locale/bn/katello.edit.po
4515
4542
  - locale/bn/katello.po
4543
+ - locale/cs/katello.edit.po
4516
4544
  - locale/cs/katello.po
4545
+ - locale/de/katello.edit.po
4517
4546
  - locale/de/katello.po
4547
+ - locale/en/katello.edit.po
4518
4548
  - locale/en/katello.po
4549
+ - locale/es/katello.edit.po
4519
4550
  - locale/es/katello.po
4551
+ - locale/fr/katello.edit.po
4520
4552
  - locale/fr/katello.po
4553
+ - locale/gu/katello.edit.po
4521
4554
  - locale/gu/katello.po
4555
+ - locale/hi/katello.edit.po
4522
4556
  - locale/hi/katello.po
4557
+ - locale/it/katello.edit.po
4523
4558
  - locale/it/katello.po
4559
+ - locale/ja/katello.edit.po
4524
4560
  - locale/ja/katello.po
4525
4561
  - locale/katello.pot
4562
+ - locale/kn/katello.edit.po
4526
4563
  - locale/kn/katello.po
4564
+ - locale/ko/katello.edit.po
4527
4565
  - locale/ko/katello.po
4566
+ - locale/mr/katello.edit.po
4528
4567
  - locale/mr/katello.po
4568
+ - locale/or/katello.edit.po
4529
4569
  - locale/or/katello.po
4570
+ - locale/pa/katello.edit.po
4530
4571
  - locale/pa/katello.po
4572
+ - locale/pt/katello.edit.po
4531
4573
  - locale/pt/katello.po
4574
+ - locale/pt_BR/katello.edit.po
4532
4575
  - locale/pt_BR/katello.po
4576
+ - locale/ru/katello.edit.po
4533
4577
  - locale/ru/katello.po
4578
+ - locale/ta/katello.edit.po
4534
4579
  - locale/ta/katello.po
4580
+ - locale/te/katello.edit.po
4535
4581
  - locale/te/katello.po
4536
4582
  - locale/update-i18n
4537
4583
  - locale/zanata.xml
4584
+ - locale/zh_CN/katello.edit.po
4538
4585
  - locale/zh_CN/katello.po
4586
+ - locale/zh_TW/katello.edit.po
4539
4587
  - locale/zh_TW/katello.po
4540
4588
  - package.json
4541
4589
  - vendor/assets/images/katello/add2.png
@@ -4596,9 +4644,10 @@ files:
4596
4644
  - webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js
4597
4645
  - webpack/__mocks__/foremanReact/common/urlHelpers.js
4598
4646
  - webpack/__mocks__/foremanReact/components/BreadcrumbBar/index.js
4647
+ - webpack/__mocks__/foremanReact/components/Pagination/PaginationHooks.js
4599
4648
  - webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js
4600
4649
  - webpack/__mocks__/foremanReact/components/common/EmptyState.js
4601
- - webpack/__mocks__/foremanReact/components/common/Fill/GlobalFill.js
4650
+ - webpack/__mocks__/foremanReact/components/common/dates/LongDateTime.js
4602
4651
  - webpack/__mocks__/foremanReact/redux.js
4603
4652
  - webpack/__mocks__/foremanReact/redux/actions/toasts.js
4604
4653
  - webpack/__mocks__/react-intl/index.js
@@ -4648,6 +4697,9 @@ files:
4648
4697
  - webpack/components/SelectOrg/SelectOrgAction.js
4649
4698
  - webpack/components/SelectOrg/SelectOrgReducer.js
4650
4699
  - webpack/components/SelectOrg/SetOrganization.js
4700
+ - webpack/components/SelectableDropdown/SelectableDropdown.js
4701
+ - webpack/components/SelectableDropdown/__tests__/SelectableDropdown.test.js
4702
+ - webpack/components/SelectableDropdown/index.js
4651
4703
  - webpack/components/TabWrapper/TabWrapper.js
4652
4704
  - webpack/components/TabWrapper/index.js
4653
4705
  - webpack/components/TabbedView/TabbedView.js
@@ -4656,6 +4708,7 @@ files:
4656
4708
  - webpack/components/Table/EmptyStateMessage.js
4657
4709
  - webpack/components/Table/MainTable.js
4658
4710
  - webpack/components/Table/TableWrapper.js
4711
+ - webpack/components/Table/helpers.js
4659
4712
  - webpack/components/TooltipButton/TooltipButton.js
4660
4713
  - webpack/components/TooltipButton/TooltipButton.scss
4661
4714
  - webpack/components/TooltipButton/TooltipButton.test.js
@@ -4673,7 +4726,6 @@ files:
4673
4726
  - webpack/components/TypeAhead/pf4Search/TypeAheadInput.scss
4674
4727
  - webpack/components/TypeAhead/pf4Search/TypeAheadItems.js
4675
4728
  - webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js
4676
- - webpack/components/TypeAhead/pf4Search/TypeAheadSearch.scss
4677
4729
  - webpack/components/WithOrganization/__snapshots__/withOrganization.test.js.snap
4678
4730
  - webpack/components/WithOrganization/withOrganization.js
4679
4731
  - webpack/components/WithOrganization/withOrganization.test.js
@@ -4794,18 +4846,34 @@ files:
4794
4846
  - webpack/scenes/ContentViews/ContentViewsActions.js
4795
4847
  - webpack/scenes/ContentViews/ContentViewsConstants.js
4796
4848
  - webpack/scenes/ContentViews/ContentViewsPage.js
4849
+ - webpack/scenes/ContentViews/Copy/ContentViewCopySelectors.js
4850
+ - webpack/scenes/ContentViews/Copy/CopyContentViewForm.js
4851
+ - webpack/scenes/ContentViews/Copy/CopyContentViewModal.js
4852
+ - webpack/scenes/ContentViews/Copy/__tests__/contentViewCopyResult.fixtures.json
4853
+ - webpack/scenes/ContentViews/Copy/__tests__/copyContentView.test.js
4854
+ - webpack/scenes/ContentViews/Copy/index.js
4855
+ - webpack/scenes/ContentViews/Create/ContentViewCreateSelectors.js
4856
+ - webpack/scenes/ContentViews/Create/ContentViewFormComponents.js
4857
+ - webpack/scenes/ContentViews/Create/CreateContentViewForm.js
4858
+ - webpack/scenes/ContentViews/Create/CreateContentViewModal.js
4859
+ - webpack/scenes/ContentViews/Create/__tests__/contentViewCreateResult.fixtures.json
4860
+ - webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js
4861
+ - webpack/scenes/ContentViews/Create/index.js
4797
4862
  - webpack/scenes/ContentViews/Details/ContentViewDetailActions.js
4798
4863
  - webpack/scenes/ContentViews/Details/ContentViewDetailReducer.js
4799
4864
  - webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js
4800
4865
  - webpack/scenes/ContentViews/Details/ContentViewDetails.js
4801
4866
  - webpack/scenes/ContentViews/Details/ContentViewInfo.js
4802
4867
  - webpack/scenes/ContentViews/Details/DetailsContainer.js
4868
+ - webpack/scenes/ContentViews/Details/Filters/ContentType.js
4869
+ - webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js
4870
+ - webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.fixtures.json
4871
+ - webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js
4803
4872
  - webpack/scenes/ContentViews/Details/Repositories/ContentCounts.js
4804
4873
  - webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js
4805
4874
  - webpack/scenes/ContentViews/Details/Repositories/LastSync.js
4806
4875
  - webpack/scenes/ContentViews/Details/Repositories/RepoAddedStatus.js
4807
4876
  - webpack/scenes/ContentViews/Details/Repositories/RepoIcon.js
4808
- - webpack/scenes/ContentViews/Details/Repositories/SelectableDropdown.js
4809
4877
  - webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewDetailRepos.fixtures.json
4810
4878
  - webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewDetailRepos.test.js
4811
4879
  - webpack/scenes/ContentViews/Details/__tests__/contentViewDetail.test.js
@@ -4813,7 +4881,6 @@ files:
4813
4881
  - webpack/scenes/ContentViews/Details/contentViewInfo.scss
4814
4882
  - webpack/scenes/ContentViews/Details/index.js
4815
4883
  - webpack/scenes/ContentViews/Table/ContentViewsTable.js
4816
- - webpack/scenes/ContentViews/Table/actionResolver.js
4817
4884
  - webpack/scenes/ContentViews/Table/index.js
4818
4885
  - webpack/scenes/ContentViews/Table/tableDataGenerator.js
4819
4886
  - webpack/scenes/ContentViews/__tests__/basicContentViews.fixtures.js
@@ -4826,6 +4893,7 @@ files:
4826
4893
  - webpack/scenes/ContentViews/expansions/DetailsExpansion.js
4827
4894
  - webpack/scenes/ContentViews/expansions/EnvironmentsExpansion.js
4828
4895
  - webpack/scenes/ContentViews/expansions/VersionsExpansion.js
4896
+ - webpack/scenes/ContentViews/helpers.js
4829
4897
  - webpack/scenes/ContentViews/index.js
4830
4898
  - webpack/scenes/ModuleStreams/Details/ModuleDetailsSchema.js
4831
4899
  - webpack/scenes/ModuleStreams/Details/ModuleStreamDetailArtifacts.js
@@ -4921,6 +4989,14 @@ files:
4921
4989
  - webpack/scenes/Settings/Tables/__tests__/TableReducer.test.js
4922
4990
  - webpack/scenes/Settings/Tables/__tests__/__snapshots__/TableReducer.test.js.snap
4923
4991
  - webpack/scenes/Settings/index.js
4992
+ - webpack/scenes/SmartProxy/Content.js
4993
+ - webpack/scenes/SmartProxy/SmartProxyContentActions.js
4994
+ - webpack/scenes/SmartProxy/SmartProxyContentConstants.js
4995
+ - webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
4996
+ - webpack/scenes/SmartProxy/SmartProxyContentTable.js
4997
+ - webpack/scenes/SmartProxy/__tests__/SmartProxyContentResult.fixtures.json
4998
+ - webpack/scenes/SmartProxy/__tests__/SmartProxyContentTest.js
4999
+ - webpack/scenes/SmartProxy/index.js
4924
5000
  - webpack/scenes/Subscriptions/Details/SubscriptionAttributes.js
4925
5001
  - webpack/scenes/Subscriptions/Details/SubscriptionDetailActions.js
4926
5002
  - webpack/scenes/Subscriptions/Details/SubscriptionDetailAssociations.js
@@ -5041,7 +5117,7 @@ homepage: http://www.katello.org
5041
5117
  licenses:
5042
5118
  - GPL-2.0
5043
5119
  metadata: {}
5044
- post_install_message:
5120
+ post_install_message:
5045
5121
  rdoc_options: []
5046
5122
  require_paths:
5047
5123
  - lib
@@ -5049,7 +5125,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
5049
5125
  requirements:
5050
5126
  - - ">="
5051
5127
  - !ruby/object:Gem::Version
5052
- version: '0'
5128
+ version: 2.5.0
5129
+ - - "<"
5130
+ - !ruby/object:Gem::Version
5131
+ version: 2.7.0
5053
5132
  required_rubygems_version: !ruby/object:Gem::Requirement
5054
5133
  requirements:
5055
5134
  - - ">"
@@ -5057,7 +5136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
5057
5136
  version: 1.3.1
5058
5137
  requirements: []
5059
5138
  rubygems_version: 3.1.4
5060
- signing_key:
5139
+ signing_key:
5061
5140
  specification_version: 4
5062
5141
  summary: Content and Subscription Management plugin for Foreman
5063
5142
  test_files: []