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 +4 -4
- data/app/assets/javascripts/foreman_theme_satellite/locale/ka/foreman_theme_satellite.js +61 -61
- data/app/assets/stylesheets/foreman_theme_satellite/application_colors.css +13 -11
- data/app/assets/stylesheets/foreman_theme_satellite/bastion.scss +9 -4
- data/app/assets/stylesheets/foreman_theme_satellite/external_logout.scss +12 -10
- data/app/assets/stylesheets/foreman_theme_satellite/login.scss +23 -21
- data/app/assets/stylesheets/foreman_theme_satellite/patternfly_and_overrides.scss +5 -3
- data/app/assets/stylesheets/foreman_theme_satellite/provisioning_templates.scss +4 -2
- data/app/assets/stylesheets/foreman_theme_satellite/topbar.scss +11 -9
- data/app/assets/stylesheets/foreman_theme_satellite/wizard.scss +13 -11
- data/app/helpers/theme_css_class_helper.rb +1 -1
- data/lib/foreman_theme_satellite/documentation.rb +35 -19
- data/lib/foreman_theme_satellite/engine.rb +1 -1
- data/lib/foreman_theme_satellite/version.rb +1 -1
- data/lib/tasks/foreman_theme_satellite_tasks.rake +26 -10
- data/locale/Makefile +1 -3
- data/package.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e429335574eaa060f65234918f4c8ed7bff9468fa70f7a6692056e7fdfee6d4e
|
4
|
+
data.tar.gz: 64e189a7c9b42236e9af00063d018283dd3256859192ab77866b5871f5e9edf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
"
|
21
|
-
"
|
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
|
-
"
|
30
|
-
"
|
23
|
+
"RHEV integration is deprecated.": [
|
24
|
+
"RHEV-ის ჩაშენება მოძველებულია."
|
31
25
|
],
|
32
|
-
"
|
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
|
-
"
|
36
|
-
"
|
29
|
+
"More information": [
|
30
|
+
"მეტი ინფორმაცია"
|
37
31
|
],
|
38
|
-
"
|
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
|
-
"
|
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
|
-
"
|
51
|
-
"
|
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
|
-
"
|
72
|
-
"
|
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
|
-
"
|
81
|
-
"
|
53
|
+
"Operating System": [
|
54
|
+
"ოპერაციული სისტემა"
|
82
55
|
],
|
83
|
-
"
|
84
|
-
"
|
56
|
+
"Version %{version}": [
|
57
|
+
"ვერსია %{version}"
|
85
58
|
],
|
86
59
|
"Support": [
|
87
60
|
"მხარდაჭერა"
|
88
61
|
],
|
89
|
-
"
|
90
|
-
"
|
62
|
+
"Customer portal": [
|
63
|
+
"მომხმარებლის პორტალი"
|
91
64
|
],
|
92
|
-
"
|
93
|
-
"
|
65
|
+
"Documentation": [
|
66
|
+
"დოკუმენტაცია"
|
94
67
|
],
|
95
|
-
"
|
96
|
-
"
|
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
|
-
"
|
102
|
-
"
|
74
|
+
"API Guide": [
|
75
|
+
"API-ის გიდი"
|
103
76
|
],
|
104
|
-
"
|
105
|
-
"
|
77
|
+
"Blog": [
|
78
|
+
"ბლოგი"
|
106
79
|
],
|
107
|
-
"
|
108
|
-
"
|
80
|
+
"Red Hat Satellite Blog": [
|
81
|
+
"Red Hat Satellite-ის ბლოგი"
|
109
82
|
],
|
110
|
-
"
|
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
|
-
.
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
-
.
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
1
|
+
@import "foreman_theme_satellite/login.scss";
|
2
2
|
|
3
|
-
.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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(
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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,11 +1,13 @@
|
|
1
|
-
.
|
2
|
-
.pf-c-
|
3
|
-
|
4
|
-
|
1
|
+
.satellite-theme {
|
2
|
+
.pf-c-page .pf-c-masthead {
|
3
|
+
.pf-c-masthead__brand {
|
4
|
+
height: inherit;
|
5
|
+
}
|
5
6
|
|
6
|
-
|
7
|
-
|
7
|
+
.navbar-brand-txt {
|
8
|
+
display: none !important;
|
9
|
+
}
|
10
|
+
background: var(--pf-c-page__header--BackgroundColor);
|
11
|
+
background-size: cover;
|
8
12
|
}
|
9
|
-
|
10
|
-
background-size: cover;
|
11
|
-
}
|
13
|
+
}
|
@@ -1,14 +1,16 @@
|
|
1
|
-
.
|
2
|
-
|
1
|
+
.satellite-theme {
|
2
|
+
.wizard li {
|
3
|
+
padding: 8px 12px 8px;
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
}
|
@@ -5,12 +5,12 @@ module ForemanThemeSatellite
|
|
5
5
|
module Documentation
|
6
6
|
USER_GUIDE_DICTIONARY = {
|
7
7
|
# Ansible
|
8
|
-
'ImportingRoles' => "#{ForemanThemeSatellite.documentation_root}/
|
9
|
-
'Variables' => "#{ForemanThemeSatellite.documentation_root}/
|
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#
|
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}/
|
38
|
-
'using-config-groups' => "#{ForemanThemeSatellite.documentation_root}/
|
39
|
-
'SmartMatchers' => "#{ForemanThemeSatellite.documentation_root}/
|
40
|
-
'Parameters' => "#{ForemanThemeSatellite.documentation_root}/
|
41
|
-
'Classes' => "#{ForemanThemeSatellite.documentation_root}/
|
42
|
-
'Environments' => "#{ForemanThemeSatellite.documentation_root}/
|
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}/
|
59
|
-
'Auditing' => "#{ForemanThemeSatellite.documentation_root}/
|
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}
|
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/
|
69
|
-
'Managing_Compliance_Policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/
|
70
|
-
'Configuring_SCAP_Contents_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/
|
71
|
-
'tailoring-xccdf-profiles_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/
|
72
|
-
'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/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#
|
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#
|
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
|
@@ -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
|
-
|
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
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.
|
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-
|
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.
|
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.
|