foreman_statistics 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/foreman_statistics/trends_helper.rb +30 -20
  3. data/app/models/concerns/foreman_statistics/has_many_trends.rb +9 -0
  4. data/app/models/foreman_statistics/trend.rb +3 -1
  5. data/app/views/foreman_statistics/trends/_hosts.html.erb +1 -1
  6. data/app/views/foreman_statistics/trends/index.html.erb +0 -1
  7. data/app/views/foreman_statistics/trends/show.html.erb +6 -6
  8. data/config/jest.config.js +21 -0
  9. data/db/migrate/20210523143005_migrate_environments.rb +13 -0
  10. data/lib/foreman_statistics/engine.rb +6 -5
  11. data/lib/foreman_statistics/version.rb +1 -1
  12. data/locale/ca/LC_MESSAGES/foreman_statistics.mo +0 -0
  13. data/locale/ca/foreman_statistics.edit.po +263 -0
  14. data/locale/ca/foreman_statistics.po +202 -0
  15. data/locale/ca/foreman_statistics.po.time_stamp +0 -0
  16. data/locale/cs_CZ/LC_MESSAGES/foreman_statistics.mo +0 -0
  17. data/locale/cs_CZ/foreman_statistics.edit.po +267 -0
  18. data/locale/cs_CZ/foreman_statistics.po +206 -0
  19. data/locale/cs_CZ/foreman_statistics.po.time_stamp +0 -0
  20. data/locale/de/LC_MESSAGES/foreman_statistics.mo +0 -0
  21. data/locale/de/foreman_statistics.edit.po +271 -0
  22. data/locale/de/foreman_statistics.po +210 -0
  23. data/locale/de/foreman_statistics.po.time_stamp +0 -0
  24. data/locale/en/LC_MESSAGES/foreman_statistics.mo +0 -0
  25. data/locale/en/foreman_statistics.edit.po +1 -1
  26. data/locale/en/foreman_statistics.po +1 -1
  27. data/locale/en_GB/LC_MESSAGES/foreman_statistics.mo +0 -0
  28. data/locale/en_GB/foreman_statistics.edit.po +265 -0
  29. data/locale/en_GB/foreman_statistics.po +204 -0
  30. data/locale/en_GB/foreman_statistics.po.time_stamp +0 -0
  31. data/locale/es/LC_MESSAGES/foreman_statistics.mo +0 -0
  32. data/locale/es/foreman_statistics.edit.po +269 -0
  33. data/locale/es/foreman_statistics.po +208 -0
  34. data/locale/es/foreman_statistics.po.time_stamp +0 -0
  35. data/locale/foreman_statistics.pot +2 -2
  36. data/locale/fr/LC_MESSAGES/foreman_statistics.mo +0 -0
  37. data/locale/fr/foreman_statistics.edit.po +269 -0
  38. data/locale/fr/foreman_statistics.po +208 -0
  39. data/locale/fr/foreman_statistics.po.time_stamp +0 -0
  40. data/locale/gl/LC_MESSAGES/foreman_statistics.mo +0 -0
  41. data/locale/gl/foreman_statistics.edit.po +263 -0
  42. data/locale/gl/foreman_statistics.po +202 -0
  43. data/locale/gl/foreman_statistics.po.time_stamp +0 -0
  44. data/locale/it/LC_MESSAGES/foreman_statistics.mo +0 -0
  45. data/locale/it/foreman_statistics.edit.po +265 -0
  46. data/locale/it/foreman_statistics.po +204 -0
  47. data/locale/it/foreman_statistics.po.time_stamp +0 -0
  48. data/locale/ja/LC_MESSAGES/foreman_statistics.mo +0 -0
  49. data/locale/ja/foreman_statistics.edit.po +266 -0
  50. data/locale/ja/foreman_statistics.po +205 -0
  51. data/locale/ja/foreman_statistics.po.time_stamp +0 -0
  52. data/locale/ko/LC_MESSAGES/foreman_statistics.mo +0 -0
  53. data/locale/ko/foreman_statistics.edit.po +264 -0
  54. data/locale/ko/foreman_statistics.po +203 -0
  55. data/locale/ko/foreman_statistics.po.time_stamp +0 -0
  56. data/locale/nl_NL/LC_MESSAGES/foreman_statistics.mo +0 -0
  57. data/locale/nl_NL/foreman_statistics.edit.po +267 -0
  58. data/locale/nl_NL/foreman_statistics.po +206 -0
  59. data/locale/nl_NL/foreman_statistics.po.time_stamp +0 -0
  60. data/locale/pl/LC_MESSAGES/foreman_statistics.mo +0 -0
  61. data/locale/pl/foreman_statistics.edit.po +266 -0
  62. data/locale/pl/foreman_statistics.po +205 -0
  63. data/locale/pl/foreman_statistics.po.time_stamp +0 -0
  64. data/locale/pt_BR/LC_MESSAGES/foreman_statistics.mo +0 -0
  65. data/locale/pt_BR/foreman_statistics.edit.po +269 -0
  66. data/locale/pt_BR/foreman_statistics.po +208 -0
  67. data/locale/pt_BR/foreman_statistics.po.time_stamp +0 -0
  68. data/locale/ru/LC_MESSAGES/foreman_statistics.mo +0 -0
  69. data/locale/ru/foreman_statistics.edit.po +270 -0
  70. data/locale/ru/foreman_statistics.po +209 -0
  71. data/locale/ru/foreman_statistics.po.time_stamp +0 -0
  72. data/locale/sv_SE/LC_MESSAGES/foreman_statistics.mo +0 -0
  73. data/locale/sv_SE/foreman_statistics.edit.po +265 -0
  74. data/locale/sv_SE/foreman_statistics.po +204 -0
  75. data/locale/sv_SE/foreman_statistics.po.time_stamp +0 -0
  76. data/locale/zh_CN/LC_MESSAGES/foreman_statistics.mo +0 -0
  77. data/locale/zh_CN/foreman_statistics.edit.po +267 -0
  78. data/locale/zh_CN/foreman_statistics.po +206 -0
  79. data/locale/zh_CN/foreman_statistics.po.time_stamp +0 -0
  80. data/locale/zh_TW/LC_MESSAGES/foreman_statistics.mo +0 -0
  81. data/locale/zh_TW/foreman_statistics.edit.po +266 -0
  82. data/locale/zh_TW/foreman_statistics.po +205 -0
  83. data/locale/zh_TW/foreman_statistics.po.time_stamp +0 -0
  84. data/package.json +20 -20
  85. data/test/functional/foreman_statistics/api/v2/trends_controller_test.rb +1 -1
  86. data/test/functional/foreman_statistics/trends_controller_test.rb +0 -6
  87. data/webpack/src/Components/StatisticsChartsList/__snapshots__/StatisticsChartsList.test.js.snap +6 -0
  88. data/webpack/src/Router/StatisticsPage/__tests__/__snapshots__/StatisticsPage.test.js.snap +10 -0
  89. metadata +74 -87
  90. data/app/models/concerns/foreman_statistics/compute_resource_decorations.rb +0 -9
  91. data/app/models/concerns/foreman_statistics/environment_decorations.rb +0 -9
  92. data/app/models/concerns/foreman_statistics/hostgroup_decorations.rb +0 -9
  93. data/app/models/concerns/foreman_statistics/model_decorations.rb +0 -9
  94. data/app/models/concerns/foreman_statistics/operatingsystem_decorations.rb +0 -9
  95. data/webpack/__mocks__/foremanReact/API.js +0 -7
  96. data/webpack/__mocks__/foremanReact/common/HOC.js +0 -24
  97. data/webpack/__mocks__/foremanReact/common/I18n.js +0 -3
  98. data/webpack/__mocks__/foremanReact/common/helpers.js +0 -1
  99. data/webpack/__mocks__/foremanReact/common/urlHelpers.js +0 -1
  100. data/webpack/__mocks__/foremanReact/components/ChartBox/index.js +0 -2
  101. data/webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalActions.js +0 -2
  102. data/webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js +0 -10
  103. data/webpack/__mocks__/foremanReact/components/ForemanModal/index.js +0 -4
  104. data/webpack/__mocks__/foremanReact/components/Layout/LayoutActions.js +0 -2
  105. data/webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js +0 -2
  106. data/webpack/__mocks__/foremanReact/components/common/EmptyState.js +0 -5
  107. data/webpack/__mocks__/foremanReact/components/common/MessageBox.js +0 -4
  108. data/webpack/__mocks__/foremanReact/components/common/dates/LongDateTime.js +0 -5
  109. data/webpack/__mocks__/foremanReact/components/common/dates/RelativeDateTime.js +0 -3
  110. data/webpack/__mocks__/foremanReact/components/common/table.js +0 -5
  111. data/webpack/__mocks__/foremanReact/components/common/table/actionsHelpers/actionTypeCreator.js +0 -7
  112. data/webpack/__mocks__/foremanReact/constants.js +0 -24
  113. data/webpack/__mocks__/foremanReact/readme.md +0 -11
  114. data/webpack/__mocks__/foremanReact/redux/actions/toasts.js +0 -8
  115. data/webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js +0 -10
  116. data/webpack/__mocks__/foremanReact/routes/common/PageLayout/components/ExportButton/ExportButton.js +0 -5
  117. data/webpack/__mocks__/foremanReact/routes/common/reducerHOC/withDataReducer.js +0 -35
