[moodle] / moodle / question / category_class.php Repository:

Log of /moodle/question/category_class.php

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.32.2.10 - (view) (download) (annotate) - [select for diffs]
Fri Nov 20 01:46:17 2009 WST (40 hours, 31 minutes ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_19_MERGED, MOODLE_19_WEEKLY
Changes since 1.32.2.9: +3 -3 lines
Diff to previous 1.32.2.9 , to branch point 1.32 , to next main 1.64
question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category.

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Fri Nov 20 01:46:15 2009 WST (40 hours, 31 minutes ago) by tjhunt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category.

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 19:57:53 2009 WST (2 weeks, 2 days ago) by skodak
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Wed Oct 21 12:23:36 2009 WST (4 weeks, 3 days ago) by samhemelryk
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
output MDL-19799 Fixed up some set_url calls as well as fixing some regressions caused by recent upgrades

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Fri Sep 25 12:16:27 2009 WST (8 weeks, 1 day ago) by samhemelryk
Branch: MAIN
Changes since 1.60: +8 -2 lines
Diff to previous 1.60
question MDL-19820 Replaced deprecated functions

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Mon Aug 10 13:01:23 2009 WST (3 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.59: +5 -4 lines
Diff to previous 1.59
MDL-19820 Converted print_box* to $OUTPUT->box*

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 16:26:06 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.58: +3 -2 lines
Diff to previous 1.58
MDL-19820 Migrated calls to print_heading

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 17:30:11 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57
MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect($url->out())!!! Bad Tim! :p

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Wed Jul 22 15:05:57 2009 WST (4 months ago) by tjhunt
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
Remove deprecated function call.

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 20:35:13 2009 WST (4 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.55: +3 -6 lines
Diff to previous 1.55
MDL-19690 fix some breakage.

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.53 - (view) (download) (annotate) - [select for diffs]
Sun Jun 14 01:17:10 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.52: +7 -14 lines
Diff to previous 1.52
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Mar 5 13:19:33 2009 WST (8 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51
Question categories. Move code to a more appropriate place.

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Tue Feb 24 14:16:23 2009 WST (8 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.50: +8 -4 lines
Diff to previous 1.50
quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not.

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Thu Nov 27 20:50:29 2008 WST (11 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.49: +3 -8 lines
Diff to previous 1.49
question bank: MDL-14434 Cannot edit the only question category in a context.

Revision 1.32.2.9 - (view) (download) (annotate) - [select for diffs]
Thu Nov 27 20:50:20 2008 WST (11 months, 3 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_194, MOODLE_195, MOODLE_196
Changes since 1.32.2.8: +35 -31 lines
Diff to previous 1.32.2.8 , to branch point 1.32
question bank: MDL-14434 Cannot edit the only question category in a context.

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Thu Nov 27 16:30:17 2008 WST (11 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.48: +4 -6 lines
Diff to previous 1.48
question bank: MDL-17078 Error after deleting a question category.

Revision 1.32.2.8 - (view) (download) (annotate) - [select for diffs]
Thu Nov 27 16:30:11 2008 WST (11 months, 3 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.32.2.7: +3 -6 lines
Diff to previous 1.32.2.7 , to branch point 1.32
question bank: MDL-17078 Error after deleting a question category.

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.47 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 01:32:36 2008 WST (11 months, 4 weeks ago) by pilpi
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46
quiz editing: MDL-17293 changed how the page number to add on is passed to the form for creating a random question

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.43 - (view) (download) (annotate) - [select for diffs]
Fri Sep 5 11:38:42 2008 WST (14 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
MDL-12814 typo in CSS class name.

Revision 1.32.2.7 - (view) (download) (annotate) - [select for diffs]
Fri Sep 5 11:38:17 2008 WST (14 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_193
Changes since 1.32.2.6: +2 -2 lines
Diff to previous 1.32.2.6 , to branch point 1.32
MDL-12814 typo in CSS class name.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue Jun 10 00:53:38 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
MDL-15189 magic quotes finally removed

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Jun 6 22:43:15 2008 WST (17 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.40: +62 -51 lines
Diff to previous 1.40
MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Jun 1 23:52:13 2008 WST (17 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.39: +3 -2 lines
Diff to previous 1.39
MDL-14679 removed all instances of get_records_select_menu()

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed May 21 14:04:30 2008 WST (18 months ago) by dongsheng
Branch: MAIN
Changes since 1.38: +9 -9 lines
Diff to previous 1.38
"MDL-14129, fix print_error"

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.6 - (view) (download) (annotate) - [select for diffs]
Wed May 21 01:09:37 2008 WST (18 months ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_192
Changes since 1.32.2.5: +3 -3 lines
Diff to previous 1.32.2.5 , to branch point 1.32
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.37 - (view) (download) (annotate) - [select for diffs]
Mon May 12 23:59:05 2008 WST (18 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
MDL-10899 - followup - need to move random questions too.

Revision 1.32.2.5 - (view) (download) (annotate) - [select for diffs]
Mon May 12 23:59:03 2008 WST (18 months, 1 week ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_191
Changes since 1.32.2.4: +2 -2 lines
Diff to previous 1.32.2.4 , to branch point 1.32
MDL-10899 - followup - need to move random questions too.

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.35 - (view) (download) (annotate) - [select for diffs]
Fri Apr 4 10:54:51 2008 WST (19 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.34: +10 -10 lines
Diff to previous 1.34
MDL-14129, remove all the other error() call

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 15:17:17 2008 WST (19 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33
MDL-14128, remove all error(getstring()) to print_error()

Revision 1.32.2.3 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 14:10:05 2008 WST (19 months, 2 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.32.2.2: +3 -3 lines
Diff to previous 1.32.2.2 , to branch point 1.32
MDL-14128, remove all uses of error(get_string())

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri Nov 30 20:00:48 2007 WST (23 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.32: +4 -7 lines
Diff to previous 1.32
MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE.

Revision 1.32.2.2 - (view) (download) (annotate) - [select for diffs]
Fri Nov 30 20:00:07 2007 WST (23 months, 3 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_19
Changes since 1.32.2.1: +4 -7 lines
Diff to previous 1.32.2.1 , to branch point 1.32
MDL-12393 - Layout tweaks on question category editing page.

Revision 1.32.2.1 - (view) (download) (annotate) - [select for diffs]
Sat Nov 3 01:20:11 2007 WST (2 years ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Minor whitespace fixups.

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.31 - (view) (download) (annotate) - [select for diffs]
Mon Sep 3 13:30:38 2007 WST (2 years, 2 months ago) by jamiesensei
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
MDL-10952 update help files for new question code

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Aug 15 19:04:35 2007 WST (2 years, 3 months ago) by jamiesensei
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
Fix for MDL-10847  No categories showing in category tab when editing a quiz / questions on PHP 4

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sat Aug 11 22:28:36 2007 WST (2 years, 3 months ago) by moodler
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
Removed usage of table aliases with "as" as per MDL-10808

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Aug 10 05:51:10 2007 WST (2 years, 3 months ago) by jamiesensei
Branch: MAIN
Changes since 1.27: +217 -319 lines
Diff to previous 1.27
merging MOODLE_19_QUESTIONS with HEAD

Revision 1.25.2.11 - (view) (download) (annotate) - [select for diffs]
Wed Aug 8 19:59:42 2007 WST (2 years, 3 months ago) by tjhunt
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.10: +2 -18 lines
Diff to previous 1.25.2.10 , to branch point 1.25 , to next main 1.64
Fix query that does not work on Postgres, and eliminate duplicated code.

Revision 1.25.2.10 - (view) (download) (annotate) - [select for diffs]
Tue Jul 31 21:08:07 2007 WST (2 years, 3 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.9: +3 -4 lines
Diff to previous 1.25.2.9 , to branch point 1.25
further work on the MOODLE_19_QUESTIONS branch - backup and restore and file moving fixes.

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.27 - (view) (download) (annotate) - [select for diffs]
Tue Jul 31 06:14:32 2007 WST (2 years, 3 months ago) by tjhunt
Branch: MAIN
Changes since 1.26: +9 -19 lines
Diff to previous 1.26
MDL-10661 - another bloody invisiblefieldset bug. Merged from MOODLE_18_STABLE.

Revision 1.14.2.4 - (view) (download) (annotate) - [select for diffs]
Tue Jul 31 06:14:16 2007 WST (2 years, 3 months ago) by tjhunt
Branch: MOODLE_18_STABLE
Changes since 1.14.2.3: +13 -21 lines
Diff to previous 1.14.2.3 , to branch point 1.14
MDL-10661 - another bloody invisiblefieldset bug.

Revision 1.25.2.9 - (view) (download) (annotate) - [select for diffs]
Tue Jul 17 18:49:25 2007 WST (2 years, 4 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.8: +4 -2 lines
Diff to previous 1.25.2.8 , to branch point 1.25
Checking for linked files implemented and further changes to question code in MOODLE_19_QUESTIONS branch.

Revision 1.25.2.8 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 19:18:51 2007 WST (2 years, 4 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.7: +95 -67 lines
Diff to previous 1.25.2.7 , to branch point 1.25
MDL-9868 Add code to cope with detecting and moving associated files

Revision 1.25.2.7 - (view) (download) (annotate) - [select for diffs]
Mon May 28 19:11:57 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.6: +11 -5 lines
Diff to previous 1.25.2.6 , to branch point 1.25
MDL-9884 Prevent moving of a category if it is the only category in a context.

Revision 1.25.2.6 - (view) (download) (annotate) - [select for diffs]
Sun May 27 13:58:30 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.5: +16 -21 lines
Diff to previous 1.25.2.5 , to branch point 1.25
MDL-9885 'Use Permissions from Roles and Permissions System' almost done. Need to allow "Save as New Question" for those who have view permission on a question and add permission in at least one context.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri May 25 12:59:18 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25
fix for category.php lists. Slight change in listlib api caused breakage.

Revision 1.25.2.5 - (view) (download) (annotate) - [select for diffs]
Tue May 22 00:19:22 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.4: +38 -73 lines
Diff to previous 1.25.2.4 , to branch point 1.25
fixing logic for deleting categories. Converted confirmation form to formslib.

Revision 1.25.2.4 - (view) (download) (annotate) - [select for diffs]
Mon May 21 17:34:50 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.3: +2 -2 lines
Diff to previous 1.25.2.3 , to branch point 1.25
minor typo

Revision 1.25.2.3 - (view) (download) (annotate) - [select for diffs]
Mon May 21 17:26:17 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.2: +39 -38 lines
Diff to previous 1.25.2.2 , to branch point 1.25
new sql to fetch question counts for categories all in one sql query. Question count now included in drop down box.

Revision 1.25.2.2 - (view) (download) (annotate) - [select for diffs]
Mon May 21 00:17:51 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MOODLE_19_QUESTIONS
Changes since 1.25.2.1: +135 -252 lines
Diff to previous 1.25.2.1 , to branch point 1.25
UI for editing questions changed to support sharing questions in multiple contexts. Also changed import / export and category editing form to use formslib.

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.21 - (view) (download) (annotate) - [select for diffs]
Fri Apr 27 13:48:12 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
forget to pass page parameter during redirects.

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.6.6.1 - (view) (download) (annotate) - [select for diffs]
Sun Mar 25 22:49:55 2007 WST (2 years, 7 months ago) by moodler
Branch: MOODLE_16_STABLE
CVS Tags: MOODLE_165, MOODLE_166, MOODLE_167, MOODLE_168, MOODLE_169, MOODLE_16_WEEKLY
Changes since 1.6: +164 -165 lines
Diff to previous 1.6 , to next main 1.64
Restoring changes all the changes in MOODLE_16_STABLE since MOODLE_16_BETA.

This had to be done because the MOODLE_16_STABLE branch tags were moved.

Hopefully after this MOODLE_16_STABLE will be back to how it was (and a
proper branch) but some of the history may look a bit odd.

See MDL-9032 for more discussion and details.

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.3 - (view) (download) (annotate) - [select for diffs]
Wed Mar 21 19:40:35 2007 WST (2 years, 8 months ago) by tjhunt
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_18, MOODLE_181, MOODLE_182
Changes since 1.14.2.2: +3 -3 lines
Diff to previous 1.14.2.2 , to branch point 1.14
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.

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Mar 20 02:22:46 2007 WST (2 years, 8 months ago) by tjhunt
Branch: MAIN
Changes since 1.16: +8 -6 lines
Diff to previous 1.16
Give the question bank code sensible PHPdocumentor package names.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 11:16:27 2007 WST (2 years, 8 months ago) by toyomoyo
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15
replacing fieldsets with divs in small forms

Revision 1.14.2.2 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 11:16:17 2007 WST (2 years, 8 months ago) by toyomoyo
Branch: MOODLE_18_STABLE
Changes since 1.14.2.1: +4 -4 lines
Diff to previous 1.14.2.1 , to branch point 1.14
replacing fieldsets with divs in small forms

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed Feb 28 15:25:40 2007 WST (2 years, 8 months ago) by moodler
Branch: MAIN
Changes since 1.14: +5 -5 lines
Diff to previous 1.14
Merged Nicolas' changes from MDL-8582 into HEAD.

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.14 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 18:07:16 2007 WST (2 years, 10 months ago) by vyshane
Branch: MAIN
CVS Tags: MOODLE_18_BETA
Branch point for: MOODLE_18_STABLE
Changes since 1.13: +13 -3 lines
Diff to previous 1.13
Xhtml fixes for MDL-7861.

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 18:14:15 2007 WST (2 years, 10 months ago) by skodak
Branch: MAIN
Changes since 1.12: +8 -8 lines
Diff to previous 1.12
MDL-7861 new class .icon and .iconsmall

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 16:58:22 2007 WST (2 years, 10 months ago) by vyshane
Branch: MAIN
Changes since 1.11: +8 -8 lines
Diff to previous 1.11
Xhtml fixes for MDL-7861.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 17:23:49 2007 WST (2 years, 10 months ago) by vyshane
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10
xhtml fixes for MDL-7861.

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 10:14:57 2006 WST (2 years, 11 months ago) by toyomoyo
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE_MERGE
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
fix for MDL-7861, strict xhtml

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Oct 18 05:45:19 2006 WST (3 years, 1 month ago) by tjhunt
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE
Branch point for: MOODLE_18_GROUPS
Changes since 1.8: +161 -162 lines
Diff to previous 1.8
MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE.

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.6.2.2 - (view) (download) (annotate) - [select for diffs]
Wed Oct 18 05:38:51 2006 WST (3 years, 1 month ago) by tjhunt
CVS Tags: MOODLE_164, MOODLE_16_MERGED
Changes since 1.6.2.1: +161 -162 lines
Diff to previous 1.6.2.1 , to branch point 1.6 , to next main 1.64
MDL-7054 - Prevent creation of question categories with blank names.

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Aug 19 05:23:15 2006 WST (3 years, 3 months ago) by tjhunt
Branch: MAIN
CVS Tags: MOODLE_17_BETA, MOODLE_17_NEWGROUPS_PRE
Branch point for: MOODLE_17_NEWGROUPS, MOODLE_17_STABLE
Changes since 1.7: +5 -5 lines
Diff to previous 1.7
Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.

Revision 1.6.2.1 - (view) (download) (annotate) - [select for diffs]
Sat Aug 19 05:22:00 2006 WST (3 years, 3 months ago) by tjhunt
CVS Tags: MOODLE_162, MOODLE_163
Changes since 1.6: +5 -5 lines
Diff to previous 1.6
Fix some Eclipse code warnings.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Aug 11 02:23:09 2006 WST (3 years, 3 months ago) by tjhunt
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
Convert tabs to spaces.

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Mar 8 05:46:33 2006 WST (3 years, 8 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_16, MOODLE_161, MOODLE_16_BETA
Branch point for: MOODLE_16_STABLE, MOODLE_17_ROLES
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
short php tags once more

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Mar 1 15:36:08 2006 WST (3 years, 8 months ago) by gustav_delius
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4
Removing some more references to quiz from import/export code

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.2 - (view) (download) (annotate) - [select for diffs]
Fri Feb 24 18:35:26 2006 WST (3 years, 8 months ago) by gustav_delius
Branch: MAIN
Changes since 1.1: +4 -0 lines
Diff to previous 1.1
Updated question scripts to work in their new location

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7