Description:
merge
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r832:b5dca9c6565b - - 2 files changed: 4 inserted, 8 deleted
@@ -1,341 +1,337 | |||
|
1 | 1 | GEM |
|
2 | 2 | remote: https://rubygems.org/ |
|
3 | 3 | specs: |
|
4 | 4 | RubyInline (3.12.4) |
|
5 | 5 | ZenTest (~> 4.3) |
|
6 | 6 | ZenTest (4.11.2) |
|
7 | 7 | ace-rails-ap (4.2) |
|
8 | 8 | actioncable (5.2.3) |
|
9 | 9 | actionpack (= 5.2.3) |
|
10 | 10 | nio4r (~> 2.0) |
|
11 | 11 | websocket-driver (>= 0.6.1) |
|
12 | 12 | actionmailer (5.2.3) |
|
13 | 13 | actionpack (= 5.2.3) |
|
14 | 14 | actionview (= 5.2.3) |
|
15 | 15 | activejob (= 5.2.3) |
|
16 | 16 | mail (~> 2.5, >= 2.5.4) |
|
17 | 17 | rails-dom-testing (~> 2.0) |
|
18 | 18 | actionpack (5.2.3) |
|
19 | 19 | actionview (= 5.2.3) |
|
20 | 20 | activesupport (= 5.2.3) |
|
21 | 21 | rack (~> 2.0) |
|
22 | 22 | rack-test (>= 0.6.3) |
|
23 | 23 | rails-dom-testing (~> 2.0) |
|
24 | 24 | rails-html-sanitizer (~> 1.0, >= 1.0.2) |
|
25 | 25 | actionview (5.2.3) |
|
26 | 26 | activesupport (= 5.2.3) |
|
27 | 27 | builder (~> 3.1) |
|
28 | 28 | erubi (~> 1.4) |
|
29 | 29 | rails-dom-testing (~> 2.0) |
|
30 | 30 | rails-html-sanitizer (~> 1.0, >= 1.0.3) |
|
31 | 31 | activejob (5.2.3) |
|
32 | 32 | activesupport (= 5.2.3) |
|
33 | 33 | globalid (>= 0.3.6) |
|
34 | 34 | activemodel (5.2.3) |
|
35 | 35 | activesupport (= 5.2.3) |
|
36 | 36 | activerecord (5.2.3) |
|
37 | 37 | activemodel (= 5.2.3) |
|
38 | 38 | activesupport (= 5.2.3) |
|
39 | 39 | arel (>= 9.0) |
|
40 | 40 | activerecord-session_store (1.1.3) |
|
41 | 41 | actionpack (>= 4.0) |
|
42 | 42 | activerecord (>= 4.0) |
|
43 | 43 | multi_json (~> 1.11, >= 1.11.2) |
|
44 | 44 | rack (>= 1.5.2, < 3) |
|
45 | 45 | railties (>= 4.0) |
|
46 | 46 | activestorage (5.2.3) |
|
47 | 47 | actionpack (= 5.2.3) |
|
48 | 48 | activerecord (= 5.2.3) |
|
49 | 49 | marcel (~> 0.3.1) |
|
50 | 50 | activesupport (5.2.3) |
|
51 | 51 | concurrent-ruby (~> 1.0, >= 1.0.2) |
|
52 | 52 | i18n (>= 0.7, < 2) |
|
53 | 53 | minitest (~> 5.1) |
|
54 | 54 | tzinfo (~> 1.1) |
|
55 | 55 | addressable (2.6.0) |
|
56 | 56 | public_suffix (>= 2.0.2, < 4.0) |
|
57 | 57 | ansi (1.5.0) |
|
58 | 58 | arel (9.0.0) |
|
59 | 59 | autoprefixer-rails (9.5.1.1) |
|
60 | 60 | execjs |
|
61 | 61 | best_in_place (3.0.3) |
|
62 | 62 | actionpack (>= 3.2) |
|
63 | 63 | railties (>= 3.2) |
|
64 | 64 | bindex (0.7.0) |
|
65 | 65 | bootsnap (1.4.4) |
|
66 | 66 | msgpack (~> 1.0) |
|
67 | 67 | bootstrap-datepicker-rails (1.8.0.1) |
|
68 | 68 | railties (>= 3.0) |
|
69 | 69 | bootstrap-sass (3.4.1) |
|
70 | 70 | autoprefixer-rails (>= 5.2.1) |
|
71 | 71 | sassc (>= 2.0.0) |
|
72 | 72 | bootstrap-switch-rails (3.3.4) |
|
73 | 73 | bootstrap-toggle-rails (2.2.1.0) |
|
74 | 74 | bootstrap3-datetimepicker-rails (4.17.47) |
|
75 | 75 | momentjs-rails (>= 2.8.1) |
|
76 | 76 | builder (3.2.3) |
|
77 | 77 | byebug (11.0.1) |
|
78 | 78 | capybara (3.25.0) |
|
79 | 79 | addressable |
|
80 | 80 | mini_mime (>= 0.1.3) |
|
81 | 81 | nokogiri (~> 1.8) |
|
82 | 82 | rack (>= 1.6.0) |
|
83 | 83 | rack-test (>= 0.6.3) |
|
84 | 84 | regexp_parser (~> 1.5) |
|
85 | 85 | xpath (~> 3.2) |
|
86 | - capybara-console (0.0.4) | |
|
87 | - capybara | |
|
88 | - rails (>= 3.0) | |
|
89 | 86 | childprocess (1.0.1) |
|
90 | 87 | rake (< 13.0) |
|
91 | 88 | coffee-rails (4.2.2) |
|
92 | 89 | coffee-script (>= 2.2.0) |
|
93 | 90 | railties (>= 4.0.0) |
|
94 | 91 | coffee-script (2.4.1) |
|
95 | 92 | coffee-script-source |
|
96 | 93 | execjs |
|
97 | 94 | coffee-script-source (1.12.2) |
|
98 | 95 | concurrent-ruby (1.1.5) |
|
99 | 96 | crass (1.0.4) |
|
100 | 97 | dynamic_form (1.1.4) |
|
101 | 98 | erubi (1.8.0) |
|
102 | 99 | erubis (2.7.0) |
|
103 | 100 | execjs (2.7.0) |
|
104 | 101 | ffi (1.11.1) |
|
105 | 102 | fuzzy-string-match (1.0.1) |
|
106 | 103 | RubyInline (>= 3.8.6) |
|
107 | 104 | globalid (0.4.2) |
|
108 | 105 | activesupport (>= 4.2.0) |
|
109 | 106 | haml (5.1.0) |
|
110 | 107 | temple (>= 0.8.0) |
|
111 | 108 | tilt |
|
112 | 109 | haml-rails (1.0.0) |
|
113 | 110 | actionpack (>= 4.0.1) |
|
114 | 111 | activesupport (>= 4.0.1) |
|
115 | 112 | haml (>= 4.0.6, < 6.0) |
|
116 | 113 | html2haml (>= 1.0.1) |
|
117 | 114 | railties (>= 4.0.1) |
|
118 | 115 | html2haml (2.2.0) |
|
119 | 116 | erubis (~> 2.7.0) |
|
120 | 117 | haml (>= 4.0, < 6) |
|
121 | 118 | nokogiri (>= 1.6.0) |
|
122 | 119 | ruby_parser (~> 3.5) |
|
123 | 120 | i18n (1.6.0) |
|
124 | 121 | concurrent-ruby (~> 1.0) |
|
125 | 122 | in_place_editing (1.2.0) |
|
126 | 123 | jbuilder (2.9.1) |
|
127 | 124 | activesupport (>= 4.2.0) |
|
128 | 125 | jquery-countdown-rails (2.0.2) |
|
129 | 126 | jquery-datatables-rails (3.4.0) |
|
130 | 127 | actionpack (>= 3.1) |
|
131 | 128 | jquery-rails |
|
132 | 129 | railties (>= 3.1) |
|
133 | 130 | sass-rails |
|
134 | 131 | jquery-rails (4.3.3) |
|
135 | 132 | rails-dom-testing (>= 1, < 3) |
|
136 | 133 | railties (>= 4.2.0) |
|
137 | 134 | thor (>= 0.14, < 2.0) |
|
138 | 135 | jquery-tablesorter (1.26.1) |
|
139 | 136 | railties (>= 3.2, < 6) |
|
140 | 137 | jquery-timepicker-addon-rails (1.4.1) |
|
141 | 138 | railties (>= 3.1) |
|
142 | 139 | jquery-ui-rails (6.0.1) |
|
143 | 140 | railties (>= 3.2.16) |
|
144 | 141 | listen (3.1.5) |
|
145 | 142 | rb-fsevent (~> 0.9, >= 0.9.4) |
|
146 | 143 | rb-inotify (~> 0.9, >= 0.9.7) |
|
147 | 144 | ruby_dep (~> 1.2) |
|
148 | 145 | loofah (2.2.3) |
|
149 | 146 | crass (~> 1.0.2) |
|
150 | 147 | nokogiri (>= 1.5.9) |
|
151 | 148 | mail (2.7.1) |
|
152 | 149 | mini_mime (>= 0.1.1) |
|
153 | 150 | marcel (0.3.3) |
|
154 | 151 | mimemagic (~> 0.3.2) |
|
155 | 152 | method_source (0.9.2) |
|
156 | 153 | mimemagic (0.3.3) |
|
157 | 154 | mini_mime (1.0.1) |
|
158 | 155 | mini_portile2 (2.4.0) |
|
159 | 156 | minitest (5.11.3) |
|
160 | 157 | minitest-reporters (1.3.6) |
|
161 | 158 | ansi |
|
162 | 159 | builder |
|
163 | 160 | minitest (>= 5.0) |
|
164 | 161 | ruby-progressbar |
|
165 | 162 | momentjs-rails (2.20.1) |
|
166 | 163 | railties (>= 3.1) |
|
167 | 164 | msgpack (1.3.0) |
|
168 | 165 | multi_json (1.13.1) |
|
169 | 166 | mysql2 (0.5.2) |
|
170 | 167 | nio4r (2.3.1) |
|
171 | 168 | nokogiri (1.10.3) |
|
172 | 169 | mini_portile2 (~> 2.4.0) |
|
173 | 170 | public_suffix (3.1.1) |
|
174 | 171 | puma (4.0.0) |
|
175 | 172 | nio4r (~> 2.0) |
|
176 | 173 | rack (2.0.7) |
|
177 | 174 | rack-test (1.1.0) |
|
178 | 175 | rack (>= 1.0, < 3) |
|
179 | 176 | rails (5.2.3) |
|
180 | 177 | actioncable (= 5.2.3) |
|
181 | 178 | actionmailer (= 5.2.3) |
|
182 | 179 | actionpack (= 5.2.3) |
|
183 | 180 | actionview (= 5.2.3) |
|
184 | 181 | activejob (= 5.2.3) |
|
185 | 182 | activemodel (= 5.2.3) |
|
186 | 183 | activerecord (= 5.2.3) |
|
187 | 184 | activestorage (= 5.2.3) |
|
188 | 185 | activesupport (= 5.2.3) |
|
189 | 186 | bundler (>= 1.3.0) |
|
190 | 187 | railties (= 5.2.3) |
|
191 | 188 | sprockets-rails (>= 2.0.0) |
|
192 | 189 | rails-controller-testing (1.0.4) |
|
193 | 190 | actionpack (>= 5.0.1.x) |
|
194 | 191 | actionview (>= 5.0.1.x) |
|
195 | 192 | activesupport (>= 5.0.1.x) |
|
196 | 193 | rails-dom-testing (2.0.3) |
|
197 | 194 | activesupport (>= 4.2.0) |
|
198 | 195 | nokogiri (>= 1.6) |
|
199 | 196 | rails-html-sanitizer (1.0.4) |
|
200 | 197 | loofah (~> 2.2, >= 2.2.2) |
|
201 | 198 | rails_bootstrap_sortable (2.0.6) |
|
202 | 199 | momentjs-rails (>= 2.8.3) |
|
203 | 200 | railties (5.2.3) |
|
204 | 201 | actionpack (= 5.2.3) |
|
205 | 202 | activesupport (= 5.2.3) |
|
206 | 203 | method_source |
|
207 | 204 | rake (>= 0.8.7) |
|
208 | 205 | thor (>= 0.19.0, < 2.0) |
|
209 | 206 | rake (12.3.2) |
|
210 | 207 | rb-fsevent (0.10.3) |
|
211 | 208 | rb-inotify (0.10.0) |
|
212 | 209 | ffi (~> 1.0) |
|
213 | 210 | rdiscount (2.2.0.1) |
|
214 | 211 | regexp_parser (1.5.1) |
|
215 | 212 | rouge (3.3.0) |
|
216 | 213 | ruby-progressbar (1.10.0) |
|
217 | 214 | ruby_dep (1.5.0) |
|
218 | 215 | ruby_parser (3.13.1) |
|
219 | 216 | sexp_processor (~> 4.9) |
|
220 | 217 | rubyzip (1.2.3) |
|
221 | 218 | sass (3.7.4) |
|
222 | 219 | sass-listen (~> 4.0.0) |
|
223 | 220 | sass-listen (4.0.0) |
|
224 | 221 | rb-fsevent (~> 0.9, >= 0.9.4) |
|
225 | 222 | rb-inotify (~> 0.9, >= 0.9.7) |
|
226 | 223 | sass-rails (5.0.7) |
|
227 | 224 | railties (>= 4.0.0, < 6) |
|
228 | 225 | sass (~> 3.1) |
|
229 | 226 | sprockets (>= 2.8, < 4.0) |
|
230 | 227 | sprockets-rails (>= 2.0, < 4.0) |
|
231 | 228 | tilt (>= 1.1, < 3) |
|
232 | 229 | sassc (2.0.1) |
|
233 | 230 | ffi (~> 1.9) |
|
234 | 231 | rake |
|
235 | 232 | sassc-rails (2.1.1) |
|
236 | 233 | railties (>= 4.0.0) |
|
237 | 234 | sassc (>= 2.0) |
|
238 | 235 | sprockets (> 3.0) |
|
239 | 236 | sprockets-rails |
|
240 | 237 | tilt |
|
241 | 238 | select2-rails (4.0.3) |
|
242 | 239 | thor (~> 0.14) |
|
243 | 240 | selenium-webdriver (3.142.3) |
|
244 | 241 | childprocess (>= 0.5, < 2.0) |
|
245 | 242 | rubyzip (~> 1.2, >= 1.2.2) |
|
246 | 243 | sexp_processor (4.12.0) |
|
247 | 244 | simple_form (4.1.0) |
|
248 | 245 | actionpack (>= 5.0) |
|
249 | 246 | activemodel (>= 5.0) |
|
250 | 247 | spring (2.1.0) |
|
251 | 248 | spring-watcher-listen (2.0.1) |
|
252 | 249 | listen (>= 2.7, < 4.0) |
|
253 | 250 | spring (>= 1.2, < 3.0) |
|
254 | 251 | sprockets (3.7.2) |
|
255 | 252 | concurrent-ruby (~> 1.0) |
|
256 | 253 | rack (> 1, < 3) |
|
257 | 254 | sprockets-rails (3.2.1) |
|
258 | 255 | actionpack (>= 4.0) |
|
259 | 256 | activesupport (>= 4.0) |
|
260 | 257 | sprockets (>= 3.0.0) |
|
261 | 258 | sqlite3 (1.4.1) |
|
262 | 259 | temple (0.8.1) |
|
263 | 260 | thor (0.20.3) |
|
264 | 261 | thread_safe (0.3.6) |
|
265 | 262 | tilt (2.0.9) |
|
266 | 263 | tzinfo (1.2.5) |
|
267 | 264 | thread_safe (~> 0.1) |
|
268 | 265 | uglifier (4.1.20) |
|
269 | 266 | execjs (>= 0.3.0, < 3) |
|
270 | 267 | web-console (3.7.0) |
|
271 | 268 | actionview (>= 5.0) |
|
272 | 269 | activemodel (>= 5.0) |
|
273 | 270 | bindex (>= 0.4.0) |
|
274 | 271 | railties (>= 5.0) |
|
275 | 272 | webdriver (0.1.0) |
|
276 | 273 | websocket-driver (0.7.1) |
|
277 | 274 | websocket-extensions (>= 0.1.0) |
|
278 | 275 | websocket-extensions (0.1.4) |
|
279 | 276 | will_paginate (3.0.12) |
|
280 | 277 | xpath (3.2.0) |
|
281 | 278 | nokogiri (~> 1.8) |
|
282 | 279 | yaml_db (0.7.0) |
|
283 | 280 | rails (>= 3.0) |
|
284 | 281 | rake (>= 0.8.7) |
|
285 | 282 | |
|
286 | 283 | PLATFORMS |
|
287 | 284 | ruby |
|
288 | 285 | |
|
289 | 286 | DEPENDENCIES |
|
290 | 287 | ace-rails-ap |
|
291 | 288 | activerecord-session_store |
|
292 | 289 | autoprefixer-rails |
|
293 | 290 | best_in_place (~> 3.0.1) |
|
294 | 291 | bootsnap (>= 1.1.0) |
|
295 | 292 | bootstrap-datepicker-rails |
|
296 | 293 | bootstrap-sass (~> 3.4.1) |
|
297 | 294 | bootstrap-switch-rails |
|
298 | 295 | bootstrap-toggle-rails |
|
299 | 296 | bootstrap3-datetimepicker-rails |
|
300 | 297 | byebug |
|
301 | 298 | capybara (>= 2.15) |
|
302 | - capybara-console | |
|
303 | 299 | coffee-rails |
|
304 | 300 | dynamic_form |
|
305 | 301 | fuzzy-string-match |
|
306 | 302 | haml |
|
307 | 303 | haml-rails |
|
308 | 304 | in_place_editing |
|
309 | 305 | jbuilder (~> 2.5) |
|
310 | 306 | jquery-countdown-rails |
|
311 | 307 | jquery-datatables-rails |
|
312 | 308 | jquery-rails |
|
313 | 309 | jquery-tablesorter |
|
314 | 310 | jquery-timepicker-addon-rails |
|
315 | 311 | jquery-ui-rails |
|
316 | 312 | listen (>= 3.0.5, < 3.2) |
|
317 | 313 | |
|
318 | 314 | minitest-reporters |
|
319 | 315 | momentjs-rails |
|
320 | 316 | mysql2 |
|
321 | 317 | puma |
|
322 | 318 | rails (~> 5.2) |
|
323 | 319 | rails-controller-testing |
|
324 | 320 | rails_bootstrap_sortable |
|
325 | 321 | rdiscount |
|
326 | 322 | rouge |
|
327 | 323 | sassc-rails |
|
328 | 324 | select2-rails |
|
329 | 325 | selenium-webdriver |
|
330 | 326 | simple_form |
|
331 | 327 | spring |
|
332 | 328 | spring-watcher-listen (~> 2.0.0) |
|
333 | 329 | sqlite3 |
|
334 | 330 | uglifier |
|
335 | 331 | web-console (>= 3.3.0) |
|
336 | 332 | webdriver |
|
337 | 333 | will_paginate (~> 3.0.7) |
|
338 | 334 | yaml_db |
|
339 | 335 | |
|
340 | 336 | BUNDLED WITH |
|
341 | 337 | 1.17.2 |
@@ -1,82 +1,82 | |||
|
1 | 1 | - content_for :head do |
|
2 | 2 | <meta http-equiv ="refresh" content="60"/> |
|
3 | 3 | |
|
4 | 4 | %h1 Grader information |
|
5 | 5 | |
|
6 | 6 | %p |
|
7 | 7 | = link_to 'Refresh', { :action => 'list' }, class: 'btn btn-info' |
|
8 | 8 | |
|
9 | 9 | .panel.panel-primary |
|
10 | 10 | .panel-heading |
|
11 | 11 | Grader control: |
|
12 | 12 | .panel-body |
|
13 |
- =link_to 'Start Graders in grading env', { action: 'start_grading'}, class: 'btn btn-default' |
|
|
14 |
- =link_to 'Start Graders in exam env', { action: 'start_exam'}, class: 'btn btn-default' |
|
|
15 |
- =link_to 'Stop all running Graders', { action: 'stop_all'}, class: 'btn btn-default' |
|
|
16 |
- =link_to 'Clear all data', { action: 'clear_all'}, class: 'btn btn-default' |
|
|
13 | + =link_to 'Start Graders in grading env', { action: 'start_grading'}, class: 'btn btn-default' | |
|
14 | + =link_to 'Start Graders in exam env', { action: 'start_exam'}, class: 'btn btn-default' | |
|
15 | + =link_to 'Stop all running Graders', { action: 'stop_all'}, class: 'btn btn-default' | |
|
16 | + =link_to 'Clear all data', { action: 'clear_all'}, class: 'btn btn-default' | |
|
17 | 17 | |
|
18 | 18 | .row |
|
19 | 19 | .col-md-6 |
|
20 | 20 | - if @last_task |
|
21 | 21 | Last task: |
|
22 | 22 | = link_to "#{@last_task.id}", :action => 'view', :id => @last_task.id, :type => 'Task' |
|
23 | 23 | |
|
24 | 24 | %br/ |
|
25 | 25 | |
|
26 | 26 | - if @last_test_request |
|
27 | 27 | Last test_request: |
|
28 | 28 | = link_to "#{@last_test_request.id}", :action => 'view', :id => @last_test_request.id, :type => 'TestRequest' |
|
29 | 29 | |
|
30 | 30 | %h2 Current graders |
|
31 | 31 | |
|
32 | 32 | = render :partial => 'grader_list', :locals => {:grader_list => @grader_processes} |
|
33 | 33 | |
|
34 | 34 | %h2 Stalled graders |
|
35 | 35 | |
|
36 | 36 | = render :partial => 'grader_list', :locals => {:grader_list => @stalled_processes} |
|
37 | 37 | |
|
38 | 38 | %h2 Terminated graders |
|
39 | 39 | |
|
40 | 40 | %p= link_to 'Clear data for terminated graders', { action: 'clear_terminated'}, class: 'btn btn-default', method: 'post' |
|
41 | 41 | |
|
42 | 42 | = render :partial => 'grader_list', :locals => {:grader_list => @terminated_processes} |
|
43 | 43 | .col-md-6 |
|
44 | 44 | %h2 Last 20 submissions |
|
45 | 45 | %table.table.table-striped.table-condensed |
|
46 | 46 | %thead |
|
47 | 47 | %th ID |
|
48 | 48 | %th User |
|
49 | 49 | %th Problem |
|
50 | 50 | %th Submitted |
|
51 | 51 | %th Graded |
|
52 | 52 | %th Result |
|
53 | 53 | %tbody |
|
54 | 54 | - @submission.each do |sub| |
|
55 | 55 | %tr.inactive |
|
56 | 56 | %td= link_to sub.id, submission_path(sub.id) |
|
57 | 57 | %td= ("" unless sub.user) || link_to(sub.try(:user).try(:full_name), stat_user_path(sub.user.id)) |
|
58 | 58 | %td= ("" unless sub.problem) || link_to(sub.try(:problem).try(:full_name), stat_problem_path(sub.problem.id)) |
|
59 | 59 | %td= "#{time_ago_in_words(sub.submitted_at)} ago" |
|
60 | 60 | %td= sub.graded_at ? "#{time_ago_in_words(sub.graded_at)} ago" : " " |
|
61 | 61 | %td= sub.grader_comment |
|
62 | 62 | %h2 Ungraded submission |
|
63 | 63 | %table.table.table-striped.table-condensed |
|
64 | 64 | %thead |
|
65 | 65 | %th ID |
|
66 | 66 | %th User |
|
67 | 67 | %th Problem |
|
68 | 68 | %th Submitted |
|
69 | 69 | %th Graded |
|
70 | 70 | %th Result |
|
71 | 71 | %tbody |
|
72 | 72 | - @backlog_submission.each do |sub| |
|
73 | 73 | %tr.inactive |
|
74 | 74 | %td= link_to sub.id, submission_path(sub.id) |
|
75 | 75 | %td= ("" unless sub.user) || link_to( sub.try(:user).try(:full_name), stat_user_path(sub.user.id)) |
|
76 | 76 | %td= ("" unless sub.problem) || link_to( sub.try(:problem).try(:full_name), stat_problem_path(sub.problem.id)) |
|
77 | 77 | %td= "#{time_ago_in_words(sub.submitted_at)} ago" |
|
78 | 78 | %td= sub.graded_at ? "#{time_ago_in_words(sub.graded_at)} ago" : " " |
|
79 | 79 | %td= sub.grader_comment |
|
80 | 80 | |
|
81 | 81 | |
|
82 | 82 |
You need to be logged in to leave comments.
Login now