Commit graph

19229 commits

Author SHA1 Message Date
gustav_delius
3be86ca6b3 In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables. 2006-03-22 08:41:56 +00:00
ikawhero
78d932b793 Initialise variable usedtags. 2006-03-22 08:38:47 +00:00
moodler
ed69c72326 Fixes 2006-03-22 08:32:54 +00:00
moodler
0997e51afe 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!
2006-03-22 08:07:26 +00:00
vyshane
53c988a403 Fix for Bug #4954
Patch submitted by jun at catalyst dot net dot nz
2006-03-22 07:07:57 +00:00
vyshane
1e9f3edb56 Added $CFG->pagepath for Moodle Doc link. 2006-03-22 04:15:00 +00:00
vyshane
c05181937a 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.
2006-03-22 03:16:27 +00:00
vyshane
3b26532171 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.
2006-03-22 03:13:31 +00:00
gustav_delius
6040798269 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. 2006-03-21 23:08:36 +00:00
danstowell
069b6daf76 Minor changes to RSSlib - main change is augnmented PHPdoc for the issues in RSS enclosures 2006-03-21 22:35:23 +00:00
gustav_delius
ba8f7ff02a Restore works again, except for random questions. 2006-03-21 22:35:03 +00:00
gustav_delius
315559d354 Moving question restore code into questiontype classes. The restore is now temporarily broken but I will fix it as soon as I get home. 2006-03-21 20:59:32 +00:00
gustav_delius
6af1e0b2c2 Fix bug 4952 2006-03-21 20:55:23 +00:00
dhawes
6b263129c0 fix listed in bug 3834 applied 2006-03-21 20:54:50 +00:00
stronk7
b51551e794 Some excess of security was causing Bug 4713.
(http://moodle.org/bugs/bug.php?op=show&bugid=4713)

Merged from MOODLE_15_STABLE
2006-03-21 20:08:51 +00:00
gustav_delius
c5d94c4150 Moved questiontype specific backup functions into questiontype classes 2006-03-21 18:15:09 +00:00
moodler
42431d7a30 Fixed bug in make_mod_upload_directory() vecause of new lang packs 2006-03-21 16:57:32 +00:00
gustav_delius
fe1106f0d1 Now the question backup code has been separated from the quiz backup code. 2006-03-21 16:50:42 +00:00
nfreear
8ceb3e67d5 Part fix, bug 4943: print_simple_box behaviour changed. Now aligns box, and shrinks to fit for left/right-alignment. 2006-03-21 16:29:50 +00:00
gustav_delius
924ff16a07 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 2006-03-21 15:38:35 +00:00
gustav_delius
cf60a28a0b Fixed small problem in delete_question() 2006-03-21 15:33:30 +00:00
tjhunt
f76648809e Clarify doc comment. 2006-03-21 14:09:55 +00:00
thepurpleblob
bc12bfea4f Removed unused global (see bug #4948) 2006-03-21 13:38:36 +00:00
anthonyforth
88629fc419 Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database. 2006-03-21 10:31:28 +00:00
moodler
581d27ff58 FIxes for some question styles that were getting confused by the new /question
directory
2006-03-21 09:39:15 +00:00
moodler
92b6d775b2 No reports or grading when there are no questions 2006-03-21 09:28:08 +00:00
moodler
c88369b8e3 Christian's code to support time delays 2006-03-21 09:24:47 +00:00
moodler
07679347f4 Removing language files we don't need 2006-03-21 09:23:20 +00:00
moodler
133081306d Just another warning 2006-03-21 09:21:00 +00:00
moodler
cc9708572b Removed errant help file 2006-03-21 09:16:22 +00:00
moodler
26c829d7ed Improve the English 2006-03-21 09:12:38 +00:00
moodler
da077b9a7a Change of function name, no actual change 2006-03-21 09:08:57 +00:00
moodler
ba6602f8da Old change, just removing a comment 2006-03-21 09:08:16 +00:00
moodler
d27a5b2581 Christian's changes to update Resources when files are moved
I've not checked this closely but it seems to work
2006-03-21 09:07:19 +00:00
gustav_delius
f67172b64b Moved code to delete questions and question categories to lib/questionlib.php
Also fixed bug 4949
2006-03-21 09:06:34 +00:00
moodler
9d8d30e03a Aha, the link to the new reset feature 2006-03-21 09:04:22 +00:00
moodler
d799fa2d6c Checking in an old change 2006-03-21 09:03:30 +00:00
moodler
dba2764db7 Show tag name in the RSS feed 2006-03-21 08:56:20 +00:00
moodler
0ad2f60285 Small patches while I contemplate rewriting all those patches from scratch 2006-03-21 08:04:15 +00:00
moodler
6479f65751 Filled in string for blog tags block 2006-03-21 07:37:12 +00:00
moodler
ffd0fbb7ac New feature: you can now reset a course simply and easily using the new
"Reset" item on the course admin menu.

This allows you to delete user data from the course without touching the
course itself.
2006-03-21 07:34:33 +00:00
vyshane
6305db8858 Bug #4887 2006-03-21 07:03:37 +00:00
vyshane
5a1736e382 Added $CFG->pagepath for Moodle Docs. 2006-03-21 04:59:55 +00:00
vyshane
c27ae154d6 Added language strings for CVS imports. 2006-03-21 04:38:05 +00:00
vyshane
e1791b72e8 Added CSV import facility for the data module. Fixed notice for checkbox and
multimenu field types.
2006-03-21 04:36:36 +00:00
vyshane
2c42a9e71c Fixed Bug #4945 2006-03-21 03:11:38 +00:00
moodler
d7dfcee179 Tweaking output and layout 2006-03-21 01:35:42 +00:00
gustav_delius
4b87fbe7ad Improved language strings used during deletion of courses 2006-03-20 23:05:35 +00:00
gustav_delius
90c3f31066 Some improvements to delete_question() 2006-03-20 23:04:22 +00:00
gustav_delius
75cd257be8 Moved the quiz constants into lib.php to keep things simple. 2006-03-20 20:59:46 +00:00