pilpi
1cdbd5e46f
quiz editing: MDL-17301 avoid inline CSS in mod/quiz/edit.php
2008-11-22 11:29:20 +00:00
pilpi
f0fbea15ba
quiz editing: MDL-17292 made it possible to delete an empty page from a quiz with attemtps
2008-11-21 19:48:57 +00:00
pilpi
ca63fb8b31
quiz editing: MDL-17291 Move selected questions to page is now disabled when Questions per page is set
2008-11-21 17:22:08 +00:00
pilpi
218dfb9127
quiz editing: MDL-17291 Question moving functionality to a user-selected page now manipulates an array instead of string
...
The old implementation was string-based and flawed, so switched to a more readable array-based one.
Also removed strpos2() since it was only used in edit.php locally and due to this change became unused.
2008-11-21 17:08:36 +00:00
pilpi
47a8933f62
quiz editing: MDL-17288 Lang string issues
...
questionsperpageselected and shufflequestionsselected from lang/en_utf8/quiz.php now use a $a, rather than concatenation.
2008-11-21 13:35:15 +00:00
jamiesensei
a832c5e151
MDL-5241 edited comments that had not been updated.
2008-11-21 10:02:49 +00:00
tjhunt
fa583f5f6e
quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.
...
This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.
The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.
Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.
There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign .
2008-11-20 06:59:11 +00:00
tjhunt
10bd502467
Fix typo.
2008-11-17 02:29:45 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
jamiesensei
664bf34ff6
MDL-17190 "error in code for calculating discrimination index and efficiency for randomly selected questions" Fixed the code for item stats.
2008-11-10 14:42:21 +00:00
jamiesensei
746860479f
MDL-17188 "effective question weight equation cannot cope with negative covariance of question grades" excluding such questions from equation
2008-11-10 11:56:37 +00:00
jamiesensei
af30cd8870
MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" forgot to remove this, now redundant, piece of code.
2008-11-10 08:12:28 +00:00
tjhunt
339ef4c246
random questions: MDL-17160 Adding random questions, maximum option.
...
When counting how many options to put in the add NN random questions dropdown, we should only count questions of types that are usable by random.
2008-11-07 05:50:02 +00:00
jamiesensei
2685ec17ea
MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Unit tests for the grade stats calculations.
2008-10-29 10:09:55 +00:00
jamiesensei
45cf6fd910
MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Seperating out call for processing actual student responses from calculation of other grade stats as I want to unit test the grade stats calculations.
2008-10-29 10:00:44 +00:00
jamiesensei
e815151ead
MDL-17002 "unit test to test quiz_report_index_by_keys"
2008-10-24 15:34:19 +00:00
tjhunt
921c07e5b1
quiz attempt javascript: MDL-16833 the javascript that stops enter from submitting the forum in quiz attempts was broken in HEAD.
2008-10-22 10:26:45 +00:00
jamiesensei
047c0f78aa
MDL-16952 "after DB field type changes standard deviation and facility index show up as 0% instead of blank" Problem is that question->maxgrade is now 0.0000 and not 0 and $maxgrade now does not evaluate as false, need to use $maxgade!=0 which evaluates as before.
2008-10-21 09:32:24 +00:00
jamiesensei
67710da492
MDL-16951 "kurtosis and skewness equations were wrong" See changes to equations here : http://docs.moodle.org/en/index.php?title=Development%3AQuiz_item_analysis_calculations&diff=45585&oldid=39752
2008-10-21 09:25:02 +00:00
tjhunt
03043a3313
quiz timer: MDL-16490 stop the timer when a page is submitted, to avoid nasty double-submission problems.
2008-10-21 08:20:51 +00:00
tjhunt
78268862d3
quiz reports: MDL-16948 SQL does not work in Oracle - you are not allowed to refer to output column names in GROUP BY. Fix thanks to Francois Marier.
2008-10-21 05:45:39 +00:00
jamiesensei
0e13019dc4
MDL-16870 "ID is incorrectly labelled"
2008-10-14 15:19:25 +00:00
jamiesensei
ef27e74273
MDL-16869 "Exporting leaves <p> </p> in essay responses" added method to flexible_table class format_text that takes the same parameters as format_text the function in weblib. If the table is not in download mode then this formats the text as html. If it is then it strips the tags or does the right thing depending on the download type. Added methods to download classes to tell flexible_table class what should be done with html.
2008-10-14 15:00:26 +00:00
jamiesensei
1f23bda7f9
MDL-16803 "Questions with score of 0 lead to division by zero warning"
2008-10-07 08:46:24 +00:00
tjhunt
2930500104
MDL-16706 - eliminate miscellaneous inine JavaScript
...
This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.
2008-09-26 10:49:31 +00:00
tjhunt
2ddba27f0a
Correct comment.
2008-09-26 05:57:55 +00:00
tjhunt
16851b22ad
MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html
2008-09-25 10:04:01 +00:00
dongsheng
a6344df49a
"MDL-14129, fixed hardcoded print_header in quiz module"
2008-09-25 08:21:59 +00:00
tjhunt
ac324e05ea
MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves.
2008-09-25 06:40:52 +00:00
dongsheng
85c30b9c91
"MDL-14129, fix hardcoded print_error"
2008-09-25 01:55:39 +00:00
jamiesensei
8cc901371a
MDL-16612 "Response report : Long group names need shortening"
2008-09-24 10:55:55 +00:00
jamiesensei
04299b1f19
MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.
...
Reverted earlier patch and instead using a different colour for highlighting graded grade. Now using light yellow with a darker yellow border instead of green which is used in reports to highlight the correct answer.
2008-09-24 10:45:05 +00:00
jamiesensei
8968f51fab
MDL-16610 "Warnings when a question has a grade of 0" not seeing this issue in HEAD but committing some code to make code for generating html for response cell more robust.
2008-09-24 10:43:45 +00:00
jamiesensei
1c88737ffa
MDL-16653 "Adding colour highlighting of correct / incorrect / partially correct answers and tick / cross marks to overview report"
2008-09-24 10:22:57 +00:00
jamiesensei
bfcaf5e684
MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.
...
Reverted earlier patch and instead using a different colour for highlighting graded grade. Now using light yellow with a darker yellow border instead of green which is used in reports to highlight the correct answer.
2008-09-24 09:10:43 +00:00
jamiesensei
14133ad913
MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form"
2008-09-23 10:39:12 +00:00
jamiesensei
e84cb61554
MDL-16532 "Can width of column for Essay questions be varied?" Concatenate the answers displayed in all responses in responses report for answers above a certain character count (now set to 150). Also added a link to all responses to display a review of the question response. Both the concatenation and links are only showed in the report on the Moodle site and effects are not exported.
2008-09-23 10:21:32 +00:00
jamiesensei
8b92c1e3f6
MDL-16529 "Only include closed attempts in manual grade counts"
2008-09-23 09:52:55 +00:00
tjhunt
739b07112e
MDL-16625 Detection of whether a quiz has grades was broken in HEAD.
...
1. Fix this by factoring out a quiz_has_grades function.
2. Fix the quiz unit tests.
3. Fix quiz_has_feedback to return false for ungraded quizzes.
4. Fix use of get_records to do record_exists in quiz reports.
2008-09-23 07:18:15 +00:00
jamiesensei
e1d2278b51
MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles" should not style response or add feedback image if the response is not yet graded.
2008-09-22 09:20:13 +00:00
jamiesensei
452351550b
MDL-16567 "Quiz statistics report does not work when the quiz contains descriptions" slightly more elegant and efficient solution to issue.
2008-09-19 10:12:54 +00:00
tjhunt
ea16a91d2e
MDL-12391 Prevent browser autocomplete in the quiz. Acutally, there was already code trying to do that, but it was not working. Fix it in HEAD only, because it is not a big deal, and so much has changed, it is not an easy back-port.
2008-09-19 04:54:49 +00:00
tjhunt
ddf977898c
Clean up code in a couple of places by using my print_js_call function.
2008-09-19 04:53:03 +00:00
tjhunt
a1f6db1775
Nasty hack fix for MDL-16567 - I am hoping Jamie will come up with a proper fix soon, but I am about to demo this.
2008-09-18 12:47:12 +00:00
tjhunt
7fb0303d89
MDL-16564 Make admin settings work better with the cnfig_plugins table.
...
Also, take the opportunity to take the quiz-specific stuff out of adminlib.php, to make Petr happy.
2008-09-18 09:55:04 +00:00
tjhunt
766df8f72b
MDL-16334 Convert mod/quiz/comment.php to use attemptlib.php - final part of the work on the quiz navigtion, I hope.
...
MDL-16559 Remove question/comment.html template, and instead just have a function in questionlib.php
MDL-16562 Regression from MDL-16263, notices when regrading.
Sorry, the three got tangled together (coupled through questionlib) while I was fixing bugs in preparation for a demo.
2008-09-18 07:39:10 +00:00
tjhunt
8033d8423f
Minor bug fixes.
2008-09-18 04:33:38 +00:00
tjhunt
1aea04dcbf
MDL-15452 quiz navigation - followup - avoid a division by 0.
2008-09-18 04:31:11 +00:00
tjhunt
98e82289b3
MDL-16505 - Removing qtype_datasetdependent questiontype - finish off the database upgrade, after Pierre's previous work.
2008-09-17 05:24:29 +00:00
nicolasconnault
b9c639d6c2
MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class.
2008-09-16 12:19:43 +00:00