foreman_theme_satellite 13.2.3 → 13.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 883629d7f0fb633d7a5f022d561f190dfc274c360f4241884164d392c186ba1e
4
- data.tar.gz: 8e61024ad29a3654095ace1fe0d5522261593ac2963571c8751b77a285c214d6
3
+ metadata.gz: e429335574eaa060f65234918f4c8ed7bff9468fa70f7a6692056e7fdfee6d4e
4
+ data.tar.gz: 64e189a7c9b42236e9af00063d018283dd3256859192ab77866b5871f5e9edf6
5
5
  SHA512:
6
- metadata.gz: 17b3f22c822b7a630da55500f01198ee729ca36576fdb7804e573b6bf74534823764cef86e0e4a17ca52fabd3dfd83291df05311c3735b297c9e7ff15075a82d
7
- data.tar.gz: 309e697f165583646d2fda62ec4e113e03677f0b747543a6fa3e99de5e69652f0d8ca35c0b2a54cf1e66e4ff2a78247b790de9679de2b116db44b49f1a5474c2
6
+ metadata.gz: 97d0dbf8203ccac0e3bb4cd7cb3b333659eb886bf9226d110de4974c1f0097cd3c399ce67c52706e85d99c0e5015f066d47fa0095c2f969f4f751df406bdce3a
7
+ data.tar.gz: 5df13cfec2643815b6e7bb038afdf0b20de4d465d89855189a59bb02073fc55944026375af77767f15d3c068db194e4ad8ebef395a46133e81e83cac9872f658
@@ -17,29 +17,23 @@
17
17
  "domain": "foreman_theme_satellite",
18
18
  "plural_forms": "nplurals=2; plural=(n!=1);"
19
19
  },
