Make "external submits only" a per assignment setting as compared to per course
Updated 7 months, 3 weeks ago
| Severin Gehwolf | Reviewers | ||
| trunk | markus_developers | ||
| 374 | |||
| None | MarkUs Source Code Repository | ||
In the past it was not possible to allow submissions via the web interface for one assignment and disallow web submissions for others. This has now been implemented.
added required fixture fields and changed assignment_test.rb rake test:units passes with 0 errors, 0 failures
Posted 8 months, 1 week ago (November 22nd, 2009, 9:23 p.m.)
-
trunk/config/environments/development.rb (Diff revision 1) -
FYI: I won't commit this change.
Review request changed
Updated 8 months, 1 week ago (November 22nd, 2009, 9:24 p.m.)
Added the screenshot.
Posted 8 months, 1 week ago (November 24th, 2009, 3:43 p.m.)
Not quite a ship it - my only concern is that there are no functional tests for when this is turned on and off.
-
trunk/test/fixtures/assignments.yml (Diff revision 1) -
Why are there no assignment fixtures with allow_web_submits set to false?
Posted 8 months ago (November 30th, 2009, 11:28 p.m.)
-
trunk/test/fixtures/assignments.yml (Diff revision 1) -
Tara, for no good reason :-) I'll add one with value false.
Review request changed
Updated 8 months ago (November 30th, 2009, 11:31 p.m.)
-
- added Diff r2
I have added tests in group_test.rb. Also there is a bit of a controller test in assignment_controller_test.rb.
Looks good to me! Great job with this, Severin!
Review request changed
Updated 7 months, 3 weeks ago (December 8th, 2009, 11:19 p.m.)
-
- added Diff r3
I know, I had a ship it on this, but when I checked rake test:units last there were failing tests. Hence the update. Except for the fixes for rubric_criteria_test.rb and user_test.rb I have the other errors we see here: http://www.markusproject.org/dev/unit_tests_report.txt fixed. Hope nobody else was working on test fixing. Now I have rake test:units without failures and errors again. If somebody has a chance to look over it, I'd be happy. Thanks!
Posted 7 months, 3 weeks ago (December 8th, 2009, 11:25 p.m.)
-
trunk/app/models/grouping.rb (Diff revision 3) -
Fix for mark_test.rb
-
trunk/app/models/user.rb (Diff revision 3) -
Fix for mark_test.rb
-
trunk/test/unit/assignment_test.rb (Diff revision 3) -
There was also this weird inheritance error here. There is no AdminMembership class. Hence, the change.
Looks okay to me.
-
trunk/app/models/user.rb (Diff revision 3) -
Don't you have this change in another changeset?
Posted 7 months, 3 weeks ago (December 8th, 2009, 11:46 p.m.)
-
trunk/app/models/user.rb (Diff revision 3) -
I do have this in the other review too. My bad. It's the exact same thing, sorry.
