katello 4.12.0.rc2 → 4.12.0.rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02c570b117f48fb7f4cd1f22029a90a2a1c06d6199bd852ffcde0f3bc1bded5f
4
- data.tar.gz: b2cafdcecc7a845c5203bae40a5f5fa131c99c8aca15a6368e5fac2cfaf2f912
3
+ metadata.gz: a293bc4db62752b15b0d50669e6fe734f0a2b492e75adbb0c81e8be6daab4f30
4
+ data.tar.gz: 2a1613ac018e081b15b761a2867d9e1cfa8a19f7e29d24ee0fa8087862801421
5
5
  SHA512:
6
- metadata.gz: 387496c576b5625d18fc6045902336675d128156e8cbb4701da7ed61f767032e8eea00bf80bed10ba51fd5b0fe5bbf96d388c66be7a806ad26167737546903c7
7
- data.tar.gz: c358eba78d817d4f3e6c61543a1dc973b7878722cf2e522fba71db91f1097aae9b9181c63146093ca1fb670d5a166618a61092f95a84ab488051bc813c254f46
6
+ metadata.gz: 4b3769b430b04ed0b3c30a5a71852224b2bb561a9d99b47f03be067b36d2071c264b008119f98de7cacffbbc0bd174f21c51658f0073f5fb59b8a00f34832715
7
+ data.tar.gz: 521aec53e88394450a0a133f1c6f55f9d810cff250a61ade8c6fd93eacc044629efc78ddad60541cadafc7e6d30fc47b1b41384686a4c9c176ecd7a58a25931c
@@ -52,7 +52,7 @@ module Actions
52
52
  notification = MailNotification[:proxy_sync_failure]
53
53
  proxy = SmartProxy.find(input.fetch(:smart_proxy, {})[:id])
54
54
  subjects = subjects(input[:options]).merge(smart_proxy: proxy)
55
- notification.users.with_enabled_email.each do |user|
55
+ notification.users.where(disabled: [nil, false], mail_enabled: true).each do |user|
56
56
  notification.deliver(subjects.merge(user: user, task: task))
57
57
  end
58
58
  end
@@ -27,7 +27,7 @@ module Actions
27
27
  def notify_on_failure(_plan)
28
28
  notification = MailNotification[:content_view_promote_failure]
29
29
  view = ::Katello::ContentView.find(input.fetch(:content_view, {})[:id])
30
- notification.users.with_enabled_email.each do |user|
30
+ notification.users.where(disabled: [nil, false], mail_enabled: true).each do |user|
31
31
  notification.deliver(user: user, content_view: view, task: task)
32
32
  end
33
33
  end
@@ -136,7 +136,7 @@ module Actions
136
136
  def notify_on_failure(_plan)
137
137
  notification = MailNotification[:content_view_publish_failure]
138
138
  view = ::Katello::ContentView.find(input.fetch(:content_view, {})[:id])
139
- notification.users.with_enabled_email.each do |user|
139
+ notification.users.where(disabled: [nil, false], mail_enabled: true).each do |user|
140
140
  notification.deliver(user: user, content_view: view, task: task)
141
141
  end
142
142
  end
@@ -100,7 +100,7 @@ module Actions
100
100
  def notify_on_failure(_plan)
101
101
  notification = MailNotification[:repository_sync_failure]
102
102
  repo = ::Katello::Repository.find(input.fetch(:repository, {})[:id])
103
- notification.users.with_enabled_email.each do |user|
103
+ notification.users.where(disabled: [nil, false], mail_enabled: true).each do |user|
104
104
  notification.deliver(user: user, repo: repo, task: task)
105
105
  end
106
106
  end
@@ -24,6 +24,7 @@ angular.module('Bastion.activation-keys').controller('ActivationKeyRepositorySet
24
24
  params = {
25
25
  'activation_key_id': $scope.$stateParams.activationKeyId,
26
26
  'content_access_mode_all': $scope.simpleContentAccessEnabled,
27
+ 'content_access_mode_env': true,
27
28
  'sort_order': 'ASC',
28
29
  'paged': true
29
30
  };
@@ -56,8 +57,6 @@ angular.module('Bastion.activation-keys').controller('ActivationKeyRepositorySet
56
57
  $scope.nutupane.refresh();
57
58
  };
58
59
 
59
- $scope.toggleFilters();
60
-
61
60
  success = function () {
62
61
  $scope.table.working = false;
63
62
  Notification.setSuccessMessage(translate('Repository Sets settings saved successfully.'));
@@ -4,7 +4,7 @@ require 'katello/host_status_manager'
4
4
  # rubocop:disable Metrics/BlockLength
5
5
 
6
6
  Foreman::Plugin.register :katello do
7
- requires_foreman '>= 3.11'
7
+ requires_foreman '>= 3.7'
8
8
  register_gettext
9
9
 
10
10
  sub_menu :top_menu, :content_menu, :caption => N_('Content'),
@@ -1,3 +1,3 @@
1
1
  module Katello
2
- VERSION = "4.12.0.rc2".freeze
2
+ VERSION = "4.12.0.rc3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.12.0.rc2
4
+ version: 4.12.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-07 00:00:00.000000000 Z
11
+ date: 2024-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails