Log of /moodle/question/category_class.php
Parent Directory
Revision
1.55 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 2 19:23:48 2009 WST (4 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.54: +1 -2 lines
Diff to
previous 1.54
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
Revision
1.54 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jun 29 16:17:31 2009 WST (4 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.53: +3 -2 lines
Diff to
previous 1.53
MDL-19077 - Finish eliminating customcorners-specific code in core.
The custom-corners-specific code now in theme/customcornser/renderers.php
and lib/deprecatedlib.php.
Also, $CFG->pixpath is now causing more problems than ever. If it is
giving your problems, please call $OUTPUT->initialise_deprecated_cfg_pixpath()
as a temporary fix. As you can imagine, we are thinking about a better
long-term fix, which is why that method as a silly, and easy to grep name.
Revision
1.48 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 23 02:30:12 2008 WST (11 months, 4 weeks ago) by
pilpi
Branch:
MAIN
Changes since
1.47: +2 -2 lines
Diff to
previous 1.47
quiz editing: MDL-17293 Added a default value to avoid error messages
Added a default value to the function that passes a page number to avoid error messages.
Revision
1.46 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 23 00:52:17 2008 WST (11 months, 4 weeks ago) by
pilpi
Branch:
MAIN
Changes since
1.45: +1 -3 lines
Diff to
previous 1.45
quiz editing: MDL-17293 removed two lines of code that did nothing good but some bad, showing an extra form where it should have not been.
Revision
1.45 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 20 15:59:11 2008 WST (12 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.44: +34 -4 lines
Diff to
previous 1.44
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.
Revision
1.44 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Oct 23 17:23:52 2008 WST (12 months, 4 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.43: +43 -38 lines
Diff to
previous 1.43
question bank category editing: To be honest, I can't rememeber exactly what bug this fixes, but it was a problem I found and fixed while preparing to demo stuff at the Brisbane Moodle Moot. In the process of fixing whatever issue it was (I think it was something to do with the permissions checks in some cases) I cleaned to code up and made it easier to understand, and I trust myself, so I am checking this in.
Revision
1.38 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 21 01:09:40 2008 WST (18 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.37: +3 -3 lines
Diff to
previous 1.37
MDL-14928 - Adding random questions from a category with an apostrophe in the name does not work. Stupid bloody addslashes. Roll on dmllib 2.0.
Revision
1.32.2.4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri May 9 23:05:39 2008 WST (18 months, 1 week ago) by
tjhunt
Branch:
MOODLE_19_STABLE
Changes since
1.32.2.3: +4 -3 lines
Diff to
previous 1.32.2.3
, to
branch point 1.32
MDL-10899 - There is some data associated with some questons that needs to be udpated when moving questions between categories. This commit deals with subquestions, and lays the foundation for fixing the other problem - datasets - which is files as bug 14767.
Revision
1.36 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri May 9 23:05:36 2008 WST (18 months, 1 week ago) by
tjhunt
Branch:
MAIN
Changes since
1.35: +4 -3 lines
Diff to
previous 1.35
MDL-10899 - There is some data associated with some questons that needs to be udpated when moving questions between categories. This commit deals with subquestions, and lays the foundation for fixing the other problem - datasets - which is files as bug 14767.
Revision
1.32 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 27 00:10:38 2007 WST (2 years, 1 month ago) by
tjhunt
Branch:
MAIN
CVS Tags:
MOODLE_19_BETA
Branch point for:
MOODLE_19_STABLE
Changes since
1.31: +9 -1 lines
Diff to
previous 1.31
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.
Revision
1.14.2.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 31 17:38:52 2007 WST (2 years, 3 months ago) by
tjhunt
Branch:
MOODLE_18_STABLE
CVS Tags:
MOODLE_1810,
MOODLE_183,
MOODLE_184,
MOODLE_185,
MOODLE_186,
MOODLE_187,
MOODLE_188,
MOODLE_189,
MOODLE_18_MERGED,
MOODLE_18_WEEKLY
Changes since
1.14.2.4: +3 -3 lines
Diff to
previous 1.14.2.4
, to
branch point 1.14
, to
next main 1.64
MDL-10663 - fix stupid typo on the stable branch. Somebody shoot me!
Revision
1.25.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 12 06:26:29 2007 WST (2 years, 6 months ago) by
jamiesensei
Branch:
MOODLE_19_QUESTIONS
Changes since
1.25: +64 -40 lines
Diff to
previous 1.25
started work on MOODLE_19_QUESTIONS branch. Have coded display of question categories page with categories shared in different category levels. Changes made to the db to remove publish and course fields and replace them with contextid field in category table.
Revision
1.25 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 7 13:57:49 2007 WST (2 years, 6 months ago) by
jamiesensei
Branch:
MAIN
Branch point for:
MOODLE_19_QUESTIONS
Changes since
1.24: +2 -2 lines
Diff to
previous 1.24
oops. Accidentally committed a change in default no of category items displayed which I'd changed for debug purposes. Reverting change.
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 7 13:53:21 2007 WST (2 years, 6 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.23: +3 -3 lines
Diff to
previous 1.23
pass the category list page param from page to page in question bank editing pages.
Revision
1.23 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 3 12:48:35 2007 WST (2 years, 6 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.22: +28 -80 lines
Diff to
previous 1.22
MDL-9688 removed saving of quiz object in session in question bank code. 'This patch replaces the saving of the quiz object in session variable modform. cmid is passed between pages instead which is also module independent. Also some other improvements to question code to make it work with other modules besides quiz.'
Revision
1.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 30 14:48:58 2007 WST (2 years, 6 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.21: +3 -3 lines
Diff to
previous 1.21
standardizing params for edit question page. All pages now use courseid instead of course or id.
Revision
1.20 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 25 22:06:37 2007 WST (2 years, 6 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.19: +59 -72 lines
Diff to
previous 1.19
Added redirects after all actions.
Added methods to category class to generate a url from an array of parameters stored in the object.
Cleaned up some old redundant code for actions now processed in list class.
Revision
1.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 19 16:57:55 2007 WST (2 years, 7 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.18: +133 -275 lines
Diff to
previous 1.18
MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists.
Revision
1.18 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 21 19:41:28 2007 WST (2 years, 8 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.17: +2 -2 lines
Diff to
previous 1.17
MDL-8946 - Fix a regression that broke question export.
Also, partially clean up the way that question bank navigation tabs are printed, so the code is not duplicated in the quiz.
Some other miscellaneous code cleaning too.
Merged from MOODLE_18_STABLE.
Revision
1.14.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 28 14:36:19 2007 WST (2 years, 8 months ago) by
nicolasconnault
Branch:
MOODLE_18_STABLE
Changes since
1.14: +5 -5 lines
Diff to
previous 1.14
Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.
Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
Revision
1.8.4.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Oct 18 05:42:50 2006 WST (3 years, 1 month ago) by
tjhunt
Branch:
MOODLE_17_STABLE
CVS Tags:
MOODLE_17,
MOODLE_171,
MOODLE_172,
MOODLE_173,
MOODLE_174,
MOODLE_175,
MOODLE_176,
MOODLE_177,
MOODLE_17_BETA2,
MOODLE_17_MERGED,
MOODLE_17_WEEKLY
Changes since
1.8: +161 -162 lines
Diff to
previous 1.8
, to
next main 1.64
MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE.
Revision
1.4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 1 15:02:59 2006 WST (3 years, 8 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.3: +27 -27 lines
Diff to
previous 1.3
Some little fixes and more renaming to cleanly separate question code from quiz code
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories
Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
Revision
1.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 28 17:25:59 2006 WST (3 years, 8 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.2: +6 -6 lines
Diff to
previous 1.2
Towards removing reference to quiz module from the question code
Renaming tables:
quiz_questions -> question
quiz_states -> question_states
Renaming functions:
quiz_delete_question -> delete_question
quiz_get_question_options -> get_question_options
quiz_get_states -> get_question_states
quiz_restore_state -> restore_question_state
quiz_save_question_session -> save_question_session
quiz_state_is_graded -> question_state_is_graded
quiz_extract_responses -> question_extract_responses
quiz_regrade_question_in_attempt -> regrade_question_in_attempt
quiz_process_responses -> question_process_responses
quiz_isgradingevent -> question_isgradingevent($event)
quiz_search_for_duplicate_responses -> question_search_for_duplicate_responses
quiz_apply_penalty_and_timelimit -> question_apply_penalty_and_timelimit
quiz_print_question_icon -> print_question_icon
quiz_get_image -> get_question_image
quiz_make_name_prefix -> question_make_name_prefix
quiz_get_id_from_name_prefix -> question_get_id_from_name_prefix
quiz_new_attempt_uniqueid -> question_new_attempt_uniqueid
quiz_get_renderoptions -> question_get_renderoptions
quiz_print_quiz_question -> print_question
quiz_get_question_responses -> get_question_responses
quiz_get_question_actual_response -> get_question_actual_response
quiz_get_question_fraction_grade -> get_question_fraction_grade
quiz_get_default_category -> get_default_question_category
Renaming constants:
QUIZ_EVENT.... -> QUESTION_EVENT....
QUIZ_MAX_NUMBER_ANSWERS -> QUESTION_NUMANS
Revision
1.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Feb 24 18:20:42 2006 WST (3 years, 8 months ago) by
gustav_delius
Branch:
MAIN
Moving quiz-independent question scripts to their new location. In a following commit these files will be updated to actually work in their new location.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.