@@ -0,0 +1,205 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_statistics package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
8
+ # ChrisLee <chris_lee@hiiir.com>, 2021
9
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2021
10
+ #
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: foreman_statistics 1.1.1\n"
14
+ "Report-Msgid-Bugs-To: \n"
15
+ "PO-Revision-Date: 2021-02-03 22:59+0000\n"
16
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2021\n"
17
+ "Language-Team: Chinese (Taiwan) (https://www.transifex.com/foreman/teams/114/z"
18
+ "h_TW/)\n"
19
+ "MIME-Version: 1.0\n"
20
+ "Content-Type: text/plain; charset=UTF-8\n"
21
+ "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: zh_TW\n"
23
+ "Plural-Forms: nplurals=1; plural=0;\n"
24
+
25
+ msgid "Action"
26
+ msgstr "動作"
27
+
28
+ msgid "Action with sub plans"
29
+ msgstr "有子計畫的動作"
30
+
31
+ msgid "Add Trend Counter"
32
+ msgstr "新增趨勢計數器"
33
+
34
+ msgid "Architecture Distribution"
35
+ msgstr "架構發佈"
36
+
37
+ msgid "Average Memory Usage"
38
+ msgstr ""
39
+
40
+ msgid "Average Swap Usage"
41
+ msgstr ""
42
+
43
+ msgid "Cancel"
44
+ msgstr "取消"
45
+
46
+ msgid "Class Distribution"
47
+ msgstr "類別發佈"
48
+
49
+ msgid "Compute Resource Distribution"
50
+ msgstr ""
51
+
52
+ msgid "Compute resource"
53
+ msgstr "運算設定檔"
54
+
55
+ msgid "Create Trend"
56
+ msgstr ""
57
+
58
+ msgid "Create a trend counter"
59
+ msgstr ""
60
+
61
+ msgid "Delete a trend counter"
62
+ msgstr ""
63
+
64
+ msgid "Delete all the trend history for %s?"
65
+ msgstr "是否要刪除 %s 的所有趨勢記錄?"
66
+
67
+ msgid "Display Name"
68
+ msgstr "顯示名稱"
69
+
70
+ msgid "Edit"
71
+ msgstr "編輯"
72
+
73
+ msgid "Edit Trend %s"
74
+ msgstr "編輯趨勢 %s"
75
+
76
+ msgid "Environment"
77
+ msgstr "環境"
78
+
79
+ msgid "Environment Distribution"
80
+ msgstr ""
81
+
82
+ msgid "Expand the chart"
83
+ msgstr "展開圖表"
84
+
85
+ msgid "Fact Name"
86
+ msgstr "詳情名稱"
87
+
88
+ msgid "Facts"
89
+ msgstr "詳情"
90
+
91
+ msgid "Get statistics"
92
+ msgstr "取得數據"
93
+
94
+ msgid "Hardware"
95
+ msgstr "硬體"
96
+
97
+ msgid "Host Group Distribution"
98
+ msgstr ""
99
+
100
+ msgid "Host group"
101
+ msgstr "主機群組"
102
+
103
+ msgid "Hosts"
104
+ msgstr "主機"
105
+
106
+ msgid "Import Puppet classes"
107
+ msgstr "匯入 Puppet 類別"
108
+
109
+ msgid "Import facts"
110
+ msgstr "匯入詳情"
111
+
112
+ msgid "Last update:"
113
+ msgstr ""
114
+
115
+ msgid "Learn more about this in the documentation."
116
+ msgstr "欲知更多,請參閱文件。"
117
+
118
+ msgid "List of trends counters"
119
+ msgstr ""
120
+
121
+ msgid "Location Distribution"
122
+ msgstr ""
123
+
124
+ msgid "Max days for Trends graphs"
125
+ msgstr "趨勢圖表的最大天數"
126
+
127
+ msgid "Max trends"
128
+ msgstr "最大趨勢"
129
+
130
+ msgid "Model"
131
+ msgstr "型號"
132
+
133
+ msgid "Name"
134
+ msgstr "名稱"
135
+
136
+ msgid "No Charts To Load"
137
+ msgstr ""
138
+
139
+ msgid "No data available"
140
+ msgstr ""
141
+
142
+ msgid "No data for this trend."
143
+ msgstr "此趨勢無資料。"
144
+
145
+ msgid "Number of CPUs"
146
+ msgstr "CPU 數量"
147
+
148
+ msgid "Number of Hosts"
149
+ msgstr "主機數量"
150
+
151
+ msgid "Operating system"
152
+ msgstr "作業系統"
153
+
154
+ msgid "Organization Distribution"
155
+ msgstr ""
156
+
157
+ msgid "Please Select"
158
+ msgstr "請選擇"
159
+
160
+ msgid "Remote action:"
161
+ msgstr "遠端動作:"
162
+
163
+ msgid "Show Host"
164
+ msgstr "顯示主機"
165
+
166
+ msgid "Show Trends"
167
+ msgstr "顯示趨勢"
168
+
169
+ msgid "Show a trend"
170
+ msgstr ""
171
+
172
+ msgid "Statistics"
173
+ msgstr "數據"
174
+
175
+ msgid "Statistics and Trends for Foreman gives users overview of their infrastructure."
176
+ msgstr ""
177
+
178
+ msgid "Submit"
179
+ msgstr "提交"
180
+
181
+ msgid "Trend Counter Job"
182
+ msgstr ""
183
+
184
+ msgid "Trend of the last %s days."
185
+ msgstr "最後 %s 天的趨勢。"
186
+
187
+ msgid "Trends"
188
+ msgstr "趨勢"
189
+
190
+ msgid "Trends for %s"
191
+ msgstr "%s 的趨勢"
192
+
193
+ msgid "Trends in Foreman allow you to track changes in your infrastructure over time. It allows you to track both Foreman related information and to any fact. The Trend pages give a graph of how the number of hosts with that value have changed over time, and list the current hosts."
194
+ msgstr ""
195
+
196
+ msgid "free memory"
197
+ msgstr "可用記憶體"
198
+
199
+ msgid "last %s day"
200
+ msgid_plural "last %s days"
201
+ msgstr[0] ""
202
+ msgstr[1] ""
203
+
204
+ msgid "used memory"
205
+ msgstr "已使用的記憶體"
File without changes
data/package.json CHANGED
@@ -3,20 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "description": "DESCRIPTION",
5
5
  "main": "index.js",
