Commit Graph

34 Commits

Author SHA1 Message Date
Andrew Nicols de06b63344 MDL-62715 mod_assign: Bump submissions back when grading in tests 2018-06-21 08:40:39 +08:00
Andrew Nicols 757d5b7cdc MDL-55609 mod_assign: Remove shared setUp for all tests 2018-06-01 07:30:32 +08:00
Ryan Wyllie 6688ae2ba2 MDL-60062 calendar: prevent drag and drop of override events 2017-11-07 05:47:18 +00:00
Ryan Wyllie 478b1d194f MDL-60062 calendar: remove validate_event_timestart callback 2017-11-07 01:25:33 +00:00
Ryan Wyllie 7ec6d873e1 MDL-60058 assign: stop teacher from seeing due date event on dashboard
Thanks to Damyon Wiese for the patch.
2017-10-13 06:38:03 +00:00
Ryan Wyllie f4c2156189 MDL-60058 assign: allow update of assign calendar action events 2017-10-13 06:18:43 +00:00
Ryan Wyllie 4c1145009a MDL-60058 assign: show due date calendar event for teachers 2017-10-10 03:51:18 +00:00
John Okely 2d1075e321 MDL-56646 assign: use ASSIGN_GRADE_NOT_SET constant 2017-08-28 06:58:44 +00:00
John Okely e04be435e0 MDL-56646 assign: Don't rescale any negative grades 2017-08-28 06:58:43 +00:00
Andrew Nicols 442908a100 Merge branch 'MDL-58138-master-v2' of git://github.com/snake/moodle 2017-04-19 11:53:40 +08:00
Jake Dallimore 8db355c58f MDL-58138 tests: unit and behat tests covering bulk and default tabs
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jun Pataleta bb3fc8d6b1 MDL-58463 mod_assign: Improve coverage of test_assign_refresh_events() 2017-04-18 13:26:23 +08:00
Mark Nelson e1cd93ce20 MDL-58423 core_calendar: moved \core_calendar\event class
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
Andrew Nicols d846cb244d MDL-58337 mod_assign: Do not show submitted assignments in dashboard
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson 294dce6764 MDL-57730 mod_assign: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson e9dfeec94e MDL-57434 core: deprecated xxx_print_overview() and related functions
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mike Churchward 559cfa03f4 MDL-36233 mod_assign: fixed submission time comparison sql and test. 2017-01-30 09:06:55 +08:00
Russell Smith 74ee9d29d2 MDL-55944 testing: Reduce sleep usage.
Remove sleep() and replace with waiting for a second to roll over,
this results in a simpler call the guarantee time() has moved forward
2016-09-14 09:49:30 +10:00
Jun Pataleta 418a0d0465 MDL-43594 mod_assign: Fix calendar update on course reset
This patch fixes the updating of calendar events when the course
is reset and its start date is changed.
2015-09-29 13:46:27 +08:00
Tim Lock d89dc6daa5 MDL-42670 mod_assign: Fix recent activity block when blind marking is on 2015-09-07 22:41:41 +02:00
Ankit Agarwal 81251186e7 MDL-47172 print_overview: Add more unit tests 2015-02-13 11:12:13 +05:30
Damyon Wiese 821ce4d63b MDL-47655 assign: Fix unit tests triggering debugging
Test was triggering notifications - so needs to use a message sink.
2014-10-17 09:45:02 +08:00
Damyon Wiese 9e035dae1b MDL-47655 assign: Treat 'new' status as never submitted.
This fixes the recent activity callbacks to ignore submissions with a 'new' status.

The unit tests for recent activity were modified, because they were relying on the old behaviour of 'submitted' being the default status.

AMOS BEGIN
     CPY [submissionstatus_,mod_assign],[submissionstatus_new,mod_assign]
AMOS END
2014-10-16 13:56:07 +08:00
Damyon Wiese 9e3eee671f MDL-46171 Assign: Always require a submission record if there is a grade
Also - update unit tests to match the new expectations.
2014-09-24 15:07:36 +08:00
Damyon Wiese 6c489d2cd0 MDL-46044 Assign: Move common setup to setUp method (share it for all of lib_test.php) 2014-06-27 14:15:31 +08:00
Damyon Wiese 5533e011ce MDL-46044 Assign: Update unit test to test multiple attempts on overview page 2014-06-27 14:15:31 +08:00
Ankit Agarwal 5c7ec9f6f8 MDL-40962 assign: Fix alternate name field warnings in assign 2013-10-01 15:32:52 +08:00
Marina Glancy 0e4954ecff MDL-40830 Clear course cache in mod_assign generator 2013-08-15 21:44:05 +10:00
Damyon Wiese df211804f1 MDL-36804 mod_assign - allow students to resubmit work and display a submission + grading history
This is based on work by Davo Smith with input from Fernando Oliveira (Thanks guys!).
2013-04-02 13:37:51 +08:00
Damyon Wiese 9c986ee01d MDL-38115 Assignment Unit tests : speedup (round 2) 2013-02-26 09:00:06 +08:00
Damyon Wiese c211409998 MDL-36832 Assignment Fix issues found by unit tests with previous patch 2013-02-21 11:22:06 +08:00
Damyon Wiese b0da618b61 MDL-37337 Assignment: Restructure assignment settings screen to make it "wieldy" 2013-02-15 11:26:21 +08:00
Damyon Wiese d021941d6c MDL-37547 Assign: Fix failed unit test on oracle.
Oracle is rounding numbers with no decimals - which causes a test failure.
2013-01-23 14:56:21 +08:00
Damyon Wiese cb5b486040 MDL-37547 Assignment: Add unit tests for mod/assign/lib.php 2013-01-16 16:36:19 +08:00