katello 4.11.0 → 4.12.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/locale/bn/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/bn_IN/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/ca/katello.js +97 -100
- data/app/assets/javascripts/katello/locale/cs/katello.js +96 -99
- data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +109 -100
- data/app/assets/javascripts/katello/locale/de/katello.js +120 -102
- data/app/assets/javascripts/katello/locale/de_AT/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/de_DE/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/el/katello.js +103 -100
- data/app/assets/javascripts/katello/locale/en/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/en_GB/katello.js +105 -99
- data/app/assets/javascripts/katello/locale/en_US/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/es/katello.js +117 -102
- data/app/assets/javascripts/katello/locale/et_EE/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/fr/katello.js +120 -102
- data/app/assets/javascripts/katello/locale/gl/katello.js +97 -100
- data/app/assets/javascripts/katello/locale/gu/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/he_IL/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/hi/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/id/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/it/katello.js +106 -100
- data/app/assets/javascripts/katello/locale/ja/katello.js +120 -102
- data/app/assets/javascripts/katello/locale/ka/katello.js +113 -101
- data/app/assets/javascripts/katello/locale/kn/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/ko/katello.js +114 -102
- data/app/assets/javascripts/katello/locale/locale/katello.js +1183 -1048
- data/app/assets/javascripts/katello/locale/ml_IN/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/mr/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/nl_NL/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/or/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/pa/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/pl/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/pl_PL/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/pt/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/pt_BR/katello.js +117 -102
- data/app/assets/javascripts/katello/locale/ro/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/ro_RO/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/ru/katello.js +114 -102
- data/app/assets/javascripts/katello/locale/sl/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/sv_SE/katello.js +97 -100
- data/app/assets/javascripts/katello/locale/ta/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/ta_IN/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/te/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/tr/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/vi/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/vi_VN/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/zh/katello.js +93 -99
- data/app/assets/javascripts/katello/locale/zh_CN/katello.js +120 -102
- data/app/assets/javascripts/katello/locale/zh_TW/katello.js +114 -102
- data/app/assets/javascripts/katello/sync_management/index.js +0 -1
- data/app/assets/javascripts/katello/sync_management/sync_management.js +365 -308
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +1 -0
- data/app/controllers/katello/api/v2/debs_controller.rb +4 -0
- data/app/controllers/katello/api/v2/host_debs_controller.rb +13 -1
- data/app/controllers/katello/api/v2/organizations_controller.rb +1 -3
- data/app/controllers/katello/api/v2/repositories_controller.rb +2 -8
- data/app/controllers/katello/concerns/api/v2/registration_commands_controller_extensions.rb +0 -1
- data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +1 -0
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +7 -3
- data/app/controllers/katello/concerns/organizations_controller_extensions.rb +1 -17
- data/app/helpers/katello/concerns/dashboard_helper_extensions.rb +0 -20
- data/app/lib/actions/katello/content_view/incremental_updates.rb +28 -15
- data/app/lib/actions/katello/content_view/publish.rb +3 -3
- data/app/lib/actions/katello/content_view_version/auto_create_products.rb +4 -4
- data/app/lib/actions/katello/content_view_version/auto_create_redhat_repositories.rb +5 -5
- data/app/lib/actions/katello/content_view_version/auto_create_repositories.rb +5 -5
- data/app/lib/actions/katello/content_view_version/import.rb +14 -13
- data/app/lib/actions/katello/content_view_version/import_library.rb +4 -4
- data/app/lib/actions/katello/content_view_version/import_repository.rb +3 -3
- data/app/lib/actions/katello/content_view_version/reset_content_view_repositories_from_metadata.rb +2 -2
- data/app/lib/actions/katello/host/hypervisors_update.rb +0 -1
- data/app/lib/actions/katello/organization/manifest_delete.rb +1 -1
- data/app/lib/actions/katello/organization/manifest_refresh.rb +16 -16
- data/app/lib/actions/katello/repository/sync.rb +2 -4
- data/app/lib/actions/pulp3/orchestration/content_view_version/export.rb +20 -15
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +17 -14
- data/app/lib/actions/pulp3/orchestration/content_view_version/import.rb +11 -11
- data/app/lib/actions/pulp3/orchestration/repository/upload_content.rb +18 -13
- data/app/lib/actions/pulp3/repository/import_upload.rb +13 -5
- data/app/lib/actions/pulp3/repository/save_artifact.rb +23 -12
- data/app/lib/actions/pulp3/repository/save_version.rb +13 -1
- data/app/lib/katello/api/v2/error_handling.rb +1 -1
- data/app/lib/katello/lazy_accessor.rb +6 -6
- data/app/lib/katello/resources/candlepin/owner.rb +2 -2
- data/app/mailers/katello/errata_mailer.rb +3 -3
- data/app/models/katello/concerns/host_managed_extensions.rb +38 -83
- data/app/models/katello/concerns/hostgroup_extensions.rb +4 -2
- data/app/models/katello/concerns/organization_extensions.rb +1 -1
- data/app/models/katello/concerns/pulp_database_unit.rb +1 -1
- data/app/models/katello/concerns/smart_proxy_extensions.rb +5 -5
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +0 -27
- data/app/models/katello/content_view.rb +11 -6
- data/app/models/katello/content_view_module_stream_filter.rb +1 -1
- data/app/models/katello/content_view_version.rb +2 -0
- data/app/models/katello/deb.rb +8 -0
- data/app/models/katello/glue/candlepin/pool.rb +2 -7
- data/app/models/katello/host/content_facet.rb +19 -14
- data/app/models/katello/host/subscription_facet.rb +0 -19
- data/app/models/katello/host_tracer.rb +9 -5
- data/app/models/katello/installed_deb.rb +1 -0
- data/app/models/katello/repository.rb +3 -2
- data/app/models/katello/trace_status.rb +6 -2
- data/app/overrides/add_organization_attributes.rb +0 -18
- data/app/presenters/katello/host_deb_presenter.rb +23 -0
- data/app/services/katello/candlepin/consumer.rb +0 -4
- data/app/services/katello/candlepin/event_handler.rb +6 -25
- data/app/services/katello/candlepin/message_handler.rb +1 -21
- data/app/services/katello/host/profiles_uploader.rb +17 -6
- data/app/services/katello/host_status_manager.rb +0 -22
- data/app/services/katello/organization_creator.rb +2 -2
- data/app/services/katello/pulp3/api/apt.rb +1 -1
- data/app/services/katello/pulp3/content_view_version/export.rb +2 -2
- data/app/services/katello/pulp3/content_view_version/metadata_generator.rb +1 -0
- data/app/services/katello/pulp3/content_view_version/metadata_map.rb +3 -0
- data/app/services/katello/pulp3/repository/apt.rb +16 -6
- data/app/services/katello/registration_manager.rb +1 -13
- data/app/views/foreman/job_templates/install_errata_-_katello_ansible_default.erb +4 -4
- data/app/views/foreman/job_templates/install_errata_by_search_query_-_katello_ansible_default.erb +24 -0
- data/app/views/foreman/job_templates/install_packages_by_search_query_-_katello_ansible_default.erb +28 -0
- data/app/views/foreman/job_templates/remove_packages_by_search_query_-_katello_ansible_default.erb +26 -0
- data/app/views/foreman/job_templates/update_packages_by_search_query_-_katello_ansible_default.erb +33 -0
- data/app/views/katello/api/v2/host_debs/base.json.rabl +2 -0
- data/app/views/katello/api/v2/hosts/base.json.rabl +9 -0
- data/app/views/katello/api/v2/subscription_facet/base_with_root.json.rabl +0 -3
- data/app/views/katello/api/v2/subscription_facet/show.json.rabl +3 -0
- data/app/views/katello/sync_management/index.html.erb +14 -13
- data/app/views/overrides/activation_keys/_host_environment_select.html.erb +20 -16
- data/app/views/overrides/activation_keys/_host_synced_content_select.html.erb +6 -4
- data/app/views/overrides/activation_keys/_host_tab_pane.html.erb +4 -2
- data/app/views/overrides/organizations/_edit_override.html.erb +0 -11
- data/db/migrate/20131014225132_add_users_fields.rb +0 -1
- data/db/migrate/20150603045418_remove_user_fields.rb +0 -2
- data/db/migrate/20160404132250_remove_katello_from_notification_name.rb +4 -22
- data/db/migrate/20160505181337_rename_katello_settings.rb +2 -2
- data/db/migrate/20200818192230_update_system_purpose_status.rb +9 -3
- data/db/migrate/20240111032511_add_index_to_host_installed_packages.rb +16 -0
- data/db/migrate/20240122150431_remove_content_counts_index.rb +5 -0
- data/db/migrate/20240123120109_remove_pulp_export_destination_setting.rb +9 -0
- data/db/migrate/20240207191223_remove_entitlement_mode_host_statuses.rb +30 -0
- data/db/seeds.d/111-upgrade_tasks.rb +2 -1
- data/engines/bastion/app/assets/javascripts/bastion/bastion.js +0 -2
- data/engines/bastion/app/views/bastion/layouts/assets.html.erb +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-associations-content-hosts.html +0 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-details.html +0 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +1 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion-katello-bootstrap.js +45 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts-helper.service.js +0 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +0 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +2 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions.html +0 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +0 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +15 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +332 -71
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +332 -64
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +508 -232
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +361 -90
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ka.po +311 -57
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +336 -68
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +332 -64
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +343 -73
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +8 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +9 -1
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +0 -6
- data/lib/katello/engine.rb +0 -3
- data/lib/katello/plugin.rb +2 -11
- data/lib/katello/tasks/rubocop.rake +0 -9
- data/lib/katello/tasks/unify_hosts.rake +0 -1
- data/lib/katello/tasks/upgrades/4.12/update_content_access_modes.rake +35 -0
- data/lib/katello/version.rb +1 -1
- data/locale/action_names.rb +12 -6
- data/locale/bn/katello.po +35 -41
- data/locale/bn/katello.pox +0 -0
- data/locale/bn_IN/katello.po +35 -41
- data/locale/ca/LC_MESSAGES/katello.mo +0 -0
- data/locale/ca/katello.po +36 -42
- data/locale/cs/katello.po +35 -42
- data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs_CZ/katello.po +36 -42
- data/locale/de/LC_MESSAGES/katello.mo +0 -0
- data/locale/de/katello.po +37 -43
- data/locale/de_AT/katello.po +35 -41
- data/locale/de_DE/katello.po +35 -41
- data/locale/el/LC_MESSAGES/katello.mo +0 -0
- data/locale/el/katello.po +36 -42
- data/locale/en/katello.po +35 -41
- data/locale/en_GB/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_GB/katello.po +35 -41
- data/locale/en_US/katello.po +35 -41
- data/locale/es/LC_MESSAGES/katello.mo +0 -0
- data/locale/es/katello.po +37 -43
- data/locale/et_EE/katello.po +35 -41
- data/locale/fr/LC_MESSAGES/katello.mo +0 -0
- data/locale/fr/katello.po +37 -43
- data/locale/gl/LC_MESSAGES/katello.mo +0 -0
- data/locale/gl/katello.po +36 -42
- data/locale/gu/katello.po +35 -41
- data/locale/he_IL/katello.po +35 -41
- data/locale/hi/katello.po +35 -41
- data/locale/id/katello.po +35 -41
- data/locale/it/LC_MESSAGES/katello.mo +0 -0
- data/locale/it/katello.po +36 -42
- data/locale/ja/LC_MESSAGES/katello.mo +0 -0
- data/locale/ja/katello.po +37 -43
- data/locale/ka/LC_MESSAGES/katello.mo +0 -0
- data/locale/ka/katello.po +36 -42
- data/locale/katello.pot +707 -674
- data/locale/kn/katello.po +35 -41
- data/locale/ko/LC_MESSAGES/katello.mo +0 -0
- data/locale/ko/katello.po +37 -43
- data/locale/messages.mo +0 -0
- data/locale/ml_IN/katello.po +35 -41
- data/locale/mr/katello.po +35 -41
- data/locale/nl_NL/katello.po +35 -41
- data/locale/or/katello.po +35 -41
- data/locale/pa/katello.po +35 -41
- data/locale/pl/katello.po +35 -41
- data/locale/pl_PL/katello.po +35 -41
- data/locale/pt/katello.po +35 -41
- data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt_BR/katello.po +37 -43
- data/locale/ro/katello.po +35 -41
- data/locale/ro_RO/katello.po +35 -41
- data/locale/ru/LC_MESSAGES/katello.mo +0 -0
- data/locale/ru/katello.po +37 -43
- data/locale/sl/katello.po +35 -41
- data/locale/sv_SE/LC_MESSAGES/katello.mo +0 -0
- data/locale/sv_SE/katello.po +36 -42
- data/locale/ta/katello.po +35 -41
- data/locale/ta_IN/katello.po +35 -41
- data/locale/te/katello.po +35 -41
- data/locale/tr/katello.po +35 -41
- data/locale/vi/katello.po +35 -41
- data/locale/vi_VN/katello.po +35 -41
- data/locale/zh/katello.po +35 -41
- data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_CN/katello.po +37 -43
- data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_TW/katello.po +37 -43
- data/package.json +0 -1
- data/webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js +4 -0
- data/webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js +4 -1
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/DebInstallModal.js +250 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/DebInstallModal.scss +3 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/DebsTab.js +585 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/DebsTab.scss +12 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/HostDebsActions.js +13 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/HostDebsConstants.js +13 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/HostDebsSelectors.js +16 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/InstallableDebsActions.js +17 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/InstallableDebsConstants.js +3 -0
- data/webpack/components/extensions/HostDetails/Tabs/DebsTab/InstallableDebsSelectors.js +16 -0
- data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +1 -8
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +2 -0
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +6 -5
- data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +5 -19
- data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +13 -5
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/debs.fixtures.json +31 -0
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/debsInstallModal.test.js +226 -0
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/debsTab.test.js +420 -0
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/installableDebs.fixtures.json +63 -0
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/traces.fixtures.json +11 -1
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +63 -3
- data/webpack/components/extensions/RegistrationCommands/fields/ActivationKeys.js +3 -1
- data/webpack/components/extensions/RegistrationCommands/index.js +9 -0
- data/webpack/redux/actions/RedHatRepositories/helpers.js +3 -3
- data/webpack/scenes/ContentViews/ContentViewsConstants.js +3 -0
- data/webpack/scenes/ContentViews/Delete/__tests__/affectedHosts.fixtures.json +0 -13
- data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +23 -1
- data/webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js +19 -1
- data/webpack/scenes/ContentViews/Details/Repositories/ContentCounts.js +1 -1
- data/webpack/scenes/ContentViews/Details/Versions/BulkDelete/__tests__/hosts.fixtures.json +0 -13
- data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareConfig.js +37 -3
- data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionContent.js +10 -2
- data/webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvAffectedHosts.fixture.json +0 -13
- data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +31 -5
- data/webpack/scenes/Organizations/OrganizationSelectors.js +0 -3
- data/webpack/scenes/Subscriptions/Manifest/index.js +1 -4
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +3 -25
- data/webpack/scenes/Subscriptions/SubscriptionsSelectors.js +0 -3
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsSelectors.test.js +0 -3
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +0 -22
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsSelectors.test.js.snap +0 -3
- data/webpack/scenes/Subscriptions/index.js +1 -2
- metadata +51 -191
- data/app/controllers/katello/concerns/content_facet_hosts_controller_extensions.rb +0 -22
- data/app/models/katello/concerns/widget_extensions.rb +0 -23
- data/app/models/katello/purpose_addons_status.rb +0 -28
- data/app/models/katello/purpose_role_status.rb +0 -28
- data/app/models/katello/purpose_sla_status.rb +0 -28
- data/app/models/katello/purpose_status.rb +0 -71
- data/app/models/katello/purpose_usage_status.rb +0 -28
- data/app/models/katello/subscription_status.rb +0 -71
- data/app/services/katello/candlepin/system_purpose.rb +0 -49
- data/app/views/dashboard/_subscription_status_widget.html.erb +0 -37
- data/app/views/dashboard/_subscription_widget.html.erb +0 -85
- data/app/views/overrides/organizations/_index_header_override.html.erb +0 -3
- data/app/views/overrides/organizations/_index_row_override.html.erb +0 -3
- data/app/views/overrides/organizations/_step_1_override.html.erb +0 -10
- data/config/locales/README +0 -10
- data/config/locales/bn.yml +0 -182
- data/config/locales/compare_upstream.sh +0 -21
- data/config/locales/cs.yml +0 -211
- data/config/locales/de.yml +0 -203
- data/config/locales/en.yml +0 -205
- data/config/locales/es.yml +0 -199
- data/config/locales/fr.yml +0 -222
- data/config/locales/gu.yml +0 -181
- data/config/locales/hi.yml +0 -199
- data/config/locales/it.yml +0 -205
- data/config/locales/ja.yml +0 -197
- data/config/locales/kn.yml +0 -199
- data/config/locales/ko.yml +0 -197
- data/config/locales/mr.yml +0 -178
- data/config/locales/or.yml +0 -181
- data/config/locales/pa.yml +0 -181
- data/config/locales/pt-BR.yml +0 -207
- data/config/locales/pt.yml +0 -207
- data/config/locales/ru.yml +0 -257
- data/config/locales/ta.yml +0 -181
- data/config/locales/te.yml +0 -181
- data/config/locales/update.sh +0 -14
- data/config/locales/zh-CN.yml +0 -199
- data/config/locales/zh-TW.yml +0 -199
- data/engines/bastion/app/assets/javascripts/bastion/bastion-bootstrap.js +0 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/content-access-mode-banner.directive.js +0 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/content-access-mode-banner.html +0 -10
- data/webpack/scenes/Subscriptions/Manifest/SimpleContentAccess.js +0 -96
data/config/locales/zh-CN.yml
DELETED
@@ -1,199 +0,0 @@
|
|
1
|
-
zh-CN:
|
2
|
-
date:
|
3
|
-
abbr_day_names:
|
4
|
-
- 日
|
5
|
-
- 一
|
6
|
-
- 二
|
7
|
-
- 三
|
8
|
-
- 四
|
9
|
-
- 五
|
10
|
-
- 六
|
11
|
-
abbr_month_names:
|
12
|
-
-
|
13
|
-
- 1月
|
14
|
-
- 2月
|
15
|
-
- 3月
|
16
|
-
- 4月
|
17
|
-
- 5月
|
18
|
-
- 6月
|
19
|
-
- 7月
|
20
|
-
- 8月
|
21
|
-
- 9月
|
22
|
-
- 10月
|
23
|
-
- 11月
|
24
|
-
- 12月
|
25
|
-
day_names:
|
26
|
-
- 星期日
|
27
|
-
- 星期一
|
28
|
-
- 星期二
|
29
|
-
- 星期三
|
30
|
-
- 星期四
|
31
|
-
- 星期五
|
32
|
-
- 星期六
|
33
|
-
formats:
|
34
|
-
default: ! '%Y-%m-%d'
|
35
|
-
long: ! '%Y年%b%d日'
|
36
|
-
short: ! '%b%d日'
|
37
|
-
month_names:
|
38
|
-
-
|
39
|
-
- 一月
|
40
|
-
- 二月
|
41
|
-
- 三月
|
42
|
-
- 四月
|
43
|
-
- 五月
|
44
|
-
- 六月
|
45
|
-
- 七月
|
46
|
-
- 八月
|
47
|
-
- 九月
|
48
|
-
- 十月
|
49
|
-
- 十一月
|
50
|
-
- 十二月
|
51
|
-
order:
|
52
|
-
- :year
|
53
|
-
- :month
|
54
|
-
- :day
|
55
|
-
datetime:
|
56
|
-
distance_in_words:
|
57
|
-
about_x_hours:
|
58
|
-
one: 大约一小时
|
59
|
-
other: 大约 %{count} 小时
|
60
|
-
about_x_months:
|
61
|
-
one: 大约一个月
|
62
|
-
other: 大约 %{count} 个月
|
63
|
-
about_x_years:
|
64
|
-
one: 大约一年
|
65
|
-
other: 大约 %{count} 年
|
66
|
-
almost_x_years:
|
67
|
-
one: 接近一年
|
68
|
-
other: 接近 %{count} 年
|
69
|
-
half_a_minute: 半分钟
|
70
|
-
less_than_x_minutes:
|
71
|
-
one: 不到一分钟
|
72
|
-
other: 不到 %{count} 分钟
|
73
|
-
less_than_x_seconds:
|
74
|
-
one: 不到一秒
|
75
|
-
other: 不到 %{count} 秒
|
76
|
-
over_x_years:
|
77
|
-
one: 一年多
|
78
|
-
other: ! '%{count} 年多'
|
79
|
-
x_days:
|
80
|
-
one: 一天
|
81
|
-
other: ! '%{count} 天'
|
82
|
-
x_minutes:
|
83
|
-
one: 一分钟
|
84
|
-
other: ! '%{count} 分钟'
|
85
|
-
x_months:
|
86
|
-
one: 一个月
|
87
|
-
other: ! '%{count} 个月'
|
88
|
-
x_seconds:
|
89
|
-
one: 一秒
|
90
|
-
other: ! '%{count} 秒'
|
91
|
-
prompts:
|
92
|
-
day: 日
|
93
|
-
hour: 时
|
94
|
-
minute: 分
|
95
|
-
month: 月
|
96
|
-
second: 秒
|
97
|
-
year: 年
|
98
|
-
errors: &errors
|
99
|
-
format: ! '%{attribute} %{message}'
|
100
|
-
messages:
|
101
|
-
accepted: 必须是可被接受的
|
102
|
-
blank: 不能为空字符
|
103
|
-
confirmation: 与确认值不匹配
|
104
|
-
empty: 不能留空
|
105
|
-
equal_to: 必须等于 %{count}
|
106
|
-
even: 必须为双数
|
107
|
-
exclusion: 是保留关键字
|
108
|
-
greater_than: 必须大于 %{count}
|
109
|
-
greater_than_or_equal_to: 必须大于或等于 %{count}
|
110
|
-
inclusion: 不包含于列表中
|
111
|
-
invalid: 是无效的
|
112
|
-
less_than: 必须小于 %{count}
|
113
|
-
less_than_or_equal_to: 必须小于或等于 %{count}
|
114
|
-
not_a_number: 不是数字
|
115
|
-
not_an_integer: 必须是整数
|
116
|
-
odd: 必须为单数
|
117
|
-
record_invalid: ! '验证失败: %{errors}'
|
118
|
-
taken: 已经被使用
|
119
|
-
too_long: 过长(最长为 %{count} 个字符)
|
120
|
-
too_short: 过短(最短为 %{count} 个字符)
|
121
|
-
wrong_length: 长度非法(必须为 %{count} 个字符)
|
122
|
-
template:
|
123
|
-
body: 如下字段出现错误:
|
124
|
-
header:
|
125
|
-
one: 有 1 个错误发生导致「%{model}」无法被保存。
|
126
|
-
other: 有 %{count} 个错误发生导致「%{model}」无法被保存。
|
127
|
-
helpers:
|
128
|
-
select:
|
129
|
-
prompt: 请选择
|
130
|
-
submit:
|
131
|
-
create: 新增%{model}
|
132
|
-
submit: 储存%{model}
|
133
|
-
update: 更新%{model}
|
134
|
-
number:
|
135
|
-
currency:
|
136
|
-
format:
|
137
|
-
delimiter: ! ','
|
138
|
-
format: ! '%u %n'
|
139
|
-
precision: 2
|
140
|
-
separator: .
|
141
|
-
significant: false
|
142
|
-
strip_insignificant_zeros: false
|
143
|
-
unit: CN¥
|
144
|
-
format:
|
145
|
-
delimiter: ! ','
|
146
|
-
precision: 3
|
147
|
-
separator: .
|
148
|
-
significant: false
|
149
|
-
strip_insignificant_zeros: false
|
150
|
-
human:
|
151
|
-
decimal_units:
|
152
|
-
format: ! '%n %u'
|
153
|
-
units:
|
154
|
-
billion: 十亿
|
155
|
-
million: 百万
|
156
|
-
quadrillion: 千兆
|
157
|
-
thousand: 千
|
158
|
-
trillion: 兆
|
159
|
-
unit: ''
|
160
|
-
format:
|
161
|
-
delimiter: ''
|
162
|
-
precision: 1
|
163
|
-
significant: false
|
164
|
-
strip_insignificant_zeros: false
|
165
|
-
storage_units:
|
166
|
-
format: ! '%n %u'
|
167
|
-
units:
|
168
|
-
byte:
|
169
|
-
one: Byte
|
170
|
-
other: Bytes
|
171
|
-
gb: GB
|
172
|
-
kb: KB
|
173
|
-
mb: MB
|
174
|
-
tb: TB
|
175
|
-
percentage:
|
176
|
-
format:
|
177
|
-
delimiter: ''
|
178
|
-
precision:
|
179
|
-
format:
|
180
|
-
delimiter: ''
|
181
|
-
support:
|
182
|
-
array:
|
183
|
-
last_word_connector: ! ', 和 '
|
184
|
-
two_words_connector: ! ' 和 '
|
185
|
-
words_connector: ! ', '
|
186
|
-
time:
|
187
|
-
am: 上午
|
188
|
-
formats:
|
189
|
-
default: ! '%Y年%b%d日 %A %H:%M:%S %Z'
|
190
|
-
long: ! '%Y年%b%d日 %H:%M'
|
191
|
-
short: ! '%b%d日 %H:%M'
|
192
|
-
pm: 下午
|
193
|
-
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
194
|
-
activemodel:
|
195
|
-
errors:
|
196
|
-
<<: *errors
|
197
|
-
activerecord:
|
198
|
-
errors:
|
199
|
-
<<: *errors
|
data/config/locales/zh-TW.yml
DELETED
@@ -1,199 +0,0 @@
|
|
1
|
-
zh-TW:
|
2
|
-
date:
|
3
|
-
abbr_day_names:
|
4
|
-
- 日
|
5
|
-
- 一
|
6
|
-
- 二
|
7
|
-
- 三
|
8
|
-
- 四
|
9
|
-
- 五
|
10
|
-
- 六
|
11
|
-
abbr_month_names:
|
12
|
-
-
|
13
|
-
- 1月
|
14
|
-
- 2月
|
15
|
-
- 3月
|
16
|
-
- 4月
|
17
|
-
- 5月
|
18
|
-
- 6月
|
19
|
-
- 7月
|
20
|
-
- 8月
|
21
|
-
- 9月
|
22
|
-
- 10月
|
23
|
-
- 11月
|
24
|
-
- 12月
|
25
|
-
day_names:
|
26
|
-
- 星期日
|
27
|
-
- 星期一
|
28
|
-
- 星期二
|
29
|
-
- 星期三
|
30
|
-
- 星期四
|
31
|
-
- 星期五
|
32
|
-
- 星期六
|
33
|
-
formats:
|
34
|
-
default: ! '%Y-%m-%d'
|
35
|
-
long: ! '%Y年%b%d日'
|
36
|
-
short: ! '%b%d日'
|
37
|
-
month_names:
|
38
|
-
-
|
39
|
-
- 一月
|
40
|
-
- 二月
|
41
|
-
- 三月
|
42
|
-
- 四月
|
43
|
-
- 五月
|
44
|
-
- 六月
|
45
|
-
- 七月
|
46
|
-
- 八月
|
47
|
-
- 九月
|
48
|
-
- 十月
|
49
|
-
- 十一月
|
50
|
-
- 十二月
|
51
|
-
order:
|
52
|
-
- :year
|
53
|
-
- :month
|
54
|
-
- :day
|
55
|
-
datetime:
|
56
|
-
distance_in_words:
|
57
|
-
about_x_hours:
|
58
|
-
one: 大約一小時
|
59
|
-
other: 大約 %{count} 小時
|
60
|
-
about_x_months:
|
61
|
-
one: 大約一個月
|
62
|
-
other: 大約 %{count} 個月
|
63
|
-
about_x_years:
|
64
|
-
one: 大約一年
|
65
|
-
other: 大約 %{count} 年
|
66
|
-
almost_x_years:
|
67
|
-
one: 接近一年
|
68
|
-
other: 接近 %{count} 年
|
69
|
-
half_a_minute: 半分鐘
|
70
|
-
less_than_x_minutes:
|
71
|
-
one: 不到一分鐘
|
72
|
-
other: 不到 %{count} 分鐘
|
73
|
-
less_than_x_seconds:
|
74
|
-
one: 不到一秒
|
75
|
-
other: 不到 %{count} 秒
|
76
|
-
over_x_years:
|
77
|
-
one: 一年多
|
78
|
-
other: ! '%{count} 年多'
|
79
|
-
x_days:
|
80
|
-
one: 一天
|
81
|
-
other: ! '%{count} 天'
|
82
|
-
x_minutes:
|
83
|
-
one: 一分鐘
|
84
|
-
other: ! '%{count} 分鐘'
|
85
|
-
x_months:
|
86
|
-
one: 一個月
|
87
|
-
other: ! '%{count} 個月'
|
88
|
-
x_seconds:
|
89
|
-
one: 一秒
|
90
|
-
other: ! '%{count} 秒'
|
91
|
-
prompts:
|
92
|
-
day: 日
|
93
|
-
hour: 時
|
94
|
-
minute: 分
|
95
|
-
month: 月
|
96
|
-
second: 秒
|
97
|
-
year: 年
|
98
|
-
errors: &errors
|
99
|
-
format: ! '%{attribute} %{message}'
|
100
|
-
messages:
|
101
|
-
accepted: 必須是可被接受的
|
102
|
-
blank: 不能是空白字元
|
103
|
-
confirmation: 不符合確認值
|
104
|
-
empty: 不能留空
|
105
|
-
equal_to: 必須等於 %{count}
|
106
|
-
even: 必須是偶數
|
107
|
-
exclusion: 是被保留的關鍵字
|
108
|
-
greater_than: 必須大於 %{count}
|
109
|
-
greater_than_or_equal_to: 必須大於或等於 %{count}
|
110
|
-
inclusion: 沒有包含在列表中
|
111
|
-
invalid: 是無效的
|
112
|
-
less_than: 必須小於 %{count}
|
113
|
-
less_than_or_equal_to: 必須小於或等於 %{count}
|
114
|
-
not_a_number: 不是數字
|
115
|
-
not_an_integer: 必須是整數
|
116
|
-
odd: 必須是奇數
|
117
|
-
record_invalid: ! '校驗失敗: %{errors}'
|
118
|
-
taken: 已經被使用
|
119
|
-
too_long: 過長(最長是 %{count} 個字)
|
120
|
-
too_short: 過短(最短是 %{count} 個字)
|
121
|
-
wrong_length: 字數錯誤(必須是 %{count} 個字)
|
122
|
-
template:
|
123
|
-
body: 以下欄位發生問題:
|
124
|
-
header:
|
125
|
-
one: 有 1 個錯誤發生使得「%{model}」無法被儲存。
|
126
|
-
other: 有 %{count} 個錯誤發生使得「%{model}」無法被儲存。
|
127
|
-
helpers:
|
128
|
-
select:
|
129
|
-
prompt: 請選擇
|
130
|
-
submit:
|
131
|
-
create: 新增%{model}
|
132
|
-
submit: 儲存%{model}
|
133
|
-
update: 更新%{model}
|
134
|
-
number:
|
135
|
-
currency:
|
136
|
-
format:
|
137
|
-
delimiter: ! ','
|
138
|
-
format: ! '%u %n'
|
139
|
-
precision: 2
|
140
|
-
separator: .
|
141
|
-
significant: false
|
142
|
-
strip_insignificant_zeros: false
|
143
|
-
unit: NT$
|
144
|
-
format:
|
145
|
-
delimiter: ! ','
|
146
|
-
precision: 3
|
147
|
-
separator: .
|
148
|
-
significant: false
|
149
|
-
strip_insignificant_zeros: false
|
150
|
-
human:
|
151
|
-
decimal_units:
|
152
|
-
format: ! '%n %u'
|
153
|
-
units:
|
154
|
-
billion: 十億
|
155
|
-
million: 百萬
|
156
|
-
quadrillion: 千兆
|
157
|
-
thousand: 千
|
158
|
-
trillion: 兆
|
159
|
-
unit: ''
|
160
|
-
format:
|
161
|
-
delimiter: ''
|
162
|
-
precision: 1
|
163
|
-
significant: false
|
164
|
-
strip_insignificant_zeros: false
|
165
|
-
storage_units:
|
166
|
-
format: ! '%n %u'
|
167
|
-
units:
|
168
|
-
byte:
|
169
|
-
one: Byte
|
170
|
-
other: Bytes
|
171
|
-
gb: GB
|
172
|
-
kb: KB
|
173
|
-
mb: MB
|
174
|
-
tb: TB
|
175
|
-
percentage:
|
176
|
-
format:
|
177
|
-
delimiter: ''
|
178
|
-
precision:
|
179
|
-
format:
|
180
|
-
delimiter: ''
|
181
|
-
support:
|
182
|
-
array:
|
183
|
-
last_word_connector: ! ', 和 '
|
184
|
-
two_words_connector: ! ' 和 '
|
185
|
-
words_connector: ! ', '
|
186
|
-
time:
|
187
|
-
am: 上午
|
188
|
-
formats:
|
189
|
-
default: ! '%Y年%b%d日 %A %H:%M:%S %Z'
|
190
|
-
long: ! '%Y年%b%d日 %H:%M'
|
191
|
-
short: ! '%b%d日 %H:%M'
|
192
|
-
pm: 下午
|
193
|
-
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
194
|
-
activemodel:
|
195
|
-
errors:
|
196
|
-
<<: *errors
|
197
|
-
activerecord:
|
198
|
-
errors:
|
199
|
-
<<: *errors
|
@@ -1,17 +0,0 @@
|
|
1
|
-
angular.element(document).ready(function () {
|
2
|
-
angular.bootstrap(document, BASTION_MODULES);
|
3
|
-
});
|
4
|
-
|
5
|
-
BASTION_MODULES = [
|
6
|
-
'angular-blocks',
|
7
|
-
'ngAnimate',
|
8
|
-
'ngSanitize',
|
9
|
-
'templates',
|
10
|
-
'ui.bootstrap',
|
11
|
-
'ui.bootstrap.tpls',
|
12
|
-
'Bastion.auth',
|
13
|
-
'Bastion.menu',
|
14
|
-
'Bastion.i18n',
|
15
|
-
'Bastion.features',
|
16
|
-
'Bastion.routing'
|
17
|
-
];
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @ngdoc directive
|
3
|
-
* @name Bastion.subscriptions:contentAccessModeBanner
|
4
|
-
*
|
5
|
-
* @requires simpleContentAccessEnabled
|
6
|
-
*
|
7
|
-
* @description
|
8
|
-
* Component for showing information about content access mode (whether content is
|
9
|
-
* allowed with or without a subscription)
|
10
|
-
*/
|
11
|
-
angular.module('Bastion.subscriptions').directive('contentAccessModeBanner',
|
12
|
-
['simpleContentAccessEnabled',
|
13
|
-
function (simpleContentAccessEnabled) {
|
14
|
-
return {
|
15
|
-
restrict: 'AE',
|
16
|
-
controller: ['$scope', function ($scope) {
|
17
|
-
$scope.simpleContentAccessEnabled = simpleContentAccessEnabled;
|
18
|
-
}],
|
19
|
-
templateUrl: 'subscriptions/views/content-access-mode-banner.html'
|
20
|
-
};
|
21
|
-
}
|
22
|
-
]);
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<div id="content-access-mode-banner" bst-alert="info" ng-if="simpleContentAccessEnabled">
|
2
|
-
<span translate>
|
3
|
-
This organization has Simple Content Access enabled. Hosts are not required to have subscriptions attached to access repositories.
|
4
|
-
</span>
|
5
|
-
</div>
|
6
|
-
<div id="non-sca-banner" bst-alert="warning" ng-if="!simpleContentAccessEnabled">
|
7
|
-
<span translate>
|
8
|
-
This organization is not using <a target="_blank" href="https://access.redhat.com/articles/simple-content-access">Simple Content Access.</a> Entitlement-based subscription management is deprecated and will be removed in Katello 4.12.
|
9
|
-
</span>
|
10
|
-
</div>
|
@@ -1,96 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
|
-
import { Switch, Level, LevelItem } from '@patternfly/react-core';
|
4
|
-
import { OverlayTrigger, Tooltip, Icon } from 'patternfly-react';
|
5
|
-
import { translate as __ } from 'foremanReact/common/I18n';
|
6
|
-
import { Col, ControlLabel } from 'react-bootstrap';
|
7
|
-
|
8
|
-
const SimpleContentAccess = (props) => {
|
9
|
-
const {
|
10
|
-
canToggleSimpleContentAccess,
|
11
|
-
isSimpleContentAccessEnabled,
|
12
|
-
enableSimpleContentAccess,
|
13
|
-
disableSimpleContentAccess,
|
14
|
-
simpleContentAccessEligible,
|
15
|
-
} = props;
|
16
|
-
|
17
|
-
const toggleSimpleContentAccess = () => {
|
18
|
-
if (isSimpleContentAccessEnabled) {
|
19
|
-
disableSimpleContentAccess();
|
20
|
-
} else {
|
21
|
-
enableSimpleContentAccess();
|
22
|
-
}
|
23
|
-
};
|
24
|
-
|
25
|
-
const simpleContentAccessText = () => {
|
26
|
-
// don't show this text unless explicitly told to
|
27
|
-
if (simpleContentAccessEligible !== undefined) {
|
28
|
-
if (!simpleContentAccessEligible && !isSimpleContentAccessEnabled) {
|
29
|
-
return __('Simple Content Access has been disabled by the upstream organization administrator.');
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
return __('Toggling Simple Content Access will refresh your manifest.');
|
34
|
-
};
|
35
|
-
|
36
|
-
return (
|
37
|
-
<div id="simple-content-access">
|
38
|
-
<Col sm={5}>
|
39
|
-
<ControlLabel
|
40
|
-
className="control-label"
|
41
|
-
style={{ paddingTop: '0' }}
|
42
|
-
>
|
43
|
-
<Level>
|
44
|
-
<LevelItem>
|
45
|
-
<span className="sca-label">{__('Simple Content Access')}</span>
|
46
|
-
</LevelItem>
|
47
|
-
<LevelItem>
|
48
|
-
<OverlayTrigger
|
49
|
-
overlay={
|
50
|
-
<Tooltip id="sca-refresh-tooltip">
|
51
|
-
{__('When Simple Content Access is enabled, hosts are not required to have subscriptions attached to access repositories.')}
|
52
|
-
</Tooltip>
|
53
|
-
}
|
54
|
-
placement="bottom"
|
55
|
-
trigger={['hover', 'focus']}
|
56
|
-
rootClose={false}
|
57
|
-
>
|
58
|
-
<Icon type="pf" name="info" />
|
59
|
-
</OverlayTrigger>
|
60
|
-
</LevelItem>
|
61
|
-
</Level>
|
62
|
-
</ControlLabel>
|
63
|
-
</Col>
|
64
|
-
<Col sm={7}>
|
65
|
-
<div id="manifest-toggle-sca-switch">
|
66
|
-
<Switch
|
67
|
-
id="simple-switch"
|
68
|
-
ouiaId="simple-switch"
|
69
|
-
isChecked={isSimpleContentAccessEnabled}
|
70
|
-
onChange={toggleSimpleContentAccess}
|
71
|
-
isDisabled={!canToggleSimpleContentAccess}
|
72
|
-
data-testid="switch"
|
73
|
-
label=" "
|
74
|
-
/>
|
75
|
-
</div>
|
76
|
-
<div>
|
77
|
-
<i>{simpleContentAccessText()}</i>
|
78
|
-
</div>
|
79
|
-
</Col>
|
80
|
-
</div>
|
81
|
-
);
|
82
|
-
};
|
83
|
-
|
84
|
-
SimpleContentAccess.propTypes = {
|
85
|
-
enableSimpleContentAccess: PropTypes.func.isRequired,
|
86
|
-
disableSimpleContentAccess: PropTypes.func.isRequired,
|
87
|
-
isSimpleContentAccessEnabled: PropTypes.bool.isRequired,
|
88
|
-
canToggleSimpleContentAccess: PropTypes.bool.isRequired,
|
89
|
-
simpleContentAccessEligible: PropTypes.bool,
|
90
|
-
};
|
91
|
-
|
92
|
-
SimpleContentAccess.defaultProps = {
|
93
|
-
simpleContentAccessEligible: undefined,
|
94
|
-
};
|
95
|
-
|
96
|
-
export default SimpleContentAccess;
|