katello 4.14.1 → 4.15.0.rc2

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

Potentially problematic release.


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

Files changed (459) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/katello/common/chosen.jquery.js +3 -3
  3. data/app/assets/javascripts/katello/common/env_select_scroll.js +3 -3
  4. data/app/assets/javascripts/katello/common/katello.js +8 -7
  5. data/app/assets/javascripts/katello/common/katello_object.js +3 -3
  6. data/app/assets/javascripts/katello/common/menu.js +7 -7
  7. data/app/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js +6 -6
  8. data/app/assets/javascripts/katello/locale/bn/katello.js +259 -28
  9. data/app/assets/javascripts/katello/locale/bn_IN/katello.js +258 -27
  10. data/app/assets/javascripts/katello/locale/ca/katello.js +258 -27
  11. data/app/assets/javascripts/katello/locale/cs/katello.js +258 -27
  12. data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +258 -27
  13. data/app/assets/javascripts/katello/locale/de/katello.js +259 -28
  14. data/app/assets/javascripts/katello/locale/de_AT/katello.js +258 -27
  15. data/app/assets/javascripts/katello/locale/de_DE/katello.js +258 -27
  16. data/app/assets/javascripts/katello/locale/el/katello.js +258 -27
  17. data/app/assets/javascripts/katello/locale/en/katello.js +258 -27
  18. data/app/assets/javascripts/katello/locale/en_GB/katello.js +258 -27
  19. data/app/assets/javascripts/katello/locale/en_US/katello.js +258 -27
  20. data/app/assets/javascripts/katello/locale/es/katello.js +259 -28
  21. data/app/assets/javascripts/katello/locale/et_EE/katello.js +258 -27
  22. data/app/assets/javascripts/katello/locale/fr/katello.js +259 -28
  23. data/app/assets/javascripts/katello/locale/gl/katello.js +258 -27
  24. data/app/assets/javascripts/katello/locale/gu/katello.js +258 -27
  25. data/app/assets/javascripts/katello/locale/he_IL/katello.js +258 -27
  26. data/app/assets/javascripts/katello/locale/hi/katello.js +258 -27
  27. data/app/assets/javascripts/katello/locale/id/katello.js +258 -27
  28. data/app/assets/javascripts/katello/locale/it/katello.js +259 -28
  29. data/app/assets/javascripts/katello/locale/ja/katello.js +259 -28
  30. data/app/assets/javascripts/katello/locale/ka/katello.js +259 -28
  31. data/app/assets/javascripts/katello/locale/kn/katello.js +258 -27
  32. data/app/assets/javascripts/katello/locale/ko/katello.js +259 -28
  33. data/app/assets/javascripts/katello/locale/ml_IN/katello.js +258 -27
  34. data/app/assets/javascripts/katello/locale/mr/katello.js +258 -27
  35. data/app/assets/javascripts/katello/locale/nl_NL/katello.js +258 -27
  36. data/app/assets/javascripts/katello/locale/or/katello.js +258 -27
  37. data/app/assets/javascripts/katello/locale/pa/katello.js +258 -27
  38. data/app/assets/javascripts/katello/locale/pl/katello.js +258 -27
  39. data/app/assets/javascripts/katello/locale/pl_PL/katello.js +258 -27
  40. data/app/assets/javascripts/katello/locale/pt/katello.js +258 -27
  41. data/app/assets/javascripts/katello/locale/pt_BR/katello.js +259 -28
  42. data/app/assets/javascripts/katello/locale/ro/katello.js +258 -27
  43. data/app/assets/javascripts/katello/locale/ro_RO/katello.js +258 -27
  44. data/app/assets/javascripts/katello/locale/ru/katello.js +259 -28
  45. data/app/assets/javascripts/katello/locale/sl/katello.js +258 -27
  46. data/app/assets/javascripts/katello/locale/sv_SE/katello.js +258 -27
  47. data/app/assets/javascripts/katello/locale/ta/katello.js +259 -28
  48. data/app/assets/javascripts/katello/locale/ta_IN/katello.js +258 -27
  49. data/app/assets/javascripts/katello/locale/te/katello.js +258 -27
  50. data/app/assets/javascripts/katello/locale/tr/katello.js +258 -27
  51. data/app/assets/javascripts/katello/locale/vi/katello.js +258 -27
  52. data/app/assets/javascripts/katello/locale/vi_VN/katello.js +258 -27
  53. data/app/assets/javascripts/katello/locale/zh/katello.js +258 -27
  54. data/app/assets/javascripts/katello/locale/zh_CN/katello.js +259 -28
  55. data/app/assets/javascripts/katello/locale/zh_TW/katello.js +259 -28
  56. data/app/assets/javascripts/katello/organizations/download_certificate.js +1 -1
  57. data/app/assets/javascripts/katello/sync_management/sync_management.js +9 -9
  58. data/app/assets/javascripts/katello/widgets/env_content_view_selector.js +5 -5
  59. data/app/assets/javascripts/katello/widgets/path_selector.js +6 -6
  60. data/app/assets/javascripts/katello/widgets/subpanel_new.js +1 -1
  61. data/app/controllers/katello/api/registry/registry_proxies_controller.rb +7 -7
  62. data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +6 -1
  63. data/app/controllers/katello/api/v2/activation_keys_controller.rb +131 -59
  64. data/app/controllers/katello/api/v2/api_controller.rb +1 -1
  65. data/app/controllers/katello/api/v2/capsule_content_controller.rb +21 -10
  66. data/app/controllers/katello/api/v2/content_view_components_controller.rb +1 -1
  67. data/app/controllers/katello/api/v2/content_view_environments_controller.rb +54 -0
  68. data/app/controllers/katello/api/v2/content_view_versions_controller.rb +3 -3
  69. data/app/controllers/katello/api/v2/content_views_controller.rb +1 -1
  70. data/app/controllers/katello/api/v2/environments_controller.rb +1 -1
  71. data/app/controllers/katello/api/v2/exports_controller.rb +1 -1
  72. data/app/controllers/katello/api/v2/generic_content_units_controller.rb +2 -1
  73. data/app/controllers/katello/api/v2/host_collections_controller.rb +2 -2
  74. data/app/controllers/katello/api/v2/host_contents_controller.rb +1 -1
  75. data/app/controllers/katello/api/v2/host_errata_controller.rb +1 -1
  76. data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +1 -1
  77. data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +1 -4
  78. data/app/controllers/katello/api/v2/organizations_controller.rb +1 -1
  79. data/app/controllers/katello/api/v2/repositories_controller.rb +3 -2
  80. data/app/controllers/katello/api/v2/repository_sets_controller.rb +1 -1
  81. data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +10 -16
  82. data/app/controllers/katello/concerns/api/v2/multi_cv_params_handling.rb +24 -0
  83. data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +2 -5
  84. data/app/controllers/katello/concerns/hosts_controller_extensions.rb +1 -1
  85. data/app/controllers/katello/concerns/registration_commands_controller_extensions.rb +1 -1
  86. data/app/helpers/katello/concerns/smart_proxy_helper_extensions.rb +5 -5
  87. data/app/helpers/katello/hosts_and_hostgroups_helper.rb +2 -2
  88. data/app/helpers/katello/katello_url_helper.rb +1 -1
  89. data/app/lib/actions/candlepin/product/content_create.rb +12 -1
  90. data/app/lib/actions/candlepin/product/content_update.rb +21 -4
  91. data/app/lib/actions/katello/activation_key/reassign.rb +4 -3
  92. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +8 -3
  93. data/app/lib/actions/katello/capsule_content/update_content_counts.rb +21 -3
  94. data/app/lib/actions/katello/cdn_configuration/update.rb +1 -1
  95. data/app/lib/actions/katello/content_view/capsule_sync.rb +17 -1
  96. data/app/lib/actions/katello/content_view/incremental_updates.rb +1 -1
  97. data/app/lib/actions/katello/content_view/presenters/incremental_updates_presenter.rb +1 -1
  98. data/app/lib/actions/katello/content_view/remove.rb +8 -12
  99. data/app/lib/actions/katello/content_view_version/import.rb +1 -1
  100. data/app/lib/actions/katello/content_view_version/incremental_update.rb +2 -2
  101. data/app/lib/actions/katello/flatpak/scan_remote.rb +62 -0
  102. data/app/lib/actions/katello/host/hypervisors.rb +1 -1
  103. data/app/lib/actions/katello/product/content_create.rb +28 -19
  104. data/app/lib/actions/katello/product/content_destroy.rb +6 -5
  105. data/app/lib/actions/katello/product/destroy.rb +1 -1
  106. data/app/lib/actions/katello/repository/clone_contents.rb +14 -0
  107. data/app/lib/actions/katello/repository/create.rb +24 -17
  108. data/app/lib/actions/katello/repository/create_container_push_root.rb +44 -0
  109. data/app/lib/actions/katello/repository/create_root.rb +5 -15
  110. data/app/lib/actions/katello/repository/destroy.rb +3 -3
  111. data/app/lib/actions/katello/repository/discover.rb +1 -1
  112. data/app/lib/actions/katello/repository/finish_upload.rb +13 -0
  113. data/app/lib/actions/katello/repository/import_upload.rb +1 -1
  114. data/app/lib/actions/katello/repository/sync.rb +16 -0
  115. data/app/lib/actions/katello/repository/update.rb +11 -20
  116. data/app/lib/actions/katello/repository/upload_files.rb +1 -1
  117. data/app/lib/actions/katello/repository_set/enable_repository.rb +1 -1
  118. data/app/lib/actions/katello/repository_set/scan_cdn.rb +1 -1
  119. data/app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb +1 -1
  120. data/app/lib/actions/pulp3/capsule_content/sync.rb +1 -1
  121. data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +1 -1
  122. data/app/lib/actions/pulp3/orchestration/repository/create.rb +6 -1
  123. data/app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb +1 -1
  124. data/app/lib/actions/pulp3/repository/initialize.rb +17 -0
  125. data/app/lib/actions/pulp3/repository/refresh_distribution.rb +1 -1
  126. data/app/lib/katello/api/constraints/register_with_activation_key_constraint.rb +11 -0
  127. data/app/lib/katello/concerns/base_template_scope_extensions.rb +1 -1
  128. data/app/lib/katello/http_resource.rb +6 -6
  129. data/app/lib/katello/messaging/stomp_connection.rb +4 -4
  130. data/app/lib/katello/resources/candlepin/activation_key.rb +1 -1
  131. data/app/lib/katello/resources/candlepin/owner.rb +1 -1
  132. data/app/lib/katello/resources/candlepin/product.rb +1 -1
  133. data/app/lib/katello/resources/candlepin.rb +1 -1
  134. data/app/lib/katello/resources/cdn/katello_cdn.rb +3 -3
  135. data/app/lib/katello/resources/cdn.rb +1 -1
  136. data/app/lib/katello/resources/discovery/container.rb +5 -3
  137. data/app/lib/katello/resources/discovery/yum.rb +3 -1
  138. data/app/lib/katello/resources/registry.rb +0 -3
  139. data/app/lib/katello/util/candlepin_repository_checker.rb +2 -2
  140. data/app/lib/katello/util/cveak_migrator.rb +38 -0
  141. data/app/lib/katello/util/deb.rb +9 -0
  142. data/app/lib/katello/util/deduplication_migrator.rb +8 -8
  143. data/app/lib/katello/util/model.rb +2 -2
  144. data/app/lib/katello/util/search.rb +5 -5
  145. data/app/lib/katello/util/task_status.rb +19 -19
  146. data/app/lib/katello/util/url_matcher.rb +3 -3
  147. data/app/lib/katello/validators/content_view_environment_org_validator.rb +2 -1
  148. data/app/lib/katello/validators/katello_url_format_validator.rb +2 -2
  149. data/app/mailers/katello/errata_mailer.rb +1 -4
  150. data/app/models/katello/activation_key.rb +123 -27
  151. data/app/models/katello/alternate_content_source.rb +5 -5
  152. data/app/models/katello/authorization/activation_key.rb +1 -1
  153. data/app/models/katello/authorization/content_view_environment.rb +7 -0
  154. data/app/models/katello/cdn_configuration.rb +1 -1
  155. data/app/models/katello/concerns/content_facet_host_extensions.rb +36 -38
  156. data/app/models/katello/concerns/host_managed_extensions.rb +19 -8
  157. data/app/models/katello/concerns/organization_extensions.rb +4 -4
  158. data/app/models/katello/concerns/redhat_extensions.rb +1 -1
  159. data/app/models/katello/concerns/smart_proxy_extensions.rb +84 -39
  160. data/app/models/katello/content.rb +3 -3
  161. data/app/models/katello/content_view.rb +15 -18
  162. data/app/models/katello/content_view_environment.rb +56 -15
  163. data/app/models/katello/content_view_environment_activation_key.rb +20 -0
  164. data/app/models/katello/content_view_erratum_filter_rule.rb +1 -1
  165. data/app/models/katello/content_view_filter.rb +2 -2
  166. data/app/models/katello/content_view_history.rb +1 -1
  167. data/app/models/katello/content_view_repository.rb +1 -1
  168. data/app/models/katello/content_view_version.rb +3 -3
  169. data/app/models/katello/content_view_version_export_history.rb +2 -2
  170. data/app/models/katello/content_view_version_import_history.rb +1 -1
  171. data/app/models/katello/events/delete_latest_content_view_version.rb +1 -1
  172. data/app/models/katello/flatpak_remote.rb +11 -0
  173. data/app/models/katello/flatpak_remote_repository.rb +12 -0
  174. data/app/models/katello/flatpak_remote_repository_manifest.rb +10 -0
  175. data/app/models/katello/glue/candlepin/activation_key.rb +1 -1
  176. data/app/models/katello/glue/candlepin/candlepin_object.rb +1 -1
  177. data/app/models/katello/glue/candlepin/pool.rb +1 -1
  178. data/app/models/katello/glue/pulp/repos.rb +1 -1
  179. data/app/models/katello/host/content_facet.rb +33 -17
  180. data/app/models/katello/host/info_provider.rb +2 -4
  181. data/app/models/katello/host/subscription_facet.rb +2 -2
  182. data/app/models/katello/host_available_module_stream.rb +1 -1
  183. data/app/models/katello/installed_product.rb +2 -2
  184. data/app/models/katello/kt_environment.rb +11 -6
  185. data/app/models/katello/ping.rb +2 -3
  186. data/app/models/katello/repository.rb +40 -6
  187. data/app/models/katello/rhel_lifecycle_status.rb +10 -10
  188. data/app/models/katello/root_repository.rb +14 -18
  189. data/app/models/katello/task_status.rb +1 -1
  190. data/app/models/katello/upstream_pool.rb +2 -2
  191. data/app/presenters/katello/product_content_presenter.rb +2 -2
  192. data/app/presenters/katello/repository_presenter.rb +3 -3
  193. data/app/presenters/katello/sync_status_presenter.rb +3 -3
  194. data/app/services/cert/certs.rb +6 -2
  195. data/app/services/katello/candlepin_event_listener.rb +1 -1
  196. data/app/services/katello/event_monitor/poller_thread.rb +1 -1
  197. data/app/services/katello/event_queue.rb +1 -1
  198. data/app/services/katello/product_content_finder.rb +10 -10
  199. data/app/services/katello/product_content_importer.rb +1 -1
  200. data/app/services/katello/pulp3/alternate_content_source.rb +2 -2
  201. data/app/services/katello/pulp3/ansible_collection.rb +1 -1
  202. data/app/services/katello/pulp3/api/apt.rb +4 -0
  203. data/app/services/katello/pulp3/content.rb +1 -0
  204. data/app/services/katello/pulp3/content_view_version/export.rb +3 -10
  205. data/app/services/katello/pulp3/content_view_version/export_validator.rb +1 -1
  206. data/app/services/katello/pulp3/content_view_version/import.rb +2 -2
  207. data/app/services/katello/pulp3/content_view_version/import_gpg_keys.rb +1 -1
  208. data/app/services/katello/pulp3/content_view_version/importable_products.rb +2 -2
  209. data/app/services/katello/pulp3/content_view_version/importable_repositories.rb +4 -4
  210. data/app/services/katello/pulp3/content_view_version/metadata_generator.rb +2 -2
  211. data/app/services/katello/pulp3/deb.rb +35 -1
  212. data/app/services/katello/pulp3/docker_manifest.rb +1 -1
  213. data/app/services/katello/pulp3/docker_manifest_list.rb +6 -2
  214. data/app/services/katello/pulp3/docker_tag.rb +1 -1
  215. data/app/services/katello/pulp3/erratum.rb +2 -2
  216. data/app/services/katello/pulp3/file_unit.rb +1 -1
  217. data/app/services/katello/pulp3/generic_content_unit.rb +1 -1
  218. data/app/services/katello/pulp3/module_stream.rb +2 -2
  219. data/app/services/katello/pulp3/repository/ansible_collection.rb +1 -1
  220. data/app/services/katello/pulp3/repository/apt.rb +22 -16
  221. data/app/services/katello/pulp3/repository/docker.rb +2 -2
  222. data/app/services/katello/pulp3/repository/file.rb +1 -1
  223. data/app/services/katello/pulp3/repository/generic.rb +1 -1
  224. data/app/services/katello/pulp3/repository/yum.rb +7 -7
  225. data/app/services/katello/pulp3/repository.rb +15 -9
  226. data/app/services/katello/pulp3/repository_mirror.rb +3 -3
  227. data/app/services/katello/registration_manager.rb +23 -6
  228. data/app/services/katello/repository_type.rb +3 -3
  229. data/app/services/katello/smart_proxy_helper.rb +3 -3
  230. data/app/services/katello/ui_notifications/content_view/delete_latest_version_failure.rb +1 -1
  231. data/app/services/katello/ui_notifications/subscriptions/expire_soon.rb +3 -3
  232. data/app/services/katello/ui_notifications/subscriptions/manifest_expire_soon_warning.rb +3 -3
  233. data/app/services/katello/ui_notifications/task_notification.rb +2 -2
  234. data/app/services/katello/upstream_connection_checker.rb +1 -1
  235. data/app/views/foreman/job_templates/resolve_traces.erb +8 -1
  236. data/app/views/foreman/job_templates/resolve_traces_-_katello_ansible_default.erb +4 -3
  237. data/app/views/foreman/job_templates/restart_services.erb +11 -3
  238. data/app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb +4 -3
  239. data/app/views/katello/api/v2/activation_keys/base.json.rabl +43 -8
  240. data/app/views/katello/api/v2/alternate_content_sources/base.json.rabl +1 -1
  241. data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +5 -5
  242. data/app/views/katello/api/v2/common/_metadata.json.rabl +1 -1
  243. data/app/views/katello/api/v2/content_credentials/show.json.rabl +1 -1
  244. data/app/views/katello/api/v2/content_facet/base.json.rabl +15 -6
  245. data/app/views/katello/api/v2/content_facet/show.json.rabl +1 -1
  246. data/app/views/katello/api/v2/content_view_environments/index.json.rabl +7 -0
  247. data/app/views/katello/api/v2/content_view_environments/show.json.rabl +33 -0
  248. data/app/views/katello/api/v2/content_view_filter_rules/show.json.rabl +1 -1
  249. data/app/views/katello/api/v2/content_view_filters/show.json.rabl +1 -1
  250. data/app/views/katello/api/v2/content_view_versions/base.json.rabl +3 -3
  251. data/app/views/katello/api/v2/content_views/base.json.rabl +3 -3
  252. data/app/views/katello/api/v2/content_views/show.json.rabl +1 -1
  253. data/app/views/katello/api/v2/debs/backend.json.rabl +7 -0
  254. data/app/views/katello/api/v2/debs/base.json.rabl +4 -0
  255. data/app/views/katello/api/v2/debs/show.json.rabl +2 -0
  256. data/app/views/katello/api/v2/docker_manifest_lists/show.json.rabl +1 -0
  257. data/app/views/katello/api/v2/docker_tags/_base.json.rabl +2 -2
  258. data/app/views/katello/api/v2/environments/show.json.rabl +4 -4
  259. data/app/views/katello/api/v2/gpg_keys/show.json.rabl +1 -1
  260. data/app/views/katello/api/v2/host_collections/base.json.rabl +1 -1
  261. data/app/views/katello/api/v2/hosts/base.json.rabl +2 -2
  262. data/app/views/katello/api/v2/package_groups/base.json.rabl +2 -2
  263. data/app/views/katello/api/v2/products/show.json.rabl +2 -2
  264. data/app/views/katello/api/v2/repositories/show.json.rabl +1 -1
  265. data/app/views/katello/api/v2/repository_sets/show.json.rabl +1 -1
  266. data/app/views/katello/api/v2/subscriptions/base.json.rabl +1 -1
  267. data/app/views/katello/api/v2/subscriptions/show.json.rabl +3 -3
  268. data/app/views/katello/api/v2/sync_plans/show.json.rabl +1 -1
  269. data/config/initializers/inflections.rb +11 -0
  270. data/config/katello.yaml.example +4 -10
  271. data/config/routes/api/registry.rb +0 -2
  272. data/config/routes/api/rhsm.rb +1 -4
  273. data/config/routes/api/v2.rb +2 -3
  274. data/db/migrate/20140716211853_repo_rename_feed_to_url.rb +1 -1
  275. data/db/migrate/20141003210742_add_docker_container_registry_url_to_providers.rb +1 -1
  276. data/db/migrate/20150224083608_remove_docker_registry_url.rb +1 -1
  277. data/db/migrate/20160808002834_add_files.rb +1 -1
  278. data/db/migrate/20161014133811_move_content_view_version_description_to_histories.rb +1 -1
  279. data/db/migrate/20200818192230_update_system_purpose_status.rb +1 -1
  280. data/db/migrate/20201012172713_remove_gpg_key_perms.rb +1 -1
  281. data/db/migrate/20210322142311_add_auth_url_token_to_root_repositories.rb +1 -1
  282. data/db/migrate/20211220185935_clean_duplicate_content_units.rb +2 -2
  283. data/db/migrate/20230717150442_change_change_content_source_job_template_name.rb +1 -1
  284. data/db/migrate/20240207191223_remove_entitlement_mode_host_statuses.rb +1 -1
  285. data/db/migrate/20240508100434_add_content_id_to_katello_repository.rb +5 -0
  286. data/db/migrate/20240730163043_add_content_view_environment_activation_key.rb +87 -0
  287. data/db/migrate/20240806130902_add_more_deb_fields.rb +15 -0
  288. data/db/migrate/20240903194428_add_priority_to_content_view_environment_activation_key.rb +5 -0
  289. data/db/migrate/20241007200316_add_fields_to_katello_docker_manifest_list.rb +8 -0
  290. data/db/migrate/20241007212705_add_bootc_facts_to_content_facet.rb +27 -0
  291. data/db/migrate/20241025151105_remove_pulp3_migrated_hrefs_from_content_tables.rb +10 -0
  292. data/db/migrate/20241030181402_create_katello_flatpak_tables.rb +41 -0
  293. data/db/seeds.d/106-mail_notifications.rb +9 -9
  294. data/db/seeds.d/108-subcription-bookmarks.rb +1 -1
  295. data/db/seeds.d/109-katello-notification-blueprints.rb +21 -21
  296. data/db/seeds.d/110-content-view-autopublish.rb +5 -5
  297. data/db/seeds.d/111-container-image-bookmarks.rb +1 -1
  298. data/db/seeds.d/111-upgrade_tasks.rb +1 -1
  299. data/engines/bastion/lib/bastion/engine.rb +1 -1
  300. data/engines/bastion/lib/bastion.rb +1 -1
  301. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-repository-sets.controller.js +16 -0
  302. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +29 -15
  303. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-repository-sets.html +13 -0
  304. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys.html +2 -0
  305. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js +2 -0
  306. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-host-collections-modal.html +4 -4
  307. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.routes.js +9 -0
  308. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-dependencies.html +54 -0
  309. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-info.html +13 -1
  310. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb.html +8 -1
  311. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +1 -1
  312. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +4 -0
  313. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +2 -0
  314. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +11 -0
  315. data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/activation_keys.scss +1 -1
  316. data/engines/bastion_katello/lib/bastion_katello/engine.rb +1 -1
  317. data/lib/katello/engine.rb +17 -15
  318. data/lib/katello/permission_creator.rb +51 -49
  319. data/lib/katello/permissions/host_permissions.rb +4 -4
  320. data/lib/katello/permissions/organization_permissions.rb +4 -4
  321. data/lib/katello/permissions/registry_permissions.rb +1 -1
  322. data/lib/katello/permissions/roles_permissions.rb +1 -1
  323. data/lib/katello/permissions/user_permissions.rb +1 -1
  324. data/lib/katello/plugin.rb +14 -8
  325. data/lib/katello/repository_types/docker.rb +4 -2
  326. data/lib/katello/repository_types/ostree.rb +5 -3
  327. data/lib/katello/repository_types/python.rb +1 -1
  328. data/lib/katello/repository_types/yum.rb +2 -1
  329. data/lib/katello/scheduled_jobs.rb +1 -1
  330. data/lib/katello/tasks/migrate_structure_content_for_deb.rake +105 -0
  331. data/lib/katello/tasks/receptor/extract_orgs.rake +1 -1
  332. data/lib/katello/tasks/reimport.rake +1 -1
  333. data/lib/katello/tasks/repository.rake +19 -9
  334. data/lib/katello/tasks/upgrades/4.1/reupdate_content_import_export_perms.rake +1 -1
  335. data/lib/katello/tasks/upgrades/4.3/fix_url_auth.rake +1 -1
  336. data/lib/katello/version.rb +1 -1
  337. data/locale/action_names.rb +92 -1
  338. data/locale/bn/LC_MESSAGES/katello.mo +0 -0
  339. data/locale/bn/katello.po +259 -28
  340. data/locale/bn_IN/LC_MESSAGES/katello.mo +0 -0
  341. data/locale/bn_IN/katello.po +258 -27
  342. data/locale/ca/LC_MESSAGES/katello.mo +0 -0
  343. data/locale/ca/katello.po +258 -27
  344. data/locale/cs/LC_MESSAGES/katello.mo +0 -0
  345. data/locale/cs/katello.po +258 -30
  346. data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
  347. data/locale/cs_CZ/katello.po +258 -27
  348. data/locale/de/LC_MESSAGES/katello.mo +0 -0
  349. data/locale/de/katello.po +259 -28
  350. data/locale/de_AT/LC_MESSAGES/katello.mo +0 -0
  351. data/locale/de_AT/katello.po +258 -27
  352. data/locale/de_DE/LC_MESSAGES/katello.mo +0 -0
  353. data/locale/de_DE/katello.po +258 -27
  354. data/locale/el/LC_MESSAGES/katello.mo +0 -0
  355. data/locale/el/katello.po +258 -27
  356. data/locale/en/LC_MESSAGES/katello.mo +0 -0
  357. data/locale/en/katello.po +258 -27
  358. data/locale/en_GB/LC_MESSAGES/katello.mo +0 -0
  359. data/locale/en_GB/katello.po +258 -27
  360. data/locale/en_US/LC_MESSAGES/katello.mo +0 -0
  361. data/locale/en_US/katello.po +258 -27
  362. data/locale/es/LC_MESSAGES/katello.mo +0 -0
  363. data/locale/es/katello.po +259 -28
  364. data/locale/et_EE/LC_MESSAGES/katello.mo +0 -0
  365. data/locale/et_EE/katello.po +258 -27
  366. data/locale/fr/LC_MESSAGES/katello.mo +0 -0
  367. data/locale/fr/katello.po +259 -28
  368. data/locale/gl/LC_MESSAGES/katello.mo +0 -0
  369. data/locale/gl/katello.po +258 -27
  370. data/locale/gu/LC_MESSAGES/katello.mo +0 -0
  371. data/locale/gu/katello.po +258 -27
  372. data/locale/he_IL/LC_MESSAGES/katello.mo +0 -0
  373. data/locale/he_IL/katello.po +258 -27
  374. data/locale/hi/LC_MESSAGES/katello.mo +0 -0
  375. data/locale/hi/katello.po +258 -27
  376. data/locale/id/LC_MESSAGES/katello.mo +0 -0
  377. data/locale/id/katello.po +258 -27
  378. data/locale/it/LC_MESSAGES/katello.mo +0 -0
  379. data/locale/it/katello.po +259 -28
  380. data/locale/ja/LC_MESSAGES/katello.mo +0 -0
  381. data/locale/ja/katello.po +259 -28
  382. data/locale/ka/LC_MESSAGES/katello.mo +0 -0
  383. data/locale/ka/katello.po +259 -28
  384. data/locale/katello.pot +1041 -696
  385. data/locale/kn/LC_MESSAGES/katello.mo +0 -0
  386. data/locale/kn/katello.po +258 -27
  387. data/locale/ko/LC_MESSAGES/katello.mo +0 -0
  388. data/locale/ko/katello.po +259 -28
  389. data/locale/ml_IN/LC_MESSAGES/katello.mo +0 -0
  390. data/locale/ml_IN/katello.po +258 -27
  391. data/locale/mr/LC_MESSAGES/katello.mo +0 -0
  392. data/locale/mr/katello.po +258 -27
  393. data/locale/nl_NL/LC_MESSAGES/katello.mo +0 -0
  394. data/locale/nl_NL/katello.po +258 -27
  395. data/locale/or/LC_MESSAGES/katello.mo +0 -0
  396. data/locale/or/katello.po +258 -27
  397. data/locale/pa/LC_MESSAGES/katello.mo +0 -0
  398. data/locale/pa/katello.po +258 -27
  399. data/locale/pl/LC_MESSAGES/katello.mo +0 -0
  400. data/locale/pl/katello.po +258 -27
  401. data/locale/pl_PL/LC_MESSAGES/katello.mo +0 -0
  402. data/locale/pl_PL/katello.po +258 -27
  403. data/locale/pt/LC_MESSAGES/katello.mo +0 -0
  404. data/locale/pt/katello.po +258 -27
  405. data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
  406. data/locale/pt_BR/katello.po +259 -28
  407. data/locale/ro/LC_MESSAGES/katello.mo +0 -0
  408. data/locale/ro/katello.po +258 -27
  409. data/locale/ro_RO/LC_MESSAGES/katello.mo +0 -0
  410. data/locale/ro_RO/katello.po +258 -27
  411. data/locale/ru/LC_MESSAGES/katello.mo +0 -0
  412. data/locale/ru/katello.po +259 -28
  413. data/locale/sl/LC_MESSAGES/katello.mo +0 -0
  414. data/locale/sl/katello.po +258 -27
  415. data/locale/sv_SE/LC_MESSAGES/katello.mo +0 -0
  416. data/locale/sv_SE/katello.po +258 -27
  417. data/locale/ta/LC_MESSAGES/katello.mo +0 -0
  418. data/locale/ta/katello.po +259 -28
  419. data/locale/ta_IN/LC_MESSAGES/katello.mo +0 -0
  420. data/locale/ta_IN/katello.po +258 -27
  421. data/locale/te/LC_MESSAGES/katello.mo +0 -0
  422. data/locale/te/katello.po +258 -27
  423. data/locale/tr/LC_MESSAGES/katello.mo +0 -0
  424. data/locale/tr/katello.po +258 -27
  425. data/locale/vi/LC_MESSAGES/katello.mo +0 -0
  426. data/locale/vi/katello.po +258 -27
  427. data/locale/vi_VN/LC_MESSAGES/katello.mo +0 -0
  428. data/locale/vi_VN/katello.po +258 -27
  429. data/locale/zh/LC_MESSAGES/katello.mo +0 -0
  430. data/locale/zh/katello.po +258 -27
  431. data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
  432. data/locale/zh_CN/katello.po +259 -28
  433. data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
  434. data/locale/zh_TW/katello.po +259 -28
  435. data/vendor/assets/javascripts/katello/chosen.jquery.js +2 -2
  436. data/vendor/assets/javascripts/katello/jquery.ba-bbq.js +1 -1
  437. data/vendor/assets/javascripts/katello/jquery.hoverIntent.js +2 -2
  438. data/webpack/ForemanColumnExtensions/index.js +1 -1
  439. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +113 -86
  440. data/webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js +7 -2
  441. data/webpack/components/extensions/HostDetails/Tabs/DebsTab/DebsTab.js +31 -4
  442. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +1 -1
  443. data/webpack/components/extensions/RegistrationCommands/fields/ActivationKeys.js +1 -7
  444. data/webpack/components/extensions/RegistrationCommands/helpers.js +15 -0
  445. data/webpack/components/extensions/RegistrationCommands/index.js +3 -9
  446. data/webpack/global_index.js +11 -4
  447. data/webpack/redux/actions/RedHatRepositories/helpers.js +2 -0
  448. data/webpack/scenes/ActivationKeys/Details/ActivationKeyDetails.js +4 -0
  449. data/webpack/scenes/ActivationKeys/Details/components/CVEDetailsCard.js +37 -0
  450. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +1 -2
  451. data/webpack/scenes/Hosts/ChangeContentSource/helpers.js +2 -8
  452. data/webpack/scenes/SmartProxy/ExpandableCvDetails.js +22 -2
  453. data/webpack/scenes/SmartProxy/ExpandedSmartProxyRepositories.js +39 -20
  454. data/webpack/scenes/SmartProxy/SmartProxyContentActions.js +2 -1
  455. data/webpack/scenes/SmartProxy/SmartProxyExpandableTable.js +6 -4
  456. data/webpack/scenes/SmartProxy/__tests__/SmartProxyContentTest.js +62 -0
  457. metadata +134 -76
  458. data/app/lib/katello/api/constraints/activation_key_constraint.rb +0 -7
  459. /data/app/lib/katello/{api → routing}/mapper_extensions.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb838f1316844984ac6a811415ee7ffd5b91c7e4b968b96de55b0bf3adf1f0b7
