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,18 +1,7 @@
|
|
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 Api::V2::ContentViewVersionsController < Api::V2::ApiController
|
15
3
|
include Concerns::Api::V2::BulkSystemsExtensions
|
4
|
+
include Katello::Concerns::FilteredAutoCompleteSearch
|
16
5
|
|
17
6
|
before_filter :find_content_view_version, :only => [:show, :promote, :destroy]
|
18
7
|
before_filter :find_content_view, :except => [:incremental_update]
|
@@ -21,31 +10,31 @@ module Katello
|
|
21
10
|
before_filter :authorize_destroy, :only => [:destroy]
|
22
11
|
before_filter :load_search_service, :only => [:incremental_update]
|
23
12
|
before_filter :find_version_environments, :only => [:incremental_update]
|
13
|
+
before_filter :find_puppet_module, :only => [:index]
|
24
14
|
|
25
15
|
api :GET, "/content_view_versions", N_("List content view versions")
|
26
16
|
api :GET, "/content_views/:content_view_id/content_view_versions", N_("List content view versions")
|
27
17
|
param :content_view_id, :identifier, :desc => N_("Content view identifier"), :required => false
|
28
18
|
param :environment_id, :identifier, :desc => N_("Filter versions by environment"), :required => false
|
19
|
+
param :puppet_module_id, :identifier, :desc => N_("Filter versions by puppet module"), :required => false
|
29
20
|
param :version, String, :desc => N_("Filter versions by version number"), :required => false
|
30
21
|
param :composite_version_id, :identifier, :desc => N_("Filter versions that are components in the specified composite version"), :required => false
|
22
|
+
param_group :search, Api::V2::ApiController
|
31
23
|
def index
|
24
|
+
includes = [:content_view, :environments, :composite_content_views, :history => :task]
|
25
|
+
sort = "#{ContentViewVersion.table_name}.major desc, #{ContentViewVersion.table_name}.minor desc"
|
26
|
+
respond(:collection => scoped_search(index_relation.uniq, sort, '', :includes => includes))
|
27
|
+
end
|
28
|
+
|
29
|
+
def index_relation
|
32
30
|
version_number = params.permit(:version)[:version]
|
33
|
-
versions = ContentViewVersion
|
31
|
+
versions = ContentViewVersion.readable
|
34
32
|
versions = versions.where(:content_view_id => @view.id) if @view
|
35
33
|
versions = versions.for_version(version_number) if version_number
|
36
34
|
versions = versions.in_environment(@environment) if @environment
|
35
|
+
versions = versions.with_puppet_module(@puppet_module) if @puppet_module
|
37
36
|
versions = versions.component_of(params[:composite_version_id]) if params[:composite_version_id]
|
38
|
-
versions
|
39
|
-
|
40
|
-
collection = {:results => versions.order('major desc, minor desc'),
|
41
|
-
:subtotal => versions.count,
|
42
|
-
:total => versions.count
|
43
|
-
}
|
44
|
-
|
45
|
-
params[:sort_by] = 'major'
|
46
|
-
params[:sort_order] = 'desc'
|
47
|
-
|
48
|
-
respond(:collection => collection, :layout => 'index')
|
37
|
+
versions
|
49
38
|
end
|
50
39
|
|
51
40
|
api :GET, "/content_view_versions/:id", N_("Show content view version")
|
@@ -59,7 +48,7 @@ module Katello
|
|
59
48
|
param :force, :bool, :desc => N_("force content view promotion and bypass lifecycle environment restriction")
|
60
49
|
param :environment_id, :identifier
|
61
50
|
def promote
|
62
|
-
is_force =
|
51
|
+
is_force = ::Foreman::Cast.to_bool(params[:force])
|
63
52
|
task = async_task(::Actions::Katello::ContentView::Promote,
|
64
53
|
@version, @environment, is_force)
|
65
54
|
respond_for_async :resource => task
|
@@ -200,6 +189,11 @@ module Katello
|
|
200
189
|
@environment = KTEnvironment.find(params[:environment_id])
|
201
190
|
end
|
202
191
|
|
192
|
+
def find_puppet_module
|
193
|
+
return unless params.key?(:puppet_module_id)
|
194
|
+
@puppet_module = PuppetModule.with_identifiers([params[:puppet_module_id]]).first
|
195
|
+
end
|
196
|
+
|
203
197
|
def validate_content(content)
|
204
198
|
if content[:errata_ids]
|
205
199
|
errata = Erratum.where(:uuid => content[:errata_ids])
|
@@ -1,22 +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 Api::V2::ContentViewsController < Api::V2::ApiController
|
15
3
|
include Concerns::Authorization::Api::V2::ContentViewsController
|
16
|
-
|
4
|
+
include Katello::Concerns::FilteredAutoCompleteSearch
|
5
|
+
|
6
|
+
before_filter :find_content_view, :except => [:index, :create, :auto_complete_search]
|
17
7
|
before_filter :find_organization, :only => [:create]
|
18
|
-
before_filter :find_optional_organization, :only => [:index]
|
19
|
-
before_filter :load_search_service, :only => [:
|
8
|
+
before_filter :find_optional_organization, :only => [:index, :auto_complete_search]
|
9
|
+
before_filter :load_search_service, :only => [:history, :available_puppet_modules,
|
20
10
|
:available_puppet_module_names]
|
21
11
|
before_filter :find_environment, :only => [:index, :remove_from_environment]
|
22
12
|
|
@@ -42,24 +32,21 @@ module Katello
|
|
42
32
|
param :name, String, :desc => N_("Name of the content view"), :required => false
|
43
33
|
param_group :search, Api::V2::ApiController
|
44
34
|
def index
|
45
|
-
options = sort_params
|
46
|
-
options[:load_records?] = true
|
47
|
-
|
48
|
-
readable_cvs = ContentView.readable
|
49
|
-
readable_cvs = readable_cvs.where(:organization_id => @organization.id) if @organization
|
50
|
-
readable_cvs = readable_cvs.in_environment(@environment) if @environment
|
51
|
-
ids = readable_cvs.pluck("#{Katello::ContentView.table_name}.id")
|
52
|
-
|
53
|
-
options[:filters] = [{:terms => {:id => ids}}]
|
54
|
-
options[:filters] << {:not => {:terms => {:id => params[:without]}}} if params[:without]
|
55
|
-
|
56
|
-
options[:filters] << {:term => {:default => false}} if params[:nondefault]
|
57
|
-
options[:filters] << {:term => {:composite => false}} if params[:noncomposite]
|
58
|
-
options[:filters] << {:term => {:name => params[:name]}} if params[:name]
|
59
|
-
|
60
35
|
content_view_includes = [:activation_keys, :content_view_puppet_modules, :content_view_versions,
|
61
36
|
:environments, :organization, :repositories, components: [:content_view, :environments]]
|
62
|
-
|
37
|
+
|
38
|
+
respond(:collection => scoped_search(index_relation.uniq, :name, :desc, :includes => content_view_includes))
|
39
|
+
end
|
40
|
+
|
41
|
+
def index_relation
|
42
|
+
content_views = ContentView.readable
|
43
|
+
content_views = content_views.where(:organization_id => @organization.id) if @organization
|
44
|
+
content_views = content_views.in_environment(@environment) if @environment
|
45
|
+
content_views = content_views.non_default if params[:nondefault]
|
46
|
+
content_views = content_views.non_composite if params[:noncomposite]
|
47
|
+
content_views = content_views.where(:name => params[:name]) if params[:name]
|
48
|
+
content_views = content_views.where("#{ContentView.table_name}.id NOT IN (?)", params[:without]) if params[:without]
|
49
|
+
content_views
|
63
50
|
end
|
64
51
|
|
65
52
|
api :POST, "/organizations/:organization_id/content_views", N_("Create a content view")
|
@@ -106,39 +93,30 @@ module Katello
|
|
106
93
|
param :id, :identifier, :desc => N_("content view numeric identifier"), :required => true
|
107
94
|
param :name, String, :desc => N_("module name to restrict modules for"), :required => false
|
108
95
|
def available_puppet_modules
|
109
|
-
|
96
|
+
current_uuids = @view.content_view_puppet_modules.where("uuid is NOT NULL").pluck(:uuid)
|
97
|
+
repositories = @view.organization.library.puppet_repositories
|
110
98
|
|
111
|
-
|
112
|
-
|
99
|
+
query = PuppetModule.in_repositories(repositories)
|
100
|
+
query = query.where(:name => params[:name]) if params[:name]
|
101
|
+
query = query.where("#{PuppetModule.table_name}.uuid NOT in (?)", current_uuids) if current_uuids.present?
|
113
102
|
|
114
|
-
|
115
|
-
|
116
|
-
end
|
117
|
-
search_filters << { :term => { :name => params[:name] } } if params[:name]
|
118
|
-
options = { :filters => search_filters, :sort_by => 'sortable_version', :sort_order => 'DESC' }
|
119
|
-
|
120
|
-
collection = item_search(PuppetModule, params, options)
|
121
|
-
collection[:results] = collection[:results].map { |i| PuppetModule.new(i.as_json) }
|
122
|
-
|
123
|
-
respond_for_index :template => 'puppet_modules', :collection => collection
|
103
|
+
respond_for_index :template => 'puppet_modules',
|
104
|
+
:collection => scoped_search(query, 'name', 'ASC', :resource_class => PuppetModule)
|
124
105
|
end
|
125
106
|
|
126
107
|
api :GET, "/content_views/:id/available_puppet_module_names",
|
127
108
|
N_("Get puppet modules names that are available to be added to the content view")
|
128
109
|
param :id, :identifier, :desc => N_("content view numeric identifier"), :required => true
|
129
110
|
def available_puppet_module_names
|
130
|
-
current_names = @view.content_view_puppet_modules.
|
131
|
-
repo_ids = @view.organization.library.puppet_repositories.pluck(:pulp_id)
|
132
|
-
search_filters = [{ :terms => { :repoids => repo_ids } }]
|
111
|
+
current_names = @view.content_view_puppet_modules.where("name is NOT NULL").pluck(:name)
|
133
112
|
|
134
|
-
|
135
|
-
search_filters << { :not => { :terms => { :name => current_names } } }
|
136
|
-
end
|
113
|
+
repos = @view.organization.library.puppet_repositories
|
137
114
|
|
138
|
-
|
115
|
+
modules = PuppetModule.in_repositories(repos)
|
116
|
+
modules = modules.where('name NOT in (?)', current_names) if current_names.present?
|
139
117
|
|
140
118
|
respond_for_index :template => '../puppet_modules/names',
|
141
|
-
:collection =>
|
119
|
+
:collection => scoped_search(modules, 'name', 'ASC', :resource_class => PuppetModule, :group => :name)
|
142
120
|
end
|
143
121
|
|
144
122
|
api :GET, "/content_views/:id/history", N_("Show a content view's history")
|
@@ -1,20 +1,7 @@
|
|
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 Api::V2::DockerImagesController < Api::V2::ApiController
|
15
3
|
apipie_concern_subst(:a_resource => N_("a docker image"), :resource => "docker_images")
|
16
4
|
include Katello::Concerns::Api::V2::RepositoryContentController
|
17
|
-
include Katello::Concerns::Api::V2::RepositoryDbContentController
|
18
5
|
|
19
6
|
private
|
20
7
|
|
@@ -1,20 +1,7 @@
|
|
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 Api::V2::DockerTagsController < Api::V2::ApiController
|
15
3
|
apipie_concern_subst(:a_resource => N_("a docker tag"), :resource => "docker_tags")
|
16
4
|
include Katello::Concerns::Api::V2::RepositoryContentController
|
17
|
-
include Katello::Concerns::Api::V2::RepositoryDbContentController
|
18
5
|
|
19
6
|
def index
|
20
7
|
if params[:grouped]
|
@@ -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 Api::V2::EnvironmentsController < Api::V2::ApiController
|
15
3
|
include Katello::Concerns::FilteredAutoCompleteSearch
|
@@ -111,15 +99,6 @@ module Katello
|
|
111
99
|
param :organization_id, :number, :desc => N_("name of the organization")
|
112
100
|
param :new_name, String, :desc => N_("new name to be given to the environment")
|
113
101
|
param :description, String, :desc => N_("description of the environment")
|
114
|
-
param :prior, Integer, :deprecated => true, :desc => <<-DESC
|
115
|
-
ID of an environment that is prior to the new environment in the chain. It has to be
|
116
|
-
either the ID of Library or the ID of an environment at the end of a chain.
|
117
|
-
This param exists for backwards compatibility purposes. Please use prior_id.
|
118
|
-
DESC
|
119
|
-
param :prior_id, Integer, :desc => <<-DESC
|
120
|
-
ID of an environment that is prior to the new environment in the chain. It has to be
|
121
|
-
either the ID of Library or the ID of an environment at the end of a chain.
|
122
|
-
DESC
|
123
102
|
def update
|
124
103
|
fail HttpErrors::BadRequest, _("Can't update the '%s' environment") % "Library" if @environment.library?
|
125
104
|
update_params = environment_params
|
@@ -1,20 +1,7 @@
|
|
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 Api::V2::ErrataController < Api::V2::ApiController
|
15
3
|
apipie_concern_subst(:a_resource => N_("an erratum"), :resource => "errata")
|
16
4
|
include Katello::Concerns::Api::V2::RepositoryContentController
|
17
|
-
include Katello::Concerns::Api::V2::RepositoryDbContentController
|
18
5
|
|
19
6
|
api :GET, "/errata", N_("List errata")
|
20
7
|
param :content_view_version_id, :identifier, :desc => N_("content view version identifier")
|
@@ -29,13 +16,23 @@ module Katello
|
|
29
16
|
super
|
30
17
|
end
|
31
18
|
|
19
|
+
def available_for_content_view_filter(filter, collection)
|
20
|
+
collection = filter_by_content_view(filter, collection)
|
21
|
+
ids = Katello::ContentViewErratumFilterRule.where(:content_view_filter_id => filter.id).pluck("errata_id")
|
22
|
+
collection = collection.where("errata_id not in (?)", ids) unless ids.empty?
|
23
|
+
collection = collection.where('issued >= ?', params[:start_date]) if params[:start_date]
|
24
|
+
collection = collection.where('issued <= ?', params[:end_date]) if params[:end_date]
|
25
|
+
collection = collection.of_type(params[:types]) if params[:types]
|
26
|
+
collection
|
27
|
+
end
|
28
|
+
|
32
29
|
def custom_index_relation(collection)
|
33
30
|
collection = filter_by_cve(params[:cve], collection) if params[:cve]
|
34
|
-
if params[:errata_restrict_applicable]
|
31
|
+
if ::Foreman::Cast.to_bool(params[:errata_restrict_applicable])
|
35
32
|
collection = collection.applicable_to_systems(System.readable)
|
36
33
|
end
|
37
34
|
|
38
|
-
if params[:errata_restrict_installable]
|
35
|
+
if ::Foreman::Cast.to_bool(params[:errata_restrict_installable])
|
39
36
|
collection = collection.installable_for_systems(System.readable)
|
40
37
|
end
|
41
38
|
collection
|
@@ -47,6 +44,12 @@ module Katello
|
|
47
44
|
collection.joins(:cves).where('katello_erratum_cves.cve_id' => cve)
|
48
45
|
end
|
49
46
|
|
47
|
+
def filter_by_content_view(filter, collection)
|
48
|
+
repos = Katello::ContentView.find(filter.content_view_id).repositories
|
49
|
+
uuid = repos.map { |r| r.send("errata").pluck("uuid") }
|
50
|
+
filter_by_ids(uuid, collection)
|
51
|
+
end
|
52
|
+
|
50
53
|
def filter_by_content_view_filter(filter, collection)
|
51
54
|
collection.where(:errata_id => filter.erratum_rules.pluck(:errata_id))
|
52
55
|
end
|
@@ -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 Api::V2::GpgKeysController < Api::V2::ApiController
|
15
3
|
include Katello::Concerns::FilteredAutoCompleteSearch
|
16
4
|
before_filter :authorize
|
17
5
|
before_filter :find_organization, :only => [:create, :index, :auto_complete_search]
|
18
6
|
before_filter :find_gpg_key, :only => [:show, :update, :destroy, :content]
|
19
|
-
skip_before_filter :check_content_type, :only => [:create]
|
7
|
+
skip_before_filter :check_content_type, :only => [:create, :content]
|
20
8
|
|
21
9
|
def_param_group :gpg_key do
|
22
10
|
param :name, :identifier, :action_aware => true, :required => true, :desc => N_("identifier of the gpg key")
|
@@ -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 Api::V2::HostCollectionsController < Api::V2::ApiController
|
3
|
+
include Katello::Concerns::FilteredAutoCompleteSearch
|
15
4
|
before_filter :find_host_collection, :only => [:copy, :show, :update, :destroy, :destroy_systems,
|
16
|
-
:add_systems, :remove_systems, :systems
|
17
|
-
:add_activation_keys, :remove_activation_keys]
|
5
|
+
:add_systems, :remove_systems, :systems]
|
18
6
|
before_filter :find_activation_key
|
19
7
|
before_filter :find_system
|
20
8
|
before_filter :find_optional_organization, :only => [:index]
|
@@ -46,15 +34,19 @@ module Katello
|
|
46
34
|
param :activation_key_id, :identifier, :desc => N_("activation key identifier")
|
47
35
|
param :system_id, :identifier, :desc => N_("system identifier")
|
48
36
|
def index
|
49
|
-
|
50
|
-
|
51
|
-
elsif @activation_key
|
52
|
-
filter_activation_key
|
53
|
-
else
|
54
|
-
filter_organization
|
55
|
-
end
|
37
|
+
respond(:collection => scoped_search(index_relation.uniq, :name, :desc))
|
38
|
+
end
|
56
39
|
|
57
|
-
|
40
|
+
def index_relation
|
41
|
+
query = if @system
|
42
|
+
@system.host_collections
|
43
|
+
elsif @activation_key
|
44
|
+
@activation_key.host_collections
|
45
|
+
else
|
46
|
+
HostCollection.readable.where(:organization_id => @organization.id)
|
47
|
+
end
|
48
|
+
query = query.where(:name => params[:name]) if params[:name]
|
49
|
+
query
|
58
50
|
end
|
59
51
|
|
60
52
|
api :POST, "/host_collections", N_("Create a host collection")
|
@@ -159,39 +151,6 @@ module Katello
|
|
159
151
|
|
160
152
|
private
|
161
153
|
|
162
|
-
def filter_system
|
163
|
-
filters = [:terms => {:id => @system.host_collections.pluck("#{Katello::HostCollection.table_name}.id")}]
|
164
|
-
|
165
|
-
options = {
|
166
|
-
:filters => filters,
|
167
|
-
:load_records? => true
|
168
|
-
}
|
169
|
-
item_search(HostCollection, params, options)
|
170
|
-
end
|
171
|
-
|
172
|
-
def filter_activation_key
|
173
|
-
filters = [:terms => {:id => @activation_key.host_collections.pluck("#{Katello::HostCollection.table_name}.id")}]
|
174
|
-
|
175
|
-
options = {
|
176
|
-
:filters => filters,
|
177
|
-
:load_records? => true
|
178
|
-
}
|
179
|
-
item_search(HostCollection, params, options)
|
180
|
-
end
|
181
|
-
|
182
|
-
def filter_organization
|
183
|
-
find_organization
|
184
|
-
ids = HostCollection.readable.where(:organization_id => @organization.id).pluck("#{Katello::HostCollection.table_name}.id")
|
185
|
-
filters = [:terms => {:id => ids}]
|
186
|
-
filters << {:term => {:name => params[:name]}} if params[:name]
|
187
|
-
|
188
|
-
options = {
|
189
|
-
:filters => filters,
|
190
|
-
:load_records? => true
|
191
|
-
}
|
192
|
-
item_search(HostCollection, params, options)
|
193
|
-
end
|
194
|
-
|
195
154
|
def find_host_collection
|
196
155
|
@organization = @system.organization if @system
|
197
156
|
@organization = @activation_key.organization if @activation_key
|