11557 Commits

Author SHA1 Message Date
Tim Hunt
45a81b1b10 MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.
It is only necessary when there are (non-preview) attempts. However,
after making this change we have to ensure users cannot start attempts
when ->grade > 0 and ->sumgrades = 0.

Display ->grade on the order and paging tab of edit.php, so it is clear
what is going on when you are using that tab.

Finally, improve the error message a student gets if they try to start a
quiz with no questions.
2012-01-19 18:35:33 +01:00
Tim Hunt
d20b34c726 MDL-31095 quiz: fix bug in quiz::has_questions. 2012-01-19 18:35:33 +01:00
Tim Hunt
31c5521442 MDL-31080 quiz editing, must be able to see and delete missing questions 2012-01-19 18:35:33 +01:00
Tim Hunt
26756d9c6f MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron 2012-01-11 14:02:57 +00:00
Sam Hemelryk
44577c96d0 Merge branch 'MDL-31019' of git://github.com/timhunt/moodle 2012-01-10 14:26:08 +13:00
Tim Hunt
d89eb938fd MDL-31019 quiz secure mode. Fix typo that breaks submit. 2012-01-09 17:09:11 +00:00
Eloy Lafuente (stronk7)
94d59c9b23 Merge branch 'MDL-30635' of git://github.com/timhunt/moodle 2012-01-09 00:15:21 +01:00
Sam Hemelryk
9b69f4a9c9 Merge branch 'MDL-30652-master' of git://github.com/ankitagarwal/moodle 2012-01-09 12:02:41 +13:00
Tim Hunt
c2f5e2ab81 MDL-30635 enable standard cron for all question and quiz plugin types.
* Support for old non-standard cron for quiz reports dropped. (Standard
cron support was added in 2.2

* Cron support added for qbehaviour, qformat and quizacces plugins.

* qtypes were already supported in the standard way.
2012-01-06 18:42:35 +00:00
David Mudrak
a1373126eb MDL-30865 Workshop method aggregate_grading_grades_process() accepts explicit aggregation timestamp 2012-01-04 02:20:06 +01:00
Ankit Kumar Agarwal
85e976e514 MDL-30652 SCORM Fixing report prefrences display for interactions report 2012-01-03 10:38:41 +05:30
Ankit Kumar Agarwal
2af0e47259 MDL-30652 SCORM Fixing report prefrences display issue for basic report 2012-01-03 10:38:37 +05:30
Ankit Kumar Agarwal
e12459baa2 MDL-30652 Scorm adding proper comments 2012-01-03 10:38:07 +05:30
Sam Hemelryk
929ea9ed6b Merge branch 'MDL-30766' of git://github.com/timhunt/moodle 2012-01-03 11:23:13 +13:00
Sam Hemelryk
a46fe43ba2 Merge branch 'MDL-27200' of git://github.com/timhunt/moodle 2012-01-03 11:12:14 +13:00
Sam Hemelryk
f6b2946a06 Merge branch 'MDL-29266' of git://github.com/bostelm/moodle 2012-01-03 11:09:19 +13:00
Eloy Lafuente (stronk7)
c31d7ca2e0 Merge branch 'MDL-30851_master_wip' of git://github.com/grabs/moodle 2012-01-02 20:23:11 +01:00
Eloy Lafuente (stronk7)
2a297e537d Merge branch 'MDL-30873' of git://github.com/timhunt/moodle 2012-01-02 20:16:02 +01:00
Andreas Grabs
0f61fb72d8 MDL-30851 - Syntax error in analysis_course.php 2011-12-23 17:40:07 +01:00
Tim Hunt
ce70117bba MDL-30873 quiz: display an overall grade for preview users.
Also, don't display an overall grade unless there is at least one finished attempt.
2011-12-23 12:54:50 +00:00
Tim Hunt
0c5abe6c3e MDL-30766 mod_quiz: fix edge cases of repaginate function. 2011-12-23 12:54:08 +00:00
Tim Hunt
658ad69fa0 MDL-27200 missing {} in various lang strings. 2011-12-23 11:51:24 +00:00
Petr Skoda
4034485eb7 MDL-30610 remove outdated quiz upgrade code 2011-12-23 10:38:13 +01:00
Petr Skoda
17510ff0fe MDL-30610 remove outdated workshop upgrade code 2011-12-23 10:38:12 +01:00
Petr Skoda
40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Eloy Lafuente (stronk7)
91c10ddfa0 Merge branch 'MDL-29400_misleading_file_upload_status' of git://github.com/gerrywastaken/moodle 2011-12-22 09:48:23 +01:00
Gerard (Gerry) Caulfield
229278a71b MDL-29400 Fixing unset object bug encountered by Rajesh during testing 2011-12-22 14:00:44 +08:00
Sam Hemelryk
01856bf75e Merge branch 'wip-MDL-18128-master-version3' of git://github.com/abgreeve/moodle 2011-12-22 11:44:11 +13:00
Sam Hemelryk
21cd532f68 MDL-30639 mod_lesson: Used a consistent format for users display of answer 2011-12-22 11:22:59 +13:00
Sam Hemelryk
365b567f71 Merge branch 'MDL-30639' of git://github.com/rwijaya/moodle 2011-12-22 11:21:22 +13:00
Tim Hunt
9f0f486935 MDL-30704 quiz_overview: fixup, add missing rescaling.
Thanks Micheal de Raadt for catching this in testing.
2011-12-21 18:33:18 +01:00
adrian@moodle.com
2edcf21abf MDL-18128 - forum - Addition of group editing for forums. 2011-12-21 15:25:44 +08:00
Sam Hemelryk
aaee11b85d Merge branch 'MDL-30704' of git://github.com/timhunt/moodle 2011-12-21 14:30:15 +13:00
Eloy Lafuente (stronk7)
1af989f758 Merge branch 'MDL-29400_misleading_file_upload_status' of git://github.com/gerrywastaken/moodle 2011-12-20 22:53:12 +01:00
Eloy Lafuente (stronk7)
e2ec1ebdf6 Merge branch 'MDL-29048-master' of git://github.com/ankitagarwal/moodle 2011-12-20 18:55:31 +01:00
Eloy Lafuente (stronk7)
2cf28daa90 Merge branch 'wip-MDL-30733-master' of github.com:marinaglancy/moodle 2011-12-20 18:51:09 +01:00
Rossiani Wijaya
d85c839928 MDL-30636 Lesson Module: fixed essay answer display format 2011-12-20 11:53:55 +08:00
Sam Hemelryk
eae0b9a9e3 Merge branch 'MDL-30646' of git://github.com/timhunt/moodle 2011-12-20 13:23:45 +13:00
Tim Hunt
7ddfd168ac MDL-30704 Quiz grades report shows inconsistent averages.
Previously, for the overall grade, we averaged the final marks for each
student; while for the individual question grades, we averaged all
grades.

The report now works consistently on the principle that the averages
should include exactly what is currenlty being shown in the report. This
is more logical, and so should be easier for users to understand.

If you want to see the averages that are currently shown (e.g. just the
average of each student's highers grade) then the report options let you
do that.
2011-12-19 14:59:36 +00:00
Rossiani Wijaya
de2e165a3a MDL-30636 Lesson Module: fixed essay answer display format 2011-12-19 15:08:15 +08:00
Sam Hemelryk
92e72b0a86 Merge branch 'MDL-30683' of git://github.com/timhunt/moodle 2011-12-19 14:17:20 +13:00
Sam Hemelryk
d0fe873623 Merge branch 'MDL-29176' of git://github.com/timhunt/moodle 2011-12-19 12:28:52 +13:00
Sam Hemelryk
b53bea8167 Merge branch 'MDL-30758' of git://github.com/timhunt/moodle 2011-12-19 09:27:48 +13:00
Aparup Banerjee
441088d647 Merge branch 'master_MDL-28728' of git://github.com/danmarsden/moodle 2011-12-16 11:36:47 +08:00
Dan Marsden
1a50148e8b MDL-28728 SCORM Add missing string 2011-12-16 11:22:39 +13:00
Tim Hunt
800944b015 MDL-29176 quiz editing: can't move questions onto a new page. 2011-12-15 19:32:37 +00:00
Tim Hunt
29ded2d68a MDL-30646 default qbank sort should only use visible columns. 2011-12-15 18:39:21 +00:00
Henning Bostelmann
3367f14b0a MDL-29266 Assignment grading: save state of "send notifications" box 2011-12-15 17:17:37 +00:00
Tim Hunt
41d5cbc1cd MDL-30758 quiz_statistics report fails if all 1st attempts require grading 2011-12-15 12:51:20 +00:00
Tim Hunt
490668bbe1 MDL-30592 / MDL-27183 quiz statistics: fix merge problem.
These two fixes changes the same file in different ways, causing breakage.
2011-12-15 11:21:56 +00:00