4
- data.tar.gz: b8158bfab87d2e3cbe687af69e65962a8627bc78516f6f20b190864854eee4e3
3
+ metadata.gz: 42fc16f97e3c3ec773c97e554fc14f11ae7bc3e92ceae35d05a25acb3086965d
4
+ data.tar.gz: c197411d237e7a82c9a9caa1ecf7bfdbc958354d01fe373e95207d81b410854b
5
5
  SHA512:
6
- metadata.gz: e2e57134ff21bfaffb6bd31b2954adad011b6cb63991e66a2ca54d08f596b63c061177049402aa9831e8407ef2d7006f0b2d536892757c69e5cc5f716cdff687
7
- data.tar.gz: f2badc68f6c7b3638fb076e2cabeca5a60c073fffee6d6a7c6e2f886a906085adc5d54fc5babc44280f00a1a1e5e7a188b25b7de64a359ead41950b9ec289367
6
+ metadata.gz: 1ed1e2c8ec5408e98341e8608f17b3500b0d57b21f780d97582a6f21e953cd93209f3d6cb67e412f62a98648bef14a5adee0310fd23665c25a53ece294ff6d67
7
+ data.tar.gz: f1ebce7de2995fa8fd1cdb571887d787b20070e6b8a31300d0fb557ffe0813b37cd52711251d54a91cddf176d76878156d6fa0d622a0ddd57c3b024ee2b1dbfa
@@ -342,7 +342,7 @@
342
342
  this.search_results.mouseout(__bind(function(evt) {
343
343
  return this.search_results_mouseout(evt);
344
344
  }, this));