6
- "scripts": {
7
- "lint": "tfm-lint --plugin -d /webpack",
8
- "test": "tfm-test --plugin",
9
- "test:watch": "tfm-test --plugin --watchAll",
10
- "test:current": "tfm-test --plugin --watch",
11
- "publish-coverage": "tfm-publish-coverage",
12
- "stories": "tfm-stories --plugin",
13
- "stories:build": "tfm-build-stories --plugin",
14
- "create-react-component": "yo react-domain"
15
- },
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/theforeman/foreman_statistics.git"
19
- },
20
6
  "bugs": {
21
7
  "url": "http://projects.theforeman.org/projects/foreman_statistics/issues"
22
8
  },
@@ -25,12 +11,12 @@
25
11
  },
26
12
  "devDependencies": {
27
13
  "@babel/core": "^7.7.0",
28
- "@theforeman/builder": "^6.0.0",
29
- "@theforeman/eslint-plugin-foreman": "^6.0.0",
30
- "@theforeman/find-foreman": "^4.8.0",
31
- "@theforeman/stories": "^7.0.0",
32
- "@theforeman/test": "^8.0.0",
33
- "@theforeman/vendor-dev": "^6.0.0",
14
+ "@theforeman/builder": "^8.4.1",
15
+ "@theforeman/eslint-plugin-foreman": "^8.4.1",
16
+ "@theforeman/find-foreman": "^8.4.1",
17
+ "@theforeman/stories": "^8.4.1",
18
+ "@theforeman/test": "^8.4.1",
19
+ "@theforeman/vendor-dev": "^8.4.1",
34
20
  "babel-eslint": "^10.0.3",
35
21
  "eslint": "^6.7.2",
36
22
  "prettier": "^1.19.1",
@@ -39,5 +25,19 @@
39
25
  },
