katello 2.2.2 → 2.4.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.
- data/app/assets/javascripts/katello/common/env_select.js +0 -12
- data/app/assets/javascripts/katello/common/experimental/katello-globals.module.js +0 -13
- data/app/assets/javascripts/katello/common/index.js +0 -17
- data/app/assets/javascripts/katello/common/jquery.jeditable.custominputs.js +0 -44
- data/app/assets/javascripts/katello/common/katello.common.js +0 -13
- data/app/assets/javascripts/katello/common/katello.global.js +0 -13
- data/app/assets/javascripts/katello/common/katello.js +2 -70
- data/app/assets/javascripts/katello/common/katello_object.js +0 -13
- data/app/assets/javascripts/katello/common/menu.js +0 -13
- data/app/assets/javascripts/katello/common/vendor.js +0 -13
- data/app/assets/javascripts/katello/containers/container.js +0 -13
- data/app/assets/javascripts/katello/hosts/activation_key_edit.js +3 -3
- data/app/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js +18 -4
- data/app/assets/javascripts/katello/html5/index.js +0 -12
- data/app/assets/javascripts/katello/organizations/download_certificate.js +0 -13
- data/app/assets/javascripts/katello/providers/provider_redhat.js +2 -14
- data/app/assets/javascripts/katello/providers/redhat/index.js +0 -13
- data/app/assets/javascripts/katello/sync_management/index.js +0 -13
- data/app/assets/javascripts/katello/sync_management/sync_management.js +2 -17
- data/app/assets/javascripts/katello/widgets/auto_complete.js +0 -12
- data/app/assets/javascripts/katello/widgets/env_content_view_selector.js +0 -13
- data/app/assets/javascripts/katello/widgets/filtertable/filtertable.js +0 -12
- data/app/assets/javascripts/katello/widgets/jquery.jeditable.helpers.js +0 -38
- data/app/assets/javascripts/katello/widgets/one_panel.js +0 -13
- data/app/assets/javascripts/katello/widgets/path_selector.js +0 -14
- data/app/assets/javascripts/katello/widgets/subpanel_new.js +0 -12
- data/app/assets/javascripts/katello/widgets/tabs.js +0 -13
- data/app/assets/stylesheets/katello/_katello_colors.scss +0 -2
- data/app/assets/stylesheets/katello/_katello_mixins.scss +0 -13
- data/app/assets/stylesheets/katello/_overrides.scss +0 -12
- data/app/assets/stylesheets/katello/contents.scss +0 -1
- data/app/assets/stylesheets/katello/katello.scss +0 -71
- data/app/controllers/katello/api/api_controller.rb +0 -12
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +29 -21
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +14 -37
- data/app/controllers/katello/api/v2/api_controller.rb +12 -14
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +0 -12
- data/app/controllers/katello/api/v2/capsules_controller.rb +0 -12
- data/app/controllers/katello/api/v2/content_uploads_controller.rb +0 -12
- data/app/controllers/katello/api/v2/content_view_filter_rules_controller.rb +0 -12
- data/app/controllers/katello/api/v2/content_view_filters_controller.rb +28 -76
- data/app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb +23 -25
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +19 -25
- data/app/controllers/katello/api/v2/content_views_controller.rb +30 -52
- data/app/controllers/katello/api/v2/docker_images_controller.rb +0 -13
- data/app/controllers/katello/api/v2/docker_tags_controller.rb +0 -13
- data/app/controllers/katello/api/v2/environments_controller.rb +0 -21
- data/app/controllers/katello/api/v2/errata_controller.rb +18 -15
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +1 -13
- data/app/controllers/katello/api/v2/host_collections_controller.rb +14 -55
- data/app/controllers/katello/api/v2/organizations_controller.rb +26 -22
- data/app/controllers/katello/api/v2/package_groups_controller.rb +21 -13
- data/app/controllers/katello/api/v2/packages_controller.rb +19 -15
- data/app/controllers/katello/api/v2/ping_controller.rb +0 -12
- data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +0 -12
- data/app/controllers/katello/api/v2/products_controller.rb +42 -44
- data/app/controllers/katello/api/v2/puppet_modules_controller.rb +0 -19
- data/app/controllers/katello/api/v2/repositories_bulk_actions_controller.rb +0 -12
- data/app/controllers/katello/api/v2/repositories_controller.rb +73 -48
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +7 -17
- data/app/controllers/katello/api/v2/root_controller.rb +0 -12
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +71 -99
- data/app/controllers/katello/api/v2/sync_controller.rb +0 -12
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +2 -32
- data/app/controllers/katello/api/v2/system_errata_controller.rb +38 -13
- data/app/controllers/katello/api/v2/system_packages_controller.rb +1 -13
- data/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb +9 -20
- data/app/controllers/katello/api/v2/systems_controller.rb +63 -54
- data/app/controllers/katello/api/v2/uebercerts_controller.rb +0 -12
- data/app/controllers/katello/application_controller.rb +2 -42
- data/app/controllers/katello/auto_complete_search_controller.rb +0 -12
- data/app/controllers/katello/concerns/api/api_controller.rb +0 -12
- data/app/controllers/katello/concerns/api/v2/bulk_systems_extensions.rb +10 -16
- data/app/controllers/katello/concerns/api/v2/hostgroups_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/api/v2/repository_content_controller.rb +100 -72
- data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +0 -12
- data/app/controllers/katello/concerns/containers/steps_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/filtered_auto_complete_search.rb +4 -14
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/operatingsystems_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/organizations_controller_extensions.rb +0 -12
- data/app/controllers/katello/errata_controller.rb +0 -12
- data/app/controllers/katello/errors_controller.rb +0 -12
- data/app/controllers/katello/failed_authentication_controller.rb +0 -14
- data/app/controllers/katello/http_errors.rb +0 -12
- data/app/controllers/katello/organizations_controller.rb +0 -13
- data/app/controllers/katello/products_controller.rb +37 -43
- data/app/controllers/katello/providers_controller.rb +1 -14
- data/app/controllers/katello/sort_column_list.rb +0 -12
- data/app/controllers/katello/sync_management_controller.rb +1 -74
- data/app/helpers/katello/activation_keys_helper.rb +0 -12
- data/app/helpers/katello/application_helper.rb +1 -34
- data/app/helpers/katello/concerns/foreman_docker/container_steps_helper_extensions.rb +0 -12
- data/app/helpers/katello/errata_mailer_helper.rb +6 -12
- data/app/helpers/katello/host_collection_events_helper.rb +0 -12
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +0 -12
- data/app/helpers/katello/katello_form_builder.rb +0 -12
- data/app/helpers/katello/katello_url_helper.rb +0 -12
- data/app/helpers/katello/katello_urls_helper.rb +1 -13
- data/app/helpers/katello/layout_helper.rb +6 -12
- data/app/helpers/katello/organizations_helper.rb +0 -12
- data/app/helpers/katello/packages_helper.rb +0 -12
- data/app/helpers/katello/products_helper.rb +0 -12
- data/app/helpers/katello/providers_helper.rb +2 -14
- data/app/helpers/katello/repositories_helper.rb +0 -12
- data/app/helpers/katello/subscriptions_helper.rb +0 -12
- data/app/helpers/katello/sync_management_helper.rb +0 -12
- data/app/helpers/katello/system_events_helper.rb +0 -12
- data/app/helpers/katello/system_packages_helper.rb +0 -12
- data/app/helpers/katello/taxonomy_helper.rb +0 -12
- data/app/helpers/katello/translation_helper.rb +0 -12
- data/app/lib/actions/abstract_async_task.rb +0 -12
- data/app/lib/actions/candlepin/abstract.rb +2 -13
- data/app/lib/actions/candlepin/abstract_async_task.rb +15 -12
- data/app/lib/actions/candlepin/activation_key/create.rb +0 -12
- data/app/lib/actions/candlepin/activation_key/destroy.rb +0 -12
- data/app/lib/actions/candlepin/activation_key/update.rb +0 -12
- data/app/lib/actions/candlepin/candlepin_listening_service.rb +12 -24
- data/app/lib/actions/candlepin/consumer/auto_attach_subscriptions.rb +0 -12
- data/app/lib/actions/candlepin/consumer/create.rb +3 -13
- data/app/lib/actions/candlepin/consumer/destroy.rb +0 -12
- data/app/lib/actions/candlepin/consumer/update.rb +0 -12
- data/app/lib/actions/candlepin/environment/create.rb +0 -12
- data/app/lib/actions/candlepin/environment/destroy.rb +0 -12
- data/app/lib/actions/candlepin/environment/set_content.rb +27 -29
- data/app/lib/actions/candlepin/import_pool_handler.rb +82 -0
- data/app/lib/actions/candlepin/listen_on_candlepin_events.rb +43 -33
- data/app/lib/actions/candlepin/owner/auto_attach.rb +0 -12
- data/app/lib/actions/candlepin/owner/create.rb +0 -12
- data/app/lib/actions/candlepin/owner/destroy.rb +0 -12
- data/app/lib/actions/candlepin/product/content_add.rb +0 -12
- data/app/lib/actions/candlepin/product/content_create.rb +0 -12
- data/app/lib/actions/candlepin/product/content_destroy.rb +0 -12
- data/app/lib/actions/candlepin/product/content_remove.rb +0 -12
- data/app/lib/actions/candlepin/product/content_update.rb +0 -12
- data/app/lib/actions/candlepin/product/create.rb +0 -12
- data/app/lib/actions/candlepin/product/create_unlimited_subscription.rb +0 -12
- data/app/lib/actions/candlepin/product/delete_pools.rb +0 -12
- data/app/lib/actions/candlepin/product/delete_subscriptions.rb +0 -12
- data/app/lib/actions/candlepin/product/destroy.rb +0 -12
- data/app/lib/actions/candlepin/product/update.rb +0 -13
- data/app/lib/actions/elastic_search/abstract.rb +1 -12
- data/app/lib/actions/elastic_search/provider/reindex_subscriptions.rb +0 -12
- data/app/lib/actions/elastic_search/reindex.rb +0 -12
- data/app/lib/actions/elastic_search/reindex_on_association_change.rb +0 -12
- data/app/lib/actions/elastic_search/repository/filtered_index_content.rb +2 -14
- data/app/lib/actions/elastic_search/repository/index_content.rb +0 -12
- data/app/lib/actions/elastic_search/repository/remove_packages.rb +0 -12
- data/app/lib/actions/foreman/environment/destroy.rb +0 -12
- data/app/lib/actions/helpers/presenter.rb +0 -12
- data/app/lib/actions/katello/activation_key/create.rb +1 -16
- data/app/lib/actions/katello/activation_key/destroy.rb +0 -13
- data/app/lib/actions/katello/activation_key/reassign.rb +0 -13
- data/app/lib/actions/katello/activation_key/update.rb +0 -13
- data/app/lib/actions/katello/capsule_content/configure_capsule.rb +0 -12
- data/app/lib/actions/katello/capsule_content/manage_bound_repositories.rb +0 -12
- data/app/lib/actions/katello/capsule_content/sync.rb +0 -12
- data/app/lib/actions/katello/capsule_content/update_without_content.rb +0 -12
- data/app/lib/actions/katello/content_view/add_to_environment.rb +0 -12
- data/app/lib/actions/katello/content_view/capsule_generate_and_sync.rb +0 -12
- data/app/lib/actions/katello/content_view/create.rb +0 -14
- data/app/lib/actions/katello/content_view/destroy.rb +0 -13
- data/app/lib/actions/katello/content_view/environment_create.rb +1 -13
- data/app/lib/actions/katello/content_view/errata_mail.rb +6 -12
- data/app/lib/actions/katello/content_view/incremental_updates.rb +0 -12
- data/app/lib/actions/katello/content_view/node_metadata_generate.rb +0 -12
- data/app/lib/actions/katello/content_view/presenters/incremental_updates_presenter.rb +2 -14
- data/app/lib/actions/katello/content_view/promote.rb +0 -12
- data/app/lib/actions/katello/content_view/publish.rb +3 -13
- data/app/lib/actions/katello/content_view/remove.rb +3 -17
- data/app/lib/actions/katello/content_view/remove_from_environment.rb +0 -12
- data/app/lib/actions/katello/content_view/remove_version.rb +1 -14
- data/app/lib/actions/katello/content_view/update.rb +0 -32
- data/app/lib/actions/katello/content_view/update_environment.rb +0 -12
- data/app/lib/actions/katello/content_view_environment/destroy.rb +0 -12
- data/app/lib/actions/katello/content_view_environment/reassign_objects.rb +0 -12
- data/app/lib/actions/katello/content_view_puppet_environment/clear.rb +0 -12
- data/app/lib/actions/katello/content_view_puppet_environment/clone.rb +2 -13
- data/app/lib/actions/katello/content_view_puppet_environment/clone_content.rb +9 -17
- data/app/lib/actions/katello/content_view_puppet_environment/create.rb +0 -14
- data/app/lib/actions/katello/content_view_puppet_environment/create_for_version.rb +0 -12
- data/app/lib/actions/katello/content_view_puppet_environment/destroy.rb +0 -13
- data/app/lib/actions/katello/content_view_puppet_module/destroy.rb +0 -12
- data/app/lib/actions/katello/content_view_version/destroy.rb +7 -15
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +3 -15
- data/app/lib/actions/katello/environment/destroy.rb +0 -12
- data/app/lib/actions/katello/environment/library_create.rb +0 -12
- data/app/lib/actions/katello/foreman/abstract.rb +0 -12
- data/app/lib/actions/katello/foreman/content_update.rb +10 -21
- data/app/lib/actions/katello/organization/auto_attach_subscriptions.rb +0 -12
- data/app/lib/actions/katello/organization/create.rb +1 -13
- data/app/lib/actions/katello/organization/destroy.rb +1 -14
- data/app/lib/actions/katello/product/content_create.rb +0 -12
- data/app/lib/actions/katello/product/content_destroy.rb +0 -12
- data/app/lib/actions/katello/product/create.rb +0 -14
- data/app/lib/actions/katello/product/destroy.rb +5 -23
- data/app/lib/actions/katello/product/repositories_gpg_reset.rb +0 -12
- data/app/lib/actions/katello/product/update.rb +2 -16
- data/app/lib/actions/katello/provider/destroy.rb +0 -13
- data/app/lib/actions/katello/provider/manifest_delete.rb +0 -12
- data/app/lib/actions/katello/provider/manifest_import.rb +0 -12
- data/app/lib/actions/katello/provider/manifest_refresh.rb +0 -12
- data/app/lib/actions/katello/provider/update.rb +38 -0
- data/app/lib/actions/katello/repository/capsule_generate_and_sync.rb +0 -12
- data/app/lib/actions/katello/repository/clear.rb +0 -12
- data/app/lib/actions/katello/repository/clone_docker_content.rb +0 -12
- data/app/lib/actions/katello/repository/clone_to_environment.rb +0 -12
- data/app/lib/actions/katello/repository/clone_to_version.rb +0 -12
- data/app/lib/actions/katello/repository/clone_yum_content.rb +1 -12
- data/app/lib/actions/katello/repository/correct_checksum.rb +0 -12
- data/app/lib/actions/katello/repository/create.rb +0 -14
- data/app/lib/actions/katello/repository/destroy.rb +9 -14
- data/app/lib/actions/katello/repository/destroy_medium.rb +12 -0
- data/app/lib/actions/katello/repository/discover.rb +25 -24
- data/app/lib/actions/katello/repository/errata_mail.rb +6 -12
- data/app/lib/actions/katello/repository/finish_upload.rb +0 -12
- data/app/lib/actions/katello/repository/import_upload.rb +0 -12
- data/app/lib/actions/katello/repository/index_errata.rb +0 -12
- data/app/lib/actions/katello/repository/index_package_groups.rb +18 -0
- data/app/lib/actions/katello/repository/metadata_generate.rb +0 -12
- data/app/lib/actions/katello/repository/node_metadata_generate.rb +0 -12
- data/app/lib/actions/katello/repository/remove_content.rb +14 -25
- data/app/lib/actions/katello/repository/sync.rb +6 -17
- data/app/lib/actions/katello/repository/update.rb +3 -18
- data/app/lib/actions/katello/repository/update_media.rb +0 -12
- data/app/lib/actions/katello/repository/upload_files.rb +0 -12
- data/app/lib/actions/katello/repository_set/disable_repository.rb +16 -19
- data/app/lib/actions/katello/repository_set/enable_repository.rb +14 -20
- data/app/lib/actions/katello/repository_set/scan_cdn.rb +43 -20
- data/app/lib/actions/katello/sync_plan/add_products.rb +0 -12
- data/app/lib/actions/katello/sync_plan/destroy.rb +0 -12
- data/app/lib/actions/katello/sync_plan/remove_products.rb +0 -12
- data/app/lib/actions/katello/sync_plan/update.rb +0 -12
- data/app/lib/actions/katello/system/activation_keys.rb +0 -12
- data/app/lib/actions/katello/system/auto_attach_subscriptions.rb +2 -14
- data/app/lib/actions/katello/system/create.rb +2 -13
- data/app/lib/actions/katello/system/destroy.rb +0 -12
- data/app/lib/actions/katello/system/erratum/applicable_errata_install.rb +0 -12
- data/app/lib/actions/katello/system/erratum/install.rb +0 -12
- data/app/lib/actions/katello/system/generate_applicability.rb +1 -13
- data/app/lib/actions/katello/system/host_destroy.rb +0 -12
- data/app/lib/actions/katello/system/package/install.rb +0 -12
- data/app/lib/actions/katello/system/package/remove.rb +0 -12
- data/app/lib/actions/katello/system/package/update.rb +0 -12
- data/app/lib/actions/katello/system/package_group/install.rb +0 -12
- data/app/lib/actions/katello/system/package_group/remove.rb +0 -12
- data/app/lib/actions/katello/system/reassign.rb +0 -12
- data/app/lib/actions/katello/system/update.rb +4 -16
- data/app/lib/actions/middleware/backend_services_check.rb +40 -0
- data/app/lib/actions/middleware/candlepin_services_check.rb +9 -0
- data/app/lib/actions/middleware/elasticsearch_services_check.rb +9 -0
- data/app/lib/actions/middleware/keep_locale.rb +0 -12
- data/app/lib/actions/middleware/propagate_candlepin_errors.rb +0 -12
- data/app/lib/actions/middleware/pulp_services_check.rb +9 -0
- data/app/lib/actions/middleware/record_fixtures.rb +0 -12
- data/app/lib/actions/middleware/remote_action.rb +3 -15
- data/app/lib/actions/pulp/abstract.rb +1 -12
- data/app/lib/actions/pulp/abstract_async_task.rb +19 -12
- data/app/lib/actions/pulp/consumer.rb +0 -12
- data/app/lib/actions/pulp/consumer/abstract_content_action.rb +0 -12
- data/app/lib/actions/pulp/consumer/abstract_node_distributor_task.rb +0 -12
- data/app/lib/actions/pulp/consumer/abstract_sync_node_task.rb +0 -12
- data/app/lib/actions/pulp/consumer/activate_node.rb +0 -12
- data/app/lib/actions/pulp/consumer/bind_node_distributor.rb +0 -12
- data/app/lib/actions/pulp/consumer/content_install.rb +0 -12
- data/app/lib/actions/pulp/consumer/content_uninstall.rb +0 -12
- data/app/lib/actions/pulp/consumer/content_update.rb +0 -12
- data/app/lib/actions/pulp/consumer/create.rb +0 -12
- data/app/lib/actions/pulp/consumer/deactivate_node.rb +0 -12
- data/app/lib/actions/pulp/consumer/destroy.rb +0 -12
- data/app/lib/actions/pulp/consumer/generate_applicability.rb +0 -12
- data/app/lib/actions/pulp/consumer/sync_node.rb +0 -12
- data/app/lib/actions/pulp/consumer/unbind_node_distributor.rb +0 -12
- data/app/lib/actions/pulp/consumer/update.rb +0 -12
- data/app/lib/actions/pulp/content_view_puppet_environment/index_content.rb +17 -0
- data/app/lib/actions/pulp/expect_one_task.rb +0 -12
- data/app/lib/actions/pulp/repos/update.rb +0 -13
- data/app/lib/actions/pulp/repository/abstract_copy_content.rb +0 -12
- data/app/lib/actions/pulp/repository/abstract_remove_content.rb +0 -12
- data/app/lib/actions/pulp/repository/associate_distributor.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_distribution.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_docker_image.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_docker_tag.rb +0 -13
- data/app/lib/actions/pulp/repository/copy_errata.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_package_group.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_puppet_module.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_rpm.rb +1 -13
- data/app/lib/actions/pulp/repository/copy_yum_metadata_file.rb +0 -12
- data/app/lib/actions/pulp/repository/create.rb +0 -12
- data/app/lib/actions/pulp/repository/create_in_plan.rb +0 -12
- data/app/lib/actions/pulp/repository/create_upload_request.rb +0 -12
- data/app/lib/actions/pulp/repository/delete_upload_request.rb +0 -12
- data/app/lib/actions/pulp/repository/destroy.rb +0 -12
- data/app/lib/actions/pulp/repository/distributor_publish.rb +0 -12
- data/app/lib/actions/pulp/repository/import_upload.rb +0 -12
- data/app/lib/actions/pulp/repository/presenters/abstract_sync_presenter.rb +0 -12
- data/app/lib/actions/pulp/repository/presenters/docker_presenter.rb +1 -13
- data/app/lib/actions/pulp/repository/presenters/iso_presenter.rb +0 -12
- data/app/lib/actions/pulp/repository/presenters/puppet_presenter.rb +6 -15
- data/app/lib/actions/pulp/repository/presenters/yum_presenter.rb +1 -13
- data/app/lib/actions/pulp/repository/purge_empty_errata.rb +0 -12
- data/app/lib/actions/pulp/repository/purge_empty_package_groups.rb +3 -16
- data/app/lib/actions/pulp/repository/refresh.rb +0 -12
- data/app/lib/actions/pulp/repository/refresh_distributor.rb +0 -12
- data/app/lib/actions/pulp/repository/regenerate_applicability.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_distribution.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_docker_image.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_errata.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_package_group.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_puppet_module.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_rpm.rb +1 -13
- data/app/lib/actions/pulp/repository/remove_schedule.rb +0 -11
- data/app/lib/actions/pulp/repository/sync.rb +5 -17
- data/app/lib/actions/pulp/repository/update_importer.rb +0 -12
- data/app/lib/actions/pulp/repository/update_schedule.rb +0 -11
- data/app/lib/actions/pulp/repository/upload_file.rb +1 -13
- data/app/lib/katello/api/constraints/activation_key_constraint.rb +0 -12
- data/app/lib/katello/api/v2/error_handling.rb +5 -12
- data/app/lib/katello/bulk_actions.rb +2 -16
- data/app/lib/katello/concerns/renderer_extensions.rb +21 -0
- data/app/lib/katello/errors.rb +5 -13
- data/app/lib/katello/foreman.rb +0 -12
- data/app/lib/katello/glue/queue.rb +0 -12
- data/app/lib/katello/glue/task.rb +0 -12
- data/app/lib/katello/http_resource.rb +2 -14
- data/app/lib/katello/lazy_accessor.rb +2 -14
- data/app/lib/katello/mapping.rb +0 -12
- data/app/lib/katello/repo_discovery.rb +27 -40
- data/app/lib/katello/resources/candlepin.rb +23 -34
- data/app/lib/katello/resources/cdn.rb +42 -18
- data/app/lib/katello/util/cdn_var_substitutor.rb +21 -16
- data/app/lib/katello/util/data.rb +0 -12
- data/app/lib/katello/util/errata.rb +0 -12
- data/app/lib/katello/util/filter_clause_generator.rb +0 -12
- data/app/lib/katello/util/model.rb +0 -12
- data/app/lib/katello/util/package.rb +21 -51
- data/app/lib/katello/util/package_clause_generator.rb +1 -13
- data/app/lib/katello/util/package_filter.rb +16 -62
- data/app/lib/katello/util/report_table.rb +0 -12
- data/app/lib/katello/util/search.rb +0 -23
- data/app/lib/katello/util/support.rb +13 -12
- data/app/lib/katello/util/task_status.rb +0 -12
- data/app/lib/katello/util/thread_session.rb +10 -22
- data/app/lib/katello/util/url_matcher.rb +0 -12
- data/app/lib/katello/validators/content_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_environment_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_erratum_filter_rule_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_filter_version_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_puppet_module_validator.rb +4 -15
- data/app/lib/katello/validators/gpg_key_content_validator.rb +0 -11
- data/app/lib/katello/validators/katello_label_format_validator.rb +0 -12
- data/app/lib/katello/validators/katello_name_format_validator.rb +0 -11
- data/app/lib/katello/validators/katello_url_format_validator.rb +0 -12
- data/app/lib/katello/validators/library_presence_validator.rb +0 -12
- data/app/lib/katello/validators/no_trailing_space_validator.rb +0 -12
- data/app/lib/katello/validators/non_library_environment_validator.rb +0 -12
- data/app/lib/katello/validators/not_in_library_validator.rb +0 -12
- data/app/lib/katello/validators/path_descendents_validator.rb +0 -12
- data/app/lib/katello/validators/prior_validator.rb +0 -12
- data/app/lib/katello/validators/product_unique_attribute_validator.rb +1 -15
- data/app/lib/katello/validators/repo_disablement_validator.rb +0 -12
- data/app/lib/katello/validators/repository_unique_attribute_validator.rb +0 -12
- data/app/lib/katello/validators/self_reference_environment_validator.rb +0 -12
- data/app/lib/katello/validators/unique_field_in_org.rb +0 -12
- data/app/mailers/katello/errata_mailer.rb +0 -12
- data/app/models/katello/activation_key.rb +23 -46
- data/app/models/katello/authorization/activation_key.rb +0 -13
- data/app/models/katello/authorization/content_view.rb +0 -13
- data/app/models/katello/authorization/content_view_environment.rb +0 -12
- data/app/models/katello/authorization/content_view_history.rb +14 -0
- data/app/models/katello/authorization/content_view_version.rb +0 -12
- data/app/models/katello/authorization/gpg_key.rb +0 -13
- data/app/models/katello/authorization/host_collection.rb +0 -13
- data/app/models/katello/authorization/lifecycle_environment.rb +0 -13
- data/app/models/katello/authorization/organization.rb +0 -13
- data/app/models/katello/authorization/pool.rb +13 -0
- data/app/models/katello/authorization/product.rb +0 -13
- data/app/models/katello/authorization/repository.rb +8 -16
- data/app/models/katello/authorization/subscription.rb +17 -0
- data/app/models/katello/authorization/sync_plan.rb +0 -13
- data/app/models/katello/authorization/system.rb +0 -13
- data/app/models/katello/candlepin/content.rb +28 -46
- data/app/models/katello/candlepin/product_content.rb +5 -12
- data/app/models/katello/capsule_lifecycle_environment.rb +0 -12
- data/app/models/katello/concerns/container_extensions.rb +0 -12
- data/app/models/katello/concerns/docker_container_wizard_state_extensions.rb +0 -12
- data/app/models/katello/concerns/environment_extensions.rb +7 -13
- data/app/models/katello/concerns/host_managed_extensions.rb +17 -11
- data/app/models/katello/concerns/hostgroup_extensions.rb +0 -11
- data/app/models/katello/concerns/location_extensions.rb +1 -13
- data/app/models/katello/concerns/medium_extensions.rb +14 -15
- data/app/models/katello/concerns/operatingsystem_extensions.rb +29 -0
- data/app/models/katello/concerns/organization_extensions.rb +21 -53
- data/app/models/katello/{glue/pulp/pulp_content_unit.rb → concerns/pulp_database_unit.rb} +23 -42
- data/app/models/katello/concerns/redhat_extensions.rb +13 -54
- data/app/models/katello/concerns/smart_proxy_extensions.rb +1 -13
- data/app/models/katello/concerns/user_extensions.rb +2 -190
- data/app/models/katello/content_view.rb +51 -81
- data/app/models/katello/content_view_component.rb +0 -12
- data/app/models/katello/content_view_environment.rb +4 -20
- data/app/models/katello/content_view_erratum_filter.rb +0 -14
- data/app/models/katello/content_view_erratum_filter_rule.rb +1 -13
- data/app/models/katello/content_view_filter.rb +20 -27
- data/app/models/katello/content_view_history.rb +42 -14
- data/app/models/katello/content_view_package_filter.rb +11 -23
- data/app/models/katello/content_view_package_filter_rule.rb +1 -13
- data/app/models/katello/content_view_package_group_filter.rb +3 -19
- data/app/models/katello/content_view_package_group_filter_rule.rb +1 -13
- data/app/models/katello/content_view_puppet_environment.rb +19 -18
- data/app/models/katello/content_view_puppet_environment_puppet_module.rb +13 -0
- data/app/models/katello/content_view_puppet_module.rb +18 -36
- data/app/models/katello/content_view_repository.rb +0 -12
- data/app/models/katello/content_view_version.rb +59 -26
- data/app/models/katello/content_view_version_component.rb +0 -12
- data/app/models/katello/cp_consumer_user.rb +0 -12
- data/app/models/katello/docker_image.rb +2 -14
- data/app/models/katello/docker_tag.rb +5 -13
- data/app/models/katello/erratum.rb +54 -34
- data/app/models/katello/erratum_bugzilla.rb +0 -13
- data/app/models/katello/erratum_cve.rb +0 -13
- data/app/models/katello/erratum_package.rb +0 -13
- data/app/models/katello/ext/indexed_model.rb +1 -13
- data/app/models/katello/ext/label_from_name.rb +0 -12
- data/app/models/katello/glue.rb +1 -13
- data/app/models/katello/glue/candlepin/activation_key.rb +20 -18
- data/app/models/katello/glue/candlepin/candlepin_object.rb +52 -0
- data/app/models/katello/glue/candlepin/consumer.rb +23 -56
- data/app/models/katello/glue/candlepin/content.rb +1 -13
- data/app/models/katello/glue/candlepin/environment.rb +0 -12
- data/app/models/katello/glue/candlepin/owner.rb +3 -23
- data/app/models/katello/glue/candlepin/owner_info.rb +0 -12
- data/app/models/katello/glue/candlepin/pool.rb +84 -155
- data/app/models/katello/glue/candlepin/product.rb +0 -27
- data/app/models/katello/glue/candlepin/subscription.rb +58 -0
- data/app/models/katello/glue/elastic_search/backend_indexed_model.rb +2 -13
- data/app/models/katello/glue/elastic_search/content_view_erratum_filter_rule.rb +0 -12
- data/app/models/katello/glue/elastic_search/content_view_history.rb +1 -13
- data/app/models/katello/glue/elastic_search/content_view_package_filter_rule.rb +0 -12
- data/app/models/katello/glue/elastic_search/content_view_package_group_filter_rule.rb +0 -12
- data/app/models/katello/glue/elastic_search/facet_item.rb +0 -12
- data/app/models/katello/glue/elastic_search/host_collection.rb +0 -33
- data/app/models/katello/glue/elastic_search/items.rb +1 -13
- data/app/models/katello/glue/elastic_search/job.rb +0 -12
- data/app/models/katello/glue/elastic_search/system.rb +0 -25
- data/app/models/katello/glue/elastic_search/task_status.rb +0 -12
- data/app/models/katello/glue/provider.rb +31 -122
- data/app/models/katello/glue/pulp/consumer.rb +2 -26
- data/app/models/katello/glue/pulp/consumer_group.rb +0 -12
- data/app/models/katello/glue/pulp/pulp_errors.rb +0 -12
- data/app/models/katello/glue/pulp/repo.rb +116 -173
- data/app/models/katello/glue/pulp/repos.rb +40 -89
- data/app/models/katello/glue/pulp/simple_package.rb +0 -12
- data/app/models/katello/gpg_key.rb +1 -13
- data/app/models/katello/hash_util.rb +0 -12
- data/app/models/katello/host_collection.rb +17 -15
- data/app/models/katello/hypervisor.rb +1 -13
- data/app/models/katello/job.rb +1 -13
- data/app/models/katello/job_task.rb +0 -12
- data/app/models/katello/key_host_collection.rb +0 -13
- data/app/models/katello/kt_environment.rb +9 -35
- data/app/models/katello/model.rb +0 -12
- data/app/models/katello/package_group.rb +41 -15
- data/app/models/katello/ping.rb +66 -52
- data/app/models/katello/pool.rb +44 -31
- data/app/models/katello/pool_activation_key.rb +6 -0
- data/app/models/katello/product.rb +37 -35
- data/app/models/katello/provider.rb +9 -28
- data/app/models/katello/proxy_association_owner.rb +0 -12
- data/app/models/katello/pulp_sync_status.rb +1 -13
- data/app/models/katello/pulp_task_status.rb +1 -13
- data/app/models/katello/puppet_module.rb +56 -16
- data/app/models/katello/repository.rb +129 -64
- data/app/models/katello/repository_docker_image.rb +0 -13
- data/app/models/katello/repository_erratum.rb +0 -13
- data/app/models/katello/repository_package_group.rb +8 -0
- data/app/models/katello/repository_puppet_module.rb +9 -0
- data/app/models/katello/repository_rpm.rb +9 -0
- data/app/models/katello/rpm.rb +62 -0
- data/app/models/katello/subscription.rb +17 -0
- data/app/models/katello/subscription_product.rb +7 -0
- data/app/models/katello/sync_plan.rb +0 -12
- data/app/models/katello/system.rb +55 -36
- data/app/models/katello/system_activation_key.rb +0 -12
- data/app/models/katello/system_erratum.rb +0 -13
- data/app/models/katello/system_host_collection.rb +0 -13
- data/app/models/katello/system_repository.rb +0 -13
- data/app/models/katello/task_status.rb +1 -13
- data/app/models/setting/katello.rb +2 -1
- data/app/overrides/add_activation_keys_input.rb +4 -4
- data/app/overrides/add_organization_attributes.rb +4 -4
- data/app/overrides/add_smart_proxy_form.rb +1 -1
- data/app/overrides/foreman/activation_keys/_host_environment_select.html.erb +2 -2
- data/app/overrides/foreman/organizations/_edit_override.html.erb +1 -1
- data/app/overrides/override_taxonomy_actions.rb +1 -1
- data/app/presenters/katello/content_view_version_compare_presenter.rb +0 -12
- data/app/presenters/katello/relation_presenter.rb +0 -12
- data/app/presenters/katello/repository_presenter.rb +0 -12
- data/app/presenters/katello/sync_status_presenter.rb +71 -0
- data/app/services/client/cert.rb +0 -12
- data/app/services/katello/authentication/client_authentication.rb +1 -13
- data/app/services/katello/pulp/docker_image.rb +7 -0
- data/app/services/katello/pulp/erratum.rb +11 -0
- data/app/services/katello/pulp/package_group.rb +14 -0
- data/app/services/katello/pulp/pulp_content_unit.rb +57 -0
- data/app/services/katello/pulp/puppet_module.rb +16 -0
- data/app/services/katello/pulp/rpm.rb +41 -0
- data/app/services/katello/puppet_class_importer_extensions.rb +0 -11
- data/app/views/dashboard/_content_views_widget.html.erb +34 -0
- data/app/views/dashboard/_errata_widget.html.erb +35 -0
- data/app/views/dashboard/_host_collection_widget.html.erb +38 -0
- data/app/views/dashboard/_subscription_status_widget.html.erb +32 -0
- data/app/views/dashboard/_subscription_widget.html.erb +37 -0
- data/app/views/dashboard/_sync_widget.html.erb +32 -0
- data/app/views/foreman/unattended/kickstart-katello.erb +1 -1
- data/app/views/foreman/unattended/snippets/_subscription_manager_registration.erb +0 -5
- data/app/views/katello/api/v2/activation_keys/product_content.json.rabl +12 -2
- data/app/views/katello/api/v2/content_view_filters/show.json.rabl +1 -1
- data/app/views/katello/api/v2/content_view_histories/show.json.rabl +4 -0
- data/app/views/katello/api/v2/content_view_puppet_modules/create.json.rabl +3 -0
- data/app/views/katello/api/v2/content_view_puppet_modules/index.json.rabl +5 -1
- data/app/views/katello/api/v2/content_view_puppet_modules/show.json.rabl +0 -4
- data/app/views/katello/api/v2/content_view_versions/base.json.rabl +4 -0
- data/app/views/katello/api/v2/content_view_versions/index.json.rabl +5 -2
- data/app/views/katello/api/v2/content_views/_content_view.json.rabl +5 -1
- data/app/views/katello/api/v2/content_views/puppet_modules.json.rabl +1 -1
- data/app/views/katello/api/v2/environments/show.json.rabl +2 -2
- data/app/views/katello/api/v2/layouts/collection.json.erb +1 -0
- data/app/views/katello/api/v2/layouts/resource.json.erb +5 -0
- data/app/views/katello/api/v2/organizations/show.json.rabl +2 -3
- data/app/views/katello/api/v2/package_groups/backend.json.rabl +4 -0
- data/app/views/katello/api/v2/package_groups/base.json.rabl +19 -0
- data/app/views/katello/api/v2/package_groups/index.json.rabl +1 -1
- data/app/views/katello/api/v2/package_groups/show.json.rabl +2 -22
- data/app/views/katello/api/v2/packages/backend.json.rabl +8 -0
- data/app/views/katello/api/v2/packages/base.json.rabl +5 -0
- data/app/views/katello/api/v2/packages/index.json.rabl +5 -1
- data/app/views/katello/api/v2/packages/show.json.rabl +2 -5
- data/app/views/katello/api/v2/products/base.json.rabl +1 -1
- data/app/views/katello/api/v2/puppet_modules/backend.json.rabl +7 -0
- data/app/views/katello/api/v2/puppet_modules/base.json.rabl +8 -0
- data/app/views/katello/api/v2/puppet_modules/index.json.rabl +5 -1
- data/app/views/katello/api/v2/puppet_modules/name.json.rabl +1 -2
- data/app/views/katello/api/v2/puppet_modules/show.json.rabl +2 -17
- data/app/views/katello/api/v2/repositories/base.json.rabl +34 -0
- data/app/views/katello/api/v2/repositories/index.json.rabl +5 -1
- data/app/views/katello/api/v2/repositories/show.json.rabl +10 -30
- data/app/views/katello/api/v2/subscriptions/base.json.rabl +15 -0
- data/app/views/katello/api/v2/subscriptions/index.json.rabl +6 -1
- data/app/views/katello/api/v2/subscriptions/show.json.rabl +11 -23
- data/app/views/katello/api/v2/{systems/errata.json.rabl → system_errata/index.json.rabl} +1 -1
- data/app/views/katello/api/v2/systems/_content.json.rabl +17 -0
- data/app/views/katello/api/v2/systems/content_override.json.rabl +3 -0
- data/app/views/katello/api/v2/systems/product_content.json.rabl +3 -0
- data/app/views/katello/api/v2/systems/show.json.rabl +0 -4
- data/app/views/katello/errata_mailer/_erratum.html.erb +10 -0
- data/app/views/katello/errata_mailer/sync_errata.html.erb +3 -3
- data/app/views/katello/layouts/katello.html.erb +23 -0
- data/app/views/katello/providers/redhat/_enable_errors.html.erb +12 -0
- data/app/views/katello/providers/redhat/_errors.html.erb +19 -0
- data/app/views/katello/providers/redhat/_repo_sets.html.erb +56 -0
- data/app/views/katello/providers/redhat/_repos.html.erb +56 -0
- data/app/views/katello/providers/redhat/_tab.html.erb +9 -0
- data/app/views/katello/providers/redhat/show.html.erb +35 -0
- data/app/views/katello/sync_management/_children.html.erb +14 -0
- data/app/views/katello/sync_management/_controls.html.erb +30 -0
- data/app/views/katello/sync_management/_product.html.erb +27 -0
- data/app/views/katello/sync_management/_products.html.erb +40 -0
- data/app/views/katello/sync_management/_repo.html.erb +43 -0
- data/app/views/katello/sync_management/_sync_plans.html.erb +23 -0
- data/app/views/katello/sync_management/index.html.erb +26 -0
- data/config/initializers/inflections.rb +0 -1
- data/config/initializers/runcible.rb +1 -1
- data/config/katello.yaml.example +91 -0
- data/config/katello.yml +223 -16
- data/config/katello_defaults.yml +0 -236
- data/config/routes.rb +1 -129
- data/config/routes/api/v2.rb +45 -29
- data/config/routes/overrides.rb +1 -13
- data/db/migrate/20140626204657_add_unlimited_to_activation_keys.rb +14 -10
- data/db/migrate/20140626204902_add_unlimited_to_host_collection.rb +14 -10
- data/db/migrate/20141003210742_add_docker_container_registry_url_to_providers.rb +0 -2
- data/db/migrate/20141209103005_disown_foreman_templates.rb +5 -1
- data/db/migrate/20150224083608_remove_docker_registry_url.rb +9 -0
- data/db/migrate/20150423134004_add_content_host_id_to_smart_proxy.rb +0 -15
- data/db/migrate/20150505180030_change_errata_timestamps_to_dates.rb +15 -0
- data/db/migrate/20150507131145_update_composite_default_for_content_view.rb +14 -0
- data/db/migrate/20150602153753_remove_help_tips.rb +16 -0
- data/db/migrate/20150602153754_remove_search_histories.rb +17 -0
- data/db/migrate/20150602153755_remove_search_favorites.rb +17 -0
- data/db/migrate/20150602153756_remove_user_notices.rb +16 -0
- data/db/migrate/20150602153757_remove_notices.rb +20 -0
- data/db/migrate/20150603045418_remove_user_fields.rb +18 -0
- data/db/migrate/20150606021722_create_puppet_modules.rb +58 -0
- data/db/migrate/20150611140455_remove_default_and_custom_info.rb +5 -0
- data/db/migrate/20150613134559_add_rpm.rb +38 -0
- data/db/migrate/20150623135424_create_package_groups.rb +29 -0
- data/db/migrate/20150715142649_assign_content_host_to_smart_proxies.rb +21 -0
- data/db/migrate/20150717142559_add_distributions_to_repository.rb +10 -0
- data/db/migrate/20150813185339_create_subscriptions.rb +82 -0
- data/db/migrate/20150901213759_remove_distributors.rb +25 -0
- data/db/migrate/20150902164543_remove_apply_info_task_id_from_taxonomies.rb +5 -0
- data/db/migrate/20150908222711_drop_marketing_engineering_products.rb +21 -0
- data/db/seeds.rb +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-key.factory.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activationKeyConsumed.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-host-collections.controller.js +10 -23
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-subscriptions.controller.js +16 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details-info.controller.js +12 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-host-collections.controller.js +10 -23
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-product-details.controller.js +14 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-products.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-subscriptions.controller.js +16 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-add-subscriptions.html +59 -86
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-associations-content-hosts.html +6 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-host-collections-table.html +29 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +7 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions-list.html +55 -79
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/new-activation-key.controller.js +13 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys-table-full.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion-katello-bootstrap.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +0 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsules/capsule.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsules/capsules.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-environment.controller.js +9 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-errata.controller.js +14 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-host-collections.controller.js +11 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-packages.controller.js +20 -33
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-subscriptions.controller.js +16 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action.controller.js +12 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-environment.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-errata.html +7 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-host-collections.html +4 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-erratum.factory.js +1 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-events.controller.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-package.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-status.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host.factory.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts-helper.service.js +37 -50
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +7 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.module.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +24 -27
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +15 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages.html +49 -47
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-host-collections.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-subscriptions.controller.js +22 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-base-subscriptions.controller.js +11 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details-info.controller.js +40 -104
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-host-collections.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-product-details.controller.js +14 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-products.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-subscriptions.controller.js +20 -62
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-add-subscriptions.html +61 -96
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +8 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-events.html +21 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +3 -33
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions-list.html +59 -91
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/host-collections-table.html +44 -42
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts-table-full.html +0 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-view.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-deletion.controller.js +12 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-activation-keys.controller.js +7 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-confirm.controller.js +18 -30
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-content-hosts.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-environments.controller.js +5 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion.controller.js +9 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-docker-repositories.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-puppet-modules.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-repositories.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-composite-available-content-views.controller.js +9 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-composite-content-views-list.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details-history.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +77 -88
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-docker-repositories-list.controller.js +3 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-promotion.controller.js +60 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-publish.controller.js +9 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories-list.controller.js +3 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories.service.js +14 -27
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-versions.controller.js +34 -48
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/available-errata-filter.controller.js +24 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/available-package-group-filter.controller.js +29 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/date-type-errata-filter.controller.js +9 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/edit-filter.controller.js +3 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/errata-filter-list.controller.js +34 -47
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/errata-filter.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-helper.service.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-repositories.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-type.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter.factory.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filters.controller.js +16 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/new-filter.controller.js +33 -46
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-filter.controller.js +61 -74
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-group-filter.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-group-list-filter.controller.js +25 -36
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/rule.factory.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/edit-filter.html +18 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filter-repositories.html +0 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filters.html +6 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/new-filter.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/package-filter-details.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/package-filter.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module-names.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module-versions.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-modules.controller.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-module-names.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-modules.html +3 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-content-views-list.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details-history.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-docker-repositories.html +46 -50
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-promotion.html +12 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-repositories.html +51 -55
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +38 -38
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +15 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version-content.controller.js +9 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js +1 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-versions.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-package-groups.html +8 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-packages.html +8 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views-table-full.html +1 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-images/docker-image.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-images/docker-images.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tags-details.controller.js +7 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/content.service.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment-content.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment.controller.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-content-views.html +3 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-puppet-modules.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environment.factory.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/new-environment.controller.js +12 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +17 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-content-hosts.controller.js +5 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details-repositories.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-content-hosts.html +7 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-info.html +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-repositories.html +7 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-counts.directive.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-severity.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-type.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js +20 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.routes.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/erratum.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +8 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html +13 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-details-info.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-key.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/new-gpg-key.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-add-content-hosts.controller.js +11 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-content-hosts.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-details.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-add-content-hosts.html +39 -37
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-content-hosts-list.html +34 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collection.factory.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.module.js +0 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/host-collection-form.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/new-host-collection.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/README +12 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +4484 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +5324 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +5290 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +5363 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +5349 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +5281 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +5191 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +5321 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +5171 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +5103 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +5106 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/check-current-organization.run.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organization-selector.controller.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organization.factory.js +5 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-group.factory.js +4 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-groups.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details-repositories.controller.js +59 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js +23 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-dependencies.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-files.html +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-info.html +75 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-repositories.html +83 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details.html +57 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/package.factory.js +2 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.controller.js +65 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.routes.js +66 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-collapsed.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-full.html +22 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync-plan.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details-info.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +16 -41
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-repositories.html +114 -115
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery-form.controller.js +76 -94
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html +7 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/product-form.controller.js +7 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/views/product-new.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +11 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.module.js +9 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/partials/product-table-sync-status.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products-table-full.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-modules-details-content-views.controller.js +43 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-modules-details-repositories.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-modules-details.controller.js +28 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-content-views.html +37 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-info.html +31 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-repositories.html +52 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details.html +45 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-module.factory.js +5 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.routes.js +69 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules-table-collapsed.html +20 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules-table-full.html +29 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules.html +16 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/repository-details-info.controller.js +10 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/repository-details-manage-content.controller.js +26 -37
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-info.html +59 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-docker-images.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-package-groups.html +25 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-packages.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-puppet-modules.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/new/new-repository.controller.js +20 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/repositories.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/repository.factory.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-associations-activation-keys.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-associations-content-hosts.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-details.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-product-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-products.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-associations-activation-keys.html +8 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-associations-content-hosts.html +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-info.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-products.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest-details.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest-history.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest-import.controller.js +34 -47
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest-import.html +0 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscription-type.directive.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptionAttachAmountFilter.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptionConsumed.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions-helper.service.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.controller.js +18 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.module.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions-table-full.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-add-products.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details-info.controller.js +14 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-products.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-info.html +14 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-products-table.html +37 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/new-sync-plan.controller.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plan.factory.js +2 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.controller.js +7 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/aggregate-task.factory.js +17 -30
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-compile.filter.js +6 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-part.directive.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-reduce.filter.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task.factory.js +36 -43
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-nutupane.factory.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-table.directive.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/tasks-table.html +30 -28
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.less +6 -0
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/systems.less +0 -24
- data/engines/bastion_katello/bastion_katello.gemspec +1 -1
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +6 -1
- data/lib/katello.rb +2 -8
- data/lib/katello/apipie/validators.rb +1 -1
- data/lib/katello/engine.rb +54 -15
- data/lib/katello/permissions/content_host_permissions.rb +4 -5
- data/lib/katello/permissions/content_view_permissions.rb +2 -4
- data/lib/katello/permissions/host_collections_permissions.rb +0 -1
- data/lib/katello/permissions/product_permissions.rb +1 -2
- data/lib/katello/permissions/subscription_permissions.rb +1 -2
- data/lib/katello/permissions/sync_plan_permissions.rb +2 -1
- data/lib/katello/plugin.rb +36 -37
- data/lib/katello/tasks/reindex.rake +125 -18
- data/lib/katello/tasks/setup.rake +0 -3
- data/lib/katello/tasks/test.rake +92 -8
- data/lib/katello/tasks/upgrades/2.4/import_distributions.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_package_groups.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_puppet_modules.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_rpms.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_subscriptions.rake +13 -0
- data/lib/katello/tire_bridge.rb +20 -0
- data/lib/katello/url_constrained_cookie_store.rb +0 -12
- data/lib/katello/version.rb +1 -1
- data/lib/monkeys/passenger_tee_input.rb +0 -12
- data/locale/action_names.rb +47 -0
- data/locale/bn/katello.po +2728 -5025
- data/locale/cs/katello.po +1939 -2918
- data/locale/de/katello.po +3515 -5733
- data/locale/en/katello.po +1570 -1537
- data/locale/es/katello.po +3457 -5721
- data/locale/fr/katello.po +3604 -5753
- data/locale/gu/katello.po +2740 -5029
- data/locale/hi/katello.po +2731 -5032
- data/locale/it/katello.po +3502 -5769
- data/locale/ja/katello.po +3481 -5888
- data/locale/katello.pot +1277 -1472
- data/locale/kn/katello.po +2754 -5089
- data/locale/ko/katello.po +3327 -5775
- data/locale/mr/katello.po +2701 -5097
- data/locale/or/katello.po +2741 -5093
- data/locale/pa/katello.po +2601 -4937
- data/locale/pt/katello.po +1810 -1947
- data/locale/pt_BR/katello.po +3468 -5893
- data/locale/ru/katello.po +3352 -5856
- data/locale/ta/katello.po +2751 -5040
- data/locale/te/katello.po +2734 -5091
- data/locale/zh_CN/katello.po +3230 -5800
- data/locale/zh_TW/katello.po +3540 -5962
- metadata +1451 -1575
- checksums.yaml +0 -15
- data/app/assets/javascripts/katello/common/bastion-routes.js +0 -2870
- data/app/assets/javascripts/katello/common/notices.js +0 -176
- data/app/assets/javascripts/katello/common/panel.js +0 -1078
- data/app/assets/javascripts/katello/common/routes.js +0 -2878
- data/app/assets/javascripts/katello/common/search.js +0 -376
- data/app/assets/javascripts/katello/content_search/content_search.js +0 -854
- data/app/assets/javascripts/katello/content_search/index.js +0 -20
- data/app/assets/javascripts/katello/dashboard/dashboard.js +0 -210
- data/app/assets/javascripts/katello/dashboard/index.js +0 -14
- data/app/assets/javascripts/katello/notices/index.js +0 -14
- data/app/assets/javascripts/katello/notices/notices_list.js +0 -49
- data/app/assets/javascripts/katello/providers/index.js +0 -16
- data/app/assets/javascripts/katello/providers/products_repos.js +0 -46
- data/app/assets/javascripts/katello/providers/provider.js +0 -68
- data/app/assets/javascripts/katello/providers/provider_create.js +0 -21
- data/app/assets/javascripts/katello/providers/repo.js +0 -27
- data/app/assets/javascripts/katello/providers/repo_discovery.js +0 -376
- data/app/assets/javascripts/katello/providers/repo_discovery_create.js +0 -17
- data/app/assets/javascripts/katello/widgets/comparison_grid.js +0 -1033
- data/app/assets/javascripts/katello/widgets/slidingtree.js +0 -645
- data/app/assets/javascripts/katello/widgets/tipsy.custom.js +0 -197
- data/app/assets/stylesheets/katello/content_search.scss +0 -650
- data/app/assets/stylesheets/katello/custom_info.scss +0 -32
- data/app/assets/stylesheets/katello/dashboard.scss +0 -570
- data/app/assets/stylesheets/katello/widgets/tipsy_custom.scss +0 -81
- data/app/controllers/katello/api/v2/distributions_controller.rb +0 -50
- data/app/controllers/katello/api/v2/users_controller.rb +0 -16
- data/app/controllers/katello/concerns/api/v2/repository_db_content_controller.rb +0 -109
- data/app/controllers/katello/consumers_controller_logic.rb +0 -55
- data/app/controllers/katello/content_search_controller.rb +0 -676
- data/app/controllers/katello/content_views_controller.rb +0 -35
- data/app/controllers/katello/dashboard_controller.rb +0 -106
- data/app/controllers/katello/distributor_events_controller.rb +0 -114
- data/app/controllers/katello/distributors_controller.rb +0 -501
- data/app/controllers/katello/notices_controller.rb +0 -101
- data/app/controllers/katello/packages_controller.rb +0 -45
- data/app/controllers/katello/puppet_modules_controller.rb +0 -27
- data/app/controllers/katello/repositories_controller.rb +0 -39
- data/app/controllers/katello/search_controller.rb +0 -92
- data/app/helpers/katello/content_search_helper.rb +0 -62
- data/app/helpers/katello/dashboard_helper.rb +0 -204
- data/app/helpers/katello/distributors_helper.rb +0 -69
- data/app/helpers/katello/notices_helper.rb +0 -21
- data/app/helpers/katello/search_helper.rb +0 -35
- data/app/helpers/katello/users_helper.rb +0 -44
- data/app/lib/actions/candlepin/reindex_pool_subscription_handler.rb +0 -91
- data/app/lib/actions/elastic_search/content_view_puppet_environment/index_content.rb +0 -28
- data/app/lib/actions/elastic_search/repository/destroy.rb +0 -35
- data/app/lib/actions/elastic_search/repository/remove_puppet_modules.rb +0 -28
- data/app/lib/actions/katello/organization/index_subscriptions.rb +0 -61
- data/app/lib/actions/katello/repository/remove_docker_images.rb +0 -35
- data/app/lib/actions/katello/user/create.rb +0 -27
- data/app/lib/actions/katello/user/destroy.rb +0 -28
- data/app/lib/actions/pulp/superuser/abstract.rb +0 -35
- data/app/lib/actions/pulp/superuser/add.rb +0 -23
- data/app/lib/actions/pulp/superuser/remove.rb +0 -23
- data/app/lib/actions/pulp/user/create.rb +0 -35
- data/app/lib/actions/pulp/user/destroy.rb +0 -27
- data/app/lib/katello/content_search/cell.rb +0 -29
- data/app/lib/katello/content_search/column.rb +0 -18
- data/app/lib/katello/content_search/container_search.rb +0 -55
- data/app/lib/katello/content_search/content_view_comparison.rb +0 -200
- data/app/lib/katello/content_search/content_view_search.rb +0 -69
- data/app/lib/katello/content_search/element.rb +0 -57
- data/app/lib/katello/content_search/metadata_row.rb +0 -35
- data/app/lib/katello/content_search/product_row.rb +0 -35
- data/app/lib/katello/content_search/product_search.rb +0 -60
- data/app/lib/katello/content_search/repo_row.rb +0 -33
- data/app/lib/katello/content_search/repo_search.rb +0 -68
- data/app/lib/katello/content_search/row.rb +0 -25
- data/app/lib/katello/content_search/search.rb +0 -45
- data/app/lib/katello/content_search/search_utils.rb +0 -33
- data/app/lib/katello/content_search/span.rb +0 -21
- data/app/lib/katello/content_search/unit_row.rb +0 -55
- data/app/lib/katello/dashboard/content_views_widget.rb +0 -30
- data/app/lib/katello/dashboard/errata_widget.rb +0 -30
- data/app/lib/katello/dashboard/host_collections_widget.rb +0 -30
- data/app/lib/katello/dashboard/layout.rb +0 -73
- data/app/lib/katello/dashboard/notices_widget.rb +0 -23
- data/app/lib/katello/dashboard/subscriptions_totals_widget.rb +0 -29
- data/app/lib/katello/dashboard/subscriptions_widget.rb +0 -25
- data/app/lib/katello/dashboard/sync_widget.rb +0 -30
- data/app/lib/katello/dashboard/widget.rb +0 -45
- data/app/lib/katello/notifications.rb +0 -17
- data/app/lib/katello/notifications/controller_helper.rb +0 -43
- data/app/lib/katello/notifications/notifier.rb +0 -190
- data/app/lib/katello/notify.rb +0 -16
- data/app/lib/katello/validators/default_info_validator.rb +0 -40
- data/app/models/katello/authorization.rb +0 -25
- data/app/models/katello/authorization/distributor.rb +0 -58
- data/app/models/katello/custom_info.rb +0 -64
- data/app/models/katello/distribution.rb +0 -32
- data/app/models/katello/distributor.rb +0 -136
- data/app/models/katello/glue/elastic_search/activation_key.rb +0 -37
- data/app/models/katello/glue/elastic_search/content_view.rb +0 -58
- data/app/models/katello/glue/elastic_search/content_view_filter.rb +0 -39
- data/app/models/katello/glue/elastic_search/content_view_puppet_environment.rb +0 -72
- data/app/models/katello/glue/elastic_search/content_view_puppet_module.rb +0 -41
- data/app/models/katello/glue/elastic_search/distribution.rb +0 -72
- data/app/models/katello/glue/elastic_search/distributor.rb +0 -63
- data/app/models/katello/glue/elastic_search/marketing_product.rb +0 -21
- data/app/models/katello/glue/elastic_search/notice.rb +0 -36
- data/app/models/katello/glue/elastic_search/package.rb +0 -233
- data/app/models/katello/glue/elastic_search/package_group.rb +0 -136
- data/app/models/katello/glue/elastic_search/pool.rb +0 -185
- data/app/models/katello/glue/elastic_search/product.rb +0 -59
- data/app/models/katello/glue/elastic_search/provider.rb +0 -41
- data/app/models/katello/glue/elastic_search/puppet_module.rb +0 -251
- data/app/models/katello/glue/elastic_search/repository.rb +0 -133
- data/app/models/katello/glue/pulp/distribution.rb +0 -50
- data/app/models/katello/glue/pulp/package.rb +0 -76
- data/app/models/katello/glue/pulp/package_group.rb +0 -60
- data/app/models/katello/glue/pulp/puppet_module.rb +0 -76
- data/app/models/katello/glue/pulp/user.rb +0 -59
- data/app/models/katello/help_tip.rb +0 -20
- data/app/models/katello/marketing_engineering_product.rb +0 -21
- data/app/models/katello/marketing_product.rb +0 -21
- data/app/models/katello/notice.rb +0 -77
- data/app/models/katello/package.rb +0 -19
- data/app/models/katello/search_favorite.rb +0 -38
- data/app/models/katello/search_history.rb +0 -22
- data/app/models/katello/user_notice.rb +0 -27
- data/app/models/repository_docker_image.rb +0 -18
- data/app/views/katello/api/v2/custom_info/show.json.rabl +0 -5
- data/app/views/katello/api/v2/distributions/index.json.rabl +0 -3
- data/app/views/katello/api/v2/distributions/show.json.rabl +0 -9
- data/app/views/katello/api/v2/distributors/index.json.rabl +0 -9
- data/app/views/katello/api/v2/distributors/pools.json.rabl +0 -3
- data/app/views/katello/api/v2/distributors/show.json.rabl +0 -3
- data/app/views/katello/api/v2/distributors/task.json.rabl +0 -3
- data/app/views/katello/api/v2/distributors/tasks.json.rabl +0 -3
- data/app/views/katello/api/v2/layouts/collection.json.haml +0 -3
- data/app/views/katello/api/v2/layouts/resource.json.haml +0 -5
- data/app/views/katello/api/v2/organization_default_info/apply_to_all.json.rabl +0 -3
- data/app/views/katello/api/v2/organization_default_info/create.json.rabl +0 -5
- data/app/views/katello/api/v2/users/list_owners.json.rabl +0 -4
- data/app/views/katello/api/v2/users/show.json.rabl +0 -12
- data/app/views/katello/common/400.html.haml +0 -5
- data/app/views/katello/common/403.html.haml +0 -10
- data/app/views/katello/common/404.html.haml +0 -7
- data/app/views/katello/common/500.html.haml +0 -15
- data/app/views/katello/common/_ajax_notices.haml +0 -5
- data/app/views/katello/common/_common_i18n.html.haml +0 -45
- data/app/views/katello/common/_common_product_repo_selector.html.haml +0 -65
- data/app/views/katello/common/_common_products.html.haml +0 -24
- data/app/views/katello/common/_config.html.haml +0 -8
- data/app/views/katello/common/_edit_i18n.html.haml +0 -12
- data/app/views/katello/common/_env_select.html.haml +0 -40
- data/app/views/katello/common/_filter_table.html.haml +0 -5
- data/app/views/katello/common/_footer.haml +0 -5
- data/app/views/katello/common/_helptip.html.haml +0 -3
- data/app/views/katello/common/_helptip_button.html.haml +0 -2
- data/app/views/katello/common/_list_item.html.haml +0 -6
- data/app/views/katello/common/_list_items.html.haml +0 -2
- data/app/views/katello/common/_list_remove.js.haml +0 -3
- data/app/views/katello/common/_list_update.html.haml +0 -4
- data/app/views/katello/common/_notification.haml +0 -29
- data/app/views/katello/common/_one_panel.html.haml +0 -15
- data/app/views/katello/common/_one_panel_list_item.haml +0 -5
- data/app/views/katello/common/_package_actions_i18n.html.haml +0 -7
- data/app/views/katello/common/_panel.html.haml +0 -75
- data/app/views/katello/common/_post_action_close_subpanel.js.haml +0 -2
- data/app/views/katello/common/_post_delete_close_subpanel.js.haml +0 -2
- data/app/views/katello/common/_repo_selector.html.haml +0 -27
- data/app/views/katello/common/_search.html.haml +0 -17
- data/app/views/katello/common/_stats_line.html.haml +0 -3
- data/app/views/katello/common/_tupane.html.haml +0 -10
- data/app/views/katello/content_search/_browser_box.html.haml +0 -132
- data/app/views/katello/content_search/_container_hover.html.haml +0 -26
- data/app/views/katello/content_search/_grid.html.haml +0 -60
- data/app/views/katello/content_search/_repo_hover.html.haml +0 -18
- data/app/views/katello/content_search/index.html.haml +0 -32
- data/app/views/katello/custom_info/_edit.html.haml +0 -32
- data/app/views/katello/dashboard/_ajax_entry.html.haml +0 -11
- data/app/views/katello/dashboard/_content_views.haml +0 -22
- data/app/views/katello/dashboard/_entry.html.haml +0 -9
- data/app/views/katello/dashboard/_errata.haml +0 -21
- data/app/views/katello/dashboard/_host_collection_item.html.haml +0 -19
- data/app/views/katello/dashboard/_host_collections.html.haml +0 -31
- data/app/views/katello/dashboard/_notices.html.haml +0 -11
- data/app/views/katello/dashboard/_subscriptions.haml +0 -47
- data/app/views/katello/dashboard/_subscriptions_totals.haml +0 -19
- data/app/views/katello/dashboard/_sync.haml +0 -37
- data/app/views/katello/dashboard/_systems.html.haml +0 -22
- data/app/views/katello/dashboard/index.html.haml +0 -25
- data/app/views/katello/distributor_events/_details.html.haml +0 -32
- data/app/views/katello/distributor_events/_event_items.html.haml +0 -27
- data/app/views/katello/distributor_events/_events.html.haml +0 -36
- data/app/views/katello/distributor_events/_more_events.html.haml +0 -3
- data/app/views/katello/distributors/_actions.html.haml +0 -23
- data/app/views/katello/distributors/_distributor_tupane_header_nav.html.haml +0 -10
- data/app/views/katello/distributors/_edit.html.haml +0 -73
- data/app/views/katello/distributors/_edit_custom_info.html.haml +0 -10
- data/app/views/katello/distributors/_list_distributor.html.haml +0 -2
- data/app/views/katello/distributors/_list_distributor_show.html.haml +0 -18
- data/app/views/katello/distributors/_list_distributors.html.haml +0 -1
- data/app/views/katello/distributors/_more_products.html.haml +0 -5
- data/app/views/katello/distributors/_new.html.haml +0 -43
- data/app/views/katello/distributors/_products.html.haml +0 -23
- data/app/views/katello/distributors/_subs.html.haml +0 -149
- data/app/views/katello/distributors/_subs_update.js.haml +0 -1
- data/app/views/katello/distributors/_subscription_details.html.haml +0 -23
- data/app/views/katello/distributors/_subscriptions.html.haml +0 -22
- data/app/views/katello/distributors/index.html.haml +0 -10
- data/app/views/katello/errata/_short_details.html.haml +0 -44
- data/app/views/katello/layouts/katello.haml +0 -32
- data/app/views/katello/layouts/tupane_layout.html.haml +0 -45
- data/app/views/katello/nodes/_list.html.haml +0 -5
- data/app/views/katello/nodes/index.html.haml +0 -1
- data/app/views/katello/nodes/show.html.haml +0 -7
- data/app/views/katello/notices/_delete_all.js.haml +0 -1
- data/app/views/katello/notices/show.html.haml +0 -46
- data/app/views/katello/packages/_changelog.html.haml +0 -15
- data/app/views/katello/packages/_dependencies.html.haml +0 -27
- data/app/views/katello/packages/_details.html.haml +0 -100
- data/app/views/katello/packages/_filelist.html.haml +0 -15
- data/app/views/katello/packages/_show.html.haml +0 -90
- data/app/views/katello/providers/index.html.haml +0 -17
- data/app/views/katello/providers/redhat/_enable_errors.haml +0 -9
- data/app/views/katello/providers/redhat/_errors.html.haml +0 -13
- data/app/views/katello/providers/redhat/_repo_sets.haml +0 -31
- data/app/views/katello/providers/redhat/_repos.html.haml +0 -23
- data/app/views/katello/providers/redhat/_tab.html.haml +0 -8
- data/app/views/katello/providers/redhat/show.html.haml +0 -23
- data/app/views/katello/puppet_modules/_show.html.haml +0 -88
- data/app/views/katello/sync_management/_children.html.haml +0 -13
- data/app/views/katello/sync_management/_controls.html.haml +0 -13
- data/app/views/katello/sync_management/_product.html.haml +0 -21
- data/app/views/katello/sync_management/_products.html.haml +0 -20
- data/app/views/katello/sync_management/_repo.html.haml +0 -27
- data/app/views/katello/sync_management/_sync_plans.html.haml +0 -16
- data/app/views/katello/sync_management/index.html.haml +0 -22
- data/app/views/katello/sync_management/manage.html.haml +0 -25
- data/app/views/katello/user_mailer/logins.text.haml +0 -3
- data/app/views/katello/welcome/show.html.haml +0 -15
- data/config/initializers/tire.rb +0 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/custom-info/custom-info.factory.js +0 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/custom-info/custom-info.module.js +0 -24
- data/lib/headpin/headpin.rb +0 -6
- data/lib/katello/app_config.rb +0 -22
- data/lib/katello/configuration.rb +0 -70
- data/lib/katello/configuration/loader.rb +0 -128
- data/lib/katello/configuration/node.rb +0 -145
- data/lib/katello/configuration/validator.rb +0 -85
- data/lib/katello/load_configuration.rb +0 -95
- data/lib/katello/logging.rb +0 -245
- data/lib/katello/middleware/log_request_uuid.rb +0 -28
- data/lib/katello/middleware/silenced_logger.rb +0 -35
- data/lib/katello/permissions/dashboard_permissions.rb +0 -6
- data/lib/monkeys/string_to_bool.rb +0 -19
- data/lib/monkeys/yard_svg_fix.rb +0 -26
- data/lib/util/password.rb +0 -137
- data/vendor/assets/javascripts/katello/jquery.tipsy.js +0 -358
- data/vendor/assets/stylesheets/katello/jquery.timepickr.css +0 -40
- data/vendor/assets/stylesheets/katello/jquery.tipsy.css +0 -25
@@ -1,21 +1,8 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentView < Katello::Model
|
15
3
|
self.include_root_in_json = false
|
16
4
|
|
17
5
|
include Ext::LabelFromName
|
18
|
-
include Glue::ElasticSearch::ContentView if Katello.config.use_elasticsearch
|
19
6
|
include Katello::Authorization::ContentView
|
20
7
|
include ForemanTasks::Concerns::ActionSubject
|
21
8
|
|
@@ -38,11 +25,9 @@ module Katello
|
|
38
25
|
end
|
39
26
|
end
|
40
27
|
|
41
|
-
has_many :distributors, :class_name => "Katello::Distributor", :dependent => :restrict
|
42
28
|
has_many :content_view_repositories, :dependent => :destroy
|
43
29
|
has_many :repositories, :through => :content_view_repositories, :class_name => "Katello::Repository",
|
44
|
-
:after_remove => :remove_repository
|
45
|
-
:after_add => :add_repository
|
30
|
+
:after_remove => :remove_repository
|
46
31
|
|
47
32
|
has_many :content_view_puppet_modules, :class_name => "Katello::ContentViewPuppetModule",
|
48
33
|
:dependent => :destroy
|
@@ -65,17 +50,19 @@ module Katello
|
|
65
50
|
validates :organization_id, :presence => true
|
66
51
|
validate :check_repo_conflicts
|
67
52
|
validate :check_puppet_conflicts
|
53
|
+
validates :composite, :inclusion => [true, false]
|
68
54
|
|
69
55
|
validates_with Validators::KatelloNameFormatValidator, :attributes => :name
|
70
56
|
validates_with Validators::KatelloLabelFormatValidator, :attributes => :label
|
71
57
|
|
72
|
-
scope :default, where(:default => true)
|
73
|
-
scope :non_default, where(:default => false)
|
74
|
-
scope :composite, where(:composite => true)
|
75
|
-
scope :non_composite, where(:composite => nil)
|
58
|
+
scope :default, -> { where(:default => true) }
|
59
|
+
scope :non_default, -> { where(:default => false) }
|
60
|
+
scope :composite, -> { where(:composite => true) }
|
61
|
+
scope :non_composite, -> { where(:composite => [nil, false]) }
|
76
62
|
|
77
63
|
scoped_search :on => :name, :complete_value => true
|
78
64
|
scoped_search :on => :organization_id, :complete_value => true
|
65
|
+
scoped_search :on => :composite, :complete_value => {true: true, false: false}
|
79
66
|
|
80
67
|
def self.in_environment(env)
|
81
68
|
joins(:content_view_environments).
|
@@ -152,6 +139,16 @@ module Katello
|
|
152
139
|
result
|
153
140
|
end
|
154
141
|
|
142
|
+
def total_package_count(env)
|
143
|
+
Katello::Rpm.in_repositories(self.repos(env)).count
|
144
|
+
end
|
145
|
+
|
146
|
+
def total_puppet_module_count(env)
|
147
|
+
repoids = self.repos(env).collect { |r| r.pulp_id }
|
148
|
+
result = Katello::PuppetModule.legacy_search('*', :page_size => 1, :repoids => repoids)
|
149
|
+
result.length > 0 ? result.total : 0
|
150
|
+
end
|
151
|
+
|
155
152
|
def in_environment?(env)
|
156
153
|
environments.include?(env)
|
157
154
|
end
|
@@ -412,11 +409,12 @@ module Katello
|
|
412
409
|
pulp_id = ContentViewPuppetEnvironment.generate_pulp_id(organization.label, to_env.try(:label),
|
413
410
|
self.label, version.try(:version))
|
414
411
|
|
415
|
-
ContentViewPuppetEnvironment.new(
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
412
|
+
ContentViewPuppetEnvironment.new(
|
413
|
+
:environment => to_env,
|
414
|
+
:content_view_version => to_version,
|
415
|
+
:name => self.name,
|
416
|
+
:pulp_id => pulp_id
|
417
|
+
)
|
420
418
|
end
|
421
419
|
|
422
420
|
def create_puppet_env(options)
|
@@ -424,41 +422,37 @@ module Katello
|
|
424
422
|
end
|
425
423
|
|
426
424
|
def computed_module_ids_by_repoid
|
427
|
-
|
428
|
-
# details. This is necessary since pulp requires both a source and destination
|
429
|
-
# repo id to copy content.
|
430
|
-
ids = []
|
425
|
+
uuids = []
|
431
426
|
names_and_authors = []
|
427
|
+
puppet_modules = []
|
428
|
+
|
432
429
|
if composite?
|
433
|
-
component_modules_to_publish.
|
430
|
+
uuids = component_modules_to_publish.collect { |puppet_module| puppet_module.uuid }
|
434
431
|
else
|
435
432
|
puppet_modules_to_publish.each do |cvpm|
|
436
433
|
if cvpm.uuid
|
437
|
-
|
434
|
+
uuids << cvpm.uuid
|
438
435
|
else
|
439
436
|
names_and_authors << { :name => cvpm.name, :author => cvpm.author }
|
440
437
|
end
|
441
438
|
end
|
442
439
|
end
|
443
440
|
|
444
|
-
puppet_modules =
|
445
|
-
unless names_and_authors.blank?
|
446
|
-
puppet_modules << PuppetModule.latest_modules_search(names_and_authors,
|
447
|
-
self.organization.library.repositories.puppet_type.map(&:pulp_id))
|
448
|
-
end
|
441
|
+
puppet_modules = PuppetModule.where(:uuid => uuids) if uuids.present?
|
449
442
|
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
fail _("Could not find Repository for module %s.") % puppet_module.name
|
443
|
+
if names_and_authors.present?
|
444
|
+
names_and_authors.each do |name_and_author|
|
445
|
+
puppet_module = ::Katello::PuppetModule.latest_module(
|
446
|
+
name_and_author[:name],
|
447
|
+
name_and_author[:author],
|
448
|
+
self.organization.library.repositories.puppet_type
|
449
|
+
)
|
450
|
+
puppet_modules << puppet_module
|
459
451
|
end
|
460
452
|
end
|
461
|
-
|
453
|
+
|
454
|
+
# In order to minimize the number of copy requests, organize the data by repoid.
|
455
|
+
PuppetModule.group_by_repoid(puppet_modules)
|
462
456
|
end
|
463
457
|
|
464
458
|
def check_ready_to_publish!
|
@@ -471,7 +465,6 @@ module Katello
|
|
471
465
|
errors = []
|
472
466
|
|
473
467
|
dependencies = {systems: _("systems"),
|
474
|
-
distributors: _("distributors"),
|
475
468
|
activation_keys: _("activation keys")
|
476
469
|
}
|
477
470
|
|
@@ -491,7 +484,6 @@ module Katello
|
|
491
484
|
|
492
485
|
dependencies = {environments: _("environments"),
|
493
486
|
systems: _("systems"),
|
494
|
-
distributors: _("distributors"),
|
495
487
|
activation_keys: _("activation keys")
|
496
488
|
}
|
497
489
|
|
@@ -508,52 +500,36 @@ module Katello
|
|
508
500
|
|
509
501
|
def check_distribution_conflicts!
|
510
502
|
duplicates = duplicate_distributions
|
511
|
-
pulp_repo_ids = []
|
512
503
|
if duplicates.any?
|
513
504
|
failed_distribution = duplicates.first
|
514
|
-
pulp_repo_ids = failed_distribution.repoids
|
515
505
|
else
|
516
506
|
conflicts = distribution_conflicts
|
517
|
-
if conflicts.
|
518
|
-
|
519
|
-
failed_distribution = conflicts.first[:distributions].first
|
507
|
+
if conflicts.any?
|
508
|
+
failed_distribution = conflicts.first
|
520
509
|
end
|
521
510
|
end
|
522
511
|
|
523
512
|
if failed_distribution
|
513
|
+
failed_repos = [duplicates, conflicts].flat_map { |i| i }
|
524
514
|
fail _("Content Views cannot contain multiple Kickstart trees with the same version and architecture. " \
|
525
515
|
"Multiple Kickstart trees of %{release} %{arch} were found in Repositories: %{repos}") %
|
526
|
-
{:release => failed_distribution.
|
527
|
-
:repos =>
|
516
|
+
{:release => failed_distribution.distribution_version, :arch => failed_distribution.distribution_arch,
|
517
|
+
:repos => failed_repos.compact.map { |repo| repo.name if repo.name }}
|
528
518
|
end
|
529
519
|
end
|
530
520
|
|
531
521
|
def distribution_conflicts
|
532
522
|
#find distributions, where there are two in the content view with the same version and Arch
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
distributions = distributions.select { |dist| Katello::Distribution.new(dist.as_json).bootable? }
|
538
|
-
|
539
|
-
release_arches = {}
|
540
|
-
distributions.each do |dist|
|
541
|
-
key = [dist.version, dist.arch]
|
542
|
-
release_arches[key] ||= []
|
543
|
-
release_arches[key] << dist
|
544
|
-
end
|
545
|
-
conflicts = release_arches.map { |key, value| {:version => key[0], :arch => key[1], :distributions => value} }
|
546
|
-
conflicts.select { |conflict| conflict[:distributions].length > 1 }
|
523
|
+
repos = self.repositories_to_publish.where("distribution_arch IS NOT NULL OR distribution_version IS NOT NULL")
|
524
|
+
repos = repos.select { |repo| repo.distribution_bootable? }
|
525
|
+
repos.group_by { |repo| [repo.distribution_arch, repo.distribution_version] }
|
526
|
+
.select { |_, value| value.length > 1 }.values.flatten
|
547
527
|
end
|
548
528
|
|
549
529
|
def duplicate_distributions
|
550
530
|
#find distributions where two repositories in the content view share them
|
551
|
-
|
552
|
-
|
553
|
-
filter :terms, :repoids => repo_ids
|
554
|
-
end
|
555
|
-
distributions = distributions.select { |dist| Katello::Distribution.new(dist.as_json).bootable? }
|
556
|
-
distributions.find_all { |dist| (dist.repoids & repo_ids).length > 1 }
|
531
|
+
repos = self.repositories_to_publish.where("distribution_uuid IS NOT NULL")
|
532
|
+
repos.group_by { |i| i.distribution_uuid }.select { |_, v| v.length > 1 }.values.flatten
|
557
533
|
end
|
558
534
|
|
559
535
|
protected
|
@@ -567,12 +543,6 @@ module Katello
|
|
567
543
|
filter_item.save!
|
568
544
|
end
|
569
545
|
end
|
570
|
-
|
571
|
-
reindex_on_association_change(repository) if Katello.config.use_elasticsearch
|
572
|
-
end
|
573
|
-
|
574
|
-
def add_repository(repository)
|
575
|
-
reindex_on_association_change(repository) if Katello.config.use_elasticsearch
|
576
546
|
end
|
577
547
|
|
578
548
|
private
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentViewComponent < Katello::Model
|
15
3
|
self.include_root_in_json = false
|
@@ -1,22 +1,10 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentViewEnvironment < Katello::Model
|
15
3
|
self.include_root_in_json = false
|
16
4
|
|
17
5
|
include ForemanTasks::Concerns::ActionSubject
|
18
|
-
include Glue::Candlepin::Environment if
|
19
|
-
include Glue if
|
6
|
+
include Glue::Candlepin::Environment if SETTINGS[:katello][:use_cp]
|
7
|
+
include Glue if SETTINGS[:katello][:use_cp]
|
20
8
|
include Authorization::ContentViewEnvironment
|
21
9
|
|
22
10
|
belongs_to :content_view, :class_name => "Katello::ContentView", :inverse_of => :content_view_environments
|
@@ -30,11 +18,11 @@ module Katello
|
|
30
18
|
|
31
19
|
before_save :generate_info
|
32
20
|
|
33
|
-
scope :non_default, joins(:content_view).where("katello_content_views.default" => false)
|
21
|
+
scope :non_default, -> { joins(:content_view).where("katello_content_views.default" => false) }
|
34
22
|
|
35
23
|
def self.for_systems(systems)
|
36
24
|
joins("INNER JOIN #{System.table_name} on #{System.table_name}.environment_id = #{ContentViewEnvironment.table_name}.environment_id").
|
37
|
-
where("#{System.table_name}.content_view_id = #{ContentViewEnvironment.table_name}.content_view_id").where("#{System.table_name}.id" => systems)
|
25
|
+
where("#{System.table_name}.content_view_id = #{ContentViewEnvironment.table_name}.content_view_id").where("#{System.table_name}.id" => systems).uniq
|
38
26
|
end
|
39
27
|
|
40
28
|
# retrieve the owning environment for this content view environment.
|
@@ -46,10 +34,6 @@ module Katello
|
|
46
34
|
content_view.systems.in_environment(environment)
|
47
35
|
end
|
48
36
|
|
49
|
-
def distributors
|
50
|
-
content_view.distributors.in_environment(environment)
|
51
|
-
end
|
52
|
-
|
53
37
|
def activation_keys
|
54
38
|
content_view.activation_keys.in_environment(environment)
|
55
39
|
end
|
@@ -1,19 +1,5 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentViewErratumFilter < ContentViewFilter
|
15
|
-
use_index_of ContentViewFilter if Katello.config.use_elasticsearch
|
16
|
-
|
17
3
|
CONTENT_TYPE = Erratum::CONTENT_TYPE
|
18
4
|
|
19
5
|
ERRATA_TYPES = { 'bugfix' => _('Bug Fix'),
|
@@ -1,20 +1,8 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentViewErratumFilterRule < Katello::Model
|
15
3
|
self.include_root_in_json = false
|
16
4
|
|
17
|
-
include Glue::ElasticSearch::ContentViewErratumFilterRule if
|
5
|
+
include Glue::ElasticSearch::ContentViewErratumFilterRule if SETTINGS[:katello][:use_elasticsearch]
|
18
6
|
|
19
7
|
belongs_to :filter,
|
20
8
|
:class_name => "Katello::ContentViewErratumFilter",
|
@@ -1,26 +1,12 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentViewFilter < Katello::Model
|
15
3
|
self.include_root_in_json = false
|
16
4
|
|
17
|
-
|
18
|
-
|
19
|
-
PACKAGE = Package::CONTENT_TYPE
|
5
|
+
RPM = Rpm::CONTENT_TYPE
|
20
6
|
PACKAGE_GROUP = PackageGroup::CONTENT_TYPE
|
21
7
|
ERRATA = Erratum::CONTENT_TYPE
|
22
|
-
CONTENT_TYPES = [
|
23
|
-
CONTENT_OPTIONS = { _('Packages') =>
|
8
|
+
CONTENT_TYPES = [RPM, PACKAGE_GROUP, ERRATA]
|
9
|
+
CONTENT_OPTIONS = { _('Packages') => RPM, _('Package Groups') => PACKAGE_GROUP, _('Errata') => ERRATA }
|
24
10
|
|
25
11
|
belongs_to :content_view,
|
26
12
|
:class_name => "Katello::ContentView",
|
@@ -40,8 +26,15 @@ module Katello
|
|
40
26
|
:uniqueness => { :scope => :content_view_id }
|
41
27
|
validates_with Validators::KatelloNameFormatValidator, :attributes => :name
|
42
28
|
|
43
|
-
scope :whitelist, where(:inclusion => true)
|
44
|
-
scope :blacklist, where(:inclusion => false)
|
29
|
+
scope :whitelist, -> { where(:inclusion => true) }
|
30
|
+
scope :blacklist, -> { where(:inclusion => false) }
|
31
|
+
|
32
|
+
scoped_search :on => :name, :complete_value => true
|
33
|
+
scoped_search :on => :type, :rename => :content_type,
|
34
|
+
:complete_value => {Rpm::CONTENT_TYPE.to_sym => "Katello::ContentViewPackageFilter",
|
35
|
+
PackageGroup::CONTENT_TYPE.to_sym => "Katello::ContentViewPackageGroupFilter",
|
36
|
+
Erratum::CONTENT_TYPE.to_sym => "Katello::ContentViewErratumFilter"}
|
37
|
+
scoped_search :on => :inclusion, :rename => :inclusion_type, :complete_value => {:include => true, :exclude => :false}
|
45
38
|
|
46
39
|
def self.yum
|
47
40
|
where(:type => [::Katello::ContentViewPackageGroupFilter.name,
|
@@ -55,7 +48,7 @@ module Katello
|
|
55
48
|
|
56
49
|
def content_type
|
57
50
|
{
|
58
|
-
ContentViewPackageFilter =>
|
51
|
+
ContentViewPackageFilter => RPM,
|
59
52
|
ContentViewErratumFilter => ERRATA,
|
60
53
|
ContentViewPackageGroupFilter => PACKAGE_GROUP
|
61
54
|
}[self.class]
|
@@ -63,15 +56,15 @@ module Katello
|
|
63
56
|
|
64
57
|
def self.class_for(content_type)
|
65
58
|
case content_type
|
66
|
-
when
|
59
|
+
when RPM
|
67
60
|
ContentViewPackageFilter
|
68
61
|
when PACKAGE_GROUP
|
69
62
|
ContentViewPackageGroupFilter
|
70
63
|
when ERRATA
|
71
64
|
ContentViewErratumFilter
|
72
65
|
else
|
73
|
-
|
74
|
-
|
66
|
+
fail _("Invalid content type '%{content_type}' provided. Content types can be one of %{content_types}") %
|
67
|
+
{ :content_type => content_type, :content_types => CONTENT_TYPES.join(", ") }
|
75
68
|
end
|
76
69
|
end
|
77
70
|
|
@@ -84,8 +77,8 @@ module Katello
|
|
84
77
|
when ContentViewErratumFilter.name
|
85
78
|
ContentViewErratumFilterRule
|
86
79
|
else
|
87
|
-
|
88
|
-
|
80
|
+
fail _("Invalid content type '%{content_type}' provided. Content types can be one of %{content_types}") %
|
81
|
+
{ :content_type => filter.type, :content_types => CONTENT_TYPES.join(", ") }
|
89
82
|
end
|
90
83
|
end
|
91
84
|
|
@@ -98,8 +91,8 @@ module Katello
|
|
98
91
|
when ContentViewErratumFilter.name
|
99
92
|
filter.erratum_rule_ids
|
100
93
|
else
|
101
|
-
|
102
|
-
|
94
|
+
fail _("Invalid content type '%{content_type}' provided. Content types can be one of %{content_types}") %
|
95
|
+
{ :content_type => filter.type, :content_types => CONTENT_TYPES.join(", ") }
|
103
96
|
end
|
104
97
|
end
|
105
98
|
|
@@ -1,18 +1,8 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class ContentViewHistory < Katello::Model
|
15
|
-
include
|
3
|
+
include Katello::Authorization::ContentViewHistory
|
4
|
+
|
5
|
+
include Glue::ElasticSearch::ContentViewHistory if SETTINGS[:katello][:use_elasticsearch]
|
16
6
|
|
17
7
|
belongs_to :environment, :class_name => "Katello::KTEnvironment", :inverse_of => :content_view_histories,
|
18
8
|
:foreign_key => :katello_environment_id
|
@@ -28,11 +18,49 @@ module Katello
|
|
28
18
|
validates :status, :inclusion => {:in => STATUSES,
|
29
19
|
:allow_blank => false}
|
30
20
|
|
31
|
-
scope :active, where(:status => IN_PROGRESS)
|
21
|
+
scope :active, -> { where(:status => IN_PROGRESS) }
|
32
22
|
alias_method :version, :content_view_version
|
33
23
|
|
34
24
|
def content_view
|
35
25
|
self.content_view_version.try(:content_view)
|
36
26
|
end
|
27
|
+
|
28
|
+
def self.in_organization(organization)
|
29
|
+
content_views = ContentView.where(:organization_id => organization.id)
|
30
|
+
|
31
|
+
self.joins(:content_view_version => :content_view).
|
32
|
+
where("#{ContentView.table_name}.id" => content_views).
|
33
|
+
order("#{self.table_name}.updated_at DESC")
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.in_organizations(organizations)
|
37
|
+
content_views = ContentView.where(:organization_id => organizations)
|
38
|
+
|
39
|
+
self.joins(:content_view_version => :content_view).
|
40
|
+
where("#{ContentView.table_name}.id" => content_views).
|
41
|
+
order("#{self.table_name}.updated_at DESC")
|
42
|
+
end
|
43
|
+
|
44
|
+
def humanized_action
|
45
|
+
case self.task.label
|
46
|
+
when "Actions::Katello::ContentView::Publish"
|
47
|
+
_("Published new version")
|
48
|
+
when "Actions::Katello::ContentView::Promote"
|
49
|
+
_("Promoted to %{environment}") % { :environment => self.environment.name }
|
50
|
+
when "Actions::Katello::ContentView::Remove"
|
51
|
+
_("Deleted from %{environment}") % { :environment => self.environment.name }
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def humanized_status
|
56
|
+
case self.status
|
57
|
+
when ContentViewHistory::IN_PROGRESS
|
58
|
+
_("In Progress")
|
59
|
+
when ContentViewHistory::FAILED
|
60
|
+
_("Failed")
|
61
|
+
when ContentViewHistory::SUCCESSFUL
|
62
|
+
_("Success")
|
63
|
+
end
|
64
|
+
end
|
37
65
|
end
|
38
66
|
end
|