345
- this.form_field_jq.bind("liszt:updated", __bind(function(evt) {
345
+ this.form_field_jq.on("liszt:updated", __bind(function(evt) {
346
346
  return this.results_update_field(evt);
347
347
  }, this));
348
348
  this.search_field.blur(__bind(function(evt) {
@@ -358,7 +358,7 @@
358
358
  this.search_choices.click(__bind(function(evt) {
359
359
  return this.choices_click(evt);
360
360
  }, this));
361
- return this.search_field.focus(__bind(function(evt) {
361
+ return this.search_field.on("focus", __bind(function(evt) {
362
362
  return this.input_focus(evt);
363
363
  }, this));
364
364
  }
@@ -376,7 +376,7 @@
376
376
  this.container.removeClass('chzn-disabled');
377
377
  this.search_field.attr('disabled', false);
378
378
  if (!this.is_multiple) {
379
- return this.selected_item.bind("focus", this.activate_action);
379
+ return this.selected_item.on("focus", this.activate_action);
380
380
  }
381
381
  }
382
382
  };
@@ -20,7 +20,7 @@ KT.env_select_scroll = function(options) {
20
20
  combined_width = 0,
21
21
  anchors = trail.find("a, label"),
22
22
  my_min_size_selected = min_size_selected;
23
- anchors.unbind("mouseout").unbind("mouseover").width('auto');
23
+ anchors.off("mouseout").off("mouseover").width('auto');
24
24
 
25
25
  anchors.each(function() {
26
26
  combined_width += $(this).width() + anchor_padding;
@@ -86,7 +86,7 @@ KT.env_select_scroll = function(options) {
86
86
  };
87
87
 
88
88
 
89
- anchor.mouseover(function() {
89
+ anchor.on("mouseover", function() {
90
90
  if (over_interval) {
91
91
  return false;
92
92
  }
@@ -105,7 +105,7 @@ KT.env_select_scroll = function(options) {
105
105
  }, freq);
106
106
  });
107
107
 
108
- anchor.mouseout(function() {
108
+ anchor.on("mouseout", function() {
109
109
  if (out_interval) {
110
110
  return false;
111
111
  }
@@ -9,7 +9,7 @@ KT.widget = {};
9
9
 
10
10
  // Must be at the top to prevent AngularJS unnecessary digest operations
11
11
  // And to handle the hashPrefix that AngularJS adds that confuses BBQ
12
- $(window).bind("hashchange", function(event) {
12
+ $(window).on("hashchange", function(event) {
13
13
  // refresh the favicon to make sure it shows up
14
14
  $('link[type*=icon]').detach().appendTo('head');
15
15
  });
@@ -31,7 +31,7 @@ function update_status() {
31
31
  }
32
32
  },
33
33
  error: function (xhr, status, error) {
34
- statusElement.text(jQuery.parseJSON(xhr.responseText).message);
34
+ statusElement.text(JSON.parse(xhr.responseText).message);
35
35
  clearInterval(i);
36
36
  }
37
37
  });
@@ -212,14 +212,14 @@ var client_common = {
212
212
  /**
213
213
  * Document Ready function
214
214
  */
215
- $(document).ready(function (){
215
+ $(document).on('loadJS', function (){
216
216
  KT.common.link_hover_setup('dark');
217
217
 
218
218
  //Add a handler so that if any input has focus
219
219
  // our keyboard shortcuts don't steal it
220
- $(":input").focus(function() {
220
+ $(":input").on("focus", function() {
221
221
  onInputField = true;
222
- }).blur(function() {
222
+ }).on("blur", function() {
223
223
  onInputField = false;
224
224
  });
225
225
 
@@ -231,13 +231,14 @@ $(document).ready(function (){
231
231
  /**
232
232
  * Window Ready function
233
233
  */
234
+
234
235
  $(window).ready(function(){
235
236
  $('.fc').parent().css({"text-align":"center"});
236
237
  //all purpose display loading icon for ajax calls
237
- $("#loading").bind("ajaxSend", function(){
238
+ $("#loading").on("ajaxSend", function(){
238
239
  $(this).show();
239
240
  $('body').css('cursor', 'wait');
240
- }).bind("ajaxComplete", function(){
241
+ }).on("ajaxComplete", function(){
241
242
  $(this).hide();
242
243
  $('body').css('cursor', 'default');
243
244
  });
@@ -17,9 +17,9 @@ KT.object.label = (function(){
17
17
 
18
18
  disable_inputs(undefined);
19
19
 
20
- $('.create_button').mousedown(function() {retrieve_label = false;});
20
+ $('.create_button').on("mousedown", function() {retrieve_label = false;});
21
21
 
22
- $('.name_input').blur(function(event){
22
+ $('.name_input').on("blur", function(event){
23
23
  var name_input = $(this),
24
24
  name = name_input.val(),
25
25
  label = $(this).closest('fieldset').next('fieldset'),
@@ -51,7 +51,7 @@ KT.object.label = (function(){
51
51
  enable_inputs(name_input);
52
52
  }
53
53
  });
54
- $('.name_input').bind('click, focusin', function() {
54
+ $('.name_input').on('click, focusin', function() {
55
55
  disable_inputs($(this));
56
56
  initial_name_value = $(this).val();
57
57
  });
@@ -8,7 +8,7 @@
8
8
  /**
9
9
  * Document Ready function
10
10
  */
11
- $(document).ready(function (){
11
+ $(document).on('loadJS', function (){
12
12
  KT.menu.menuSetup();
13
13
  });
14
14
 
@@ -60,19 +60,19 @@ KT.menu = (function(){
60
60
  var currentSubnav = subnav.find('.' + tabType + '.second_level').parent();
61
61
  var enter = function(){topLevelTab.trigger("mouseenter");};
62
62
  var leave = function(){topLevelTab.delay("800").trigger("mouseout")};
63
- currentSubnav.hover(function(){enter()},function(){leave()});
63
+ currentSubnav.on('mouseenter', enter).on('mouseleave', leave);
64
64
 
65
- topLevelTab.bind("open", function(){
65
+ topLevelTab.on("open", function(){
66
66
  //make the tab "highlight" on hover
67
67
  $(this).addClass('selected');
68
68
  activeSubnav.hide();
69
69
  //show the current subnav and trigger it to stay open
70
70
  currentSubnav.slideDown('fast');
71
71
  topLevelTab.trigger("hovering");
72
- }).bind("hovering", function(){
72
+ }).on("hovering", function(){
73
73
  currentSubnav.show();
74
74
  })
75
- .bind("close.menu", function(){
75
+ .on("close.menu", function(){
76
76
  //take away tab highlight
77
77
  if(!$(this).hasClass('active')) {
78
78
  $(this).removeClass('selected');
@@ -100,13 +100,13 @@ KT.menu = (function(){
100
100
 
101
101
  li.hoverIntent(
102
102
  function(){
103
- $(document).mouseup();
103
+ $(document).trigger("mouseup");
104
104
  ul.addClass("third_level").slideDown('fast');
105
105
  },
106
106
  function(){
107
107
  ul.slideUp('fast').removeClass("third_level");
108
108
  });
109
- li.mouseenter().mouseleave();
109
+ li.trigger("mouseenter").trigger("mouseleave");
110
110
  }
111
111
  };
112
112
  })();
@@ -6,8 +6,8 @@ $(document).on('ContentLoad', function(){
6
6
  window.tfm.hosts.registerPluginAttributes("os",
7
7
  ['lifecycle_environment_id', 'content_view_id', 'environment_id', 'content_source_id', 'architecture_id', 'parent_id']);
8
8
 
9
- $("#hostgroup_lifecycle_environment_id").change(KT.hosts.environmentChanged);
10
- $("#host_lifecycle_environment_id").change(KT.hosts.environmentChanged);
9
+ $("#hostgroup_lifecycle_environment_id").on("change",KT.hosts.environmentChanged);
10
+ $("#host_lifecycle_environment_id").on("change", KT.hosts.environmentChanged);
11
11
 
12
12
  KT.hosts.update_media_enablement();
13
13
  KT.hosts.set_media_selection_bindings();
@@ -266,10 +266,10 @@ KT.hosts.on_synced_content_dropdown_change = function() {
266
266
 
267
267
  KT.hosts.set_install_media_bindings = function() {
268
268
  // reset the host medium id
269
- $("#host_medium_id").change(KT.hosts.on_install_media_dropdown_change);
270
- $("#s2id_host_medium_id").change(KT.hosts.on_install_media_dropdown_change);
271
- $("#hostgroup_medium_id").change(KT.hosts.on_install_media_dropdown_change);
272
- $("#s2id_hostgroup_medium_id").change(KT.hosts.on_install_media_dropdown_change);
269
+ $("#host_medium_id").on("change", KT.hosts.on_install_media_dropdown_change);
270
+ $("#s2id_host_medium_id").on("change", KT.hosts.on_install_media_dropdown_change);
271
+ $("#hostgroup_medium_id").on("change", KT.hosts.on_install_media_dropdown_change);
272
+ $("#s2id_hostgroup_medium_id").on("change", KT.hosts.on_install_media_dropdown_change);
273
273
  };
274
274
 
275
275
  KT.hosts.set_synced_content_bindings = function() {