40
26
  "dependencies": {
41
27
  "react-intl": "^2.8.0"
28
+ },
29
+ "scripts": {
30
+ "lint": "tfm-lint --plugin -d /webpack",
31
+ "test": "tfm-test --plugin --config config/jest.config.js",
32
+ "test:watch": "tfm-test --plugin --config config/jest.config.js --watchAll",
33
+ "test:current": "tfm-test --plugin --config config/jest.config.js --watch",
34
+ "publish-coverage": "tfm-publish-coverage",
35
+ "stories": "tfm-stories --plugin",
36
+ "stories:build": "tfm-build-stories --plugin",
37
+ "create-react-component": "yo react-domain"
38
+ },
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "git+https://github.com/theforeman/foreman_statistics.git"
42
42
  }
43
43
  }
@@ -9,7 +9,7 @@ class ForemanStatistics::Api::V2::TrendsControllerTest < ActionController::TestC
9
9
  end
10
10
 
11
11
  let(:host) { FactoryBot.create(:host) }
12
- let(:foreman_trend) { FactoryBot.create(:foreman_statistics_foreman_trend, :trendable_type => 'Environment', :fact_name => 'fact') }
12
+ let(:foreman_trend) { FactoryBot.create(:foreman_statistics_foreman_trend, :trendable_type => 'Operatingsystem', :fact_name => 'fact') }
13
13
  let(:fact_trend) { FactoryBot.create(:foreman_statistics_fact_trend, :trendable_type => 'FactName') }
