You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -186,7 +186,7 @@ require 'cgi' # for escapeHTML
186
186
click_button'Create Organization'
187
187
expect(page).tohave_content'Organization was successfully created.'
188
188
189
-
click_on'Sign out'
189
+
visit'/logout'
190
190
visit'/login'
191
191
fill_in'username',with: 'admin'
192
192
fill_in'password',with: 'admin'
@@ -225,7 +225,7 @@ require 'cgi' # for escapeHTML
225
225
226
226
<%
227
227
Organization.find_by(slug: 'hy').destroy!
228
-
click_on'Sign out'
228
+
visit'/logout'
229
229
visit'/login'
230
230
fill_in'username',with: 'user'
231
231
fill_in'password',with: 'user'
@@ -238,7 +238,7 @@ require 'cgi' # for escapeHTML
238
238
click_button'Create Organization'
239
239
expect(page).tohave_content'Organization was successfully created.'
240
240
241
-
click_on'Sign out'
241
+
visit'/logout'
242
242
visit'/login'
243
243
fill_in'username',with: 'admin'
244
244
fill_in'password',with: 'admin'
@@ -261,7 +261,7 @@ require 'cgi' # for escapeHTML
261
261
%>
262
262
<%=screenshot%>
263
263
264
-
<p>Disabled organization will not be shown anywhere in the front page.</p>
264
+
<p>Disabled organizations will not be shown anywhere in the front page.</p>
265
265
266
266
<%
267
267
visit'/'
@@ -271,7 +271,7 @@ require 'cgi' # for escapeHTML
271
271
<h2>Monitoring background refreshes</h2>
272
272
273
273
<p>
274
-
When a new course is made, first real-time refresh is made only partly, without generating available points for exercises. Because of that, full refresh is launched on background. As administrator, the front page shows if there are any ongoing background refreshes, and when they are made. Based on that, you can monitor possible problems, if certain course stays on the refresh list for too long time.
274
+
When a new course is made, first real-time refresh is made only partly, without generating available points for exercises. Because of that, full refresh is launched on background. As administrator, the front page shows if there are any ongoing background refreshes, and when they were made. Based on that, you can monitor possible problems, if certain course stays on the refresh list for too long.
@@ -126,6 +129,8 @@ require 'cgi' # for escapeHTML
126
129
127
130
click_button'Continue'
128
131
click_button'Publish now'
132
+
133
+
RefreshCourseTask.new.run
129
134
%>
130
135
131
136
<p>
@@ -288,19 +293,28 @@ require 'cgi' # for escapeHTML
288
293
<%visit"/org/#{org.slug}/courses/#{course.id}/"%>
289
294
<%highlight('a:contains("Refresh")')%>
290
295
<%=screenshot%>
291
-
<%click_on'Refresh'%>
292
-
<%course.reload%>
296
+
<%
297
+
click_on'Refresh'
298
+
299
+
RefreshCourseTask.new.run
300
+
301
+
course.reload
302
+
303
+
course.exercises.update_all(disabled_status: 0)
304
+
%>
293
305
294
306
<p>
295
307
The system now reloads all exercises from the repository and rebuilds its
296
308
internal caches. Any submissions made to previous exercises will survive this process,
297
309
even if the exercise is deleted in the push.
298
310
</p>
299
311
312
+
<%visit"/org/#{org.slug}/courses/#{course.id}/"%>
313
+
300
314
<%=screenshot%>
301
315
302
316
<p>
303
-
The exercise should now be available for download and accept submissions.
317
+
The exercises should now be available for download and they should accept submissions.
304
318
</p>
305
319
306
320
<h2>Personalized course progression</h2>
@@ -387,9 +401,9 @@ deadline:
387
401
388
402
<h2>Special comments</h2>
389
403
390
-
<p>
404
+
<b>
391
405
See all available special comments <ahref="https://github.com/rage/tmc-langs-rust/blob/master/docs/exercise%20template%20annotations.md">here</a>.
392
-
</p>
406
+
</b>
393
407
394
408
<p>
395
409
Solution code can be demarcated with special comments so it will be removed from
0 commit comments