]> git.mjollnir.org Git - moodle.git/log
moodle.git
19 years agoFixed group switch icon cannot set a module to use no groups
patrickslee [Thu, 23 Mar 2006 22:56:11 +0000 (22:56 +0000)]
Fixed group switch icon cannot set a module to use no groups

19 years agoRemoving questiontype settings from quiz settings page
gustav_delius [Thu, 23 Mar 2006 19:56:42 +0000 (19:56 +0000)]
Removing questiontype settings from quiz settings page

19 years agoTaking out help button from the grade option, there is really no help required.
gustav_delius [Thu, 23 Mar 2006 19:51:58 +0000 (19:51 +0000)]
Taking out help button from the grade option, there is really no help required.

19 years agoTimer now uses the client's clock. Patch contributed by Phillip Franks, see bug 4967
gustav_delius [Thu, 23 Mar 2006 19:32:24 +0000 (19:32 +0000)]
Timer now uses the client's clock. Patch contributed by Phillip Franks, see bug 4967

19 years agoTwo new $CFG runtime variables created $CFG->ostype (WINDOWS, UNIX) and
stronk7 [Thu, 23 Mar 2006 17:54:33 +0000 (17:54 +0000)]
Two new $CFG runtime variables created $CFG->ostype (WINDOWS, UNIX) and
$CFG->os (= PHP_OS) to handle it centrally. Also, although not critical,
it should be recommended to replace all the current uses of PHP_OS to the
new variables. See bug 4968.
(http://moodle.org/bugs/bug.php?op=show&bugid=4968)

19 years agoAutomatic installer.php by installer_builder (20060323)
stronk7 [Thu, 23 Mar 2006 16:52:20 +0000 (16:52 +0000)]
Automatic installer.php by installer_builder (20060323)

19 years agoAutomatic installer.php by installer_builder (20060323)
stronk7 [Thu, 23 Mar 2006 16:35:18 +0000 (16:35 +0000)]
Automatic installer.php by installer_builder (20060323)

19 years agoTable type fix. ENGINE changed to TYPE. Old mysql version issue.
ethem [Thu, 23 Mar 2006 14:26:18 +0000 (14:26 +0000)]
Table type fix. ENGINE changed to TYPE. Old mysql version issue.

19 years agoDo the module upgrades before the qtype upgrades
gustav_delius [Thu, 23 Mar 2006 13:05:40 +0000 (13:05 +0000)]
Do the module upgrades before the qtype upgrades

19 years agoAdded support for matching questions. Bug #3901
thepurpleblob [Thu, 23 Mar 2006 11:13:50 +0000 (11:13 +0000)]
Added support for matching questions. Bug #3901

19 years agoNot all questions have grades/fractions. Added check.
thepurpleblob [Thu, 23 Mar 2006 11:12:54 +0000 (11:12 +0000)]
Not all questions have grades/fractions. Added check.

19 years agoVarious tidy-ups
moodler [Thu, 23 Mar 2006 10:01:21 +0000 (10:01 +0000)]
Various tidy-ups

19 years agoBlock now configurable.
ikawhero [Thu, 23 Mar 2006 09:55:20 +0000 (09:55 +0000)]
Block now configurable.

19 years agoAdded some new strings for blog tags block
ikawhero [Thu, 23 Mar 2006 09:53:52 +0000 (09:53 +0000)]
Added some new strings for blog tags block

19 years agoFixed bug data_print_template() from /mod/data/lib.php. Extra function
vyshane [Thu, 23 Mar 2006 08:34:22 +0000 (08:34 +0000)]
Fixed bug data_print_template() from /mod/data/lib.php. Extra function
argument removed.

19 years agoTidied up the class size assignments
ikawhero [Thu, 23 Mar 2006 07:48:49 +0000 (07:48 +0000)]
Tidied up the class size assignments

19 years agoRenamed $rid to $recordid in function call $field->update_content($rid,
vyshane [Thu, 23 Mar 2006 07:20:16 +0000 (07:20 +0000)]
Renamed $rid to $recordid in function call $field->update_content($rid,
$value, $name); This fixes a bug that was causing the data_content to be
stored wrongly.

19 years agoFixed extra function argument in call for display_add_field() from add.php.
vyshane [Thu, 23 Mar 2006 06:20:48 +0000 (06:20 +0000)]
Fixed extra function argument in call for display_add_field() from add.php.

19 years agoremoved $content->content = $this->format_data_field_multimenu_content($value); bad...
moodler [Thu, 23 Mar 2006 05:41:48 +0000 (05:41 +0000)]
removed $content->content = $this->format_data_field_multimenu_content($value); bad cut and paste

19 years agoFixed some typos
moodler [Thu, 23 Mar 2006 05:38:53 +0000 (05:38 +0000)]
Fixed some typos

19 years agoFixed typo in function define_field()
vyshane [Thu, 23 Mar 2006 03:48:58 +0000 (03:48 +0000)]
Fixed typo in function define_field()

19 years agoFixed Fatal error: Call to undefined function get_course() in /data/www/html/server...
moodler [Thu, 23 Mar 2006 02:50:21 +0000 (02:50 +0000)]
Fixed Fatal error: Call to undefined function get_course() in /data/www/html/server/dev/mod/data/field/file/field.class.php on line 133

19 years agoFixed php notice for undeclared variable.
vyshane [Thu, 23 Mar 2006 02:34:37 +0000 (02:34 +0000)]
Fixed php notice for undeclared variable.

19 years agoAdded missing text
moodler [Thu, 23 Mar 2006 01:32:34 +0000 (01:32 +0000)]
Added missing text

19 years agoFixing missing , in prefix_blog_instance postgres creation
mjollnir_ [Thu, 23 Mar 2006 00:37:53 +0000 (00:37 +0000)]
Fixing missing , in prefix_blog_instance postgres creation

19 years agoPutting the "Save as new question" button back.
gustav_delius [Wed, 22 Mar 2006 22:37:27 +0000 (22:37 +0000)]
Putting the "Save as new question" button back.

19 years agoThe obsolete table quiz_attemptonlast_datasets should no longer get created
gustav_delius [Wed, 22 Mar 2006 22:04:31 +0000 (22:04 +0000)]
The obsolete table quiz_attemptonlast_datasets should no longer get created

19 years agoRemoved some more references to quiz from the questiontype code.
gustav_delius [Wed, 22 Mar 2006 21:51:33 +0000 (21:51 +0000)]
Removed some more references to quiz from the questiontype code.

19 years agoFixed the links to the question review script.
gustav_delius [Wed, 22 Mar 2006 21:30:00 +0000 (21:30 +0000)]
Fixed the links to the question review script.

19 years agoFixed link to example file.
thepurpleblob [Wed, 22 Mar 2006 19:14:36 +0000 (19:14 +0000)]
Fixed link to example file.

19 years agoChanged comment about encoding (must be utf-8)
thepurpleblob [Wed, 22 Mar 2006 18:58:36 +0000 (18:58 +0000)]
Changed comment about encoding (must be utf-8)

19 years agoadded rest of instructions for this option
thepurpleblob [Wed, 22 Mar 2006 18:43:44 +0000 (18:43 +0000)]
added rest of instructions for this option

19 years agoDeleting attempts properly now
gustav_delius [Wed, 22 Mar 2006 18:27:28 +0000 (18:27 +0000)]
Deleting attempts properly now

19 years agoAdded a new entry to this file for Essay question type. I followed the format of...
michaelpenne [Wed, 22 Mar 2006 18:06:00 +0000 (18:06 +0000)]
Added a new entry to this file for Essay question type.  I followed the format of the other question types listed in this file.

19 years agoHelp file for the Essay question type.
michaelpenne [Wed, 22 Mar 2006 18:03:42 +0000 (18:03 +0000)]
Help file for the Essay question type.

19 years agoAccessibility: fix bug 4963 in function, print_header. Added 'lang' attribute to...
nfreear [Wed, 22 Mar 2006 17:48:53 +0000 (17:48 +0000)]
Accessibility: fix bug 4963 in function, print_header. Added 'lang' attribute to $direction, used by standard and other themes.

19 years agoSome minor improvements in the handling of review options, the setting of timestamp...
gustav_delius [Wed, 22 Mar 2006 17:22:36 +0000 (17:22 +0000)]
Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation

19 years agoAccessibility: fixed bug 4012 x9, added Alt, filled empty Alt-link text.
nfreear [Wed, 22 Mar 2006 17:19:46 +0000 (17:19 +0000)]
Accessibility: fixed bug 4012 x9, added Alt, filled empty Alt-link text.

19 years agoFixed bug 4953
gustav_delius [Wed, 22 Mar 2006 17:18:55 +0000 (17:18 +0000)]
Fixed bug 4953

19 years agoAdded sorting - needs generalising.
ikawhero [Wed, 22 Mar 2006 16:48:35 +0000 (16:48 +0000)]
Added sorting - needs generalising.

19 years agoNew help popup for import option 'match grades'.
thepurpleblob [Wed, 22 Mar 2006 16:44:47 +0000 (16:44 +0000)]
New help popup for import option 'match grades'.
Needs some more info.

19 years agoGrades in imported questions must match grades option list.
thepurpleblob [Wed, 22 Mar 2006 16:30:14 +0000 (16:30 +0000)]
Grades in imported questions must match grades option list.
Added option to either generate error or match to nearest valid value if they don't

19 years agoAdded function for matching/checking question grades on quiz import.
thepurpleblob [Wed, 22 Mar 2006 16:27:46 +0000 (16:27 +0000)]
Added function for matching/checking question grades on quiz import.

19 years agoAdded new strings for question grade matching
thepurpleblob [Wed, 22 Mar 2006 16:27:04 +0000 (16:27 +0000)]
Added new strings for question grade matching

19 years agoFingers were on auto-pilot obviously! Thanks Mits!
moodler [Wed, 22 Mar 2006 15:54:54 +0000 (15:54 +0000)]
Fingers were on auto-pilot obviously!   Thanks Mits!

19 years agoRemoved some debugging
moodler [Wed, 22 Mar 2006 14:55:49 +0000 (14:55 +0000)]
Removed some debugging

19 years agoGrade option list generation now out to library
thepurpleblob [Wed, 22 Mar 2006 14:44:33 +0000 (14:44 +0000)]
Grade option list generation now out to library

19 years agoSplit out grade option list generation, so it can be used in import/export too.
thepurpleblob [Wed, 22 Mar 2006 14:43:55 +0000 (14:43 +0000)]
Split out grade option list generation, so it can be used in import/export too.

19 years agoVarious cleanups
moodler [Wed, 22 Mar 2006 14:31:32 +0000 (14:31 +0000)]
Various cleanups

19 years agoSome language modifications
moodler [Wed, 22 Mar 2006 14:31:06 +0000 (14:31 +0000)]
Some language modifications

19 years agoCleanup: don't use questiontype constants within questiontypes
gustav_delius [Wed, 22 Mar 2006 13:51:25 +0000 (13:51 +0000)]
Cleanup: don't use questiontype constants within questiontypes

19 years agoFixed up some styles and pagepath for field-editing pages
moodler [Wed, 22 Mar 2006 13:38:29 +0000 (13:38 +0000)]
Fixed up some styles and pagepath for field-editing pages

19 years agoDon't name script files after the plugin, makes it more difficult to base a new plugi...
gustav_delius [Wed, 22 Mar 2006 12:19:40 +0000 (12:19 +0000)]
Don't name script files after the plugin, makes it more difficult to base a new plugin on an old one.

19 years agoThese are no longer needed because the restore functions are part of the questiontype...
gustav_delius [Wed, 22 Mar 2006 11:56:04 +0000 (11:56 +0000)]
These are no longer needed because the restore functions are part of the questiontype classes now.

19 years agorqp questions set the type to rqp_nn where nn is the rqp_type id
gustav_delius [Wed, 22 Mar 2006 11:19:26 +0000 (11:19 +0000)]
rqp questions set the type to rqp_nn where nn is the rqp_type id

19 years agoQuestiontypes are doing their own database upgrade now.
gustav_delius [Wed, 22 Mar 2006 10:44:54 +0000 (10:44 +0000)]
Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin

19 years agoRecode qtypes during restore of old backups.
gustav_delius [Wed, 22 Mar 2006 10:32:29 +0000 (10:32 +0000)]
Recode qtypes during restore of old backups.

19 years agoBumped the backup version because I need this version in the question restore code.
gustav_delius [Wed, 22 Mar 2006 10:28:42 +0000 (10:28 +0000)]
Bumped the backup version because I need this version in the question restore code.

19 years agoSome styles for block blog tags
ikawhero [Wed, 22 Mar 2006 10:14:52 +0000 (10:14 +0000)]
Some styles for block blog tags

19 years agoAdded colours (correct Aust English spelling) for block blog tags
ikawhero [Wed, 22 Mar 2006 10:14:08 +0000 (10:14 +0000)]
Added colours (correct Aust English spelling) for block blog tags

19 years agoTweaky tweaky tweak
moodler [Wed, 22 Mar 2006 09:53:13 +0000 (09:53 +0000)]
Tweaky tweaky tweak

19 years agoCleanups
moodler [Wed, 22 Mar 2006 09:49:29 +0000 (09:49 +0000)]
Cleanups

19 years agoFixed up hardcoded tables with notice_yesno
moodler [Wed, 22 Mar 2006 09:43:10 +0000 (09:43 +0000)]
Fixed up hardcoded tables with notice_yesno

19 years agoCleaned up table of fields
moodler [Wed, 22 Mar 2006 09:33:29 +0000 (09:33 +0000)]
Cleaned up table of fields

19 years agoCorrected variable reference - was causing problems with SQL inserts/updates.
ikawhero [Wed, 22 Mar 2006 09:16:08 +0000 (09:16 +0000)]
Corrected variable reference - was causing problems with SQL inserts/updates.

19 years agoThe menu to add fields is now more accessible
moodler [Wed, 22 Mar 2006 09:14:44 +0000 (09:14 +0000)]
The menu to add fields is now more accessible

19 years agoFixing more typos
moodler [Wed, 22 Mar 2006 08:56:47 +0000 (08:56 +0000)]
Fixing more typos

19 years agoFixing silly stuff
moodler [Wed, 22 Mar 2006 08:44:26 +0000 (08:44 +0000)]
Fixing silly stuff

19 years agoIn preparation of the qtype plugin-mechanism give set version information for all...
gustav_delius [Wed, 22 Mar 2006 08:41:56 +0000 (08:41 +0000)]
In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables.

19 years agoInitialise variable usedtags.
ikawhero [Wed, 22 Mar 2006 08:38:47 +0000 (08:38 +0000)]
Initialise variable usedtags.

19 years agoFixes
moodler [Wed, 22 Mar 2006 08:32:54 +0000 (08:32 +0000)]
Fixes

19 years agoLots and lots and lots of cleanup for the data module code, mostly
moodler [Wed, 22 Mar 2006 08:07:26 +0000 (08:07 +0000)]
Lots and lots and lots of cleanup for the data module code, mostly
to do with how the field classes worked.  Now it should be even easier
for developers.

No changes for users.  :-P

The changes are not well tested yet!

19 years agoFix for Bug #4954
vyshane [Wed, 22 Mar 2006 07:07:57 +0000 (07:07 +0000)]
Fix for Bug #4954
Patch submitted by jun at catalyst dot net dot nz

19 years agoAdded $CFG->pagepath for Moodle Doc link.
vyshane [Wed, 22 Mar 2006 04:15:00 +0000 (04:15 +0000)]
Added $CFG->pagepath for Moodle Doc link.

19 years agoAdded $forcelang optional parameter. This is useful if we want to get help.php
vyshane [Wed, 22 Mar 2006 03:16:27 +0000 (03:16 +0000)]
Added $forcelang optional parameter. This is useful if we want to get help.php
to display the help content in a language irrespective of the site language
settings. This is needed for /admin/helpdoc.php script. This view requires
previews for:

1) en_utf8
2) the current language the site is set to