14
14
  let(:os_fact) do
15
15
  FactoryBot.create(:fact_value, :value => 'fedora', :host => host,
@@ -50,12 +50,6 @@ module ForemanStatistics
50
50
  assert_equal entries_per_page, per_page_results
51
51
  end
52
52
 
53
- test 'should render per page dropdown with correct values' do
54
- get :index, params: { per_page: entries_per_page + 1 }, session: set_session_user
55
- assert_response :success
56
- assert_not_nil response.body['perPageOptions&quot;:[5,6,10,15,25,50]']
57
- end
58
-
59
53
  test 'sort links should include per page param' do
60
54
  get :index, params: { per_page: entries_per_page + 1 }, session: set_session_user
61
55
  assert_response :success
@@ -19,6 +19,9 @@ exports[`StatisticsChartsList rendering should render two panels for fixtures da
19
19
  "url": "statistics/operatingsystem",
20
20
  }
21
21
  }
22
+ className=""
23
+ config="regular"
24
+ errorText=""
22
25
  key="operatingsystem"
23
26
  noDataMsg="No data available"
24
27
  tip="Expand the chart"
@@ -33,6 +36,9 @@ exports[`StatisticsChartsList rendering should render two panels for fixtures da
33
36
  "url": "statistics/architecture",
34
37
  }
35
38
  }
