katello 3.16.2 → 3.17.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 (381) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/katello/katello.scss +3 -7
  3. data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +1 -1
  4. data/app/controllers/katello/api/v2/activation_keys_controller.rb +8 -0
  5. data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +10 -4
  6. data/app/controllers/katello/api/v2/host_tracer_controller.rb +33 -8
  7. data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +11 -11
  8. data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +0 -15
  9. data/app/controllers/katello/api/v2/repositories_controller.rb +5 -11
  10. data/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb +16 -0
  11. data/app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb +4 -4
  12. data/app/controllers/katello/concerns/api/v2/hostgroups_controller_extensions.rb +1 -1
  13. data/app/controllers/katello/concerns/hosts_controller_extensions.rb +5 -11
  14. data/app/helpers/katello/concerns/dashboard_helper_extensions.rb +10 -0
  15. data/app/helpers/katello/hosts_and_hostgroups_helper.rb +6 -7
  16. data/app/lib/actions/candlepin/product/content_add.rb +2 -1
  17. data/app/lib/actions/candlepin/product/content_update_enablement.rb +18 -0
  18. data/app/lib/actions/katello/applicability/hosts/bulk_generate.rb +2 -6
  19. data/app/lib/actions/katello/capsule_content/refresh_repos.rb +1 -1
  20. data/app/lib/actions/katello/capsule_content/sync.rb +1 -1
  21. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +3 -17
  22. data/app/lib/actions/katello/content_view_version/incremental_update.rb +2 -3
  23. data/app/lib/actions/katello/organization/simple_content_access/disable.rb +17 -0
  24. data/app/lib/actions/katello/organization/simple_content_access/enable.rb +17 -0
  25. data/app/lib/actions/katello/organization/simple_content_access/toggle.rb +36 -0
  26. data/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +13 -0
  27. data/app/lib/actions/katello/product/content_create.rb +3 -3
  28. data/app/lib/actions/katello/product/destroy.rb +4 -25
  29. data/app/lib/actions/katello/repository/content_update.rb +41 -0
  30. data/app/lib/actions/katello/repository/destroy.rb +1 -5
  31. data/app/lib/actions/katello/repository/export.rb +1 -1
  32. data/app/lib/actions/katello/repository/multi_clone_contents.rb +15 -13
  33. data/app/lib/actions/katello/repository/sync.rb +25 -35
  34. data/app/lib/actions/katello/repository/update.rb +19 -30
  35. data/app/lib/actions/katello/repository/update_cv_repo_cert_guard.rb +17 -0
  36. data/app/lib/actions/pulp/orchestration/repository/smart_proxy_sync.rb +1 -0
  37. data/app/lib/actions/pulp/orchestration/repository/sync.rb +1 -2
  38. data/app/lib/actions/pulp/repository/sync.rb +1 -2
  39. data/app/lib/actions/pulp3/abstract_async_task.rb +0 -1
  40. data/app/lib/actions/pulp3/capsule_content/sync.rb +1 -3
  41. data/app/lib/actions/pulp3/content_view/delete_repository_references.rb +1 -1
  42. data/app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb +2 -1
  43. data/app/lib/actions/pulp3/orchestration/repository/sync.rb +1 -3
  44. data/app/lib/actions/pulp3/repository/copy_content.rb +1 -0
  45. data/app/lib/actions/pulp3/repository/delete.rb +1 -1
  46. data/app/lib/actions/pulp3/repository/multi_copy_content.rb +1 -1
  47. data/app/lib/actions/pulp3/repository/save_version.rb +16 -20
  48. data/app/lib/actions/pulp3/repository/sync.rb +1 -1
  49. data/app/lib/actions/pulp3/repository/update_cv_repository_cert_guard.rb +2 -6
  50. data/app/lib/actions/pulp3/repository/upload_file.rb +1 -1
  51. data/app/lib/katello/resources/candlepin/product.rb +11 -0
  52. data/app/lib/katello/resources/cdn.rb +2 -3
  53. data/app/lib/katello/util/cdn_var_substitutor.rb +7 -9
  54. data/app/lib/katello/validators/hostgroup_kickstart_repository_validator.rb +11 -11
  55. data/app/models/katello/activation_key.rb +1 -1
  56. data/app/models/katello/concerns/content_facet_host_extensions.rb +7 -0
  57. data/app/models/katello/concerns/host_managed_extensions.rb +39 -0
  58. data/app/models/katello/concerns/hostgroup_extensions.rb +46 -24
  59. data/app/models/katello/concerns/smart_proxy_extensions.rb +5 -19
  60. data/app/models/katello/concerns/widget_extensions.rb +23 -0
  61. data/app/models/katello/content_view.rb +9 -1
  62. data/app/models/katello/content_view_package_filter.rb +1 -1
  63. data/app/models/katello/content_view_version.rb +7 -0
  64. data/app/models/katello/erratum.rb +13 -0
  65. data/app/models/katello/erratum_cve.rb +8 -0
  66. data/app/models/katello/glue/pulp/repo.rb +1 -1
  67. data/app/models/katello/host/content_facet.rb +18 -1
  68. data/app/models/katello/host_collection.rb +6 -0
  69. data/app/models/katello/hostgroup/content_facet.rb +18 -0
  70. data/app/models/katello/installed_package.rb +8 -0
  71. data/app/models/katello/kt_environment.rb +9 -1
  72. data/app/models/katello/model.rb +16 -0
  73. data/app/models/katello/pool.rb +17 -0
  74. data/app/models/katello/product.rb +6 -0
  75. data/app/models/katello/purpose_addons_status.rb +1 -0
  76. data/app/models/katello/purpose_role_status.rb +1 -0
  77. data/app/models/katello/purpose_sla_status.rb +1 -0
  78. data/app/models/katello/purpose_usage_status.rb +1 -0
  79. data/app/models/katello/repository.rb +3 -6
  80. data/app/models/katello/root_repository.rb +24 -16
  81. data/app/models/katello/subscription_status.rb +1 -1
  82. data/app/models/katello/trace_status.rb +1 -1
  83. data/app/models/setting/content.rb +6 -2
  84. data/app/services/cert/certs.rb +2 -10
  85. data/app/services/katello/event_daemon.rb +7 -8
  86. data/app/services/katello/host_status_manager.rb +13 -0
  87. data/app/services/katello/pulp3/migration.rb +1 -1
  88. data/app/services/katello/pulp3/repository/yum.rb +6 -72
  89. data/app/services/katello/pulp3/repository.rb +11 -10
  90. data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +1 -1
  91. data/app/services/katello/pulp3/task.rb +3 -3
  92. data/app/services/katello/pulp3/task_group.rb +0 -6
  93. data/app/services/katello/smart_proxy_helper.rb +16 -13
  94. data/app/views/foreman/smart_proxies/_content_sync.html.erb +1 -1
  95. data/app/views/katello/api/v2/repositories/base.json.rabl +1 -1
  96. data/config/routes/api/rhsm.rb +0 -1
  97. data/config/routes/api/v2.rb +8 -2
  98. data/config/routes/overrides.rb +0 -4
  99. data/db/migrate/20141222151001_add_host_content_view_environment.rb +1 -1
  100. data/db/migrate/20180904122343_create_hostgroup_content_facet.katello.rb +16 -0
  101. data/db/migrate/20200514092553_move_katello_fields_from_hostgroups.katello.rb +53 -0
  102. data/db/migrate/20200610112009_remove_audits_of_root_repo_with_content_id.rb +9 -0
  103. data/db/migrate/20200701150946_add_auto_enabled_to_root_repository.rb +5 -0
  104. data/db/seeds.d/75-job_templates.rb +2 -2
  105. data/engines/bastion/app/assets/javascripts/bastion/components/nutupane.factory.js +3 -1
  106. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +5 -2
  107. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +4 -2
  108. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-add-subscriptions.html +1 -1
  109. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-associations-content-hosts.html +2 -2
  110. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-details.html +1 -1
  111. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-errata-modal.controller.js +4 -1
  112. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-packages-modal.controller.js +4 -1
  113. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-subscriptions-modal.controller.js +1 -0
  114. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-traces-modal.controller.js +4 -3
  115. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-environment-modal.html +7 -1
  116. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-errata-modal.html +1 -0
  117. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-packages-modal.html +1 -0
  118. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +4 -2
  119. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.routes.js +1 -1
  120. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details-info.controller.js +7 -1
  121. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +4 -2
  122. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-add-subscriptions.html +1 -1
  123. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +1 -0
  124. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +14 -6
  125. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions-list.html +1 -1
  126. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +6 -6
  127. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-details.controller.js +5 -2
  128. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-info.html +1 -1
  129. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js +1 -2
  130. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-traces-resolve.factory.js +18 -0
  131. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +45 -4
  132. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +1 -1
  133. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +1 -1
  134. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +1 -1
  135. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +1 -1
  136. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +1 -1
  137. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +1 -1
  138. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +1 -1
  139. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +1 -1
  140. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +1 -1
  141. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +1 -1
  142. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/product-bulk-action.factory.js +0 -1
  143. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +0 -6
  144. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +1 -7
  145. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +11 -1
  146. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +1 -1
  147. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +16 -4
  148. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository.factory.js +0 -1
  149. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +0 -15
  150. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products.html +0 -6
  151. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/content-access-mode-banner.html +1 -1
  152. data/lib/katello/engine.rb +6 -5
  153. data/lib/katello/permission_creator.rb +3 -3
  154. data/lib/katello/permissions/host_permissions.rb +0 -1
  155. data/lib/katello/plugin.rb +20 -16
  156. data/lib/katello/tasks/pulp3_post_migration_check.rake +1 -2
  157. data/lib/katello/tasks/reimport.rake +1 -1
  158. data/lib/katello/tasks/reports.rake +0 -12
  159. data/lib/katello/tasks/test.rake +15 -0
  160. data/lib/katello/version.rb +1 -1
  161. data/locale/action_names.rb +48 -48
  162. data/locale/bn/katello.po +137 -14
  163. data/locale/cs/katello.po +137 -14
  164. data/locale/de/katello.po +138 -15
  165. data/locale/en/katello.po +137 -14
  166. data/locale/es/katello.po +138 -15
  167. data/locale/fr/katello.po +138 -15
  168. data/locale/gu/katello.po +137 -14
  169. data/locale/hi/katello.po +137 -14
  170. data/locale/it/katello.po +138 -15
  171. data/locale/ja/katello.po +138 -15
  172. data/locale/katello.pot +969 -769
  173. data/locale/kn/katello.po +137 -14
  174. data/locale/ko/katello.po +138 -15
  175. data/locale/mr/katello.po +137 -14
  176. data/locale/or/katello.po +137 -14
  177. data/locale/pa/katello.po +137 -14
  178. data/locale/pt/katello.po +137 -14
  179. data/locale/pt_BR/katello.po +138 -15
  180. data/locale/ru/katello.po +138 -15
  181. data/locale/ta/katello.po +137 -14
  182. data/locale/te/katello.po +137 -14
  183. data/locale/zh_CN/katello.po +138 -15
  184. data/locale/zh_TW/katello.po +138 -15
  185. data/package.json +8 -25
  186. data/webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js +3 -0
  187. data/webpack/components/ActionableDetail.js +63 -0
  188. data/webpack/components/Content/ContentTable.js +2 -2
  189. data/webpack/components/Content/Details/ContentDetailRepositoryTableSchema.js +1 -1
  190. data/webpack/components/Content/Details/ContentDetails.js +1 -1
  191. data/webpack/components/Content/__tests__/ContentTable.test.js +2 -2
  192. data/webpack/components/Content/__tests__/__snapshots__/ContentPage.test.js.snap +1 -1
  193. data/webpack/components/EditableSwitch.js +30 -0
  194. data/webpack/components/EditableTextInput/EditableTextInput.js +120 -0
  195. data/webpack/components/EditableTextInput/__tests__/editableTextInput.test.js +52 -0
  196. data/webpack/components/EditableTextInput/editableTextInput.scss +14 -0
  197. data/webpack/components/EditableTextInput/index.js +3 -0
  198. data/webpack/{scenes/ContentViews/components → components}/Loading.js +8 -5
  199. data/webpack/{move_to_pf → components}/LoadingState/LoadingState.js +0 -0
  200. data/webpack/{move_to_pf → components}/LoadingState/LoadingState.scss +0 -0
  201. data/webpack/{move_to_pf → components}/LoadingState/LoadingState.test.js +0 -0
  202. data/webpack/{move_to_pf → components}/LoadingState/__snapshots__/LoadingState.test.js.snap +0 -0
  203. data/webpack/{move_to_pf → components}/LoadingState/index.js +0 -0
  204. data/webpack/components/MultiSelect/index.js +1 -1
  205. data/webpack/{move_to_pf → components}/OptionTooltip/OptionTooltip.scss +0 -0
  206. data/webpack/{move_to_pf → components}/OptionTooltip/__tests__/OptionTooltip.test.js +0 -0
  207. data/webpack/{move_to_pf → components}/OptionTooltip/__tests__/__snapshots__/OptionTooltip.test.js.snap +0 -0
  208. data/webpack/{move_to_pf → components}/OptionTooltip/index.js +0 -0
  209. data/webpack/components/Search/Search.js +124 -0
  210. data/webpack/components/Search/Search.test.js +2 -1
  211. data/webpack/components/Search/__snapshots__/Search.test.js.snap +2 -0
  212. data/webpack/components/Search/__tests__/search.test.js +124 -0
  213. data/webpack/components/Search/index.js +11 -87
  214. data/webpack/{move_to_pf → components}/Select/Select.js +0 -0
  215. data/webpack/components/SelectOrg/SetOrganization.js +2 -2
  216. data/webpack/components/TabWrapper/TabWrapper.js +26 -0
  217. data/webpack/components/TabWrapper/index.js +3 -0
  218. data/webpack/components/TabbedView/TabbedView.js +38 -0
  219. data/webpack/components/TabbedView/TabbedView.scss +3 -0
  220. data/webpack/components/TabbedView/index.js +3 -0
  221. data/webpack/components/Table/EmptyStateMessage.js +61 -0
  222. data/webpack/{scenes/ContentViews/Table/TableWrapper.js → components/Table/MainTable.js} +23 -12
  223. data/webpack/components/Table/TableWrapper.js +94 -0
  224. data/webpack/{move_to_pf → components}/TooltipButton/TooltipButton.js +0 -0
  225. data/webpack/{move_to_pf → components}/TooltipButton/TooltipButton.scss +0 -0
  226. data/webpack/{move_to_pf → components}/TooltipButton/TooltipButton.test.js +0 -0
  227. data/webpack/{move_to_pf → components}/TooltipButton/__snapshots__/TooltipButton.test.js.snap +0 -0
  228. data/webpack/{move_to_pf → components}/TooltipButton/index.js +0 -0
  229. data/webpack/components/TypeAhead/TypeAhead.js +109 -0
  230. data/webpack/{move_to_pf → components}/TypeAhead/TypeAhead.scss +0 -0
  231. data/webpack/components/TypeAhead/helpers/commonPropTypes.js +35 -0
  232. data/webpack/components/TypeAhead/helpers/helpers.js +32 -0
  233. data/webpack/components/TypeAhead/index.js +3 -0
  234. data/webpack/{move_to_pf/TypeAhead → components/TypeAhead/pf3Search}/TypeAheadInput.js +3 -6
  235. data/webpack/{move_to_pf/TypeAhead → components/TypeAhead/pf3Search}/TypeAheadItems.js +3 -7
  236. data/webpack/components/TypeAhead/pf3Search/TypeAheadSearch.js +52 -0
  237. data/webpack/components/TypeAhead/pf4Search/TypeAheadInput.js +44 -0
  238. data/webpack/components/TypeAhead/pf4Search/TypeAheadInput.scss +11 -0
  239. data/webpack/components/TypeAhead/pf4Search/TypeAheadItems.js +57 -0
  240. data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js +66 -0
  241. data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.scss +5 -0
  242. data/webpack/components/extensions/about/__tests__/SystemStatuses.test.js +1 -1
  243. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/CollapseSubscriptionGroupButton.js +0 -0
  244. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/CollapseSubscriptionGroupButton.test.js +0 -0
  245. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/Table.js +0 -0
  246. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/Table.test.js +0 -0
  247. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableBody.js +0 -0
  248. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableBody.test.js +0 -0
  249. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableBodyMessage.js +0 -0
  250. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableBodyMessage.test.js +0 -0
  251. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableFixtures.js +0 -0
  252. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableSelectionCell.js +0 -0
  253. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableSelectionCell.test.js +0 -0
  254. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableSelectionHeaderCell.js +0 -0
  255. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/TableSelectionHeaderCell.test.js +0 -0
  256. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/__snapshots__/CollapseSubscriptionGroupButton.test.js.snap +0 -0
  257. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/__snapshots__/Table.test.js.snap +0 -0
  258. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/__snapshots__/TableBody.test.js.snap +0 -0
  259. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/__snapshots__/TableBodyMessage.test.js.snap +0 -0
  260. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/__snapshots__/TableSelectionCell.test.js.snap +0 -0
  261. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/__snapshots__/TableSelectionHeaderCell.test.js.snap +0 -0
  262. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/components/index.js +0 -0
  263. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/EntitlementsInlineEditFormatter.js +1 -1
  264. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/__tests__/EntitlementsInlineEditFormatter.test.js +0 -0
  265. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/__tests__/__snapshots__/EntitlementsInlineEditFormatter.test.js.snap +0 -0
  266. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/cellFormatter.js +0 -0
  267. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/collapseableAndSelectionCellFormatter.js +0 -0
  268. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/ellipsisCellFormatter.js +0 -0
  269. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/headerFormatter.js +0 -0
  270. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/index.js +0 -0
  271. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/selectionCellFormatter.js +0 -0
  272. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/formatters/selectionHeaderCellFormatter.js +0 -0
  273. data/webpack/{move_to_foreman/components/common/table → components/pf3Table}/index.js +0 -0
  274. data/webpack/{move_to_pf → components}/react-bootstrap-select/index.js +0 -0
  275. data/webpack/containers/Application/config.js +5 -0
  276. data/webpack/containers/Application/overrides.scss +5 -0
  277. data/webpack/global_test_setup.js +3 -1
  278. data/webpack/redux/OrganizationProducts/OrganizationProductsActions.js +1 -1
  279. data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsActions.test.js +2 -2
  280. data/webpack/redux/actions/RedHatRepositories/enabled.js +1 -1
  281. data/webpack/redux/actions/RedHatRepositories/helpers.js +1 -1
  282. data/webpack/redux/actions/RedHatRepositories/repositorySetRepositories.js +1 -1
  283. data/webpack/redux/reducers/index.js +2 -0
  284. data/webpack/scenes/AnsibleCollections/AnsibleCollectionsActions.js +1 -1
  285. data/webpack/scenes/AnsibleCollections/AnsibleCollectionsTableSchema.js +1 -1
  286. data/webpack/scenes/AnsibleCollections/Details/AnsibleCollectionDetailsActions.js +1 -1
  287. data/webpack/scenes/AnsibleCollections/Details/__tests__/AnsibleCollectionDetailsActions.test.js +2 -2
  288. data/webpack/scenes/AnsibleCollections/__tests__/AnsibleCollectionsTable.test.js +1 -1
  289. data/webpack/scenes/ContentViews/ContentViewSelectors.js +1 -2
  290. data/webpack/scenes/ContentViews/ContentViewsActions.js +4 -4
  291. data/webpack/scenes/ContentViews/ContentViewsConstants.js +4 -1
  292. data/webpack/scenes/ContentViews/ContentViewsPage.js +12 -6
  293. data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +44 -0
  294. data/webpack/scenes/ContentViews/Details/ContentViewDetailReducer.js +23 -0
  295. data/webpack/scenes/ContentViews/{details → Details}/ContentViewDetailSelectors.js +3 -0
  296. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +70 -0
  297. data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +116 -0
  298. data/webpack/scenes/ContentViews/{details → Details}/DetailsContainer.js +8 -4
  299. data/webpack/scenes/ContentViews/Details/__tests__/contentViewDetail.test.js +101 -0
  300. data/webpack/scenes/ContentViews/Details/__tests__/contentViewDetails.fixtures.json +106 -0
  301. data/webpack/scenes/ContentViews/Details/contentViewInfo.scss +8 -0
  302. data/webpack/scenes/ContentViews/Details/index.js +7 -0
  303. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +51 -36
  304. data/webpack/scenes/ContentViews/Table/tableDataGenerator.js +47 -44
  305. data/webpack/scenes/ContentViews/__tests__/basicContentViews.fixtures.js +31 -0
  306. data/webpack/scenes/ContentViews/__tests__/contentViewList.fixtures.json +2 -1
  307. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +173 -23
  308. data/webpack/scenes/ContentViews/components/ContentViewIcon.js +26 -0
  309. data/webpack/scenes/ContentViews/components/{contentViewName.scss → contentViewIcon.scss} +0 -0
  310. data/webpack/scenes/ModuleStreams/Details/ModuleStreamDetailsActions.js +1 -1
  311. data/webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js +1 -1
  312. data/webpack/scenes/ModuleStreams/Details/__tests__/ModuleStreamDetailsActions.test.js +2 -2
  313. data/webpack/scenes/ModuleStreams/ModuleStreamsActions.js +1 -1
  314. data/webpack/scenes/ModuleStreams/ModuleStreamsTableSchema.js +1 -1
  315. data/webpack/scenes/ModuleStreams/__tests__/ModuleStreamsTable.test.js +1 -1
  316. data/webpack/scenes/Organizations/OrganizationSelectors.js +14 -0
  317. data/webpack/scenes/Products/ProductActions.js +1 -1
  318. data/webpack/scenes/RedHatRepositories/RedHatRepositoriesPage.js +1 -1
  319. data/webpack/scenes/Settings/SettingsConstants.js +3 -0
  320. data/webpack/scenes/Settings/SettingsReducer.js +33 -0
  321. data/webpack/scenes/Settings/SettingsSelectors.js +4 -0
  322. data/webpack/scenes/Settings/index.js +2 -1
  323. data/webpack/scenes/Subscriptions/Details/SubscriptionDetailActions.js +1 -1
  324. data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.js +1 -1
  325. data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +59 -73
  326. data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.scss +15 -0
  327. data/webpack/scenes/Subscriptions/Manifest/ManifestActions.js +43 -1
  328. data/webpack/scenes/Subscriptions/Manifest/ManifestConstants.js +8 -0
  329. data/webpack/scenes/Subscriptions/Manifest/ManifestHistoryTableSchema.js +1 -1
  330. data/webpack/scenes/Subscriptions/Manifest/SimpleContentAccess.js +78 -0
  331. data/webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js +2 -0
  332. data/webpack/scenes/Subscriptions/Manifest/__tests__/ManifestActions.test.js +56 -1
  333. data/webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js +114 -0
  334. data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +6 -6
  335. data/webpack/scenes/Subscriptions/Manifest/__tests__/manifest.fixtures.js +36 -0
  336. data/webpack/scenes/Subscriptions/Manifest/index.js +3 -1
  337. data/webpack/scenes/Subscriptions/SubscriptionActions.js +1 -1
  338. data/webpack/scenes/Subscriptions/SubscriptionConstants.js +4 -0
  339. data/webpack/scenes/Subscriptions/SubscriptionHelpers.js +0 -3
  340. data/webpack/scenes/Subscriptions/SubscriptionReducer.js +38 -11
  341. data/webpack/scenes/Subscriptions/SubscriptionsPage.js +30 -18
  342. data/webpack/scenes/Subscriptions/SubscriptionsSelectors.js +0 -3
  343. data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js +1 -1
  344. data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js +2 -2
  345. data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsTableSchema.js +1 -1
  346. data/webpack/scenes/Subscriptions/__tests__/SubscriptionHelpers.test.js +0 -11
  347. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsActions.test.js.snap +2 -2
  348. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +4 -4
  349. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsReducer.test.js.snap +26 -1
  350. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionTypeFormatter.js +2 -2
  351. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTable.js +27 -21
  352. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js +6 -2
  353. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js +2 -2
  354. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionTypeFormatter.test.js.snap +3 -3
  355. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Table.js +1 -1
  356. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +28 -3
  357. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap +5 -10
  358. data/webpack/scenes/Subscriptions/index.js +6 -2
  359. data/webpack/test-utils/nockWrapper.js +39 -5
  360. data/webpack/test-utils/react-testing-lib-wrapper.js +35 -9
  361. data/webpack/{move_to_foreman/common → utils}/helpers.js +12 -8
  362. data/webpack/utils/useEventListener.js +37 -0
  363. metadata +143 -83
  364. data/app/lib/actions/katello/repository/verify_checksum.rb +0 -28
  365. data/app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb +0 -22
  366. data/app/lib/actions/pulp3/repository/presenters/repair_presenter.rb +0 -85
  367. data/app/lib/actions/pulp3/repository/repair.rb +0 -29
  368. data/app/services/katello/host_trace_manager.rb +0 -38
  369. data/vendor/assets/stylesheets/katello/jquery.loadmask.css.scss +0 -40
  370. data/vendor/assets/stylesheets/katello/ui.spinner.css.scss +0 -3
  371. data/webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalActions.js +0 -2
  372. data/webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalSelectors.js +0 -2
  373. data/webpack/__mocks__/foremanReact/components/ForemanModal/index.js +0 -4
  374. data/webpack/__mocks__/foremanReact/components/Settings/SettingsActions.js +0 -4
  375. data/webpack/__mocks__/foremanReact/components/Settings/SettingsConstants.js +0 -2
  376. data/webpack/move_to_pf/TypeAhead/TypeAhead.js +0 -138
  377. data/webpack/move_to_pf/TypeAhead/helpers.js +0 -5
  378. data/webpack/scenes/ContentViews/components/ContentViewName.js +0 -33
  379. data/webpack/scenes/ContentViews/components/EmptyStateMessage.js +0 -43
  380. data/webpack/scenes/ContentViews/details/ContentViewDetailActions.js +0 -12
  381. data/webpack/scenes/ContentViews/expansions/RepositoriesExpansion.js +0 -12
