Rossiani Wijaya
9000014032
MDL-34650 - accessibility compliance: Add <label> for form input text and select tag
2012-07-31 12:10:47 +08:00
Sam Hemelryk
61231c48fa
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f01c7ddc7c .
2012-04-11 17:20:29 +12:00
Sam Hemelryk
b054ead121
Merge branch 'MDL-30843_b_m22' of git://github.com/rwijaya/moodle into MOODLE_22_STABLE
2012-04-10 11:01:37 +12:00
Rossiani Wijaya
f01c7ddc7c
MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag
2012-03-30 16:44:13 +08:00
Tim Hunt
0175c5efaa
MDL-32240 quiz editing: check permissions questions are added.
...
We also check permissions when removing questions from the quiz, so that
we do not let users make mistakes they cannot immediately undo.
Conflicts:
mod/quiz/editlib.php
2012-03-29 14:52:19 +01:00
Gootvilig David Hai
8d11716bfc
MDL-31876 questionlib: fix question_has_capability_on memory bloat
2012-03-06 21:31:55 +01:00
Tim Hunt
f455e4e9bd
MDL-30744 question editing permissions. Update to new accessslib.php code.
...
I don't believe this will actually fix the reported problem, which I
cannot reproduce, but it should give us much better error messages, at
which point we can fix it.
2011-12-15 11:56:21 +00:00
Eloy Lafuente (stronk7)
a30e3c5a1a
Merge branch 'MDL-30592_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE
2011-12-14 22:44:33 +01:00
Tim Hunt
2a1733aafc
MDL-30592 question_bank: make files in qtext work in the question list.
2011-12-09 19:24:20 +00:00
Tim Hunt
1357ab1d5b
MDL-30592 quiz statistics, ensure images in the question text appear.
2011-12-09 19:24:13 +00:00
Tim Hunt
d7320fc84a
MDL-27143 question bank: questions not saved when deleting a category.
...
Based on a fix by Nikhil Gupta.
2011-12-09 17:56:05 +00:00
Petr Skoda
16ef46e7b6
MDL-29450 improve and cleanup course content removal
...
New keep roles/enrolments and groups/groupings options, notification CSS fixed, standardised notification texts, added missing delete of module blocks, fixed file deleting and some other minor issues.
2011-11-23 18:37:36 +01:00
Tim Hunt
5cc021a00b
MDL-30069 Question type icons missing in lots of places.
2011-11-15 11:17:18 +00:00
Tim Hunt
646791794d
MDL-29808 qformats: use standard pluginname string and add version.php
...
AMOS BEGIN
MOV [aiken,qformat_aiken],[pluginname,qformat_aiken]
MOV [aiken_help,qformat_aiken],[pluginname_help,qformat_aiken]
MOV [aiken_link,qformat_aiken],[pluginname_link,qformat_aiken]
MOV [blackboard,qformat_blackboard],[pluginname,qformat_blackboard]
MOV [blackboard_help,qformat_blackboard],[pluginname_help,qformat_blackboard]
MOV [blackboard_six,qformat_blackboard_six],[pluginname,qformat_blackboard_six]
MOV [blackboard_six_help,qformat_blackboard_six],[pluginname_help,qformat_blackboard_six]
MOV [examview,qformat_examview],[pluginname,qformat_examview]
MOV [examview_help,qformat_examview],[pluginname_help,qformat_examview]
MOV [gift_help,qformat_gift],[pluginname_help,qformat_gift]
MOV [gift_link,qformat_gift],[pluginname_link,qformat_gift]
MOV [learnwise,qformat_learnwise],[pluginname,qformat_learnwise]
MOV [learnwise_help,qformat_learnwise],[pluginname_help,qformat_learnwise]
MOV [missingword,qformat_missingword],[pluginname,qformat_missingword]
MOV [missingword_help,qformat_missingword],[pluginname_help,qformat_missingword]
MOV [missingword_link,qformat_missingword],[pluginname_link,qformat_missingword]
MOV [multianswer,qformat_multianswer],[pluginname,qformat_multianswer]
MOV [multianswer_help,qformat_multianswer],[pluginname_help,qformat_multianswer]
MOV [multianswer_link,qformat_multianswer],[pluginname_link,qformat_multianswer]
MOV [webct_help,qformat_webct],[pluginname_help,qformat_webct]
MOV [webct_link,qformat_webct],[pluginname_link,qformat_webct]
MOV [xhtml,qformat_xhtml],[pluginname,qformat_xhtml]
MOV [xhtml_help,qformat_xhtml],[pluginname_help,qformat_xhtml]
MOV [xhtml_link,qformat_xhtml],[pluginname_link,qformat_xhtml]
MOV [xml_help,qformat_xml],[pluginname_help,qformat_xml]
MOV [xml_link,qformat_xml],[pluginname_link,qformat_xml]
AMOS END
2011-11-10 19:12:28 +00:00
Tim Hunt
44a7f3840d
MDL-29474 fix qtype and qbehaviour plugins to use proper pluginname strings.
...
But maintain backwards-compatibility for now.
2011-10-20 11:13:27 +01:00
Tim Hunt
6fd1995d3b
MDL-28614 questions: remove another obsolete editing_head_contributions fn.
2011-10-17 23:53:53 +01:00
Sam Hemelryk
d609d96261
MDL-28599 textlib Separated collator to collatorlib with static methods, and added support for locale aware sorting of objects
2011-09-06 15:39:00 +12:00
Tim Hunt
2a73f863ff
MDL-28687 questions avoid fatal errors when reviewing attempts at deleted questions.
2011-08-18 13:59:07 +01:00
Eloy Lafuente (stronk7)
be13d37a02
Merge branch 'MDL-28074' of git://github.com/timhunt/moodle
2011-06-29 23:09:13 +02:00
Tim Hunt
56a4ae4673
MDL-28074 question preview should set context/course/cm properly.
...
1. We need this so that, for example, when previewing a question from
the quiz editing page, the preview uses the filter settings, theme and
language set for that quiz and course.
2011-06-29 21:25:56 +01:00
Sam Hemelryk
f86e19b1ee
Merge branch 'MDL-27829_block_pagetype_master' of git://github.com/andyjdavis/moodle
2011-06-29 17:04:13 +08:00
Andrew Davis (andyjdavis)
b38e2e28a1
MDL-27829 blocks: altered the algorithm used to find plugin page types
2011-06-27 12:27:41 +08:00
Tim Hunt
8356e6cff8
MDL-26199 keep track of the current category when switching pages in the question bank.
2011-06-23 07:18:49 +01:00
Sam Hemelryk
46d3b9be73
Merged branch 's7_MDL-26105_block_settings_master' git://github.com/andyjdavis/moodle.git with changes
2011-06-13 16:54:52 +08:00
Tim Hunt
55190d7e2c
MDL-20538 get rid of badly name-spaced constants from lib/questionlib.php.
...
Unfortunately, they are used all over the import/export code, so I cannot eliminate them completely. However, I was able to move them out of the core library.
2011-06-09 19:27:36 +01:00
Dongsheng Cai
b1627a92e5
MDL-26105 Block settings should contains less options, and be more user friendly
...
AMOS BEGIN
MOV [page-blog-index, pagetype], [page-blog-index, blog]
MOV [page-blog-x, pagetype], [page-blog-x, blog]
MOV [page-tag-x, pagetype], [page-tag-x, tag]
MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Tim Hunt
af2f98ee39
MDL-27747 Imporove API for getting the standard fraction choices.
...
This includes moving the None option to the top, which is slightly better for usability.
2011-06-07 13:53:29 +01:00
Tim Hunt
612106b3a4
MDL-20636 fix URL handling for previews to always use Moodle URL.
...
Also, make the preview window big enough. #367
2011-05-27 11:49:23 +01:00
Tim Hunt
c014b989ba
MDL-27649 Convert the calculated question types to use the new variants mechanism.
2011-05-26 21:53:47 +01:00
Tim Hunt
afe24f850b
MDL-20636 Rename questiontype.php to questiontypebase.php. Also some conde-checker issues.
2011-05-17 16:46:57 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
aac80ff319
MDL-20636 fix most of the remaining codechecker issues in mod/quiz and lib/questionlib.php.
2011-05-13 00:33:44 +01:00
Colin Chambers
7ee214ff89
MDL-20636 lib/Questionlib fixed calls to question_delete_question() #381
2011-04-08 16:21:47 +01:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
d649fb0221
MDL-20636 Remove all references to global $QTYPES.
...
Except in the question types that have not yet been converted to the new question engine.
2011-02-24 15:29:07 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
f7c1dfaf79
MDL-20636 Finish off converting question import.
2011-02-21 17:29:18 +00:00
Tim Hunt
a8a8ec51fc
MDL-20636 Fix bug with starting an attempt. Now uses exceptions, so should not check return values.
2011-02-12 00:40:43 +00:00
Tim Hunt
f9b0500f7f
MDL-20636 Quiz editing now works, as does the random question type.
...
However, all this needs more testing.
Also, a bit of a purge of training whitespace and global .
2011-02-10 20:50:18 +00:00
Tim Hunt
56e82d993d
MDL-20636 Images in questions now work in quiz attempts.
2011-02-09 20:33:51 +00:00
Tim Hunt
3708abd0f2
javascript MDL-26098 make the review this question in a previous state popup work.
2011-01-29 13:59:51 +00:00
Tim Hunt
7a7197482d
MDL-20636 Fix if the use of the File API so images work in questions.
2011-01-13 18:35:57 +00:00
Tim Hunt
c76145d3e4
MDL-20636 Previewing a truefalse question in deferred feedback mode now works.
2011-01-13 18:35:43 +00:00
Tim Hunt
2b7da64586
MDL-20636 It is now possible to save a truefalse question you have created.
...
This includes all the necessary DB upgrades.
Also all unit tests in question/type/simpletest and question/type/truefalse now pass.
2011-01-13 18:35:41 +00:00
Tim Hunt
f29aeb5afd
MDL-20636 converstion of questionlib.php and base questiontype.php, plus other cheanges required to get the question editing page to display.
2011-01-13 18:35:37 +00:00
Tim Hunt
b80d424c50
question export MDL-25324 Better file names for question exports.
2010-11-19 11:02:28 +00:00
Tim Hunt
9203b70576
question deletion MDL-25173 when a question is deleted, all the associated files must be deleted.
2010-11-12 11:29:53 +00:00
Tim Hunt
5d548d3e0a
question bank MDL-24995 clean up a lot of deprecated code to do with moving questions around.
...
This should also fix MDL-25172, MDL-23021 and MDL-23073. In other words, moving questions between categories should now work.
2010-11-11 21:54:22 +00:00
Tim Hunt
a9efae50e3
question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
...
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.
Also, not all the calls to format_text had been updated to use the values in the new format columns.
I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +00:00
Tim Hunt
855f9c3930
question bank MDL-24312 problem when deleting a course with orphaned categories.
...
When there was a question category whose parent had somehow been deleted from the question bank, while the child category was still there, then that gave an error because a DB query was still referring to the question_categories.courese coloumn, that was changed to contextid in moodle 1.9.
Fix thanks to Mahmoud Kassaei.
2010-11-08 15:55:45 +00:00