tjhunt
d001dac77b
shortanswer qtype: MDL-17706 use extra_question_fields mechanism to save on code. Changes thanks to Oleg Sychev.
2009-01-09 05:10:33 +00:00
dongsheng
771dc7b298
"MDL-14129, fix error() in moodle2"
2008-12-12 05:45:43 +00:00
dongsheng
60e40dda6c
"MDL-14129, remove the rest error() in moodle2"
2008-12-12 04:53:32 +00:00
tjhunt
e8f99abc68
quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. Merged from MOODLE_19_STABLE.
...
Also MDL-17585 Improve layout of manual grading forms to make them look more like formslib forms. The standard trick of stealing the HTML and class names that formslib works, so the standard style rules apply to your form.
2008-12-10 09:11:30 +00:00
tjhunt
aafdb447bf
quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. Merged from MOODLE_19_STABLE.
...
And MDL-17568 minor niggles with new queston navigation:
* The bit that scrolls down to the question you just submitted in adaptive mode was not working with random questions.
* Teachers reviewing an open attempt were shown the qusetions as editable, not read only!
2008-12-10 06:26:47 +00:00
jamiesensei
2280e147c5
MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.
...
Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.
Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
2008-11-28 10:14:19 +00:00
tjhunt
f24493ec9b
random essay questions: MDL-8648 Allow essay questions to be selected by random question.
...
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.
The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.
I also changed the random question code so that I could remove some global variables.
2008-11-28 06:07:11 +00:00
tjhunt
4568bf99a8
Fix misleading comment.
2008-11-05 08:10:17 +00:00
tjhunt
a0a88627cc
Remove obsolete method.
2008-10-21 06:22:16 +00:00
jamiesensei
3efbe6bc89
MDL-14676 "In question bank, problem with moodle/question:edit* when do not have moodle/question:move*" Fixed logic for processing submission of question form and also added some validation to check that the user has permissions to move a question.
2008-10-08 10:27:38 +00:00
tjhunt
c6106dd9b7
MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small
2008-09-28 08:59:50 +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
jamiesensei
869309b8d8
MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets.
2008-09-11 12:48:08 +00:00
tjhunt
770537257a
MDL-16398 Remove the unused and unnecessary set_default_options method from the question type API
2008-09-09 01:50:30 +00:00
tjhunt
d0dfe9491d
MDL-16263 Flagging questions during a quiz attempt. Make it work nicely with just the keyboard, no mouse, if JavaScript is on.
2008-09-03 05:50:53 +00:00
tjhunt
62e76c6766
MDL-16263 A way for students to flag/bookmark, particular questions during a quiz attempt for later review.
...
This is an initial implementation that is now at a working state, but with a few things left to do. It seemed like a good idea to commit it before leaving work on Friday night.
2008-08-29 10:08:27 +00:00
tjhunt
21a4ca7d79
MDL-15654 Incorrect escaping of HTML in the history table on the review quiz attempt page.
2008-08-20 09:46:18 +00:00
tjhunt
f9a2cf86a9
MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type.
2008-08-15 11:15:08 +00:00
tjhunt
f88fb62c40
MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors.
2008-08-15 06:42:38 +00:00
tjhunt
9f9eec1ef0
MDL-15542 - Refactor quiz response processing into a separate processresponses.php.
2008-07-15 16:46:24 +00:00
tjhunt
b55797b8cc
MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase. I was able to factor out some commonalities with review.php along the way.
2008-07-15 15:30:39 +00:00
tjhunt
b10c38a37b
MDL-15452 - ongoing - Put the OU quiz navigation improvements into the Moodle codebase
...
* Javadoc comments for most of the code I committed on Friday.
* Implement the get_question_status method.
* Along the way, refactor duplicated logic between two of the question types, questionlib, and the new code - removing inconsistency while doing so.
2008-06-30 16:56:49 +00:00
jamiesensei
455c3efa13
MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" oops ought to give that function name a 'question_' prefix
2008-06-16 13:59:30 +00:00
jamiesensei
6f51ed72be
MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" added method random_guess_score to question type objects and a new function in questionlib that calls the question type method.
2008-06-16 13:29:00 +00:00
dongsheng
bd8ee7c1c4
"MDL-14129, fix print_error"
2008-06-15 12:02:43 +00:00
nicolasconnault
b9bd6da4f8
CONTRIB-490 Added support for scripted generation of questions. Calculated type not yet supported (datasets too complicated ;)
2008-06-12 09:15:16 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
nicolasconnault
9cf4a18b41
MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
...
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
nicolasconnault
f34488b2e6
MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
2008-06-06 14:43:15 +00:00
skodak
44e1b7d7ff
MDL-14679 remoed all instances of get_records_list()
2008-06-01 15:42:48 +00:00
jamiesensei
720be6f2c3
MDL-5241 "When manually grading, identity questions by their number within the quiz as well as by question name"
...
Also added a drop down box to select question to mark instead of the viewquestions table. The drop down box is available at the top of every page, but only if there is more than one manually gradeable question in the quiz. If there is only one question it is automatically selected for marking.
Also added a new constant QUESTION_EVENTS_GRADED during a general refactoring of UI code in grading report and some improvements to efficiency of SQL in report.
Merged from Moodle 1.9 branch
2008-05-26 11:39:51 +00:00
dongsheng
0b4f4187a2
"MDL-14129, fix print_error"
2008-05-21 05:07:37 +00:00
tjhunt
a588d813cb
MDL-14762 - find and update links to files in answer->feedback when moving questions between contexts.
2008-05-09 13:13:43 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
tjhunt
694061adf4
Fix dangerous comment. (MDL-13536)
2008-02-19 17:14:12 +00:00
tjhunt
8bb3fac17c
MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres.
2008-01-30 18:18:36 +00:00
scyrma
aa68a7b0a2
MDL-13020 : deprecates make_table
2008-01-16 08:17:25 +00:00
tjhunt
556be2831b
MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE.
2007-11-28 12:45:57 +00:00
tjhunt
75082bdd89
MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE.
2007-11-20 17:52:16 +00:00
jamiesensei
cb14dd6316
modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero
2007-09-27 07:41:58 +00:00
tjhunt
411efaee25
MDL-5327 - When making up a default question name from the question text, strip any HTML tags. Merged from MOODLE_18_STABLE.
2007-09-27 06:54:17 +00:00
tjhunt
f59dba8497
MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
...
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
tjhunt
b92ffdf9ac
Whitespace cleanup.
2007-09-24 15:45:29 +00:00
tjhunt
80fdc53efd
Related to MDL-10916 - saving Cloze questions in Moodle 1.9 generates Notices because of changes to questionstupe_base::save_question.
2007-09-24 14:18:47 +00:00
tjhunt
c5ccb82c61
XHTML Strict in question state history table. Merged from MOODLE_18_STABLE.
2007-09-20 15:10:04 +00:00
tjhunt
c767d3b7d3
MDL-11317 - Slashes displayed in incorrect responses for short answer questions. Fix by adding stripslashes in the appropriate place. Merged from MOODLE_18_STABLE.
2007-09-18 12:15:22 +00:00
tjhunt
ace1bf9d8e
MDL-11284 - Can't save edited questions
2007-09-14 09:33:30 +00:00
jamiesensei
ffba1f0bec
added some comments
2007-08-16 05:20:35 +00:00
jamiesensei
e7e62d45be
Fix for MDL-10823 Access to question edit page denied from quiz preview screen.
2007-08-14 04:22:05 +00:00
tjhunt
ceeae340f9
MDL-10799 - Question types do not accurately determine whether their state has changed or not. Merged from MOODLE_18_STABLE.
2007-08-10 15:21:29 +00:00