Dan Poltawski
2aa58eb6ce
Merge branch 'MDL-31814_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE
2012-05-17 14:11:32 +08:00
Jonathon Fowler
790f68fd92
MDL-32863 question: fix for Oracle ambiguous column error
2012-05-14 12:53:29 +10:00
Tim Hunt
c3574e4f10
MDL-31814 question bank: fix possible error with sort columns.
2012-05-04 17:30:21 +01:00
Eloy Lafuente (stronk7)
80a9e2aab9
Merge branch 'MDL-32240_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE
2012-04-04 00:12:02 +02:00
Sam Hemelryk
6931d54085
Merge branch 'MDL-32239_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE
2012-04-02 14:31:01 +12:00
Tim Hunt
016660ca42
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 15:02:26 +01:00
Tim Hunt
0f83dd10a1
MDL-32239 question bank: wrong cap checks editing/viewing quesitions
...
None of these problems affect the default roles. They only occur when
the permissions have been edited to allow restricted subsets of the
question capabilities.
In some cases, things that the restriced subset of capabilities should
have allowed were blocked by errors. In other cases, users were allowed
to do more than they should bave been due to failures to check the
right capabilities in the right places.
For full details, see the bug report.
Two of the bugs were previously reported separately as MDL-26395 and
MDL-27232.
2012-03-29 15:02:22 +01:00
Tim Hunt
1fdd74081c
MDL-32246 question export: should cope with unrecognised qtypes.
...
If a question is of an unrecognised type, then we just omit it from the export.
2012-03-29 14:08:52 +01:00
M Kassaei
8fafe29890
MDL-32053 question: Question bank table displayed inconsistently
2012-03-20 11:01:27 +13:00
Jonathon Fowler
ee2e29d19e
MDL-31130 question bank: toggling show all / 20 per page broken.
2012-01-12 12:47:02 +00:00
Tim Hunt
ce84960237
MDL-30646 default qbank sort should only use visible columns.
2011-12-15 18:41:18 +00:00
Tim Hunt
766787bef8
MDL-30592 question_bank: make files in qtext work in the question list.
2011-12-09 19:24:24 +00:00
Tim Hunt
d88a8d9a60
MDL-30558 question bank, missing string with obscure permissions.
...
AMOS BEGIN
MOV [selectcategoryabove,mod_quiz],[selectcategoryabove,question]
AMOS END
2011-12-02 14:53:15 +00:00
Tim Hunt
195a8b7840
MDL-30069 Question type icons missing in lots of places.
2011-11-15 11:00:26 +00:00
Tim Hunt
362d5c1ed1
MDL-29141 question bank show question text checkbox does not match state.
2011-08-26 17:01:52 +01:00
Eloy Lafuente (stronk7)
9271414522
Merge branch 'MDL-27631_21' of git://github.com/mkassaei/moodle into MOODLE_21_STABLE
2011-08-10 03:06:52 +02:00
M Kassaei
6f90ec4703
MDL-27631 question bank Show question text in the question list when top level category is used
2011-08-05 15:00:29 +01:00
Tim Hunt
3e1d47f2cc
MDL-28604 Question bank display forgets sort order
2011-08-04 13:55:38 +01:00
Tim Hunt
26a4f319a8
MDL-28437 Question bank pages should all use General type: admin.
2011-07-25 08:52:22 +01: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
Tim Hunt
f19ed874ee
MDL-26199 further changes needed to make the question bank navigation behave.
2011-06-23 07:18:49 +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
e0736817f0
MDL-20636 fix some more coding style issues in the question code.
2011-05-20 18:50:41 +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
Tim Hunt
a2ac234956
MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
...
Conflicts:
lib/filestorage/file_storage.php
mod/quiz/attemptlib.php
mod/quiz/lib.php
mod/quiz/mod_form.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
mod/quiz/report/responses/responses_table.php
mod/quiz/report/statistics/db/install.xml
mod/quiz/report/statistics/qstats.php
mod/quiz/report/statistics/report.php
mod/quiz/report/statistics/statistics_question_table.php
mod/quiz/report/statistics/statistics_table.php
mod/quiz/report/statistics/version.php
mod/quiz/review.php
mod/quiz/reviewquestion.php
mod/quiz/startattempt.php
mod/quiz/styles.css
mod/quiz/view.php
question/type/essay/questiontype.php
question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
question/type/numerical/display.html
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Petr Skoda
cf717dc26b
MDL-27148 use new get_in_or_equal() param prefix instead of start
2011-04-14 15:15:01 +02:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00:00
Tim Hunt
22cebed503
MDL-20636 Review and fix the format parameter to all calls to format_text.
2011-02-24 20:18:16 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
5e8a85aa64
MDL-20636 Massively reduce the number of references to quiz in the question code.
...
This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
2011-02-23 18:53:50 +00:00
Tim Hunt
f7970e3ca7
MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool.
2011-02-23 16:25:25 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +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
a13d4fbd20
MDL-20636 Fix lots of minor quiz editing glitches.
2011-02-11 17:36:30 +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
d1b7e03d5d
MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0
2011-01-13 18:35:29 +00:00
Tim Hunt
fe857668d4
NOBUG whitespace fixes.
2010-11-19 12:13:59 +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
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Tim Hunt
fb6dcdab11
quiz & qbank MDL-24453 fix all the ways you can edit a question, so that that returnurl paramterer acutally works.
...
I hope. Please test thoroughly.
2010-10-18 15:28:59 +00:00
Petr Skoda
042a84038c
fixed missing globals
2010-09-18 11:45:59 +00:00
Petr Skoda
adb5ad7c93
MDL-24139 fixed regression in prev commit, thanks Eloy
2010-09-09 06:53:01 +00:00
Petr Skoda
f685e83030
MDL-14679 fixed remaining old style set_field()s
2010-09-03 18:14:55 +00:00
Tim Hunt
fa16dd3d67
quiz editing MDL-23764 changing category sends you to the question bank page.
2010-08-11 18:41:53 +00:00
Dongsheng Cai
fe6ce23489
MDL-16094 File storage conversion Quiz and Questions
2010-08-10 09:56:48 +00:00
Tim Hunt
e044ebb46e
question navigation MDL-20276 make sure the current node is hilighted.
2010-08-06 15:46:19 +00:00
Tim Hunt
90c7912e93
quiz editing MDL-22371 with JS off, clicking add question, then cancel, did not work.
...
Also, other simpilar issues with other buttons.
And, finally fix the absolute URLs being passed as returnurl. Apache mod_security did not like that.
2010-08-04 19:44:59 +00:00
David Mudrak
5fcefc9728
MDL-21695 question: replaced help files with new help strings
...
AMOS BEGIN
HLP question/categoryparent.html,[parentcategory_help,core_question]
HLP question/categories.html,[editcategories_help,core_question]
HLP quiz/export.html,[exportquestions_help,core_question]
HLP quiz/exportcategory.html,[exportcategory_help,core_question]
HLP quiz/exportcategory.html,[exportcategory_help,core_question]
HLP quiz/importcategory.html,[importcategory_help,core_question]
HLP quiz/matchgrades.html,[matchgrades_help,core_question]
HLP quiz/quiz/stoponerror.html,[stoponerror_help,core_question]
HLP qtype_multichoice/multichoiceshuffle.html,[shuffleanswers_help,qtype_multichoice]
HLP quiz/matchshuffle.html,[shuffle_help,qtype_match]
HLP quiz/generalfeedback.html,[generalfeedback_help,mod_quiz]
AMOS END
2010-08-02 21:24:32 +00:00