katello 3.2.1.1 → 3.3.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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/katello/common/katello.global.js +1 -1
- data/app/assets/javascripts/katello/common/vendor.js +0 -1
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +20 -12
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +2 -2
- data/app/controllers/katello/api/v2/api_controller.rb +4 -2
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +14 -14
- data/app/controllers/katello/api/v2/capsules_controller.rb +3 -3
- data/app/controllers/katello/api/v2/content_view_components_controller.rb +100 -0
- data/app/controllers/katello/api/v2/content_view_filter_rules_controller.rb +3 -2
- data/app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +19 -6
- data/app/controllers/katello/api/v2/content_views_controller.rb +3 -4
- data/app/controllers/katello/api/v2/environments_controller.rb +1 -1
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_collections_controller.rb +2 -2
- data/app/controllers/katello/api/v2/host_tracer_controller.rb +31 -0
- data/app/controllers/katello/api/v2/packages_controller.rb +53 -1
- data/app/controllers/katello/api/v2/products_controller.rb +1 -1
- data/app/controllers/katello/api/v2/puppet_modules_controller.rb +8 -0
- data/app/controllers/katello/api/v2/repositories_controller.rb +9 -4
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +3 -6
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +1 -1
- data/app/controllers/katello/application_controller.rb +0 -4
- data/app/controllers/katello/concerns/api/v2/repository_content_controller.rb +11 -3
- data/app/controllers/katello/concerns/api/v2/smart_proxies_controller_extensions.rb +35 -0
- data/app/controllers/katello/providers_controller.rb +2 -2
- data/app/controllers/katello/remote_execution_controller.rb +2 -0
- data/app/helpers/katello/concerns/foreman_docker/container_steps_helper_extensions.rb +2 -2
- data/app/helpers/katello/concerns/smart_proxy_helper_extensions.rb +23 -0
- data/app/lib/actions/candlepin/candlepin_listening_service.rb +8 -2
- data/app/lib/actions/candlepin/owner/destroy_imports.rb +17 -0
- data/app/lib/actions/candlepin/owner/import.rb +19 -0
- data/app/lib/actions/candlepin/owner/import_products.rb +16 -0
- data/app/lib/actions/candlepin/owner/upstream_export.rb +18 -0
- data/app/lib/actions/candlepin/owner/upstream_update.rb +17 -0
- data/app/lib/actions/katello/activation_key/update.rb +4 -0
- data/app/lib/actions/katello/capsule_content/configure_capsule.rb +2 -2
- data/app/lib/actions/katello/capsule_content/create_repos.rb +17 -6
- data/app/lib/actions/katello/capsule_content/sync.rb +12 -8
- data/app/lib/actions/katello/content_view/capsule_generate_and_sync.rb +1 -1
- data/app/lib/actions/katello/content_view/promote.rb +5 -62
- data/app/lib/actions/katello/content_view/promote_to_environment.rb +75 -0
- data/app/lib/actions/katello/content_view/publish.rb +11 -6
- data/app/lib/actions/katello/content_view/remove.rb +2 -0
- data/app/lib/actions/katello/content_view/remove_from_environment.rb +1 -0
- data/app/lib/actions/katello/content_view/remove_version.rb +1 -0
- data/app/lib/actions/katello/content_view_version/export.rb +1 -0
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +82 -22
- data/app/lib/actions/katello/event_queue/monitor.rb +1 -1
- data/app/lib/actions/katello/host/attach_subscriptions.rb +2 -2
- data/app/lib/actions/katello/host/generate_applicability.rb +1 -1
- data/app/lib/actions/katello/host/package/install.rb +4 -0
- data/app/lib/actions/katello/host/package/remove.rb +4 -0
- data/app/lib/actions/katello/host/package/update.rb +4 -0
- data/app/lib/actions/katello/host/package_group/install.rb +4 -0
- data/app/lib/actions/katello/host/package_group/remove.rb +4 -0
- data/app/lib/actions/katello/host/recalculate_errata_status.rb +20 -0
- data/app/lib/actions/katello/host/remove_subscriptions.rb +5 -3
- data/app/lib/actions/katello/organization/create.rb +5 -1
- data/app/lib/actions/katello/organization/destroy.rb +1 -1
- data/app/lib/actions/katello/organization/manifest_delete.rb +27 -0
- data/app/lib/actions/katello/organization/manifest_import.rb +32 -0
- data/app/lib/actions/katello/organization/manifest_refresh.rb +41 -0
- data/app/lib/actions/katello/product/content_create.rb +15 -10
- data/app/lib/actions/katello/repository/capsule_generate_and_sync.rb +1 -1
- data/app/lib/actions/katello/repository/clone_to_environment.rb +1 -1
- data/app/lib/actions/katello/repository/clone_to_version.rb +17 -13
- data/app/lib/actions/katello/repository/create.rb +3 -1
- data/app/lib/actions/katello/repository/filtered_index_content.rb +4 -4
- data/app/lib/actions/katello/repository/import_applicability.rb +1 -1
- data/app/lib/actions/katello/repository/index_errata.rb +1 -1
- data/app/lib/actions/katello/repository/index_package_groups.rb +1 -1
- data/app/lib/actions/katello/repository/refresh_repository.rb +2 -1
- data/app/lib/actions/katello/sync_plan/add_products.rb +4 -0
- data/app/lib/actions/pulp/consumer.rb +19 -1
- data/app/lib/actions/pulp/repository/create.rb +10 -0
- data/app/lib/actions/pulp/repository/destroy.rb +3 -0
- data/app/lib/actions/pulp/repository/refresh.rb +1 -1
- data/app/lib/katello/http_resource.rb +6 -1
- data/app/lib/katello/resources/candlepin.rb +17 -5
- data/app/lib/katello/util/cdn_var_substitutor.rb +3 -3
- data/app/lib/katello/validators/content_view_erratum_filter_rule_validator.rb +2 -2
- data/app/models/katello/concerns/content_facet_host_extensions.rb +27 -3
- data/app/models/katello/concerns/environment_extensions.rb +1 -1
- data/app/models/katello/concerns/host_managed_extensions.rb +11 -14
- data/app/models/katello/concerns/location_extensions.rb +5 -0
- data/app/models/katello/concerns/pulp_database_unit.rb +31 -7
- data/app/models/katello/concerns/redhat_extensions.rb +1 -1
- data/app/models/katello/concerns/setting_extensions.rb +6 -0
- data/app/models/katello/concerns/smart_proxy_extensions.rb +18 -0
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +0 -2
- data/app/models/katello/content_facet_applicable_rpm.rb +8 -0
- data/app/models/katello/content_view.rb +103 -30
- data/app/models/katello/content_view_component.rb +64 -7
- data/app/models/katello/content_view_erratum_filter_rule.rb +8 -0
- data/app/models/katello/content_view_history.rb +14 -5
- data/app/models/katello/content_view_package_filter.rb +4 -0
- data/app/models/katello/content_view_version.rb +15 -3
- data/app/models/katello/docker_manifest.rb +1 -1
- data/app/models/katello/docker_tag.rb +16 -10
- data/app/models/katello/errata_status.rb +9 -3
- data/app/models/katello/erratum.rb +2 -1
- data/app/models/katello/events/{import_host_errata.rb → import_host_applicability.rb} +2 -2
- data/app/models/katello/glue.rb +0 -169
- data/app/models/katello/glue/candlepin/content.rb +2 -0
- data/app/models/katello/glue/candlepin/pool.rb +8 -5
- data/app/models/katello/glue/candlepin/product.rb +14 -3
- data/app/models/katello/glue/provider.rb +1 -170
- data/app/models/katello/glue/pulp/repo.rb +41 -233
- data/app/models/katello/glue/pulp/repos.rb +0 -21
- data/app/models/katello/host/content_facet.rb +96 -27
- data/app/models/katello/host/subscription_facet.rb +9 -6
- data/app/models/katello/host_tracer.rb +14 -0
- data/app/models/katello/input_template_renderer.rb +7 -0
- data/app/models/katello/kt_environment.rb +0 -16
- data/app/models/katello/ping.rb +62 -51
- data/app/models/katello/pool.rb +1 -1
- data/app/models/katello/repository.rb +12 -6
- data/app/models/katello/rhsm_fact_name.rb +4 -0
- data/app/models/katello/rpm.rb +41 -4
- data/app/models/setting/content.rb +12 -4
- data/app/overrides/add_smart_proxy_form.rb +5 -0
- data/app/services/katello/pulp/consumer.rb +6 -0
- data/app/services/katello/pulp/docker_tag.rb +7 -0
- data/app/services/katello/pulp/pulp_content_unit.rb +35 -8
- data/app/services/katello/pulp/server.rb +4 -0
- data/app/views/dashboard/_subscription_widget.html.erb +7 -6
- data/app/views/foreman/job_templates/restart_services.erb +17 -0
- data/app/views/foreman_docker/containers/steps/_katello_container.html.erb +2 -2
- data/app/views/katello/api/v2/content_facet/base.json.rabl +8 -0
- data/app/views/katello/api/v2/content_view_components/index.json.rabl +7 -0
- data/app/views/katello/api/v2/content_view_components/show.json.rabl +29 -0
- data/app/views/katello/api/v2/content_view_filter_rules/show.json.rabl +1 -0
- data/app/views/katello/api/v2/content_view_histories/show.json.rabl +1 -5
- data/app/views/katello/api/v2/content_views/base.json.rabl +12 -2
- data/app/views/katello/api/v2/docker_manifests/show.json.rabl +3 -5
- data/app/views/katello/api/v2/docker_tags/_base.json.rabl +2 -2
- data/app/views/katello/api/v2/host_tracer/base.json.rabl +6 -0
- data/app/views/katello/api/v2/host_tracer/index.json.rabl +7 -0
- data/app/views/katello/api/v2/packages/base.json.rabl +3 -0
- data/app/views/katello/api/v2/products/show.json.rabl +2 -6
- data/app/views/katello/api/v2/repositories/show.json.rabl +1 -0
- data/app/views/overrides/smart_proxies/_download_policy.erb +3 -0
- data/app/views/overrides/smart_proxies/_environment_tab_pane.html.erb +1 -1
- data/config/locales/compare_upstream.sh +0 -0
- data/config/locales/update.sh +0 -0
- data/config/routes.rb +1 -33
- data/config/routes/api/rhsm.rb +1 -1
- data/config/routes/api/v2.rb +13 -61
- data/config/routes/overrides.rb +3 -0
- data/db/migrate/20160520175340_add_host_applicable_package.rb +11 -0
- data/db/migrate/20160728005028_add_latest_version_to_content_view_component.rb +9 -0
- data/db/migrate/20160907231049_add_username_password_to_repository.rb +6 -0
- data/db/migrate/20160908234510_add_rpm_nvra.rb +10 -0
- data/db/migrate/20160923143611_add_action_to_content_view_histories.rb +34 -0
- data/db/migrate/20160930121245_content_view_force_puppet_env.rb +5 -0
- data/db/migrate/20160930150810_add_smart_proxy_download_policy.rb +14 -0
- data/db/migrate/20161003130853_add_architecture_to_katello_content_view_package_filter_rule.rb +5 -0
- data/db/migrate/20161014133811_move_content_view_version_description_to_histories.rb +41 -0
- data/db/migrate/20161031204903_add_tracer_support.rb +13 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js +1 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.module.js +0 -108
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.routes.js +127 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-host-collections.controller.js +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-subscriptions.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-copy.controller.js +30 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +1 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-host-collections.controller.js +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-product-details.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-subscriptions.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-add-subscriptions.html +11 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-associations-content-hosts.html +5 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-copy.html +17 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-details.html +77 -107
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-host-collections-table.html +30 -48
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-host-collections.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +96 -107
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-products.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions-list.html +17 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/new-activation-key.controller.js +2 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/views/activation-key-new.html +65 -82
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys.html +34 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/sync-state.service.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-errata.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-errata.html +5 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-host-collections.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-packages.html +16 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-subscriptions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.module.js +37 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-applicable.controller.js +51 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-installed.controller.js +37 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages.controller.js +18 -44
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-traces.controller.js +69 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +14 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-actions.html +67 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-applicable.html +65 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-installed.html +52 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages.html +9 -119
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-traces.html +76 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-host-collections.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-host-collections.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-add-subscriptions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +32 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-products.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions-list.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/host-collections-table.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts-table-full.html +15 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-view.factory.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +0 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +11 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-deletion.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-activation-keys.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-content-hosts.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-environments.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/views/version-deletion-activation-keys.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/content-view-component.factory.js +32 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/{content-view-composite-available-content-views.controller.js → components/content-view-composite-available-content-views.controller.js} +21 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/content-view-composite-content-views-list.controller.js +66 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/{views → components/views}/content-view-composite-available-content-views.html +18 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/views/content-view-composite-content-views-list.html +86 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/{views → components/views}/content-view-composite.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +30 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-promotion.controller.js +7 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories.service.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-repositories.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-filter.controller.js +12 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/date-type-errata-filter.html +1 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/date-type-errata.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/errata-filter-details.html +6 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filter-repositories.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filters.html +1 -1
- 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 +16 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/histories/content-view-history.controller.js +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/histories/views/content-view-history.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-module-names.html +2 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-modules.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +5 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-docker-repositories.html +7 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-file-repositories.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-info.html +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-ostree-repositories.html +5 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-promotion.html +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-publish.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-repositories.html +8 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +3 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/views/content-view-new.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/{docker-tags-details.controller.js → docker-tag-details.controller.js} +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-details.html +32 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-environments.html +50 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-info.html +42 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js +33 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags.html +31 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment.controller.js +12 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-content-views.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-puppet-modules.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment.html +53 -49
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/views/new-environment.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-content-hosts.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details-repositories.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-content-hosts.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-repositories.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-details.controller.js +1 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-products.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-repositories.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-details.html +40 -48
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-info.html +34 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-products.html +30 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-repositories.html +30 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-key.factory.js +21 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.controller.js +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.module.js +0 -76
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.routes.js +76 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/new-gpg-key.controller.js +10 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/views/new-gpg-key.html +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/views/gpg-keys.html +36 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-add-hosts.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-copy.controller.js +30 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-details.controller.js +10 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-hosts.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-add-hosts.html +7 -9
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-copy.html +17 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-details.html +55 -94
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-hosts-list.html +8 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-hosts.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-info.html +91 -58
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.controller.js +4 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.module.js +0 -85
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.routes.js +80 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/host-collection-form.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/new-host-collection.controller.js +22 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/views/new-host-collection.html +53 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections.html +36 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-package.factory.js +2 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-traces.factory.js +18 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/katello-features.run.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/fenced-pages.service.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/views/organization-selector.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branches-details-repositories.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branches-details-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/{package-details-repositories.controller.js → package-repositories.controller.js} +10 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/{package-details.controller.js → package.controller.js} +9 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/{packages-details-dependencies.html → package-dependencies.html} +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-files.html +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-info.html +81 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/{packages-details-repositories.html → package-repositories.html} +10 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package.html +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/package.factory.js +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.controller.js +18 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.routes.js +37 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages.html +53 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/partials/sync-status.html +17 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details-info.controller.js +3 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details.controller.js +14 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +30 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/details/repository-details-info.controller.js +4 -82
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/details/repository-details-manage-content.controller.js +17 -9
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +98 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +78 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +299 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-docker-manifests.html +71 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html +46 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-package-groups.html +18 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-packages.html +60 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-puppet-modules.html +68 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-tasks.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/download-policy.service.js +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/new/new-repository.controller.js +27 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories/new/views/repository-new.html → products/details/repositories/new/views/new-repository.html} +31 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/repositories.module.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js +138 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/repository.factory.js +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +182 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-details.html +71 -57
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-info.html +66 -85
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-new-sync-plan.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-tasks.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery-form.controller.js +3 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery-base.html +8 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery-create.html +135 -144
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html +19 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/product-form.controller.js +3 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/views/product-new-form.html +4 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/views/product-new.html +5 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product.factory.js +1 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products-bulk-action.controller.js +93 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +8 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.module.js +4 -240
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.routes.js +132 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products.html +97 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/{subscription-associations-activation-keys.controller.js → subscription-activation-keys.controller.js} +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/{subscription-associations-content-hosts.controller.js → subscription-content-hosts.controller.js} +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/{subscription-associations-activation-keys.html → subscription-activation-keys.html} +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/{subscription-associations-content-hosts.html → subscription-content-hosts.html} +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-details.html +40 -52
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-info.html +72 -98
- 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 +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest-import.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest.html +26 -41
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.controller.js +7 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.module.js +0 -107
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.routes.js +110 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions.html +49 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-add-products.controller.js +15 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details-info.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details.controller.js +32 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-products.controller.js +17 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-details.html +61 -54
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-info.html +62 -65
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-products.html +63 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/new-sync-plan.controller.js +3 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/views/new-sync-plan-form.html +19 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/views/new-sync-plan.html +7 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plan.factory.js +1 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.controller.js +4 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.module.js +2 -91
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.routes.js +84 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans.html +40 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-reduce.filter.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task.factory.js +9 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-nutupane.factory.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-table.directive.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/task-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/tasks-table.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/user-tasks-table.html +1 -1
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss +3 -2
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/errata.scss +1 -1
- data/engines/bastion_katello/bastion_katello.gemspec +1 -1
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +4 -1
- data/lib/katello/engine.rb +4 -13
- data/lib/katello/permissions/activation_key_permissions.rb +3 -2
- data/lib/katello/permissions/capsule_content_permissions.rb +2 -1
- data/lib/katello/permissions/content_view_permissions.rb +8 -6
- data/lib/katello/permissions/gpg_key_permissions.rb +1 -2
- data/lib/katello/permissions/host_collections_permissions.rb +2 -3
- data/lib/katello/permissions/host_permissions.rb +9 -2
- data/lib/katello/permissions/lifecycle_environment_permissions.rb +2 -3
- data/lib/katello/permissions/product_permissions.rb +10 -7
- data/lib/katello/permissions/roles_permissions.rb +5 -0
- data/lib/katello/permissions/sync_plan_permissions.rb +1 -2
- data/lib/katello/plugin.rb +28 -3
- data/lib/katello/tasks/import_applicability.rake +12 -0
- data/lib/katello/tasks/reimport.rake +7 -9
- data/lib/katello/tasks/repository.rake +105 -0
- data/lib/katello/tasks/unify_hosts.rake +73 -25
- data/lib/katello/version.rb +1 -1
- metadata +119 -81
- data/app/controllers/katello/api/v2/uebercerts_controller.rb +0 -17
- data/app/controllers/katello/organizations_controller.rb +0 -32
- data/app/lib/actions/katello/provider/manifest_delete.rb +0 -29
- data/app/lib/actions/katello/provider/manifest_import.rb +0 -34
- data/app/lib/actions/katello/provider/manifest_refresh.rb +0 -30
- data/app/lib/katello/glue/queue.rb +0 -69
- data/app/lib/katello/glue/task.rb +0 -44
- data/db/seeds.d/108-ensure_sync_notification.rb +0 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys-table-full.html +0 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-composite-content-views-list.controller.js +0 -63
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-content-views-list.html +0 -80
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tags-details.html +0 -72
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags-table-full.html +0 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/views/gpg-key-new.html +0 -72
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/views/gpg-keys-table-collapsed.html +0 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/views/gpg-keys-table-full.html +0 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-actions.html +0 -36
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/views/host-collection-new-form.html +0 -45
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/views/host-collection-new.html +0 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections-table-full.html +0 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-files.html +0 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-info.html +0 -85
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details.html +0 -59
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-full.html +0 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync-plan.controller.js +0 -53
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync.controller.js +0 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action.controller.js +0 -64
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions-sync-plan.html +0 -65
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions-sync.html +0 -38
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions.html +0 -78
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-repositories.html +0 -190
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products-table-collapsed.html +0 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products-table-full.html +0 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-info.html +0 -390
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-docker-manifests.html +0 -77
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-ostree-branches.html +0 -60
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-package-groups.html +0 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-packages.html +0 -72
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-puppet-modules.html +0 -82
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions-table-collapsed.html +0 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions-table-full.html +0 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-products-table.html +0 -80
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans-table-collapsed.html +0 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans-table-full.html +0 -36
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/gpg-keys.scss +0 -34
- data/lib/katello/tasks/regenerate_repo_metadata.rake +0 -18
@@ -0,0 +1,98 @@
|
|
1
|
+
(function () {
|
2
|
+
function RepositoryDetailsController($scope, $state, translate, Repository, Product, ApiErrorHandler) {
|
3
|
+
/**
|
4
|
+
* @ngdoc object
|
5
|
+
* @name Bastion.repositories.controller:RepositoryDetailsController
|
6
|
+
*
|
7
|
+
* @requires $scope
|
8
|
+
* @requires $state
|
9
|
+
* @requires translate
|
10
|
+
* @requires Repository
|
11
|
+
* @requires ApiErrorHandler
|
12
|
+
*
|
13
|
+
* @description
|
14
|
+
* Core functionality for Repository.
|
15
|
+
*/
|
16
|
+
|
17
|
+
var errorHandler = function errorHandler(response) {
|
18
|
+
$scope.errorMessages = response.data.errors;
|
19
|
+
};
|
20
|
+
|
21
|
+
$scope.successMessages = [];
|
22
|
+
$scope.errorMessages = [];
|
23
|
+
|
24
|
+
$scope.page = {
|
25
|
+
error: false,
|
26
|
+
loading: true
|
27
|
+
};
|
28
|
+
|
29
|
+
if ($scope.repository) {
|
30
|
+
$scope.page.loading = false;
|
31
|
+
}
|
32
|
+
|
33
|
+
$scope.product = Product.get({id: $scope.$stateParams.productId}, function () {
|
34
|
+
$scope.page.loading = false;
|
35
|
+
}, function (response) {
|
36
|
+
$scope.page.loading = false;
|
37
|
+
ApiErrorHandler.handleGETRequestErrors(response, $scope);
|
38
|
+
});
|
39
|
+
|
40
|
+
$scope.repository = Repository.get({
|
41
|
+
'product_id': $scope.$stateParams.productId,
|
42
|
+
'id': $scope.$stateParams.repositoryId
|
43
|
+
}, function () {
|
44
|
+
$scope.page.loading = false;
|
45
|
+
}, function (response) {
|
46
|
+
$scope.page.loading = false;
|
47
|
+
ApiErrorHandler.handleGETRequestErrors(response, $scope);
|
48
|
+
});
|
49
|
+
|
50
|
+
$scope.syncRepository = function (repository) {
|
51
|
+
Repository.sync({id: repository.id}, function (task) {
|
52
|
+
$state.go('product.repository.tasks.details', {taskId: task.id});
|
53
|
+
}, errorHandler);
|
54
|
+
};
|
55
|
+
|
56
|
+
$scope.syncInProgress = function (task) {
|
57
|
+
var inProgress = false;
|
58
|
+
if (task && (task.state === 'pending' || task.state === 'running')) {
|
59
|
+
inProgress = true;
|
60
|
+
}
|
61
|
+
return inProgress;
|
62
|
+
};
|
63
|
+
|
64
|
+
$scope.removeRepository = function (repository) {
|
65
|
+
var success, repositoryName = repository.name;
|
66
|
+
|
67
|
+
success = function () {
|
68
|
+
$scope.transitionTo('product.repositories', {productId: $scope.$stateParams.productId});
|
69
|
+
$scope.$parent.successMessages = [translate('Repository "%s" successfully deleted').replace('%s', repositoryName)];
|
70
|
+
};
|
71
|
+
|
72
|
+
repository.$delete(success, errorHandler);
|
73
|
+
};
|
74
|
+
|
75
|
+
$scope.canRemove = function (repo, product) {
|
76
|
+
return $scope.getRepoNonDeletableReason(repo, product) === null;
|
77
|
+
};
|
78
|
+
|
79
|
+
$scope.getRepoNonDeletableReason = function (repo, product) {
|
80
|
+
var readOnlyReason = null;
|
81
|
+
|
82
|
+
if (repo.$resolved && product.$resolved) {
|
83
|
+
if ($scope.denied('destroy_products', product)) {
|
84
|
+
readOnlyReason = 'permissions';
|
85
|
+
} else if (repo.promoted) {
|
86
|
+
readOnlyReason = 'published';
|
87
|
+
} else if (repo['product_type'] === "redhat") {
|
88
|
+
readOnlyReason = 'redhat';
|
89
|
+
}
|
90
|
+
}
|
91
|
+
return readOnlyReason;
|
92
|
+
};
|
93
|
+
}
|
94
|
+
|
95
|
+
angular.module('Bastion.repositories').controller('RepositoryDetailsController', RepositoryDetailsController);
|
96
|
+
|
97
|
+
RepositoryDetailsController.$inject = ['$scope', '$state', 'translate', 'Repository', 'Product', 'ApiErrorHandler'];
|
98
|
+
})();
|
@@ -0,0 +1,78 @@
|
|
1
|
+
<span page-title ng-model="repository">{{ 'Details for Repository:' | translate }} {{ repository.name }}</span>
|
2
|
+
|
3
|
+
<div data-extend-template="layouts/details-page-with-breadcrumbs.html">
|
4
|
+
<header data-block="header">
|
5
|
+
<h2 translate>{{ repository.name }}</h2>
|
6
|
+
</header>
|
7
|
+
|
8
|
+
<div data-block="item-actions">
|
9
|
+
<div class="dropdown-kebab-pf pull-right" uib-dropdown keyboard-nav bst-feature-flag="custom_products">
|
10
|
+
<button uib-dropdown-toggle class="btn btn-link">
|
11
|
+
<span class="fa fa-ellipsis-v"></span>
|
12
|
+
</button>
|
13
|
+
|
14
|
+
<ul class="dropdown-menu-right" uib-dropdown-menu role="menu">
|
15
|
+
<li role="menuitem">
|
16
|
+
<a ng-click="syncRepository(repository)"
|
17
|
+
ng-hide="syncInProgress(repository.last_sync) || !repository.url || denied('sync_products', product)"
|
18
|
+
translate>
|
19
|
+
Sync Now
|
20
|
+
</a>
|
21
|
+
|
22
|
+
<span class="disabled" ng-show="syncInProgress(repository.last_sync)" translate>
|
23
|
+
Cannot sync Repository, a sync is already in progress.
|
24
|
+
</span>
|
25
|
+
|
26
|
+
<span class="disabled" ng-show="!repository.url" translate>
|
27
|
+
Cannot sync Repository without a URL.
|
28
|
+
</span>
|
29
|
+
|
30
|
+
<span class="disabled" ng-show="denied('sync_products', product)" translate>
|
31
|
+
Cannot sync Repository without the proper permissions.
|
32
|
+
</span>
|
33
|
+
</li>
|
34
|
+
|
35
|
+
<li class="divider" bst-feature-flag="custom_products" ng-hide="denied('delete_repositories')"></li>
|
36
|
+
<li role="menuitem" ng-hide="denied('delete_repositories')">
|
37
|
+
<a ng-click="openModal()" ng-show="canRemove(repository, product)" translate>
|
38
|
+
Remove Repository
|
39
|
+
</a>
|
40
|
+
|
41
|
+
<span class="disabled" ng-hide="canRemove(repository, product)">
|
42
|
+
<span translate>Cannot Remove</span>
|
43
|
+
|
44
|
+
<span ng-switch="getRepoNonDeletableReason(repository, product)" model="repository">
|
45
|
+
<i class="fa fa-question-circle" ng-switch-when="permissions"
|
46
|
+
uib-tooltip="{{ 'You cannot remove this repository because you do not have permission.' | translate }}"
|
47
|
+
tooltip-animation="false"
|
48
|
+
tooltip-placement="left"
|
49
|
+
tooltip-append-to-body="true">
|
50
|
+
</i>
|
51
|
+
<i class="fa fa-question-circle" ng-switch-when="published"
|
52
|
+
uib-tooltip="{{ 'You cannot remove this repository because it was published to a content view.' | translate }}"
|
53
|
+
tooltip-animation="false"
|
54
|
+
tooltip-placement="left"
|
55
|
+
tooltip-append-to-body="true">
|
56
|
+
</i>
|
57
|
+
<i class="fa fa-question-circle" ng-switch-when="redhat"
|
58
|
+
uib-tooltip="{{ 'You cannot remove this repository because it is a Red Hat repository.' | translate }}"
|
59
|
+
tooltip-animation="false"
|
60
|
+
tooltip-placement="left"
|
61
|
+
tooltip-append-to-body="true">
|
62
|
+
</i>
|
63
|
+
</span>
|
64
|
+
</span>
|
65
|
+
</li>
|
66
|
+
</ul>
|
67
|
+
|
68
|
+
<div bst-modal="removeRepository(repository)" model="repository">
|
69
|
+
<div data-block="modal-header" translate>Remove Repository "{{ repository.name }}"?</div>
|
70
|
+
<div data-block="modal-body" translate>Are you sure you want to remove repository "{{ repository.name }}"?</div>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div data-block="content">
|
76
|
+
<section ui-view></section>
|
77
|
+
</div>
|
78
|
+
</div>
|
@@ -0,0 +1,299 @@
|
|
1
|
+
<span page-title ng-model="repository">{{ 'Repository:' | translate }} {{ repository.name }}</span>
|
2
|
+
|
3
|
+
<div ng-hide="page.error" data-extend-template="layouts/two-column-details.html">
|
4
|
+
<div data-block="left-column">
|
5
|
+
<h4 translate>Basic Information</h4>
|
6
|
+
|
7
|
+
<dl class="dl-horizontal dl-horizontal-left">
|
8
|
+
<dt translate>Name</dt>
|
9
|
+
<dd bst-edit-text="repository.name"
|
10
|
+
on-save="save(repository)"
|
11
|
+
readonly="product.redhat || denied('edit_products', product)">
|
12
|
+
</dd>
|
13
|
+
|
14
|
+
<dt translate>Label</dt>
|
15
|
+
<dd>{{ repository.label }}</dd>
|
16
|
+
|
17
|
+
<dt translate>Type</dt>
|
18
|
+
<dd>{{ repository.content_type }}</dd>
|
19
|
+
|
20
|
+
<dt ng-show="repository.content_type !== 'docker'" translate>URL</dt>
|
21
|
+
<dt ng-show="repository.content_type === 'docker'" translate>Registry URL</dt>
|
22
|
+
<dd bst-edit-text="repository.url"
|
23
|
+
on-save="save(repository)"
|
24
|
+
readonly="product.redhat || denied('edit_products', product)">
|
25
|
+
</dd>
|
26
|
+
|
27
|
+
<span ng-show="repository.content_type === 'docker'" >
|
28
|
+
<dt translate>Upstream Repository Name</dt>
|
29
|
+
<dd bst-edit-text="repository.docker_upstream_name"
|
30
|
+
on-save="save(repository)"
|
31
|
+
readonly="product.redhat || denied('edit_products', product)">
|
32
|
+
</dd>
|
33
|
+
</span>
|
34
|
+
|
35
|
+
<dt translate>Verify SSL</dt>
|
36
|
+
<dd bst-edit-checkbox="repository.verify_ssl_on_sync"
|
37
|
+
formatter="booleanToYesNo"
|
38
|
+
on-save="save(repository)"
|
39
|
+
readonly="denied('edit_products', product)">
|
40
|
+
</dd>
|
41
|
+
|
42
|
+
<dt translate>Upstream Username</dt>
|
43
|
+
<dd bst-edit-text="repository.upstream_username"
|
44
|
+
on-save="save(repository)"
|
45
|
+
readonly="product.redhat || denied('edit_products', product)">
|
46
|
+
</dd>
|
47
|
+
|
48
|
+
<dt translate>Upstream Password</dt>
|
49
|
+
<dd bst-edit-text="repository.upstream_password"
|
50
|
+
on-save="save(repository)"
|
51
|
+
readonly="product.redhat || denied('edit_products', product)">
|
52
|
+
</dd>
|
53
|
+
|
54
|
+
<span ng-show="repository.content_type === 'yum'">
|
55
|
+
<dt translate>Yum Metadata Checksum</dt>
|
56
|
+
<dd bst-edit-select="checksumTypeDisplay(repository.checksum_type)"
|
57
|
+
readonly="product.redhat || denied('edit_products', product)"
|
58
|
+
selector="repository.checksum_type"
|
59
|
+
options="checksums"
|
60
|
+
on-save="save(repository)">
|
61
|
+
</dd>
|
62
|
+
|
63
|
+
<dt translate>Mirror on Sync</dt>
|
64
|
+
<dd bst-edit-checkbox="repository.mirror_on_sync"
|
65
|
+
formatter="booleanToYesNo"
|
66
|
+
on-save="save(repository)"
|
67
|
+
readonly="denied('edit_products', product)">
|
68
|
+
</dd>
|
69
|
+
</span>
|
70
|
+
|
71
|
+
<dt translate>Publish via HTTPS</dt>
|
72
|
+
<dd translate>Yes</dd>
|
73
|
+
|
74
|
+
<span ng-hide="repository.content_type === 'ostree'">
|
75
|
+
<dt translate>Publish via HTTP</dt>
|
76
|
+
<dd bst-edit-checkbox="repository.unprotected"
|
77
|
+
formatter="booleanToYesNo"
|
78
|
+
on-save="save(repository)"
|
79
|
+
readonly="product.redhat || denied('edit_products', product)">
|
80
|
+
</dd>
|
81
|
+
</span>
|
82
|
+
|
83
|
+
<dt translate>Published At</dt>
|
84
|
+
<dd>
|
85
|
+
<a ng-hide="repository.content_type === 'docker'" ng-href="{{ repository.full_path }}">{{ repository.full_path }}</a>
|
86
|
+
<span ng-show="repository.content_type === 'docker'">{{ repository.full_path }}</span>
|
87
|
+
<p bst-alert='info' ng-hide="repository.unprotected">
|
88
|
+
<span translate>
|
89
|
+
In order to browse this repository you must <a ng-href="/organizations/{{ organization }}/edit">download the certificate</a>
|
90
|
+
or ask your admin for a certificate.
|
91
|
+
</span>
|
92
|
+
</p>
|
93
|
+
</dd>
|
94
|
+
|
95
|
+
<span ng-if="repository.content_type === 'yum' && !product.redhat">
|
96
|
+
<dt translate>GPG Key</dt>
|
97
|
+
<dd bst-edit-select="repository.gpg_key.name"
|
98
|
+
readonly="product.redhat ||denied('edit_products', product)"
|
99
|
+
selector="repository.gpg_key_id"
|
100
|
+
options="gpgKeys()"
|
101
|
+
on-save="save(repository)">
|
102
|
+
</dd>
|
103
|
+
</span>
|
104
|
+
|
105
|
+
<span ng-if="repository.content_type == 'yum'">
|
106
|
+
<dt translate>Download Policy</dt>
|
107
|
+
<dd bst-edit-select="downloadPolicyDisplay(repository.download_policy)"
|
108
|
+
readonly="denied('edit_products', product)"
|
109
|
+
selector="repository.download_policy"
|
110
|
+
options="downloadPolicies"
|
111
|
+
options-format="id as name for (id, name) in options"
|
112
|
+
on-save="save(repository)">
|
113
|
+
</dd>
|
114
|
+
</span>
|
115
|
+
</dl>
|
116
|
+
|
117
|
+
<div class="divider"></div>
|
118
|
+
|
119
|
+
<h4 translate>Sync Status</h4>
|
120
|
+
|
121
|
+
<dl class="dl-horizontal dl-horizontal-left">
|
122
|
+
<span ng-include="'products/details/partials/sync-status.html'"></span>
|
123
|
+
|
124
|
+
<dt translate>Last Sync</dt>
|
125
|
+
<dd ng-show="repository.last_sync == null" translate>
|
126
|
+
Not Synced
|
127
|
+
</dd>
|
128
|
+
<dd ng-hide="repository.last_sync == null || repository.last_sync.ended_at == null" translate>
|
129
|
+
{{ repository.last_sync_words }} Ago ({{ repository.last_sync.ended_at | date:'medium' }} Local Time)
|
130
|
+
</dd>
|
131
|
+
|
132
|
+
<dt translate>Next Sync</dt>
|
133
|
+
<dd ng-show="repository.product.sync_plan.next_sync" translate>
|
134
|
+
{{ repository.product.sync_plan.next_sync | date:'medium' }} (Server Time)
|
135
|
+
</dd>
|
136
|
+
<dd ng-hide="repository.product.sync_plan.next_sync" translate>
|
137
|
+
Synced manually, no interval set.
|
138
|
+
</dd>
|
139
|
+
|
140
|
+
<dt translate>Sync State</dt>
|
141
|
+
<dd>
|
142
|
+
<a ng-show="repository.last_sync.result"
|
143
|
+
ui-sref="product.repository.tasks.details({repositoryId: repository.id, taskId: repository.last_sync.id})">
|
144
|
+
{{ repository.last_sync.result }}
|
145
|
+
</a>
|
146
|
+
<span ng-hide="repository.last_sync.result" translate>No sync information available.</span>
|
147
|
+
</dd>
|
148
|
+
</dl>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div data-block="right-column">
|
152
|
+
<section>
|
153
|
+
<h4 translate>Content Counts</h4>
|
154
|
+
|
155
|
+
<table class="table table-striped">
|
156
|
+
<thead>
|
157
|
+
<tr>
|
158
|
+
<th colspan="2" translate>Content Type</th>
|
159
|
+
</tr>
|
160
|
+
</thead>
|
161
|
+
|
162
|
+
<tbody>
|
163
|
+
<tr ng-show="repository.content_type === 'yum'">
|
164
|
+
<td translate>Packages</td>
|
165
|
+
<td class="align-center">
|
166
|
+
<a ui-sref="product.repository.manage-content.packages({productId: product.id, repositoryId: repository.id})">
|
167
|
+
{{ repository.content_counts.rpm || 0 }}
|
168
|
+
</a>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
<tr ng-show="repository.content_type === 'yum'">
|
172
|
+
<td translate>Errata</td>
|
173
|
+
<td class="align-center">
|
174
|
+
<a ui-sref="errata.index({repositoryId: repository.id})">
|
175
|
+
{{ repository.content_counts.erratum || 0 }}
|
176
|
+
</a>
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
<tr ng-show="repository.content_type === 'yum'">
|
180
|
+
<td translate>Package Groups</td>
|
181
|
+
<td class="align-center">
|
182
|
+
<a ui-sref="product.repository.manage-content.package-groups({productId: product.id, repositoryId: repository.id})">
|
183
|
+
{{ repository.content_counts.package_group || 0 }}
|
184
|
+
</a>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr ng-show="repository.content_type === 'puppet'">
|
188
|
+
<td translate>Puppet Modules</td>
|
189
|
+
<td class="align-center">
|
190
|
+
<a ui-sref="product.repository.manage-content.puppet-modules({productId: product.id, repositoryId: repository.id})">
|
191
|
+
{{ repository.content_counts.puppet_module || 0 }}
|
192
|
+
</a>
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr ng-show="repository.content_type === 'docker'">
|
196
|
+
<td translate>Docker Manifests</td>
|
197
|
+
<td class="align-center">
|
198
|
+
<a ui-sref="product.repository.manage-content.docker-manifests({productId: product.id, repositoryId: repository.id})" translate>
|
199
|
+
{{ repository.content_counts.docker_manifest || 0 }}
|
200
|
+
</a>
|
201
|
+
</td>
|
202
|
+
</tr>
|
203
|
+
<tr ng-show="repository.content_type === 'docker'">
|
204
|
+
<td translate>Docker Tags</td>
|
205
|
+
<td class="align-center">
|
206
|
+
<a ui-sref="product.repository.manage-content.docker-manifests({productId: product.id, repositoryId: repository.id})" translate>
|
207
|
+
{{ repository.content_counts.docker_tag || 0 }}
|
208
|
+
</a>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr ng-show="repository.content_type === 'ostree'">
|
212
|
+
<td translate>OSTree Branches</td>
|
213
|
+
<td class="align-center">{{ repository.content_counts.ostree_branch || 0 }}</td>
|
214
|
+
</tr>
|
215
|
+
<tr ng-show="repository.content_type === 'file'">
|
216
|
+
<td translate>Files</td>
|
217
|
+
<td class="align-center">{{ repository.content_counts.file || 0 }}</td>
|
218
|
+
</tr>
|
219
|
+
</tbody>
|
220
|
+
</table>
|
221
|
+
|
222
|
+
<div class="divider" ng-if="repository.content_type === 'ostree'"/>
|
223
|
+
</section>
|
224
|
+
|
225
|
+
<section class="well" ng-if="permitted('edit_products', product) && !product.redhat && repository.content_type !== 'docker' && repository.content_type !== 'ostree'">
|
226
|
+
<h5 translate ng-show="repository.content_type === 'puppet'">Upload Puppet Module</h5>
|
227
|
+
<h5 translate ng-show="repository.content_type === 'yum'">Upload Package</h5>
|
228
|
+
<h5 translate ng-show="repository.content_type === 'file'">Upload File</h5>
|
229
|
+
|
230
|
+
<div bst-alerts success-messages="uploadSuccessMessages" error-messages="uploadErrorMessages"></div>
|
231
|
+
|
232
|
+
<form role="form"
|
233
|
+
action="{{ uploadURL }}"
|
234
|
+
ng-upload="uploadContent(content)"
|
235
|
+
error-catcher="uploadError(error, content)"
|
236
|
+
upload-options-enable-controls
|
237
|
+
upload-options-enable-rails-csrf>
|
238
|
+
|
239
|
+
<div class="form-group">
|
240
|
+
<input type="file" name="content[]" ng-hide="denied('edit_products', product)" multiple/>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
<div class="form-group">
|
244
|
+
<button class="btn btn-primary"
|
245
|
+
ng-hide="denied('edit_products', product)"
|
246
|
+
upload-submit ng-click="progress.uploading = true">
|
247
|
+
<i class="fa fa-spinner fa-spin" ng-show="progress.uploading"></i>
|
248
|
+
<span ng-show="progress.uploading" translate>Uploading...</span>
|
249
|
+
<span ng-hide="progress.uploading" translate>Upload</span>
|
250
|
+
</button>
|
251
|
+
</div>
|
252
|
+
|
253
|
+
</form>
|
254
|
+
</section>
|
255
|
+
|
256
|
+
<section ng-show="repository.content_type === 'yum'">
|
257
|
+
<div class="divider"></div>
|
258
|
+
<h4 translate>Distribution Information</h4>
|
259
|
+
|
260
|
+
<div class="detail" >
|
261
|
+
<span class="info-value" ng-hide="repository.distribution_version ||
|
262
|
+
repository.distribution_arch ||
|
263
|
+
repository.distribution_family ||
|
264
|
+
repository.distribution_variant">No distribution available</span>
|
265
|
+
|
266
|
+
<section ng-show="repository.distribution_version ||
|
267
|
+
repository.distribution_arch ||
|
268
|
+
repository.distribution_family ||
|
269
|
+
repository.distribution_variant">
|
270
|
+
|
271
|
+
<div class="detail">
|
272
|
+
<dt translate>Version</dt>
|
273
|
+
<dd>{{ repository.distribution_version }}</dd>
|
274
|
+
</div>
|
275
|
+
|
276
|
+
<div class="detail">
|
277
|
+
<dt translate>Architecture</dt>
|
278
|
+
<dd>{{ repository.distribution_arch}}</dd>
|
279
|
+
</div>
|
280
|
+
|
281
|
+
<div class="detail">
|
282
|
+
<dt translate>Family</dt>
|
283
|
+
<dd>{{ repository.distribution_family}}</dd>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
<div class="detail">
|
287
|
+
<dt translate>Variant</dt>
|
288
|
+
<dd>{{ repository.distribution_variant}}</dd>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
<div class="detail">
|
292
|
+
<dt translate>Bootable</dt>
|
293
|
+
<dd>{{ repository.distribution_bootable}}</dd>
|
294
|
+
</div>
|
295
|
+
</section>
|
296
|
+
</div>
|
297
|
+
</section>
|
298
|
+
</div>
|
299
|
+
</div>
|