Commit graph

3114 commits

Author SHA1 Message Date
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
mjollnir_
9ec656750e More time fixes for stats - under certain dst situations there could have been an infinite loop. Please someone who is clever about timezones & dst review this 2006-03-24 20:43:38 +00:00
gustav_delius
ca252edb1d Setting title attribute on questiontype icons so that tooltips show the question type name 2006-03-24 20:02:42 +00:00
gustav_delius
aaae75b04f Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:54:13 +00:00
gustav_delius
643ec47d32 Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:31:46 +00:00
stronk7
b8770bc0a5 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)
2006-03-23 17:54:33 +00:00
mjollnir_
60f4cbc13a Fixing missing , in prefix_blog_instance postgres creation 2006-03-23 00:37:53 +00:00
gustav_delius
0429cd86c3 Deleting attempts properly now 2006-03-22 18:27:28 +00:00
nfreear
6575bfd4d1 Accessibility: fix bug 4963 in function, print_header. Added 'lang' attribute to $direction, used by standard and other themes. 2006-03-22 17:48:53 +00:00
gustav_delius
4dca7e51ca Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation 2006-03-22 17:22:36 +00:00
thepurpleblob
8511669cb9 Added function for matching/checking question grades on quiz import. 2006-03-22 16:27:46 +00:00
thepurpleblob
e9de436630 Split out grade option list generation, so it can be used in import/export too. 2006-03-22 14:43:55 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +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
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
dhawes
6b263129c0 fix listed in bug 3834 applied 2006-03-21 20:54:50 +00:00
moodler
42431d7a30 Fixed bug in make_mod_upload_directory() vecause of new lang packs 2006-03-21 16:57:32 +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
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
moodler
ba6602f8da Old change, just removing a comment 2006-03-21 09:08:16 +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
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
gustav_delius
90c3f31066 Some improvements to delete_question() 2006-03-20 23:04:22 +00:00
gustav_delius
6b11a0e863 Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options. 2006-03-20 20:45:55 +00:00
moodler
5889c1bb64 Small fix for admin menu layout and also print_table 2006-03-20 15:33:18 +00:00
moodler
952d8dc87c Speedup! get_timezone_record wasn't caching! :-) 2006-03-20 09:36:47 +00:00
moodler
9a8091a9ab Put some default times in for people who were tracking dev 2006-03-20 07:47:41 +00:00
moodler
6a30c073d4 Added timemodified to blog_tag_instance table and some indexes 2006-03-20 07:40:55 +00:00
moodler
112d0ebf82 Added a new field "module" to the post table to indicate what type of module
each entry is
2006-03-20 07:13:21 +00:00
moodler
a9743837bf SLightly more efficiency to help keep the cached_text table smaller see bug 4677 2006-03-20 02:33:41 +00:00
gustav_delius
f30bbcaf5b Improved handling of event types so that now graded states can always be distinguished from ungraded ones. 2006-03-19 18:28:29 +00:00
gustav_delius
43a602a7a6 Small correction to comment 2006-03-19 12:19:49 +00:00
stronk7
8abebd1e5b Notice killing... ;-) 2006-03-19 11:13:16 +00:00
stronk7
a848411a3b Notice killing... ;-) 2006-03-19 11:10:25 +00:00
stronk7
c539d6224b Now encode_mimeheader() only encodes the header if it isn't 100% ASCII. 2006-03-19 02:38:21 +00:00
stronk7
56a2b987e6 Starting NOW we are using our own encode_mimeheader() function to
generate all Moodle emails. Only applied if we are running under
$CFG->unicodedb. Tested with postfix and sendmail servers and
Thunderbird, Mail and Entourage mail clients...

Test, test, test....!
2006-03-19 02:35:50 +00:00
stronk7
fbf7e289a9 Updating phpmailer to 1.73. Some bugs solved. 2006-03-19 02:07:51 +00:00
stronk7
b4750d4d7f Updating phpmailer to 1.73. DOS linefeeds are now out. 2006-03-19 02:06:06 +00:00
stronk7
376508306e Updating phpmailer to 1.73. Language files. 2006-03-19 02:03:02 +00:00
stronk7
3ec5ec15bc Function encode_mimeheader() added. Finally, it seems that we have to
use our own function because phpmailer one doesn't handle multi-byte
characters, breaking them.
2006-03-19 01:09:15 +00:00
stronk7
b212c114ce First cut of email working with any encoding. Works practically ok but
I've to check something that seems to be a bug in the build of the
subject. Sendind it to CVS to check the code under Win32 and Linux.
2006-03-18 17:48:52 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
nfreear
5288e4a5ff Accessibility: tidied, removed commented code functions, print_simple_box_start, _end (followup to OU-Bugz: 737) 2006-03-17 12:27:18 +00:00
danstowell
95a86f752b Fixes to rsslib to ensure the output is valid RSS 2.0 2006-03-17 07:44:22 +00:00
mjollnir_
aa898e41c1 Stickyblocks: fool pagelib into thinking it is course-view when it needs to be, rather than admin-stickyblocks 2006-03-17 03:17:44 +00:00
jgraham909
53f6a21e5e Fixed grade_category table definitions to handle change in MySQL versions 5.0.3 and greater
see http://moodle.org/mod/forum/discuss.php?d=41501 for more details.
2006-03-16 19:50:28 +00:00
nfreear
eab1f9aebd Accessibility: do NOT change, fixed call to trim in function, helpbutton (OU-Bugz: 752) 2006-03-16 11:13:21 +00:00
nfreear
97f76a1aa3 weblib.php: replaced <table> in print_simple_box_start _end with <div>s (OU-Bugz: 737) 2006-03-16 11:03:02 +00:00