39
+ className=""
40
+ config="regular"
41
+ errorText=""
36
42
  key="architecture"
37
43
  noDataMsg="No data available"
38
44
  tip="Expand the chart"
@@ -2,8 +2,18 @@
2
2
 
3
3
  exports[`StatisticsPage rendering render with props 1`] = `
4
4
  <PageLayout
5
+ beforeToolbarComponent={null}
6
+ breadcrumbOptions={null}
7
+ customBreadcrumbs={null}
5
8
  header="Statistics"
9
+ isLoading={false}
10
+ onBookmarkClick={[Function]}
11
+ onSearch={[Function]}
12
+ searchProps={Object {}}
13
+ searchQuery=""
6
14
  searchable={false}
15
+ toastNotifications={Array []}
16
+ toolbarButtons={null}
7
17
  >
8
18
  <Component
9
19
  getStatisticsMeta={[Function]}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondrej Ezr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-03 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -24,62 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rubocop
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.87.0
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.87.0
41
- - !ruby/object:Gem::Dependency
42
- name: rubocop-minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 0.9.0
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 0.9.0
55
- - !ruby/object:Gem::Dependency
56
- name: rubocop-performance
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 1.5.2
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 1.5.2
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop-rails
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 2.5.2
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 2.5.2
83
27
  description: Statistics and Trends for Foreman gives users overview of their infrastructure.
84
28
  email:
85
29
  - oezr@redhat.com
@@ -98,12 +42,8 @@ files:
98
42
  - app/controllers/foreman_statistics/trends_controller.rb
99
43
  - app/helpers/foreman_statistics/trends_helper.rb
100
44
  - app/jobs/foreman_statistics/trend_counter_job.rb
101
- - app/models/concerns/foreman_statistics/compute_resource_decorations.rb
102
- - app/models/concerns/foreman_statistics/environment_decorations.rb
103
45
  - app/models/concerns/foreman_statistics/general_setting_decorations.rb
104
- - app/models/concerns/foreman_statistics/hostgroup_decorations.rb
105
- - app/models/concerns/foreman_statistics/model_decorations.rb
106
- - app/models/concerns/foreman_statistics/operatingsystem_decorations.rb
46
+ - app/models/concerns/foreman_statistics/has_many_trends.rb
107
47
  - app/models/concerns/foreman_statistics/setting_decorations.rb
108
48
  - app/models/foreman_statistics/fact_trend.rb
109
49
  - app/models/foreman_statistics/foreman_trend.rb
@@ -132,8 +72,10 @@ files:
132
72
  - app/views/foreman_statistics/trends/new.html.erb
133
73
  - app/views/foreman_statistics/trends/show.html.erb
134
74
  - app/views/foreman_statistics/trends/welcome.html.erb
75
+ - config/jest.config.js
135
76
  - config/routes.rb
136
77
  - db/migrate/20200605153005_migrate_core_types.rb
78
+ - db/migrate/20210523143005_migrate_environments.rb
137
79
  - db/migrate_foreman/20121012170851_create_trends.rb
138
80
  - db/migrate_foreman/20121012170936_create_trend_counters.rb
139
81
  - db/migrate_foreman/20150202094307_add_range_to_trend_counters.rb
@@ -144,12 +86,80 @@ files:
144
86
  - lib/tasks/foreman_statistics_tasks.rake
145
87
  - locale/Makefile
146
88
  - locale/action_names.rb
89
+ - locale/ca/LC_MESSAGES/foreman_statistics.mo
90
+ - locale/ca/foreman_statistics.edit.po
91
+ - locale/ca/foreman_statistics.po
92
+ - locale/ca/foreman_statistics.po.time_stamp
93
+ - locale/cs_CZ/LC_MESSAGES/foreman_statistics.mo
94
+ - locale/cs_CZ/foreman_statistics.edit.po
95
+ - locale/cs_CZ/foreman_statistics.po
96
+ - locale/cs_CZ/foreman_statistics.po.time_stamp
97
+ - locale/de/LC_MESSAGES/foreman_statistics.mo
98
+ - locale/de/foreman_statistics.edit.po
99
+ - locale/de/foreman_statistics.po
100
+ - locale/de/foreman_statistics.po.time_stamp
147
101
  - locale/en/LC_MESSAGES/foreman_statistics.mo
148
102
  - locale/en/foreman_statistics.edit.po
149
103
  - locale/en/foreman_statistics.po
150
104
  - locale/en/foreman_statistics.po.time_stamp
105
+ - locale/en_GB/LC_MESSAGES/foreman_statistics.mo
106
+ - locale/en_GB/foreman_statistics.edit.po
107
+ - locale/en_GB/foreman_statistics.po
108
+ - locale/en_GB/foreman_statistics.po.time_stamp
109
+ - locale/es/LC_MESSAGES/foreman_statistics.mo
110
+ - locale/es/foreman_statistics.edit.po
111
+ - locale/es/foreman_statistics.po
112
+ - locale/es/foreman_statistics.po.time_stamp
151
113
  - locale/foreman_statistics.pot
114
+ - locale/fr/LC_MESSAGES/foreman_statistics.mo
115
+ - locale/fr/foreman_statistics.edit.po
116
+ - locale/fr/foreman_statistics.po
117
+ - locale/fr/foreman_statistics.po.time_stamp
152
118
  - locale/gemspec.rb
119
+ - locale/gl/LC_MESSAGES/foreman_statistics.mo
120
+ - locale/gl/foreman_statistics.edit.po
121
+ - locale/gl/foreman_statistics.po
122
+ - locale/gl/foreman_statistics.po.time_stamp
123
+ - locale/it/LC_MESSAGES/foreman_statistics.mo
124
+ - locale/it/foreman_statistics.edit.po
125
+ - locale/it/foreman_statistics.po
126
+ - locale/it/foreman_statistics.po.time_stamp
127
+ - locale/ja/LC_MESSAGES/foreman_statistics.mo
128
+ - locale/ja/foreman_statistics.edit.po
129
+ - locale/ja/foreman_statistics.po
130
+ - locale/ja/foreman_statistics.po.time_stamp
131
+ - locale/ko/LC_MESSAGES/foreman_statistics.mo
132
+ - locale/ko/foreman_statistics.edit.po
133
+ - locale/ko/foreman_statistics.po
134
+ - locale/ko/foreman_statistics.po.time_stamp
135
+ - locale/nl_NL/LC_MESSAGES/foreman_statistics.mo
136
+ - locale/nl_NL/foreman_statistics.edit.po
137
+ - locale/nl_NL/foreman_statistics.po
138
+ - locale/nl_NL/foreman_statistics.po.time_stamp
139
+ - locale/pl/LC_MESSAGES/foreman_statistics.mo
140
+ - locale/pl/foreman_statistics.edit.po
141
+ - locale/pl/foreman_statistics.po
142
+ - locale/pl/foreman_statistics.po.time_stamp
143
+ - locale/pt_BR/LC_MESSAGES/foreman_statistics.mo
144
+ - locale/pt_BR/foreman_statistics.edit.po
145
+ - locale/pt_BR/foreman_statistics.po
146
+ - locale/pt_BR/foreman_statistics.po.time_stamp
147
+ - locale/ru/LC_MESSAGES/foreman_statistics.mo
148
+ - locale/ru/foreman_statistics.edit.po
149
+ - locale/ru/foreman_statistics.po
150
+ - locale/ru/foreman_statistics.po.time_stamp
151
+ - locale/sv_SE/LC_MESSAGES/foreman_statistics.mo
152
+ - locale/sv_SE/foreman_statistics.edit.po
153
+ - locale/sv_SE/foreman_statistics.po
154
+ - locale/sv_SE/foreman_statistics.po.time_stamp
155
+ - locale/zh_CN/LC_MESSAGES/foreman_statistics.mo
156
+ - locale/zh_CN/foreman_statistics.edit.po
157
+ - locale/zh_CN/foreman_statistics.po
158
+ - locale/zh_CN/foreman_statistics.po.time_stamp
159
+ - locale/zh_TW/LC_MESSAGES/foreman_statistics.mo
160
+ - locale/zh_TW/foreman_statistics.edit.po
161
+ - locale/zh_TW/foreman_statistics.po
162
+ - locale/zh_TW/foreman_statistics.po.time_stamp
153
163
  - package.json
154
164
  - test/factories/foreman_statistics_factories.rb
155
165
  - test/fixtures/permissions.yml
@@ -165,29 +175,6 @@ files:
165
175
  - test/unit/foreman_statistics/statistics_test.rb
166
176
  - test/unit/foreman_statistics_test.rb
167
177
  - test/unit/tasks/foreman_statistics_tasks_test.rb
168
- - webpack/__mocks__/foremanReact/API.js
169
- - webpack/__mocks__/foremanReact/common/HOC.js
170
- - webpack/__mocks__/foremanReact/common/I18n.js
171
- - webpack/__mocks__/foremanReact/common/helpers.js
172
- - webpack/__mocks__/foremanReact/common/urlHelpers.js
173
- - webpack/__mocks__/foremanReact/components/ChartBox/index.js
174
- - webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalActions.js
175
- - webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
176
- - webpack/__mocks__/foremanReact/components/ForemanModal/index.js
177
- - webpack/__mocks__/foremanReact/components/Layout/LayoutActions.js
178
- - webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js
179
- - webpack/__mocks__/foremanReact/components/common/EmptyState.js
180
- - webpack/__mocks__/foremanReact/components/common/MessageBox.js
181
- - webpack/__mocks__/foremanReact/components/common/dates/LongDateTime.js
182
- - webpack/__mocks__/foremanReact/components/common/dates/RelativeDateTime.js
183
- - webpack/__mocks__/foremanReact/components/common/table.js
184
- - webpack/__mocks__/foremanReact/components/common/table/actionsHelpers/actionTypeCreator.js
185
- - webpack/__mocks__/foremanReact/constants.js
186
- - webpack/__mocks__/foremanReact/readme.md
187
- - webpack/__mocks__/foremanReact/redux/actions/toasts.js
188
- - webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js
189
- - webpack/__mocks__/foremanReact/routes/common/PageLayout/components/ExportButton/ExportButton.js
190
- - webpack/__mocks__/foremanReact/routes/common/reducerHOC/withDataReducer.js
191
178
  - webpack/fills_index.js
192
179
  - webpack/index.js
193
180
  - webpack/src/Components/StatisticsChartsList/StatisticsChartsList.fixtures.js
@@ -236,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
223
  - !ruby/object:Gem::Version
237
224
  version: '0'
238
225
  requirements: []
239
- rubygems_version: 3.1.4
226
+ rubygems_version: 3.1.6
240
227
  signing_key:
241
228
  specification_version: 4
242
229
  summary: Add Statistics and Trends.