20
- "(build: %{version})": [
21
- "(აგება: %{version})"
22
- ],
23
- "API Guide": [
24
- "API-ის გიდი"
25
- ],
26
- "Administering Red Hat Satellite": [
27
- "Red Hat Satellite-ის ადმინისტრირება"
20
+ "Supported by Red Hat": [
21
+ "მხარდაჭერილია Red Hat-ის მიერ"
28
22
  ],
29
- "Blog": [
30
- "ბლოგი"
23
+ "RHEV integration is deprecated.": [
24
+ "RHEV-ის ჩაშენება მოძველებულია."
31
25
  ],
32
- "Customer portal": [
33
- "მომხმარებლის პორტალი"
26
+ "On August 31, 2022, Red Hat Virtualization entered the Maintenance Support Phase. The Maintenance Support Phase runs until August 31, 2024, followed by the Extended Life Phase, which runs until August 31, 2026.": [
27
+ "2022 წლის 31 აგვისტოს RHEV რემონტის მხარდაჭერის ფაზაზე გადავიდა. ის 2024 წლის 31 აგვისტომდე გაგრძელდება, რომელიც გაფართოებული სიცოცხლის ფაზით გაგრძელდება, 2026 წლის 31 აგვისტომდე."
34
28
  ],
35
- "Documentation": [
36
- "დოკუმენტაცია"
29
+ "More information": [
30
+ "მეტი ინფორმაცია"
37
31
  ],
38
- "Environment only": [
39
- "მხოლოდ გარემო"
32
+ "When editing a Template, you must assign a list of Operating Systems with which this Template can be used. Optionally, you can restrict a template to a list of Hostgroups or Environments.": [
33
+ "შაბლონის რედაქტირებისას თქვენ უნდა მიანიჭოთ სია ოპერაციული სისტემებისა, რომლებთანაც შესაძლებელია ამ შაბლონის გამოყენება. სურვილისამებრ, შეგიძლიათ, შაბლონი ჰოსტების ჯგუფების სიით ან/და გარემოებით შეზღუდოთ."
40
34
  ],
41
- "Full trace": [
42
- "სრული ტრეისი"
35
+ "When a Host requests a template (e.g. during provisioning), Foreman selects the optimal match from the available templates of that type, in the following order:": [
36
+ "როდესაც ჰოსტი მოითხოვს შაბლონს (მაგ. სამუშაოდ მომზადების დროს), Foreman საუკეთესო შესატყვისს ამ ტიპის არსებული შაბლონებიდან შემდეგი თანამიმდევრობით შეარჩევს:"
43
37
  ],
44
38
  "Host group and Environment": [
45
39
  "ჰოსტების ჯგუფი და გარემო"
@@ -47,77 +41,83 @@
47
41
  "Host group only": [
48
42
  "მხოლოდ ჰოსტების ჯგუფი"
49
43
  ],
50
- "IRC": [
51
- "IRC"
52
- ],
53
- "If you feel this is an error with Satellite 6 itself, please open a new issue with": [
54
- "თუ გგონიათ, რომ ეს შეცდომა Satellite 6-ის შეცდომაა, გახსენით ახალი ბილეთი"
55
- ],
56
- "Includes %{system} © 2009-%{year} Paul Kelly and Ohad Levy": [
57
- "შეიცავს %{system} © 2009-%{year} პოლ კელი და ოჰედ ლევი"
58
- ],
59
- "More information": [
60
- "მეტი ინფორმაცია"
61
- ],
62
- "On August 31, 2022, Red Hat Virtualization entered the Maintenance Support Phase. The Maintenance Support Phase runs until August 31, 2024, followed by the Extended Life Phase, which runs until August 31, 2026.": [
63
- "2022 წლის 31 აგვისტოს RHEV რემონტის მხარდაჭერის ფაზაზე გადავიდა. ის 2024 წლის 31 აგვისტომდე გაგრძელდება, რომელიც გაფართოებული სიცოცხლის ფაზით გაგრძელდება, 2026 წლის 31 აგვისტომდე."
64
- ],
65
- "Operating System": [
66
- "ოპერაციული სისტემა"
44
+ "Environment only": [
45
+ "მხოლოდ გარემო"
67
46
  ],
68
47
  "Operating system default": [
69
48
  "ოპერაციული სისტემის ნაგულისხმები მნიშვნელობა"
70
49
  ],
71
- "RHEV integration is deprecated.": [
72
- "RHEV-ის ჩაშენება მოძველებულია."
73
- ],
74
- "Red Hat Satellite Blog": [
75
- "Red Hat Satellite-ის ბლოგი"
76
- ],
77
- "Satellite ticketing system": [
78
- "Satellite-ის ბილეთებს სისტემა"
50
+ "The final entry, Operating System default, can be set by editing the %s page.": [
51
+ "საბოლოო ჩანაწერი, ოპერაციული სისტემის ნაგულისხმები, შეიძლება დაყენდეს %s გვერდის რედაქტირებით."
79
52
  ],
80
- "Show unsupported provisioning templates": [
81
- "მხარდაუჭერელი გაშლის ნიმუშების ჩვენება"
53
+ "Operating System": [
54
+ "ოპერაციული სისტემა"
82
55
  ],
83
- "Show unsupported provisioning templates. When enabled, all the avaiable templates will be shown. When disabled, Red Hat supported templates will be shown only": [
84
- "მხარდაუჭერელი გაშლის ნიმუშების ჩვენება. როცა ჩართულია, ნაჩვენები იქნება ყველა ხელმისაწვდომი ნიმუში. როცა გამორთულია, ნაჩვენები იქნება, მხოლოდ, Red Hat-ის მიერ მხარდაჭერილი ნმუშები"
56
+ "Version %{version}": [
57
+ "ვერსია %{version}"
85
58
  ],
86
59
  "Support": [
87
60
  "მხარდაჭერა"
88
61
  ],
89
- "Supported by Red Hat": [
90
- "მხარდაჭერილია Red Hat-ის მიერ"
62
+ "Customer portal": [
63
+ "მომხმარებლის პორტალი"
91
64
  ],
92
- "The final entry, Operating System default, can be set by editing the %s page.": [
93
- "საბოლოო ჩანაწერი, ოპერაციული სისტემის ნაგულისხმები, შეიძლება დაყენდეს %s გვერდის რედაქტირებით."
65
+ "Documentation": [
66
+ "დოკუმენტაცია"
94
67
  ],
95
- "Theme changes for Satellite 6.": [
96
- "თემის ცვლილებები Satellite 6-სთვის."
68
+ "Administering Red Hat Satellite": [
69
+ "Red Hat Satellite-ის ადმინისტრირება"
97
70
  ],
98
71
  "Transitioning from Red Hat Satellite 5 to Red Hat Satellite 6": [
99
72
  "გადასვლა Red Hat Satellite 5-დან to Red Hat Satellite 6-ზე"
100
73
  ],
101
- "Version %{version}": [
102
- "ვერსია %{version}"
74
+ "API Guide": [
75
+ "API-ის გიდი"
103
76
  ],
104
- "Version %{version} © %{year} Red Hat Inc.": [
105
- "ვერსია %{version} © %{year} Red Hat Inc."
77
+ "Blog": [
78
+ "ბლოგი"
106
79
  ],
107
- "When a Host requests a template (e.g. during provisioning), Foreman selects the optimal match from the available templates of that type, in the following order:": [
108
- "როდესაც ჰოსტი მოითხოვს შაბლონს (მაგ. სამუშაოდ მომზადების დროს), Foreman საუკეთესო შესატყვისს ამ ტიპის არსებული შაბლონებიდან შემდეგი თანამიმდევრობით შეარჩევს:"
80
+ "Red Hat Satellite Blog": [
81
+ "Red Hat Satellite-ის ბლოგი"
109
82
  ],
110
- "When editing a Template, you must assign a list of Operating Systems with which this Template can be used. Optionally, you can restrict a template to a list of Hostgroups or Environments.": [
111
- "შაბლონის რედაქტირებისას თქვენ უნდა მიანიჭოთ სია ოპერაციული სისტემებისა, რომლებთანაც შესაძლებელია ამ შაბლონის გამოყენება. სურვილისამებრ, შეგიძლიათ, შაბლონი ჰოსტების ჯგუფების სიით ან/და გარემოებით შეზღუდოთ."
83
+ "IRC": [
84
+ "IRC"
112
85
  ],
113
86
  "You can find us on %{liberachat} (irc.libera.chat) in #redhat-satellite.": [
114
87
  "%{liberachat}-ზე (irc.libera.chat) ჩვენი პოვნა #redhat-satellite არხზე შეგიძლიათ."
115
88
  ],
89
+ "Version %{version} © %{year} Red Hat Inc.": [
90
+ "ვერსია %{version} © %{year} Red Hat Inc."
91
+ ],
92
+ "Includes %{system} © 2009-%{year} Paul Kelly and Ohad Levy": [
93
+ "შეიცავს %{system} © 2009-%{year} პოლ კელი და ოჰედ ლევი"
94
+ ],
95
+ "If you feel this is an error with Satellite 6 itself, please open a new issue with": [
96
+ "თუ გგონიათ, რომ ეს შეცდომა Satellite 6-ის შეცდომაა, გახსენით ახალი ბილეთი"
97
+ ],
98
+ "Satellite ticketing system": [
99
+ "Satellite-ის ბილეთებს სისტემა"
100
+ ],
116
101
  "You would probably need to attach the": [
117
102
  "ალბათ, დაგჭირდებათ მიამაგროთ"
118
103
  ],
104
+ "Full trace": [
105
+ "სრული ტრეისი"
106
+ ],
119
107
  "and relevant log entries.": [
120
108
  "და შესაბამისი ჟურნალის ჩანაწერები."
109
+ ],
110
+ "(build: %{version})": [
111
+ "(აგება: %{version})"
112
+ ],
113
+ "Show unsupported provisioning templates. When enabled, all the avaiable templates will be shown. When disabled, Red Hat supported templates will be shown only": [
114
+ "მხარდაუჭერელი გაშლის ნიმუშების ჩვენება. როცა ჩართულია, ნაჩვენები იქნება ყველა ხელმისაწვდომი ნიმუში. როცა გამორთულია, ნაჩვენები იქნება, მხოლოდ, Red Hat-ის მიერ მხარდაჭერილი ნმუშები"
115
+ ],
116
+ "Show unsupported provisioning templates": [
117
+ "მხარდაუჭერელი გაშლის ნიმუშების ჩვენება"
118
+ ],
119
+ "Theme changes for Satellite 6.": [
120
+ "თემის ცვლილებები Satellite 6-სთვის."
121
121
  ]
122
122
  }
123
123
  }
@@ -1,12 +1,14 @@
1
- .login-pf body {
2
- background: #202020;
3
- }
4
- .auto-refresh.on {
5
- color: #393F44;
6
- }
7
- .login-pf body .login-page {
8
- background: #393F44;
9
- }
10
- .stacked-content.tab-content {
11
- border: 1px solid #474C51;
1
+ .satellite-theme {
2
+ .login-pf body {
3
+ background: #202020;
4
+ }
5
+ .auto-refresh.on {
6
+ color: #393f44;
7
+ }
8
+ .login-pf body .login-page {
9
+ background: #393f44;
10
+ }
11
+ .stacked-content.tab-content {
12
+ border: 1px solid #474c51;
13
+ }
12
14
  }
@@ -1,5 +1,10 @@
1
- .bastion .dropdown-menu>.active>a, .bastion .dropdown-menu>.active>a:hover, .bastion .dropdown-menu>.active>a:focus {
2
- border: 1px solid #999999/*{borderColorHover}*/ !important;
3
- background: #dadada/*{bgColorHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
4
- font-weight: normal/*{fwDefault}*/;
1
+ .satellite-theme {
2
+ .bastion .dropdown-menu > .active > a,
3
+ .bastion .dropdown-menu > .active > a:hover,
4
+ .bastion .dropdown-menu > .active > a:focus {
5
+ border: 1px solid #999999 /*{borderColorHover}*/ !important;
6
+ background: #dadada /*{bgColorHover}*/ 50% /*{bgHoverXPos}*/ 50% /*{bgHoverYPos}*/ repeat-x
7
+ /*{bgHoverRepeat}*/;
8
+ font-weight: normal /*{fwDefault}*/;
9
+ }
5
10
  }
@@ -1,13 +1,15 @@
1
- @import 'foreman_theme_satellite/login.scss';
1
+ @import "foreman_theme_satellite/login.scss";
2
2
 
3
- .external-logout {
4
- background-image: $bg-img;
5
- background-size: $bg-size;
6
- background-color: $bg-color;
7
- background-repeat: $bg-repeat;
8
-
9
- header img.brand {
10
- margin: $brand-margin !important;
11
- max-width: $brand-max-width !important;
3
+ .satellite-theme {
4
+ .external-logout {
5
+ background-image: $bg-img;
6
+ background-size: $bg-size;
7
+ background-color: $bg-color;
8
+ background-repeat: $bg-repeat;
9
+
10
+ header img.brand {
11
+ margin: $brand-margin !important;
12
+ max-width: $brand-max-width !important;
13
+ }
12
14
  }
13
15
  }
@@ -1,32 +1,34 @@
1
- $bg-img: image-url('foreman_theme_satellite/login_bg.svg');
1
+ $bg-img: image-url("foreman_theme_satellite/login_bg.svg");
2
2
  $bg-size: 55% auto;
3
3
  $bg-color: #202020;
4
4
  $bg-repeat: no-repeat;
5
5
  $brand-margin: 150px 15% 0 0;
6
6
  $brand-max-width: none;
7
7
 
8
- #login-page {
9
- .login-pf {
10
- background-image: $bg-img;
11
- background-size: $bg-size;
12
- background-color: $bg-color;
13
- background-repeat: $bg-repeat;
14
- }
8
+ .satellite-theme {
9
+ #login-page {
10
+ .login-pf {
11
+ background-image: $bg-img;
12
+ background-size: $bg-size;
13
+ background-color: $bg-color;
14
+ background-repeat: $bg-repeat;
15
+ }
15
16
 
16
- .login-pf-brand {
17
- margin: $brand-margin;
18
- max-width: $brand-max-width;
19
- }
17
+ .login-pf-brand {
18
+ margin: $brand-margin;
19
+ max-width: $brand-max-width;
20
+ }
21
+
22
+ .external-logout {
23
+ background-image: $bg-img;
24
+ background-size: $bg-size;
25
+ background-color: $bg-color;
26
+ background-repeat: $bg-repeat;
20
27
 
21
- .external-logout {
22
- background-image: $bg-img;
23
- background-size: $bg-size;
24
- background-color: $bg-color;
25
- background-repeat: $bg-repeat;
26
-
27
- header img.brand {
28
- margin: $brand-margin !important;
29
- max-width: $brand-max-width !important;
28
+ header img.brand {
29
+ margin: $brand-margin !important;
30
+ max-width: $brand-max-width !important;
31
+ }
30
32
  }
31
33
  }
32
34
  }
@@ -1,7 +1,9 @@
1
- body {
1
+ body .satellite-theme {
2
2
  width: 100%;
3
3
  }
4
4
 
5
- #page-sidebar {
6
- --pf-c-page__sidebar--Width: 250px;
5
+ .satellite-theme {
6
+ #page-sidebar {
7
+ --pf-c-page__sidebar--Width: 250px;
8
+ }
7
9
  }
@@ -1,3 +1,5 @@
1
- .prov-brand-img {
2
- margin-right: 10px;
1
+ .satellite-theme {
2
+ .prov-brand-img {
3
+ margin-right: 10px;
4
+ }
3
5
  }
@@ -1,11 +1,13 @@
1
- .pf-c-page .pf-c-masthead {
2
- .pf-c-masthead__brand {
3
- height: inherit;
4
- }
1
+ .satellite-theme {
2
+ .pf-c-page .pf-c-masthead {
3
+ .pf-c-masthead__brand {
4
+ height: inherit;
5
+ }
5
6
 
6
- .navbar-brand-txt {
7
- display: none !important;
7
+ .navbar-brand-txt {
8
+ display: none !important;
9
+ }
10
+ background: var(--pf-c-page__header--BackgroundColor);
11
+ background-size: cover;
8
12
  }
9
- background: var(--pf-c-page__header--BackgroundColor);
10
- background-size: cover;
11
- }
13
+ }
@@ -1,14 +1,16 @@
1
- .wizard li {
2
- padding: 8px 12px 8px;
1
+ .satellite-theme {
2
+ .wizard li {
3
+ padding: 8px 12px 8px;
3
4
 
4
- &:first-child {
5
- -webkit-border-radius: 0;
6
- -moz-border-radius: 0;
7
- border-radius: 0;
8
- }
9
- &:last-child {
10
- -webkit-border-radius: 0;
11
- -moz-border-radius: 0;
12
- border-radius: 0;
5
+ &:first-child {
6
+ -webkit-border-radius: 0;
7
+ -moz-border-radius: 0;
8
+ border-radius: 0;
9
+ }
10
+ &:last-child {
11
+ -webkit-border-radius: 0;
12
+ -moz-border-radius: 0;
13
+ border-radius: 0;
14
+ }
13
15
  }
14
16
  }
@@ -3,6 +3,6 @@
3
3
  # Overrides for functions used in helpers.
4
4
  module ThemeCssClassHelper
5
5
  def body_css_classes
6
- 'pf-m-redhat-font'
6
+ 'pf-m-redhat-font satellite-theme'
7
7
  end
8
8
  end
@@ -5,12 +5,12 @@ module ForemanThemeSatellite
5
5
  module Documentation
6
6
  USER_GUIDE_DICTIONARY = {
7
7
  # Ansible
8
- 'ImportingRoles' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_ansible_integration_in_red_hat_satellite/getting_started_with_ansible_in_satellite_ansible#Importing_Ansible_Roles_and_Variables_ansible",
9
- 'Variables' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_ansible_integration_in_red_hat_satellite/getting_started_with_ansible_in_satellite_ansible#Overriding_Ansible_Variables_in_satellite_ansible",
8
+ 'ImportingRoles' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_ansible_integration/getting_started_with_ansible_in_satellite_ansible#Importing_Ansible_Roles_and_Variables_ansible",
9
+ 'Variables' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_ansible_integration/getting_started_with_ansible_in_satellite_ansible#Overriding_Ansible_Variables_in_satellite_ansible",
10
10
 
11
11
  # Managing Hosts
12
12
  'ForemanRemoteExecution' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/configuring_and_setting_up_remote_jobs_managing-hosts",
13
- 'ExecutingaJob' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/configuring_and_setting_up_remote_jobs_managing-hosts#configuring-the-global-smartproxy-remote-execution-setting_managing-hosts",
13
+ 'ExecutingaJob' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/configuring_and_setting_up_remote_jobs_managing-hosts#Configuring_the_Global_capsule_Remote_Execution_Setting_in_satellite_managing-hosts",
14
14
  'JobTemplates' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/configuring_and_setting_up_remote_jobs_managing-hosts#setting-up-job-templates_managing-hosts",
15
15
  'ReportTemplates' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/using_report_templates_to_monitor_hosts_managing-hosts",
16
16
  'Reports' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/using_report_templates_to_monitor_hosts_managing-hosts",
@@ -34,12 +34,12 @@ module ForemanThemeSatellite
34
34
  'Networking' => "#{ForemanThemeSatellite.documentation_root}/provisioning_hosts/configuring_networking_provisioning#Adding_a_Subnet_to_Server_provisioning",
35
35
 
36
36
  # Puppet Guide
37
- 'FactsandtheENC' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration_in_red_hat_satellite/introducing-configuration-management-using-puppet_managing-configurations-puppet#performing-configuration-management_managing-configurations-puppet",
38
- 'using-config-groups' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration_in_red_hat_satellite/creating-a-puppet-config-group_managing-configurations-puppet",
39
- 'SmartMatchers' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration_in_red_hat_satellite/configuring_puppet_smart_class_parameters_managing-configurations-puppet",
40
- 'Parameters' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration_in_red_hat_satellite/configuring_puppet_smart_class_parameters_managing-configurations-puppet",
41
- 'Classes' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration_in_red_hat_satellite/importing_puppet_classes_and_environments_managing-configurations-puppet",
42
- 'Environments' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration_in_red_hat_satellite/creating_a_custom_puppet_environment_managing-configurations-puppet",
37
+ 'FactsandtheENC' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration/introducing-configuration-management-using-puppet_managing-configurations-puppet#performing-configuration-management_managing-configurations-puppet",
38
+ 'using-config-groups' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration/creating-a-puppet-config-group_managing-configurations-puppet",
39
+ 'SmartMatchers' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration/configuring_puppet_smart_class_parameters_managing-configurations-puppet",
40
+ 'Parameters' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration/configuring_puppet_smart_class_parameters_managing-configurations-puppet",
41
+ 'Classes' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration/importing_puppet_classes_and_environments_managing-configurations-puppet",
42
+ 'Environments' => "#{ForemanThemeSatellite.documentation_root}/managing_configurations_using_puppet_integration/creating_a_custom_puppet_environment_managing-configurations-puppet",
43
43
 
44
44
  # Administering
45
45
  'ConfigurationOptions' => "#{ForemanThemeSatellite.documentation_root}/administering_red_hat_satellite/",
@@ -55,21 +55,21 @@ module ForemanThemeSatellite
55
55
  'CreatingSCAPcontent' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/configuring_scap_contents_security-compliance",
56
56
 
57
57
  # Planning
58
- 'SmartProxies' => "#{ForemanThemeSatellite.documentation_root}/satellite_overview_concepts_and_deployment_considerations/chap-documentation-architecture_guide-capsule_server_overview",
59
- 'Auditing' => "#{ForemanThemeSatellite.documentation_root}/satellite_overview_concepts_and_deployment_considerations/appe-architecture_guide-glossary_of_terms#varl-Glossary_of_Terms-Audits",
58
+ 'SmartProxies' => "#{ForemanThemeSatellite.documentation_root}/overview_concepts_and_deployment_considerations/major-satellite-components_planning#Capsule-Overview_planning",
59
+ 'Auditing' => "#{ForemanThemeSatellite.documentation_root}/overview_concepts_and_deployment_considerations/glossary-of-terms-used-in-satellite_planning#Audits",
60
60
 
61
61
  # Install
62
- 'HTTP(S)Proxy' => "#{ForemanThemeSatellite.documentation_root}//installing_satellite_server_in_a_connected_network_environment/performing-additional-configuration#Configuring_Server_with_an_HTTP_Proxy_satellite",
62
+ 'HTTP(S)Proxy' => "#{ForemanThemeSatellite.documentation_root}/installing_satellite_server_in_a_connected_network_environment/performing-additional-configuration-on-server_satellite#Configuring_Server_with_an_HTTP_Proxy_satellite",
63
63
 
64
64
  # Misc
65
65
  'GettingHelp' => "https://access.redhat.com/products/red-hat-satellite/#support",
66
66
 
67
67
  # Managing Security Compliance
68
- 'Monitoring_Compliance_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Monitoring_Compliance_security-compliance",
69
- 'Managing_Compliance_Policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Managing_Compliance_Policies_security-compliance",
70
- 'Configuring_SCAP_Contents_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Configuring_SCAP_Contents_security-compliance",
71
- 'tailoring-xccdf-profiles_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Configuring_SCAP_Contents_security-compliance#tailoring-xccdf-profiles_security-compliance",
72
- 'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/compliance-policy-deployment-options_security-compliance",
68
+ 'Monitoring_Compliance_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/monitoring_compliance_security-compliance",
69
+ 'Managing_Compliance_Policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/managing_compliance_policies_security-compliance",
70
+ 'Configuring_SCAP_Contents_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/configuring_scap_contents_security-compliance",
71
+ 'tailoring-xccdf-profiles_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/configuring_scap_contents_security-compliance#tailoring-xccdf-profiles_security-compliance",
72
+ 'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/deploying-compliance-policies_security-compliance",
73
73
  }.freeze
74
74
 
75
75
  PLUGINS_DOCUMENTATION = {
@@ -78,13 +78,29 @@ module ForemanThemeSatellite
78
78
  }.freeze
79
79
 
80
80
  SPECIAL_LINKS = [
81
- [/docs\.theforeman\.org\/.*?\/Managing_Hosts\/.*?registering-a-host.*?managing-hosts/i, "#{ForemanThemeSatellite.documentation_root}/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_managing-hosts"],
81
+ [/docs\.theforeman\.org\/.*?\/Managing_Hosts\/.*?registering-a-host.*?managing-hosts/i, "#{ForemanThemeSatellite.documentation_root}/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_by_Using_Global_Registration_managing-hosts"],
82
82
  ]
83
83
 
84
84
  DOCS_GUIDES_LINKS = {
85
85
  'Managing_Hosts' => {
86
- 'registering-a-host_managing-hosts' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_managing-hosts",
86
+ 'registering-a-host_managing-hosts' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_by_Using_Global_Registration_managing-hosts",
87
87
  }
88
88
  }.freeze
89
+
90
+ def self.flat_docs_guides_links
91
+ nested_to_flat_k_v(nil, DOCS_GUIDES_LINKS).to_h
92
+ end
93
+
94
+ private_class_method def self.nested_to_flat_k_v(prefix, source)
95
+ key_values = []
96
+ source.map do |k, v|
97
+ key = "#{prefix}/#{k}"
98
+ if v.is_a?(Hash)
99
+ key_values.concat(*nested_to_flat_k_v(key, v))
100
+ else
101
+ key_values.concat([key, v])
102
+ end
103
+ end
104
+ end
89
105
  end
90
106
  end
@@ -131,7 +131,7 @@ module ForemanThemeSatellite
131
131
  end
132
132
 
133
133
  def self.get_satellite_version
134
- metadata_field('version', '6.14.0-development')
134
+ metadata_field('version', '6.15.0-development')
135
135
  end
136
136
 
137
137
  def self.get_satellite_short_version
@@ -1,3 +1,3 @@
1
1
  module ForemanThemeSatellite
2
- VERSION = '13.2.3'.freeze
2
+ VERSION = '13.2.5'.freeze
3
3
  end
@@ -1,15 +1,5 @@
1
1
  require 'rake/testtask'
2
2
 
3
- # Tasks
4
- namespace :foreman_theme_satellite do
5
- namespace :example do
6
- desc 'Example Task'
7
- task task: :environment do
8
- # Task goes here
9
- end
10
- end
11
- end
12
-
13
3
  # Tests
14
4
  namespace :test do
15
5
  desc 'Test ForemanThemeSatellite'
@@ -38,9 +28,35 @@ namespace :foreman_theme_satellite do
38
28
 
39
29
  Rake::Task['rubocop_foreman_theme_satellite'].invoke
40
30
  end
31
+
32
+ desc 'Validate documentation links against given TOC file'
33
+ task :validate_docs do
34
+ toc_file = ENV['TOC']
35
+ unless toc_file
36
+ toc_file = File.expand_path('../../test/fixtures/toc.json', __dir__)
37
+ puts "Using default TOC: #{toc_file}, to override please specify TOC=<toc_file>"
38
+ end
39
+
40
+ require_relative '../../test/link_checker'
41
+ checker = LinksChecker.new(toc: toc_file)
42
+
43
+ require_relative '../foreman_theme_satellite/documentation'
44
+
45
+ all_links = ForemanThemeSatellite::Documentation::USER_GUIDE_DICTIONARY
46
+ .merge(ForemanThemeSatellite::Documentation::PLUGINS_DOCUMENTATION)
47
+ .merge(Hash[ForemanThemeSatellite::Documentation::SPECIAL_LINKS])
48
+ .merge(ForemanThemeSatellite::Documentation.flat_docs_guides_links)
49
+
50
+ failed = all_links.filter { |_key, doc_address| doc_address.include?('/html/') && !checker.test_link(doc_address) }
51
+
52
+ abort((failed.map { |key, doc_address| "FAILED: Cannot find #{doc_address} in TOC for entry: #{key}" } + ["Total failed: #{failed.count} entries"]).join("\n")) unless failed.empty?
53
+
54
+ puts "Successfully tested #{all_links.count} links"
55
+ end
41
56
  end
42
57
 
43
58
  Rake::Task[:test].enhance ['test:foreman_theme_satellite']
59
+ Rake::Task['test:foreman_theme_satellite'].enhance ['foreman_theme_satellite:validate_docs']
44
60
 
45
61
  load 'tasks/jenkins.rake'
46
62
  if Rake::Task.task_defined?(:'jenkins:unit')
data/locale/Makefile CHANGED
@@ -55,9 +55,7 @@ tx-update: tx-pull
55
55
  @echo then run make -C locale mo-files to finish
56
56
  @echo
57
57
 
58
- build-mo-files: $(MOFILES)
59
-
60
- mo-files: build-mo-files
58
+ mo-files: $(MOFILES)
61
59
  git add $(POFILES) $(POTFILE) $(JSFILES) ../locale/*/LC_MESSAGES
62
60
  git commit -m "i18n - pulling from tx"
63
61
  @echo
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_theme_satellite",
3
- "version": "13.2.3",
3
+ "version": "13.2.5",
4
4
  "description": "Satellite theme =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_theme_satellite
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.2.3
4
+ version: 13.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shimon Stein
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-24 00:00:00.000000000 Z
12
+ date: 2024-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  requirements: []
224
- rubygems_version: 3.4.10
224
+ rubygems_version: 3.5.9
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: This is a plugin that enables building a theme for Foreman.