vyshane
e1b5643ff7
Changes to take care of forum upgrade to new roles system. Backed up forums
...
will also be converted to the new roles system if the backup was made
pre-roles.
2006-08-25 02:41:16 +00:00
vyshane
7f6301c464
We need the newly created course_module id to be passed to the restore
...
functions of the modules. We need this now for the forum module to convert
forums backed up in 1.6 to use roles upon restore in 1.7. However, this might
be needed for other modules as well if they need conversion to the roles
system.
2006-08-25 02:37:54 +00:00
stronk7
c779eb1a15
Added support for the new upgrade system for main tables.
2006-08-24 22:27:11 +00:00
stronk7
2acf462dd9
Renamed column question_sessions->comment at Eloy's
...
request since comment is a DB reserved word.
(mimic from sql files) Thanks Tim! B-)
2006-08-24 16:57:39 +00:00
tjhunt
3830553d47
Avoid reserved words in dmllib unit tests.
...
(Except that TEXT is not a reserved word after all, although some things like TINYTEXT are. Wheird!)
2006-08-24 16:56:59 +00:00
stronk7
81abf10971
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
...
(mimic from old sql files)
2006-08-24 16:54:02 +00:00
tjhunt
3e3e5a4030
Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
...
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
2006-08-24 16:44:15 +00:00
tjhunt
dd4a1bca28
During the conversion datalib -> ddllib, Eloy removed my comment that made it possible to understand how to use table_colum :-( Adding it back.
2006-08-24 15:37:03 +00:00
tjhunt
3ebdddf70f
MDL-4816 Fix silly error in my commit for this bug.
2006-08-24 11:37:10 +00:00
tjhunt
b2ba9f6ef3
Fix Eclipse warnings.
2006-08-24 11:36:38 +00:00
tjhunt
2fe0d172f8
Fix PHP syntax error. I wish more developers used Eclipse.
2006-08-24 11:22:24 +00:00
tjhunt
307f045f07
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
...
In passing, I fixed MDL-6297 Export of multichoice questions in Moodle XML format doesn't save shuffle option too.
2006-08-24 10:22:43 +00:00
tjhunt
6e557c0806
Fixed syntax error in a PHPdoc comments.
2006-08-24 10:16:54 +00:00
tjhunt
2d30f53dcc
Fixed syntax error in a PHPdoc comment.
2006-08-24 10:12:15 +00:00
vinkmar
236c08a56f
Added support for phpMyAdmin plugin.
2006-08-24 06:44:35 +00:00
moodler
7468981e67
FIxed roles button on blocks
2006-08-24 03:48:04 +00:00
moodler
eba88175b6
Formatting fixes
2006-08-24 03:37:41 +00:00
moodler
28e7967aea
FIxed some notices
2006-08-24 03:28:09 +00:00
moodler
0a0bb38019
Ed Coyne's AJAX course format, with some cleanups done.
...
More cleanups to come from Ed.
This isn't actually working for me right now but he'll fix it now.
This is completely optional and won't affect any other code right now.
2006-08-24 03:20:37 +00:00
moodler
600212a9a1
FIxing Ed's mistaken checkin
2006-08-24 03:17:53 +00:00
danmarsden
038184e264
MDL-4493 issue with 405 pages for IIS users - must specify actual page, as the notice function does a post - you cannot use the POST Verb on a directory in IIS.
2006-08-24 02:08:59 +00:00
tjhunt
c82f76d050
MDL-4816 Short answer question type considers '100' and '100.' to be the same
Actually, this may have affected other question types too.
2006-08-23 21:17:23 +00:00
tjhunt
ac249da55e
Clarified comment.
2006-08-23 21:04:04 +00:00
tjhunt
9e8dba7960
MDL-6338 - Short answer questions with ' in the answer don't work. Merged from MOODLE_16_STABLE.
Yet another unpleasant quiz bug caused by the current broken way we do things with addslashes.
2006-08-23 19:04:24 +00:00
tjhunt
647bcd4129
Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.
2006-08-23 18:37:38 +00:00
tjhunt
a18fa6d5ba
Get the contexts without referring to undefined variables.
2006-08-23 15:32:06 +00:00
stronk7
454adccfa9
Adding one PHP close tag that has been missing (but working) since years!
2006-08-23 15:23:53 +00:00
tjhunt
5cae120596
Get the contexts without referring to undefined variables.
2006-08-23 15:12:52 +00:00
thepurpleblob
c81415c77e
Merged from STABLE
2006-08-23 14:57:40 +00:00
tjhunt
78fd16a5fb
Improved one language string. Thank Mitshiro Yoshida.
2006-08-23 09:23:56 +00:00
moodler
0cfb6a52fb
Adding a copyright notice, and mentioning MDL-3717 purely as a test of the
...
new CVS integration on tracker.moodle.org
2006-08-23 08:39:15 +00:00
toyomoyo
5769734f2a
changing default override values
2006-08-23 08:14:14 +00:00
toyomoyo
ae1e00a089
renamed variable so that it doens't get recycled
2006-08-23 08:11:43 +00:00
vyshane
905c4567a2
Removed forum_get_course_forum for forum type teacher.
2006-08-23 07:05:36 +00:00
vyshane
9a7538a35b
Fixed notice
2006-08-23 06:56:23 +00:00
toyomoyo
945f88ca15
various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib
2006-08-23 06:36:08 +00:00
toyomoyo
b56d75dd00
fixing a typo
2006-08-23 05:52:39 +00:00
toyomoyo
ed60c54a94
fix for MDL-6326, add support for quiz_feedaback table
2006-08-23 05:39:41 +00:00
moodler
d9a35e1270
Fixed context caching (wasn't using globals)
2006-08-23 01:29:52 +00:00
skodak
a2b0c57b0a
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294; merged from MOODLE_16_STABLE
2006-08-22 22:25:30 +00:00
skodak
bb5a61a1d4
reverting wrong commit, sorry :-(
2006-08-22 22:22:34 +00:00
skodak
2881101ca1
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294
2006-08-22 22:19:58 +00:00
skodak
868ca14f1f
fixed trailing whitespace in last commit :-(; merged from MOODLE_16_STABLE
2006-08-22 22:12:17 +00:00
stronk7
860b55463f
Normalizing a bit all the float/double generators.
2006-08-22 22:10:09 +00:00
skodak
6be7abc726
Rewritten help.php by Tim Hunt with minor fixes - SC#292; merged from MOODLE_16_STABLE
2006-08-22 22:04:06 +00:00
stronk7
962f8a9b4e
quiz_feedback added to XMLDB
2006-08-22 21:55:20 +00:00
stronk7
8792c16589
Small typo. ;-)
2006-08-22 21:44:07 +00:00
tjhunt
e9ad37edc2
SC 299. Merged from MOODLE_16_STABLE.
2006-08-22 21:33:54 +00:00
stronk7
598dc3a99c
Change rule to tzrule (reserved word)
2006-08-22 21:19:52 +00:00
stronk7
7970cce9f4
Updated using tzdata2006j
2006-08-22 20:11:33 +00:00