Without the change to /help.php, 1) is not possible.

19 years agoFixed preview link bug (Bug #4942). Made the preview popup use /help.php for a
vyshane [Wed, 22 Mar 2006 03:13:31 +0000 (03:13 +0000)]
Fixed preview link bug (Bug #4942). Made the preview popup use /help.php for a
real preview of what the help content will look like.

19 years agoAbolished the qtype integers. The question types are now indexed by their name as...
gustav_delius [Tue, 21 Mar 2006 23:08:36 +0000 (23:08 +0000)]
Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types.

19 years agoMinor changes to RSSlib - main change is augnmented PHPdoc for the issues in RSS...
danstowell [Tue, 21 Mar 2006 22:35:23 +0000 (22:35 +0000)]
Minor changes to RSSlib - main change is augnmented PHPdoc for the issues in RSS enclosures

19 years agoRestore works again, except for random questions.
gustav_delius [Tue, 21 Mar 2006 22:35:03 +0000 (22:35 +0000)]
Restore works again, except for random questions.

19 years agoMoving question restore code into questiontype classes. The restore is now temporaril...
gustav_delius [Tue, 21 Mar 2006 20:59:32 +0000 (20:59 +0000)]
Moving question restore code into questiontype classes. The restore is now temporarily broken but I will fix it as soon as I get home.

19 years agoFix bug 4952
gustav_delius [Tue, 21 Mar 2006 20:55:23 +0000 (20:55 +0000)]
Fix bug 4952

19 years agofix listed in bug 3834 applied
dhawes [Tue, 21 Mar 2006 20:54:50 +0000 (20:54 +0000)]
fix listed in bug 3834 applied

19 years agoSome excess of security was causing Bug 4713.
stronk7 [Tue, 21 Mar 2006 20:08:51 +0000 (20:08 +0000)]
Some excess of security was causing Bug 4713.
(http://moodle.org/bugs/bug.php?op=show&bugid=4713)

Merged from MOODLE_15_STABLE

19 years agoMoved questiontype specific backup functions into questiontype classes
gustav_delius [Tue, 21 Mar 2006 18:15:09 +0000 (18:15 +0000)]
Moved questiontype specific backup functions into questiontype classes

19 years agoFixed bug in make_mod_upload_directory() vecause of new lang packs
moodler [Tue, 21 Mar 2006 16:57:32 +0000 (16:57 +0000)]
Fixed bug in make_mod_upload_directory() vecause of new lang packs

19 years agoNow the question backup code has been separated from the quiz backup code.
gustav_delius [Tue, 21 Mar 2006 16:50:42 +0000 (16:50 +0000)]
Now the question backup code has been separated from the quiz backup code.

19 years agoPart fix, bug 4943: print_simple_box behaviour changed. Now aligns box, and shrinks...
nfreear [Tue, 21 Mar 2006 16:29:50 +0000 (16:29 +0000)]
Part fix, bug 4943: print_simple_box behaviour changed. Now aligns box, and shrinks to fit for left/right-alignment.

19 years agoMoving question backup from mod/quiz/ to question/. In a first step I am making a...
gustav_delius [Tue, 21 Mar 2006 15:38:35 +0000 (15:38 +0000)]
Moving question backup from mod/quiz/ to question/. In a first step I am making a duplicate copy of the whole backuplib.php. Next I will go in and delete the question backupcode from mod/quiz/backuplib.php and the quiz backup code from question/backuplib.php

19 years agoFixed small problem in delete_question()
gustav_delius [Tue, 21 Mar 2006 15:33:30 +0000 (15:33 +0000)]
Fixed small problem in delete_question()

19 years agoClarify doc comment.
tjhunt [Tue, 21 Mar 2006 14:09:55 +0000 (14:09 +0000)]
Clarify doc comment.

19 years agoRemoved unused global (see bug #4948)
thepurpleblob [Tue, 21 Mar 2006 13:38:36 +0000 (13:38 +0000)]
Removed unused global (see bug #4948)

19 years agoRename backup_ids_uk constraint to include prefix to allow easy installation of multi...
anthonyforth [Tue, 21 Mar 2006 10:31:28 +0000 (10:31 +0000)]
Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database.

19 years agoFIxes for some question styles that were getting confused by the new /question
moodler [Tue, 21 Mar 2006 09:39:15 +0000 (09:39 +0000)]
FIxes for some question styles that were getting confused by the new /question
directory

19 years agoNo reports or grading when there are no questions
moodler [Tue, 21 Mar 2006 09:28:08 +0000 (09:28 +0000)]
No reports or grading when there are no questions

19 years agoChristian's code to support time delays
moodler [Tue, 21 Mar 2006 09:24:47 +0000 (09:24 +0000)]
Christian's code to support time delays

19 years agoRemoving language files we don't need
moodler [Tue, 21 Mar 2006 09:23:20 +0000 (09:23 +0000)]
Removing language files we don't need

19 years agoJust another warning
moodler [Tue, 21 Mar 2006 09:21:00 +0000 (09:21 +0000)]
Just another warning

19 years agoRemoved errant help file
moodler [Tue, 21 Mar 2006 09:16:22 +0000 (09:16 +0000)]
Removed errant help file

19 years agoImprove the English
moodler [Tue, 21 Mar 2006 09:12:38 +0000 (09:12 +0000)]
Improve the English

19 years agoChange of function name, no actual change
moodler [Tue, 21 Mar 2006 09:08:57 +0000 (09:08 +0000)]
Change of function name, no actual change