@@ -1,6 +1,6 @@
1
- import { translate as __ } from 'foremanReact/common/I18n';
2
1
  import { addToast } from 'foremanReact/redux/actions/toasts';
3
- import { SUBSCRIPTIONS_QUANTITIES_FAILURE } from '../../scenes/Subscriptions/SubscriptionConstants';
2
+ import { translate as __ } from 'foremanReact/common/I18n';
3
+ import { SUBSCRIPTIONS_QUANTITIES_FAILURE } from '../scenes/Subscriptions/SubscriptionConstants';
4
4
 
5
5
 
6
6
  const getSubscriptionsErrorMessage = (message) => {
@@ -28,9 +28,9 @@ export const getResponseErrorMsgs = ({ data, actionType } = {}) => {
28
28
  const customMessage = getCustomMessage(actionType, data.displayMessage);
29
29
  const messages =
30
30
  customMessage ||
31
- data.errors ||
32
31
  data.displayMessage ||
33
32
  data.message ||
33
+ data.errors ||
34
34
  data.error;
35
35
  return Array.isArray(messages) ? messages : [messages];
36
36
  }
@@ -81,12 +81,16 @@ export const sendErrorNotifications = messages => (dispatch) => {
81
81
  export const apiError = (actionType, result, additionalData = {}) => (dispatch) => {
82
82
  const messages = getResponseErrorMsgs(result.response);
83
83
 
84
- const dataExtenstion = {
85
- messages,
86
- ...additionalData,
87
- };
84
+ let dataExtension;
85
+ // If no actionType passed in, only create notification and skip dispatching action
86
+ if (actionType) {
87
+ dataExtension = {
88
+ messages,
89
+ ...additionalData,
90
+ };
88
91
 
89
- apiResponse(actionType, result, dataExtenstion)(dispatch);
92
+ apiResponse(actionType, result, dataExtension)(dispatch);
93
+ }
90
94
  sendErrorNotifications(messages)(dispatch);
91
95
 
92
96
  return resultWithSuccessFlag(result);
@@ -0,0 +1,37 @@
1
+ import { useRef, useEffect } from 'react';
2
+
3
+ // Hook to use event listener with appropiate checks
4
+ // Borrowed from https://usehooks.com/useEventListener/
5
+ const useEventListener = (eventName, handler, element = window) => {
6
+ // Create a ref that stores handler
7
+ const savedHandler = useRef();
8
+
9
+ // Update ref.current value if handler changes.
10
+ // This allows our effect below to always get latest handler ...
11
+ // ... without us needing to pass it in effect deps array ...
12
+ // ... and potentially cause effect to re-run every render.
13
+ useEffect(() => {
14
+ savedHandler.current = handler;
15
+ }, [handler]);
16
+
17
+ useEffect(
18
+ () => {
19
+ // Make sure element supports addEventListener
20
+ const isSupported = element && element.addEventListener;
21
+ if (!isSupported) return;
22
+
23
+ // Create event listener that calls handler function stored in ref
24
+ const eventListener = event => savedHandler.current(event);
25
+
26
+ // Add event listener
27
+ element.addEventListener(eventName, eventListener);
28
+
29
+ // Remove event listener on cleanup
30
+ /* eslint-disable-next-line consistent-return */
31
+ return () => element.removeEventListener(eventName, eventListener);
32
+ },
33
+ [eventName, element], // Re-run if eventName or element changes
34
+ );
35
+ };
36
+
37
+ export default useEventListener;
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.16.2
4
+ version: 3.17.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-02 00:00:00.000000000 Z
11
+ date: 2020-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -87,9 +87,6 @@ dependencies:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.14.1
90
- - - "<="
91
- - !ruby/object:Gem::Version
92
- version: 2.0.2
93
90
  type: :runtime
94
91
  prerelease: false
95
92
  version_requirements: !ruby/object:Gem::Requirement
@@ -97,9 +94,20 @@ dependencies:
97
94
  - - ">="
98
95
  - !ruby/object:Gem::Version
99
96
  version: 0.14.1
100
- - - "<="
97
+ - !ruby/object:Gem::Dependency
98
+ name: foreman_remote_execution
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
101
102
  - !ruby/object:Gem::Version
102
- version: 2.0.2
103
+ version: '3.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
103
111
  - !ruby/object:Gem::Dependency
104
112
  name: dynflow
105
113
  requirement: !ruby/object:Gem::Requirement
@@ -184,6 +192,20 @@ dependencies:
184
192
  - - "<"
185
193
  - !ruby/object:Gem::Version
186
194
  version: '1.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: pg
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
187
209
  - !ruby/object:Gem::Dependency
188
210
  name: runcible
189
211
  requirement: !ruby/object:Gem::Requirement
@@ -768,6 +790,7 @@ files:
768
790
  - app/lib/actions/candlepin/product/content_destroy.rb
769
791
  - app/lib/actions/candlepin/product/content_remove.rb
770
792
  - app/lib/actions/candlepin/product/content_update.rb
793
+ - app/lib/actions/candlepin/product/content_update_enablement.rb
771
794
  - app/lib/actions/candlepin/product/create.rb
772
795
  - app/lib/actions/candlepin/product/create_unlimited_subscription.rb
773
796
  - app/lib/actions/candlepin/product/delete_pools.rb
@@ -851,6 +874,9 @@ files:
851
874
  - app/lib/actions/katello/organization/manifest_delete.rb
852
875
  - app/lib/actions/katello/organization/manifest_import.rb
853
876
  - app/lib/actions/katello/organization/manifest_refresh.rb
877
+ - app/lib/actions/katello/organization/simple_content_access/disable.rb
878
+ - app/lib/actions/katello/organization/simple_content_access/enable.rb
879
+ - app/lib/actions/katello/organization/simple_content_access/toggle.rb
854
880
  - app/lib/actions/katello/orphan_cleanup/remove_orphans.rb
855
881
  - app/lib/actions/katello/product/content_create.rb
856
882
  - app/lib/actions/katello/product/content_destroy.rb
@@ -870,6 +896,7 @@ files:
870
896
  - app/lib/actions/katello/repository/clone_contents.rb
871
897
  - app/lib/actions/katello/repository/clone_to_environment.rb
872
898
  - app/lib/actions/katello/repository/clone_to_version.rb
899
+ - app/lib/actions/katello/repository/content_update.rb
873
900
  - app/lib/actions/katello/repository/correct_checksum.rb
874
901
  - app/lib/actions/katello/repository/create.rb
875
902
  - app/lib/actions/katello/repository/create_root.rb
@@ -898,13 +925,13 @@ files:
898
925
  - app/lib/actions/katello/repository/sync_hook.rb
899
926
  - app/lib/actions/katello/repository/update.rb
900
927
  - app/lib/actions/katello/repository/update_content_urls.rb
928
+ - app/lib/actions/katello/repository/update_cv_repo_cert_guard.rb
901
929
  - app/lib/actions/katello/repository/update_http_proxy_details.rb
902
930
  - app/lib/actions/katello/repository/update_metadata_sync.rb
903
931
  - app/lib/actions/katello/repository/update_redhat_repository.rb
904
932
  - app/lib/actions/katello/repository/upload_errata.rb
905
933
  - app/lib/actions/katello/repository/upload_files.rb
906
934
  - app/lib/actions/katello/repository/upload_package_group.rb
907
- - app/lib/actions/katello/repository/verify_checksum.rb
908
935
  - app/lib/actions/katello/repository_set/disable_repository.rb
909
936
  - app/lib/actions/katello/repository_set/enable_repository.rb
910
937
  - app/lib/actions/katello/repository_set/scan_cdn.rb
@@ -1007,7 +1034,6 @@ files:
1007
1034
  - app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb
1008
1035
  - app/lib/actions/pulp3/orchestration/repository/remove_units.rb
1009
1036
  - app/lib/actions/pulp3/orchestration/repository/sync.rb
1010
- - app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb
1011
1037
  - app/lib/actions/pulp3/orchestration/repository/update.rb
1012
1038
  - app/lib/actions/pulp3/orchestration/repository/upload_content.rb
1013
1039
  - app/lib/actions/pulp3/orphan_cleanup/delete_orphan_distributions.rb
@@ -1031,10 +1057,8 @@ files:
1031
1057
  - app/lib/actions/pulp3/repository/multi_copy_units.rb
1032
1058
  - app/lib/actions/pulp3/repository/presenters/abstract_sync_presenter.rb
1033
1059
  - app/lib/actions/pulp3/repository/presenters/content_unit_presenter.rb
1034
- - app/lib/actions/pulp3/repository/presenters/repair_presenter.rb
1035
1060
  - app/lib/actions/pulp3/repository/refresh_distribution.rb
1036
1061
  - app/lib/actions/pulp3/repository/remove_units.rb
1037
- - app/lib/actions/pulp3/repository/repair.rb
1038
1062
  - app/lib/actions/pulp3/repository/save_artifact.rb
1039
1063
  - app/lib/actions/pulp3/repository/save_distribution_references.rb
1040
1064
  - app/lib/actions/pulp3/repository/save_publication.rb
@@ -1174,6 +1198,7 @@ files:
1174
1198
  - app/models/katello/concerns/smart_proxy_extensions.rb
1175
1199
  - app/models/katello/concerns/subscription_facet_host_extensions.rb
1176
1200
  - app/models/katello/concerns/user_extensions.rb
1201
+ - app/models/katello/concerns/widget_extensions.rb
1177
1202
  - app/models/katello/content.rb
1178
1203
  - app/models/katello/content_facet_applicable_module_stream.rb
1179
1204
  - app/models/katello/content_facet_applicable_rpm.rb
@@ -1249,6 +1274,7 @@ files:
1249
1274
  - app/models/katello/host_installed_package.rb
1250
1275
  - app/models/katello/host_queue_element.rb
1251
1276
  - app/models/katello/host_tracer.rb
1277
+ - app/models/katello/hostgroup/content_facet.rb
1252
1278
  - app/models/katello/installed_deb.rb
1253
1279
  - app/models/katello/installed_package.rb
1254
1280
  - app/models/katello/installed_product.rb
@@ -1349,7 +1375,7 @@ files:
1349
1375
  - app/services/katello/event_daemon.rb
1350
1376
  - app/services/katello/event_monitor/poller_thread.rb
1351
1377
  - app/services/katello/event_queue.rb
1352
- - app/services/katello/host_trace_manager.rb
1378
+ - app/services/katello/host_status_manager.rb
1353
1379
  - app/services/katello/managed_content_medium_provider.rb
1354
1380
  - app/services/katello/product_content_finder.rb
1355
1381
  - app/services/katello/product_content_importer.rb
@@ -1957,6 +1983,7 @@ files:
1957
1983
  - db/migrate/20180821144248_add_cron_logic_to_sync_plans.rb
1958
1984
  - db/migrate/20180823081502_remove_foreman_docker_support.rb
1959
1985
  - db/migrate/20180828161400_remove_join_table_for_role_and_usage.rb
1986
+ - db/migrate/20180904122343_create_hostgroup_content_facet.katello.rb
1960
1987
  - db/migrate/20180917173645_add_source_repo_checksum_type_to_katello_repositories.rb
1961
1988
  - db/migrate/20180920123913_drop_repo_module_streams_timestamp_not_null.rb
1962
1989
  - db/migrate/20180920171008_change_repository_password_to_text.rb
@@ -2005,7 +2032,10 @@ files:
2005
2032
  - db/migrate/20200501155054_installed_package_unique_nvrea.rb
2006
2033
  - db/migrate/20200506163345_add_applicability_indicesto_katello_host_available_module_streams.rb
2007
2034
  - db/migrate/20200511204005_create_katello_host_queue_elements.rb
2035
+ - db/migrate/20200514092553_move_katello_fields_from_hostgroups.katello.rb
2008
2036
  - db/migrate/20200526200422_encrypt_root_repository_upstream_password.rb
2037
+ - db/migrate/20200610112009_remove_audits_of_root_repo_with_content_id.rb
2038
+ - db/migrate/20200701150946_add_auto_enabled_to_root_repository.rb
2009
2039
  - db/migrate/20200709021250_add_original_modules_to_content_view_module_stream_filter.rb
2010
2040
  - db/migrate/20200721142707_remove_duplicate_katello_pools_index.rb
2011
2041
  - db/seeds.d/101-locations.rb
@@ -4132,6 +4162,7 @@ files:
4132
4162
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-module-streams.factory.js
4133
4163
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-package.factory.js
4134
4164
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-subscription.factory.js
4165
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-traces-resolve.factory.js
4135
4166
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-traces.factory.js
4136
4167
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host.factory.js
4137
4168
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/hosts.module.js
@@ -4469,20 +4500,14 @@ files:
4469
4500
  - vendor/assets/javascripts/katello/jquery.trunk8.js
4470
4501
  - vendor/assets/stylesheets/katello/facebox.css
4471
4502
  - vendor/assets/stylesheets/katello/jquery-ui-1.8.11.custom.css.scss
4472
- - vendor/assets/stylesheets/katello/jquery.loadmask.css.scss
4473
4503
  - vendor/assets/stylesheets/katello/jquery.multiselect.css
4474
4504
  - vendor/assets/stylesheets/katello/jquery.multiselect.filter.css
4475
4505
  - vendor/assets/stylesheets/katello/jquery.treeTable.css.scss
4476
- - vendor/assets/stylesheets/katello/ui.spinner.css.scss
4477
4506
  - webpack/__mocks__/foremanJS/foreman_toast_notifications.js
4507
+ - webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js
4478
4508
  - webpack/__mocks__/foremanReact/common/urlHelpers.js
4479
4509
  - webpack/__mocks__/foremanReact/components/BreadcrumbBar/index.js
4480
- - webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalActions.js
4481
- - webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalSelectors.js
4482
- - webpack/__mocks__/foremanReact/components/ForemanModal/index.js
4483
4510
  - webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js
4484
- - webpack/__mocks__/foremanReact/components/Settings/SettingsActions.js
4485
- - webpack/__mocks__/foremanReact/components/Settings/SettingsConstants.js
4486
4511
  - webpack/__mocks__/foremanReact/components/common/EmptyState.js
4487
4512
  - webpack/__mocks__/foremanReact/components/common/Fill/GlobalFill.js
4488
4513
  - webpack/__mocks__/foremanReact/redux.js
@@ -4490,6 +4515,7 @@ files:
4490
4515
  - webpack/__mocks__/react-intl/index.js
4491
4516
  - webpack/__mocks__/react-intl/locale-data/en.js
4492
4517
  - webpack/common_index.js
4518
+ - webpack/components/ActionableDetail.js
4493
4519
  - webpack/components/Content/ContentPage.js
4494
4520
  - webpack/components/Content/ContentTable.js
4495
4521
  - webpack/components/Content/Details/ContentDetailInfo.js
@@ -4506,15 +4532,59 @@ files:
4506
4532
  - webpack/components/Content/__tests__/ContentTable.test.js
4507
4533
  - webpack/components/Content/__tests__/__snapshots__/ContentPage.test.js.snap
4508
4534
  - webpack/components/Content/__tests__/__snapshots__/ContentTable.test.js.snap
4535
+ - webpack/components/EditableSwitch.js
4536
+ - webpack/components/EditableTextInput/EditableTextInput.js
4537
+ - webpack/components/EditableTextInput/__tests__/editableTextInput.test.js
4538
+ - webpack/components/EditableTextInput/editableTextInput.scss
4539
+ - webpack/components/EditableTextInput/index.js
4540
+ - webpack/components/Loading.js
4541
+ - webpack/components/LoadingState/LoadingState.js
4542
+ - webpack/components/LoadingState/LoadingState.scss
4543
+ - webpack/components/LoadingState/LoadingState.test.js
4544
+ - webpack/components/LoadingState/__snapshots__/LoadingState.test.js.snap
4545
+ - webpack/components/LoadingState/index.js
4509
4546
  - webpack/components/MultiSelect/index.js
4547
+ - webpack/components/OptionTooltip/OptionTooltip.scss
4548
+ - webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
4549
+ - webpack/components/OptionTooltip/__tests__/__snapshots__/OptionTooltip.test.js.snap
4550
+ - webpack/components/OptionTooltip/index.js
4551
+ - webpack/components/Search/Search.js
4510
4552
  - webpack/components/Search/Search.test.js
4511
4553
  - webpack/components/Search/__snapshots__/Search.test.js.snap
4554
+ - webpack/components/Search/__tests__/search.test.js
4512
4555
  - webpack/components/Search/helpers.js
4513
4556
  - webpack/components/Search/index.js
4557
+ - webpack/components/Select/Select.js
4514
4558
  - webpack/components/SelectOrg/SelectOrg.scss
4515
4559
  - webpack/components/SelectOrg/SelectOrgAction.js
4516
4560
  - webpack/components/SelectOrg/SelectOrgReducer.js
4517
4561
  - webpack/components/SelectOrg/SetOrganization.js
4562
+ - webpack/components/TabWrapper/TabWrapper.js
4563
+ - webpack/components/TabWrapper/index.js
4564
+ - webpack/components/TabbedView/TabbedView.js
4565
+ - webpack/components/TabbedView/TabbedView.scss
4566
+ - webpack/components/TabbedView/index.js
4567
+ - webpack/components/Table/EmptyStateMessage.js
4568
+ - webpack/components/Table/MainTable.js
4569
+ - webpack/components/Table/TableWrapper.js
4570
+ - webpack/components/TooltipButton/TooltipButton.js
4571
+ - webpack/components/TooltipButton/TooltipButton.scss
4572
+ - webpack/components/TooltipButton/TooltipButton.test.js
4573
+ - webpack/components/TooltipButton/__snapshots__/TooltipButton.test.js.snap
4574
+ - webpack/components/TooltipButton/index.js
4575
+ - webpack/components/TypeAhead/TypeAhead.js
4576
+ - webpack/components/TypeAhead/TypeAhead.scss
4577
+ - webpack/components/TypeAhead/helpers/commonPropTypes.js
4578
+ - webpack/components/TypeAhead/helpers/helpers.js
4579
+ - webpack/components/TypeAhead/index.js
4580
+ - webpack/components/TypeAhead/pf3Search/TypeAheadInput.js
4581
+ - webpack/components/TypeAhead/pf3Search/TypeAheadItems.js
4582
+ - webpack/components/TypeAhead/pf3Search/TypeAheadSearch.js
4583
+ - webpack/components/TypeAhead/pf4Search/TypeAheadInput.js
4584
+ - webpack/components/TypeAhead/pf4Search/TypeAheadInput.scss
4585
+ - webpack/components/TypeAhead/pf4Search/TypeAheadItems.js
4586
+ - webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js
4587
+ - webpack/components/TypeAhead/pf4Search/TypeAheadSearch.scss
4518
4588
  - webpack/components/WithOrganization/__snapshots__/withOrganization.test.js.snap
4519
4589
  - webpack/components/WithOrganization/withOrganization.js
4520
4590
  - webpack/components/WithOrganization/withOrganization.test.js
@@ -4530,6 +4600,38 @@ files:
4530
4600
  - webpack/components/extensions/about/__tests__/__snapshots__/SystemStatusesReducer.test.js.snap
4531
4601
  - webpack/components/extensions/about/index.js
4532
4602
  - webpack/components/extensions/reducers.js
4603
+ - webpack/components/pf3Table/components/CollapseSubscriptionGroupButton.js
4604
+ - webpack/components/pf3Table/components/CollapseSubscriptionGroupButton.test.js
4605
+ - webpack/components/pf3Table/components/Table.js
4606
+ - webpack/components/pf3Table/components/Table.test.js
4607
+ - webpack/components/pf3Table/components/TableBody.js
4608
+ - webpack/components/pf3Table/components/TableBody.test.js
4609
+ - webpack/components/pf3Table/components/TableBodyMessage.js
4610
+ - webpack/components/pf3Table/components/TableBodyMessage.test.js
4611
+ - webpack/components/pf3Table/components/TableFixtures.js
4612
+ - webpack/components/pf3Table/components/TableSelectionCell.js
4613
+ - webpack/components/pf3Table/components/TableSelectionCell.test.js
4614
+ - webpack/components/pf3Table/components/TableSelectionHeaderCell.js
4615
+ - webpack/components/pf3Table/components/TableSelectionHeaderCell.test.js
4616
+ - webpack/components/pf3Table/components/__snapshots__/CollapseSubscriptionGroupButton.test.js.snap
4617
+ - webpack/components/pf3Table/components/__snapshots__/Table.test.js.snap
4618
+ - webpack/components/pf3Table/components/__snapshots__/TableBody.test.js.snap
4619
+ - webpack/components/pf3Table/components/__snapshots__/TableBodyMessage.test.js.snap
4620
+ - webpack/components/pf3Table/components/__snapshots__/TableSelectionCell.test.js.snap
4621
+ - webpack/components/pf3Table/components/__snapshots__/TableSelectionHeaderCell.test.js.snap
4622
+ - webpack/components/pf3Table/components/index.js
4623
+ - webpack/components/pf3Table/formatters/EntitlementsInlineEditFormatter.js
4624
+ - webpack/components/pf3Table/formatters/__tests__/EntitlementsInlineEditFormatter.test.js
4625
+ - webpack/components/pf3Table/formatters/__tests__/__snapshots__/EntitlementsInlineEditFormatter.test.js.snap
4626
+ - webpack/components/pf3Table/formatters/cellFormatter.js
4627
+ - webpack/components/pf3Table/formatters/collapseableAndSelectionCellFormatter.js
4628
+ - webpack/components/pf3Table/formatters/ellipsisCellFormatter.js
4629
+ - webpack/components/pf3Table/formatters/headerFormatter.js
4630
+ - webpack/components/pf3Table/formatters/index.js
4631
+ - webpack/components/pf3Table/formatters/selectionCellFormatter.js
4632
+ - webpack/components/pf3Table/formatters/selectionHeaderCellFormatter.js
4633
+ - webpack/components/pf3Table/index.js
4634
+ - webpack/components/react-bootstrap-select/index.js
4533
4635
  - webpack/containers/Application/Headers.js
4534
4636
  - webpack/containers/Application/Routes.js
4535
4637
  - webpack/containers/Application/config.js
@@ -4540,59 +4642,6 @@ files:
4540
4642
  - webpack/global_test_setup.js
4541
4643
  - webpack/index.js
4542
4644
  - webpack/mockRequest.js
4543
- - webpack/move_to_foreman/common/helpers.js
4544
- - webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.js
4545
- - webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.test.js
4546
- - webpack/move_to_foreman/components/common/table/components/Table.js
4547
- - webpack/move_to_foreman/components/common/table/components/Table.test.js
4548
- - webpack/move_to_foreman/components/common/table/components/TableBody.js
4549
- - webpack/move_to_foreman/components/common/table/components/TableBody.test.js
4550
- - webpack/move_to_foreman/components/common/table/components/TableBodyMessage.js
4551
- - webpack/move_to_foreman/components/common/table/components/TableBodyMessage.test.js
4552
- - webpack/move_to_foreman/components/common/table/components/TableFixtures.js
4553
- - webpack/move_to_foreman/components/common/table/components/TableSelectionCell.js
4554
- - webpack/move_to_foreman/components/common/table/components/TableSelectionCell.test.js
4555
- - webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.js
4556
- - webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.test.js
4557
- - webpack/move_to_foreman/components/common/table/components/__snapshots__/CollapseSubscriptionGroupButton.test.js.snap
4558
- - webpack/move_to_foreman/components/common/table/components/__snapshots__/Table.test.js.snap
4559
- - webpack/move_to_foreman/components/common/table/components/__snapshots__/TableBody.test.js.snap
4560
- - webpack/move_to_foreman/components/common/table/components/__snapshots__/TableBodyMessage.test.js.snap
4561
- - webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionCell.test.js.snap
4562
- - webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionHeaderCell.test.js.snap
4563
- - webpack/move_to_foreman/components/common/table/components/index.js
4564
- - webpack/move_to_foreman/components/common/table/formatters/EntitlementsInlineEditFormatter.js
4565
- - webpack/move_to_foreman/components/common/table/formatters/__tests__/EntitlementsInlineEditFormatter.test.js
4566
- - webpack/move_to_foreman/components/common/table/formatters/__tests__/__snapshots__/EntitlementsInlineEditFormatter.test.js.snap
4567
- - webpack/move_to_foreman/components/common/table/formatters/cellFormatter.js
4568
- - webpack/move_to_foreman/components/common/table/formatters/collapseableAndSelectionCellFormatter.js
4569
- - webpack/move_to_foreman/components/common/table/formatters/ellipsisCellFormatter.js
4570
- - webpack/move_to_foreman/components/common/table/formatters/headerFormatter.js
4571
- - webpack/move_to_foreman/components/common/table/formatters/index.js
4572
- - webpack/move_to_foreman/components/common/table/formatters/selectionCellFormatter.js
4573
- - webpack/move_to_foreman/components/common/table/formatters/selectionHeaderCellFormatter.js
4574
- - webpack/move_to_foreman/components/common/table/index.js
4575
- - webpack/move_to_pf/LoadingState/LoadingState.js
4576
- - webpack/move_to_pf/LoadingState/LoadingState.scss
4577
- - webpack/move_to_pf/LoadingState/LoadingState.test.js
4578
- - webpack/move_to_pf/LoadingState/__snapshots__/LoadingState.test.js.snap
4579
- - webpack/move_to_pf/LoadingState/index.js
4580
- - webpack/move_to_pf/OptionTooltip/OptionTooltip.scss
4581
- - webpack/move_to_pf/OptionTooltip/__tests__/OptionTooltip.test.js
4582
- - webpack/move_to_pf/OptionTooltip/__tests__/__snapshots__/OptionTooltip.test.js.snap
4583
- - webpack/move_to_pf/OptionTooltip/index.js
4584
- - webpack/move_to_pf/Select/Select.js
4585
- - webpack/move_to_pf/TooltipButton/TooltipButton.js
4586
- - webpack/move_to_pf/TooltipButton/TooltipButton.scss
4587
- - webpack/move_to_pf/TooltipButton/TooltipButton.test.js
4588
- - webpack/move_to_pf/TooltipButton/__snapshots__/TooltipButton.test.js.snap
4589
- - webpack/move_to_pf/TooltipButton/index.js
4590
- - webpack/move_to_pf/TypeAhead/TypeAhead.js
4591
- - webpack/move_to_pf/TypeAhead/TypeAhead.scss
4592
- - webpack/move_to_pf/TypeAhead/TypeAheadInput.js
4593
- - webpack/move_to_pf/TypeAhead/TypeAheadItems.js
4594
- - webpack/move_to_pf/TypeAhead/helpers.js
4595
- - webpack/move_to_pf/react-bootstrap-select/index.js
4596
4645
  - webpack/redux/OrganizationProducts/OrganizationProductsActions.js
4597
4646
  - webpack/redux/OrganizationProducts/OrganizationProductsConstants.js
4598
4647
  - webpack/redux/OrganizationProducts/OrganizationProductsReducer.js
@@ -4656,25 +4705,29 @@ files:
4656
4705
  - webpack/scenes/ContentViews/ContentViewsActions.js
4657
4706
  - webpack/scenes/ContentViews/ContentViewsConstants.js
4658
4707
  - webpack/scenes/ContentViews/ContentViewsPage.js
4708
+ - webpack/scenes/ContentViews/Details/ContentViewDetailActions.js
4709
+ - webpack/scenes/ContentViews/Details/ContentViewDetailReducer.js
4710
+ - webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js
4711
+ - webpack/scenes/ContentViews/Details/ContentViewDetails.js
4712
+ - webpack/scenes/ContentViews/Details/ContentViewInfo.js
4713
+ - webpack/scenes/ContentViews/Details/DetailsContainer.js
4714
+ - webpack/scenes/ContentViews/Details/__tests__/contentViewDetail.test.js
4715
+ - webpack/scenes/ContentViews/Details/__tests__/contentViewDetails.fixtures.json
4716
+ - webpack/scenes/ContentViews/Details/contentViewInfo.scss
4717
+ - webpack/scenes/ContentViews/Details/index.js
4659
4718
  - webpack/scenes/ContentViews/Table/ContentViewsTable.js
4660
- - webpack/scenes/ContentViews/Table/TableWrapper.js
4661
4719
  - webpack/scenes/ContentViews/Table/actionResolver.js
4662
4720
  - webpack/scenes/ContentViews/Table/index.js
4663
4721
  - webpack/scenes/ContentViews/Table/tableDataGenerator.js
4722
+ - webpack/scenes/ContentViews/__tests__/basicContentViews.fixtures.js
4664
4723
  - webpack/scenes/ContentViews/__tests__/contentViewList.fixtures.json
4665
4724
  - webpack/scenes/ContentViews/__tests__/contentViewPage.test.js
4666
- - webpack/scenes/ContentViews/components/ContentViewName.js
4667
- - webpack/scenes/ContentViews/components/EmptyStateMessage.js
4725
+ - webpack/scenes/ContentViews/components/ContentViewIcon.js
4668
4726
  - webpack/scenes/ContentViews/components/IconWithCount.js
4669
4727
  - webpack/scenes/ContentViews/components/IconWithCount.scss
4670
- - webpack/scenes/ContentViews/components/Loading.js
4671
- - webpack/scenes/ContentViews/components/contentViewName.scss
4672
- - webpack/scenes/ContentViews/details/ContentViewDetailActions.js
4673
- - webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
4674
- - webpack/scenes/ContentViews/details/DetailsContainer.js
4728
+ - webpack/scenes/ContentViews/components/contentViewIcon.scss
4675
4729
  - webpack/scenes/ContentViews/expansions/DetailsExpansion.js
4676
4730
  - webpack/scenes/ContentViews/expansions/EnvironmentsExpansion.js
4677
- - webpack/scenes/ContentViews/expansions/RepositoriesExpansion.js
4678
4731
  - webpack/scenes/ContentViews/expansions/VersionsExpansion.js
4679
4732
  - webpack/scenes/ContentViews/index.js
4680
4733
  - webpack/scenes/ModuleStreams/Details/ModuleDetailsSchema.js
@@ -4759,6 +4812,9 @@ files:
4759
4812
  - webpack/scenes/RedHatRepositories/helpers.js
4760
4813
  - webpack/scenes/RedHatRepositories/index.js
4761
4814
  - webpack/scenes/RedHatRepositories/index.scss
4815
+ - webpack/scenes/Settings/SettingsConstants.js
4816
+ - webpack/scenes/Settings/SettingsReducer.js
4817
+ - webpack/scenes/Settings/SettingsSelectors.js
4762
4818
  - webpack/scenes/Settings/Tables/TableActions.js
4763
4819
  - webpack/scenes/Settings/Tables/TableConstants.js
4764
4820
  - webpack/scenes/Settings/Tables/TableHelpers.js
@@ -4804,9 +4860,11 @@ files:
4804
4860
  - webpack/scenes/Subscriptions/Manifest/ManifestConstants.js
4805
4861
  - webpack/scenes/Subscriptions/Manifest/ManifestHistoryReducer.js
4806
4862
  - webpack/scenes/Subscriptions/Manifest/ManifestHistoryTableSchema.js
4863
+ - webpack/scenes/Subscriptions/Manifest/SimpleContentAccess.js
4807
4864
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js
4808
4865
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManifestActions.test.js
4809
4866
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManifestHistoryReducer.test.js
4867
+ - webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js
4810
4868
  - webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap
4811
4869
  - webpack/scenes/Subscriptions/Manifest/__tests__/manifest.fixtures.js
4812
4870
  - webpack/scenes/Subscriptions/Manifest/index.js
@@ -4880,6 +4938,8 @@ files:
4880
4938
  - webpack/test-utils/nockWrapper.js
4881
4939
  - webpack/test-utils/react-testing-lib-wrapper.js
4882
4940
  - webpack/test_setup.js
4941
+ - webpack/utils/helpers.js
4942
+ - webpack/utils/useEventListener.js
4883
4943
  homepage: http://www.katello.org
4884
4944
  licenses:
4885
4945
  - GPL-2.0
@@ -4895,9 +4955,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
4895
4955
  version: '0'
4896
4956
  required_rubygems_version: !ruby/object:Gem::Requirement
4897
4957
  requirements:
4898
- - - ">="
4958
+ - - ">"
4899
4959
  - !ruby/object:Gem::Version
4900
- version: '0'
4960
+ version: 1.3.1
4901
4961
  requirements: []
4902
4962
  rubygems_version: 3.0.3
4903
4963
  signing_key:
@@ -1,28 +0,0 @@
1
- module Actions
2
- module Katello
3
- module Repository
4
- class VerifyChecksum < Actions::EntryAction
5
- include Helpers::Presenter
6
- include Actions::Katello::PulpSelector
7
-
8
- def plan(repo)
9
- action_subject(repo)
10
-
11
- if SmartProxy.pulp_master.pulp3_support?(repo)
12
- plan_action(Actions::Pulp3::Repository::Repair, repo.id, SmartProxy.pulp_master)
13
- else
14
- options = {}
15
- options[:validate_contents] = true
16
- plan_action(Actions::Katello::Repository::Sync, repo, nil, options)
17
- end
18
- end
19
-
20
- def presenter
21
- found = all_planned_actions(Katello::Repository::Sync)
22
- found = all_planned_actions(Pulp3::Repository::Repair) if found.empty?
23
- Helpers::Presenter::Delegated.new(self, found)
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,22 +0,0 @@
1
- module Actions
2
- module Pulp3
3
- module Orchestration
4
- module Repository
5
- class TriggerUpdateRepoCertGuard < Pulp3::Abstract
6
- def plan(repository, smart_proxy)
7
- plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id)
8
- end
9
-
10
- def run
11
- repository = ::Katello::Repository.find(input[:repository_id])
12
- ForemanTasks.async_task(::Actions::Pulp3::Repository::UpdateCVRepositoryCertGuard, repository, smart_proxy)
13
- end
14
-
15
- def humanized_name
16
- _("Updating repository authentication configuration")
17
- end
18
- end
19
- end
20
- end
21
- end
22
- end