reports_kits 0.7.5 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -0
  3. data/.rubocop.yml +85 -0
  4. data/.travis.yml +21 -0
  5. data/Appraisals +27 -0
  6. data/Gemfile +3 -0
  7. data/MIT-LICENSE +20 -0
  8. data/README.md +35 -0
  9. data/Rakefile +2 -0
  10. data/app/assets/javascripts/reports_kits/application.js +14 -0
  11. data/app/assets/javascripts/reports_kits/lib/_init.js +9 -0
  12. data/app/assets/javascripts/reports_kits/lib/chart.js +73 -0
  13. data/app/assets/javascripts/reports_kits/lib/report.js +135 -0
  14. data/app/assets/javascripts/reports_kits/lib/table.js +87 -0
  15. data/app/assets/javascripts/reports_kits/vendor/chart.js +12269 -0
  16. data/app/assets/javascripts/reports_kits/vendor/daterangepicker.js +1627 -0
  17. data/app/assets/javascripts/reports_kits/vendor/jquery.tablesorter.min.js +4 -0
  18. data/app/assets/javascripts/reports_kits/vendor/moment.js +4040 -0
  19. data/app/assets/javascripts/reports_kits/vendor/select2.full.js +6436 -0
  20. data/app/assets/stylesheets/reports_kits/application.css.scss +3 -0
  21. data/app/assets/stylesheets/reports_kits/reports.css.sass +33 -0
  22. data/app/assets/stylesheets/reports_kits/select2_overrides.css.sass +7 -0
  23. data/app/assets/stylesheets/reports_kits/vendor/daterangepicker.css +269 -0
  24. data/app/assets/stylesheets/reports_kits/vendor/select2-bootstrap.css +721 -0
  25. data/app/assets/stylesheets/reports_kits/vendor/select2.css +484 -0
  26. data/config/initializers/mime_types.rb +1 -0
  27. data/config/routes.rb +10 -0
  28. data/docs/images/demo.gif +0 -0
  29. data/docs/images/users_by_created_at.png +0 -0
  30. data/gemfiles/mysql.gemfile +7 -0
  31. data/gemfiles/mysql.gemfile.lock +167 -0
  32. data/gemfiles/postgresql.gemfile +7 -0
  33. data/gemfiles/postgresql.gemfile.lock +165 -0
  34. data/gemfiles/postgresql_rails_5.1.4.gemfile +8 -0
  35. data/gemfiles/postgresql_rails_5.1.4.gemfile.lock +168 -0
  36. data/gemfiles/rails_4_mysql.gemfile +8 -0
  37. data/gemfiles/rails_4_mysql.gemfile.lock +165 -0
  38. data/gemfiles/rails_4_postgresql.gemfile +8 -0
  39. data/gemfiles/rails_4_postgresql.gemfile.lock +163 -0
  40. data/gemfiles/rails_5.1.4_postgresql.gemfile +8 -0
  41. data/gemfiles/rails_5.1.4_postgresql.gemfile.lock +169 -0
  42. data/gemfiles/rails_5_mysql.gemfile +8 -0
  43. data/gemfiles/rails_5_mysql.gemfile.lock +171 -0
  44. data/gemfiles/rails_5_postgresql.gemfile +8 -0
  45. data/gemfiles/rails_5_postgresql.gemfile.lock +169 -0
  46. data/lib/reports_kits/base_controller.rb +17 -0
  47. data/lib/reports_kits/cache.rb +37 -0
  48. data/lib/reports_kits/configuration.rb +50 -0
  49. data/lib/reports_kits/engine.rb +21 -0
  50. data/lib/reports_kits/entity.rb +3 -0
  51. data/lib/reports_kits/filters_controller.rb +11 -0
  52. data/lib/reports_kits/form_builder.rb +66 -0
  53. data/lib/reports_kits/helper.rb +24 -0
  54. data/lib/reports_kits/model.rb +16 -0
  55. data/lib/reports_kits/model_configuration.rb +28 -0
  56. data/lib/reports_kits/normalized_params.rb +16 -0
  57. data/lib/reports_kits/order.rb +33 -0
  58. data/lib/reports_kits/relative_time.rb +42 -0
  59. data/lib/reports_kits/report_builder.rb +88 -0
  60. data/lib/reports_kits/reports/abstract_series.rb +9 -0
  61. data/lib/reports_kits/reports/adapters/mysql.rb +26 -0
  62. data/lib/reports_kits/reports/adapters/postgresql.rb +26 -0
  63. data/lib/reports_kits/reports/composite_series.rb +48 -0
  64. data/lib/reports_kits/reports/contextual_filter.rb +19 -0
  65. data/lib/reports_kits/reports/data/add_table_aggregations.rb +105 -0
  66. data/lib/reports_kits/reports/data/aggregate_composite.rb +97 -0
  67. data/lib/reports_kits/reports/data/aggregate_one_dimension.rb +39 -0
  68. data/lib/reports_kits/reports/data/aggregate_two_dimensions.rb +39 -0
  69. data/lib/reports_kits/reports/data/chart_data_for_data_method.rb +62 -0
  70. data/lib/reports_kits/reports/data/chart_options.rb +155 -0
  71. data/lib/reports_kits/reports/data/format_one_dimension.rb +140 -0
  72. data/lib/reports_kits/reports/data/format_table.rb +63 -0
  73. data/lib/reports_kits/reports/data/format_two_dimensions.rb +143 -0
  74. data/lib/reports_kits/reports/data/generate.rb +156 -0
  75. data/lib/reports_kits/reports/data/generate_for_properties.rb +97 -0
  76. data/lib/reports_kits/reports/data/normalize_properties.rb +62 -0
  77. data/lib/reports_kits/reports/data/populate_one_dimension.rb +54 -0
  78. data/lib/reports_kits/reports/data/populate_two_dimensions.rb +104 -0
  79. data/lib/reports_kits/reports/data/utils.rb +178 -0
  80. data/lib/reports_kits/reports/dimension.rb +27 -0
  81. data/lib/reports_kits/reports/dimension_with_series.rb +144 -0
  82. data/lib/reports_kits/reports/filter.rb +29 -0
  83. data/lib/reports_kits/reports/filter_types/base.rb +48 -0
  84. data/lib/reports_kits/reports/filter_types/boolean.rb +47 -0
  85. data/lib/reports_kits/reports/filter_types/datetime.rb +51 -0
  86. data/lib/reports_kits/reports/filter_types/number.rb +30 -0
  87. data/lib/reports_kits/reports/filter_types/records.rb +26 -0
  88. data/lib/reports_kits/reports/filter_types/string.rb +38 -0
  89. data/lib/reports_kits/reports/filter_with_series.rb +97 -0
  90. data/lib/reports_kits/reports/generate_autocomplete_method_results.rb +29 -0
  91. data/lib/reports_kits/reports/generate_autocomplete_results.rb +57 -0
  92. data/lib/reports_kits/reports/inferrable_configuration.rb +116 -0
  93. data/lib/reports_kits/reports/model_settings.rb +30 -0
  94. data/lib/reports_kits/reports/properties.rb +10 -0
  95. data/lib/reports_kits/reports/properties_to_filter.rb +40 -0
  96. data/lib/reports_kits/reports/series.rb +121 -0
  97. data/lib/reports_kits/reports_controller.rb +65 -0
  98. data/lib/reports_kits/utils.rb +11 -0
  99. data/lib/reports_kits/value.rb +3 -0
  100. data/lib/reports_kits/version.rb +3 -0
  101. data/lib/reports_kits.rb +79 -0
  102. data/reports_kits.gemspec +26 -0
  103. data/spec/factories/issue_factory.rb +4 -0
  104. data/spec/factories/issues_label_factory.rb +4 -0
  105. data/spec/factories/label_factory.rb +4 -0
  106. data/spec/factories/pro_repo_factory.rb +5 -0
  107. data/spec/factories/repo_factory.rb +5 -0
  108. data/spec/factories/tag_factory.rb +4 -0
  109. data/spec/fixtures/generate_inputs.yml +254 -0
  110. data/spec/fixtures/generate_outputs.yml +1216 -0
  111. data/spec/reports_kit/form_builder_spec.rb +26 -0
  112. data/spec/reports_kit/relative_time_spec.rb +29 -0
  113. data/spec/reports_kit/reports/data/generate/contextual_filters_spec.rb +60 -0
  114. data/spec/reports_kit/reports/data/generate_spec.rb +1371 -0
  115. data/spec/reports_kit/reports/data/normalize_properties_spec.rb +196 -0
  116. data/spec/reports_kit/reports/dimension_with_series_spec.rb +67 -0
  117. data/spec/reports_kit/reports/filter_with_series_spec.rb +39 -0
  118. data/spec/reports_kit/reports/generate_autocomplete_results_spec.rb +69 -0
  119. data/spec/spec_helper.rb +77 -0
  120. data/spec/support/config.rb +41 -0
  121. data/spec/support/example_data_methods.rb +25 -0
  122. data/spec/support/factory_girl.rb +5 -0
  123. data/spec/support/helpers.rb +25 -0
  124. data/spec/support/models/issue.rb +14 -0
  125. data/spec/support/models/issues_label.rb +4 -0
  126. data/spec/support/models/label.rb +5 -0
  127. data/spec/support/models/pro/repo.rb +5 -0
  128. data/spec/support/models/pro/special_issue.rb +4 -0
  129. data/spec/support/models/repo.rb +13 -0
  130. data/spec/support/models/tag.rb +4 -0
  131. data/spec/support/schema.rb +39 -0
  132. metadata +134 -4
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require_tree .
3
+ */
@@ -0,0 +1,33 @@
1
+ .reports_kits_report
2
+ width: 100%
3
+ padding: 1px
4
+ canvas
5
+ width: 100%
6
+ .date_range_picker
7
+ width: 180px
8
+ .loading_indicator
9
+ position: absolute
10
+ margin: 5px auto
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DDzk81PBRRfWjbqQyrfmlxDZuDyxqYFggEMILI+H2XNSooIOLBRYaWE2ogc92iDRwRLUEQAtZmNoQKRhhUqNjwnpcuvh5pixBZiZAgPBg7vYIqjBxqDGBD08kNAETH2zggxBMoDABQTuw8QgPHVlgChZHFDBDeDvYkEgKAhkgQhIqfJbAZ/aQIcYSkYxgxSZ4ZMDFFHXgBZEDhLCxygAW0NHEJfZ0aAMVJgn0wxLK/GBPAbtIQYZAUJQhzXcRzXHIEAPBsYoRAhEQxRQQFMkDEQTN0UZbXYYwQJEJVZCIfWxG1AAMRQYEACH5BAUKAPYALAEAAQAcABwAAAj/AO0JHEiQoISCCBMqfJDhgMKHAmv8IFhgQISB9QoogDiwVCwfAwUIcCAQgAUXFznae8IgHQZ7BAQUKCDQAoIJBFTakzCIATUH9WQKsAcBwYIPDwkAINiGAYNN9QwMMKBgwQQEJBVWgSWqCEkaseiZCUAgwYEGHG4GsBdhA44TCQg2+pbJTyQFZ0wk1ABBAQ4RFXogJTgA26Jev/pAhCDigowLGhISSLRGUw6IAU68uDAAYg46DzhuWHAQYUYQIZxwUHngwwcLEHLaS0CF06FajlB9UamARAgMJn7cEBDBjjFFYcKgEqRSAobnGEjs2CBQQo8oqdQQ0dmixQq+axFSxIhCgSOOFrIT1gthKg7IhxKU6DCRtSAAQ6HQVEqWMuEKLTXEkMQICLmBTCXFcDGACu8R1IAKBYxAggc5eGABQQjQUQYfqxWAixR2ZNBBCxp0wEMU2wUwwgUk/LDUQA4NlIIUSJxRwB1v8KEAFVCgcOFA6SFEwBVNfJLBA3hcYYg9N6SAggg62bOAF0iQwJYeQUBhDwAkRFFDeBwpcQ0LA+XxhgoCHaBCCvVBVIVeAzFRxgkEvTBUlARdkEubeCIUAZQqBQQAOw==) no-repeat center
15
+
16
+ .reports_kits_visualization
17
+ table
18
+ thead
19
+ .header
20
+ color: #337ab7
21
+ cursor: pointer
22
+ .headerSortUp, .headerSortDown
23
+ &::after
24
+ margin-left: 6px
25
+ font-size: 0.8em
26
+ font-family: "Arial"
27
+ .headerSortUp::after
28
+ content: "\25BC"
29
+ .headerSortDown::after
30
+ content: "\25B2"
31
+ .reports_kits_actions
32
+ margin-top: 12px
33
+ text-align: right
@@ -0,0 +1,7 @@
1
+ .reports_kits_report
2
+ .select2
3
+ width: 200px
4
+ .select2-container .select2-selection--multiple .select2-selection__rendered
5
+ padding-left: 0
6
+ .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field
7
+ height: 25px
@@ -0,0 +1,269 @@
1
+ .daterangepicker {
2
+ position: absolute;
3
+ color: inherit;
4
+ background-color: #fff;
5
+ border-radius: 4px;
6
+ width: 278px;
7
+ padding: 4px;
8
+ margin-top: 1px;
9
+ top: 100px;
10
+ left: 20px;
11
+ /* Calendars */ }
12
+ .daterangepicker:before, .daterangepicker:after {
13
+ position: absolute;
14
+ display: inline-block;
15
+ border-bottom-color: rgba(0, 0, 0, 0.2);
16
+ content: ''; }
17
+ .daterangepicker:before {
18
+ top: -7px;
19
+ border-right: 7px solid transparent;
20
+ border-left: 7px solid transparent;
21
+ border-bottom: 7px solid #ccc; }
22
+ .daterangepicker:after {
23
+ top: -6px;
24
+ border-right: 6px solid transparent;
25
+ border-bottom: 6px solid #fff;
26
+ border-left: 6px solid transparent; }
27
+ .daterangepicker.opensleft:before {
28
+ right: 9px; }
29
+ .daterangepicker.opensleft:after {
30
+ right: 10px; }
31
+ .daterangepicker.openscenter:before {
32
+ left: 0;
33
+ right: 0;
34
+ width: 0;
35
+ margin-left: auto;
36
+ margin-right: auto; }
37
+ .daterangepicker.openscenter:after {
38
+ left: 0;
39
+ right: 0;
40
+ width: 0;
41
+ margin-left: auto;
42
+ margin-right: auto; }
43
+ .daterangepicker.opensright:before {
44
+ left: 9px; }
45
+ .daterangepicker.opensright:after {
46
+ left: 10px; }
47
+ .daterangepicker.dropup {
48
+ margin-top: -5px; }
49
+ .daterangepicker.dropup:before {
50
+ top: initial;
51
+ bottom: -7px;
52
+ border-bottom: initial;
53
+ border-top: 7px solid #ccc; }
54
+ .daterangepicker.dropup:after {
55
+ top: initial;
56
+ bottom: -6px;
57
+ border-bottom: initial;
58
+ border-top: 6px solid #fff; }
59
+ .daterangepicker.dropdown-menu {
60
+ max-width: none;
61
+ z-index: 3001; }
62
+ .daterangepicker.single .ranges, .daterangepicker.single .calendar {
63
+ float: none; }
64
+ .daterangepicker.show-calendar .calendar {
65
+ display: block; }
66
+ .daterangepicker .calendar {
67
+ display: none;
68
+ max-width: 270px;
69
+ margin: 4px; }
70
+ .daterangepicker .calendar.single .calendar-table {
71
+ border: none; }
72
+ .daterangepicker .calendar th, .daterangepicker .calendar td {
73
+ white-space: nowrap;
74
+ text-align: center;
75
+ min-width: 32px; }
76
+ .daterangepicker .calendar-table {
77
+ border: 1px solid #fff;
78
+ padding: 4px;
79
+ border-radius: 4px;
80
+ background-color: #fff; }
81
+ .daterangepicker table {
82
+ width: 100%;
83
+ margin: 0; }
84
+ .daterangepicker td, .daterangepicker th {
85
+ text-align: center;
86
+ width: 20px;
87
+ height: 20px;
88
+ border-radius: 4px;
89
+ border: 1px solid transparent;
90
+ white-space: nowrap;
91
+ cursor: pointer; }
92
+ .daterangepicker td.available:hover, .daterangepicker th.available:hover {
93
+ background-color: #eee;
94
+ border-color: transparent;
95
+ color: inherit; }
96
+ .daterangepicker td.week, .daterangepicker th.week {
97
+ font-size: 80%;
98
+ color: #ccc; }
99
+ .daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
100
+ background-color: #fff;
101
+ border-color: transparent;
102
+ color: #999; }
103
+ .daterangepicker td.in-range {
104
+ background-color: #ebf4f8;
105
+ border-color: transparent;
106
+ color: #000;
107
+ border-radius: 0; }
108
+ .daterangepicker td.start-date {
109
+ border-radius: 4px 0 0 4px; }
110
+ .daterangepicker td.end-date {
111
+ border-radius: 0 4px 4px 0; }
112
+ .daterangepicker td.start-date.end-date {
113
+ border-radius: 4px; }
114
+ .daterangepicker td.active, .daterangepicker td.active:hover {
115
+ background-color: #357ebd;
116
+ border-color: transparent;
117
+ color: #fff; }
118
+ .daterangepicker th.month {
119
+ width: auto; }
120
+ .daterangepicker td.disabled, .daterangepicker option.disabled {
121
+ color: #999;
122
+ cursor: not-allowed;
123
+ text-decoration: line-through; }
124
+ .daterangepicker select.monthselect, .daterangepicker select.yearselect {
125
+ font-size: 12px;
126
+ padding: 1px;
127
+ height: auto;
128
+ margin: 0;
129
+ cursor: default; }
130
+ .daterangepicker select.monthselect {
131
+ margin-right: 2%;
132
+ width: 56%; }
133
+ .daterangepicker select.yearselect {
134
+ width: 40%; }
135
+ .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
136
+ width: 50px;
137
+ margin-bottom: 0; }
138
+ .daterangepicker .input-mini {
139
+ border: 1px solid #ccc;
140
+ border-radius: 4px;
141
+ color: #555;
142
+ height: 30px;
143
+ line-height: 30px;
144
+ display: block;
145
+ vertical-align: middle;
146
+ margin: 0 0 5px 0;
147
+ padding: 0 6px 0 28px;
148
+ width: 100%; }
149
+ .daterangepicker .input-mini.active {
150
+ border: 1px solid #08c;
151
+ border-radius: 4px; }
152
+ .daterangepicker .daterangepicker_input {
153
+ position: relative; }
154
+ .daterangepicker .daterangepicker_input i {
155
+ position: absolute;
156
+ left: 8px;
157
+ top: 8px; }
158
+ .daterangepicker.rtl .input-mini {
159
+ padding-right: 28px;
160
+ padding-left: 6px; }
161
+ .daterangepicker.rtl .daterangepicker_input i {
162
+ left: auto;
163
+ right: 8px; }
164
+ .daterangepicker .calendar-time {
165
+ text-align: center;
166
+ margin: 5px auto;
167
+ line-height: 30px;
168
+ position: relative;
169
+ padding-left: 28px; }
170
+ .daterangepicker .calendar-time select.disabled {
171
+ color: #ccc;
172
+ cursor: not-allowed; }
173
+
174
+ .ranges {
175
+ font-size: 11px;
176
+ float: none;
177
+ margin: 4px;
178
+ text-align: left; }
179
+ .ranges ul {
180
+ list-style: none;
181
+ margin: 0 auto;
182
+ padding: 0;
183
+ width: 100%; }
184
+ .ranges li {
185
+ font-size: 13px;
186
+ background-color: #f5f5f5;
187
+ border: 1px solid #f5f5f5;
188
+ border-radius: 4px;
189
+ color: #08c;
190
+ padding: 3px 12px;
191
+ margin-bottom: 8px;
192
+ cursor: pointer; }
193
+ .ranges li:hover {
194
+ background-color: #08c;
195
+ border: 1px solid #08c;
196
+ color: #fff; }
197
+ .ranges li.active {
198
+ background-color: #08c;
199
+ border: 1px solid #08c;
200
+ color: #fff; }
201
+
202
+ /* Larger Screen Styling */
203
+ @media (min-width: 564px) {
204
+ .daterangepicker {
205
+ width: auto; }
206
+ .daterangepicker .ranges ul {
207
+ width: 160px; }
208
+ .daterangepicker.single .ranges ul {
209
+ width: 100%; }
210
+ .daterangepicker.single .calendar.left {
211
+ clear: none; }
212
+ .daterangepicker.single.ltr .ranges, .daterangepicker.single.ltr .calendar {
213
+ float: left; }
214
+ .daterangepicker.single.rtl .ranges, .daterangepicker.single.rtl .calendar {
215
+ float: right; }
216
+ .daterangepicker.ltr {
217
+ direction: ltr;
218
+ text-align: left; }
219
+ .daterangepicker.ltr .calendar.left {
220
+ clear: left;
221
+ margin-right: 0; }
222
+ .daterangepicker.ltr .calendar.left .calendar-table {
223
+ border-right: none;
224
+ border-top-right-radius: 0;
225
+ border-bottom-right-radius: 0; }
226
+ .daterangepicker.ltr .calendar.right {
227
+ margin-left: 0; }
228
+ .daterangepicker.ltr .calendar.right .calendar-table {
229
+ border-left: none;
230
+ border-top-left-radius: 0;
231
+ border-bottom-left-radius: 0; }
232
+ .daterangepicker.ltr .left .daterangepicker_input {
233
+ padding-right: 12px; }
234
+ .daterangepicker.ltr .calendar.left .calendar-table {
235
+ padding-right: 12px; }
236
+ .daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar {
237
+ float: left; }
238
+ .daterangepicker.rtl {
239
+ direction: rtl;
240
+ text-align: right; }
241
+ .daterangepicker.rtl .calendar.left {
242
+ clear: right;
243
+ margin-left: 0; }
244
+ .daterangepicker.rtl .calendar.left .calendar-table {
245
+ border-left: none;
246
+ border-top-left-radius: 0;
247
+ border-bottom-left-radius: 0; }
248
+ .daterangepicker.rtl .calendar.right {
249
+ margin-right: 0; }
250
+ .daterangepicker.rtl .calendar.right .calendar-table {
251
+ border-right: none;
252
+ border-top-right-radius: 0;
253
+ border-bottom-right-radius: 0; }
254
+ .daterangepicker.rtl .left .daterangepicker_input {
255
+ padding-left: 12px; }
256
+ .daterangepicker.rtl .calendar.left .calendar-table {
257
+ padding-left: 12px; }
258
+ .daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar {
259
+ text-align: right;
260
+ float: right; } }
261
+ @media (min-width: 730px) {
262
+ .daterangepicker .ranges {
263
+ width: auto; }
264
+ .daterangepicker.ltr .ranges {
265
+ float: left; }
266
+ .daterangepicker.rtl .ranges {
267
+ float: right; }
268
+ .daterangepicker .calendar.left {
269
+ clear: none !important; } }