428 Commits

Author SHA1 Message Date
pichetp
a7b696ef38 merge from 18 STABLE MDL-8809 2007-03-08 07:02:53 +00:00
pichetp
fd0973ccaa merging form 18 STABLE MDL-8809 2007-03-08 06:57:33 +00:00
pichetp
f6232d583e merge from 18-STABLE MDL-8809 2007-03-08 06:53:36 +00:00
pichetp
0f22fa4157 merge from 18 (adding null) MDL-8806 2007-03-07 19:44:55 +00:00
pichetp
f0ee68f738 first modifications MDL-5650 2007-03-07 16:31:58 +00:00
tjhunt
08eef20df4 MDL-8349 - responses not being filtered in history display. Merged from MOODLE_18_STABLE. 2007-03-06 18:00:23 +00:00
tjhunt
b030a630c0 MDL-8764 - In menus, show question categories from this course first, then published categories from other courses. Merged from MOODLE_18_STABLE. 2007-03-05 18:05:51 +00:00
pichetp
30917ac041 merge from 18-STABLE MDL-8389 2007-03-05 08:14:40 +00:00
pichetp
fe881becb2 merge from 18_STABLE MDL-8475 2007-03-03 04:43:50 +00:00
pichetp
2e7bdb5193 merging from 18_STABLE MDL-8588 2007-03-03 03:36:08 +00:00
pichetp
dcd4192a99 grading correctly small numbers MDL-8478 merge from 18_STABLE 2007-03-02 20:45:12 +00:00
pichetp
0cb014979d merged from 18_STABLE MDL-8552 2007-03-02 14:09:07 +00:00
toyomoyo
a917db623e adding backward compatitiblity for question restores 2007-03-02 08:04:05 +00:00
toyomoyo
5bff81aba6 replacing fieldsets with divs in small forms 2007-03-02 02:16:27 +00:00
toyomoyo
602b17e715 merged fixing indenting 2007-03-02 01:59:19 +00:00
tjhunt
3ed998f343 MDL-6773 - eliminate duplicate code for getting a list of question categories. Merged from MOODLE_18_STABLE. 2007-03-01 09:45:53 +00:00
jamiesensei
120e5cbf4c fiexs MDL-8659 : Impossible to create Cloze type question in Moodle 1.8 beta 2007-03-01 07:45:22 +00:00
tjhunt
a24a414f24 When restoring numerical questions, don't create duplicate unit definitions. Merged from MOODLE_18_STABLE. 2007-02-28 17:18:28 +00:00
tjhunt
51e89d95f7 Improve validation code to match the recent improvements in shortanswer validation.
Also do some validation on the units entered to stop duplicate units being defined.

 Merged from MOODLE_18_STABLE.
2007-02-28 17:17:40 +00:00
tjhunt
2cb16d8f9b Minor improvement to validation code. Merged from MOODLE_18_STABLE. 2007-02-28 17:15:45 +00:00
tjhunt
3023608c83 Bug with editing essay questions. 2007-02-28 15:21:35 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
toyomoyo
9836d9c811 merged fix for MDL-8688, question pics should default to '' 2007-02-28 06:16:31 +00:00
tjhunt
846e754525 MDL-8671 - better checking when creating short answer questions. Fix thanks to Joseph Rzeau. Merged from MOODLE_18_STABLE. 2007-02-27 16:20:40 +00:00
tjhunt
5eb266d8aa Improve quiz editing screen layout a little bit based on a usability suggestion in the forums.
Also, fix uppercase tag names in the tab row CSS, which did not work at DEVELOPER debug level.

Merged from MOODLE_18_STABLE.
2007-02-27 14:01:46 +00:00
thepurpleblob
7939a4a0cb MDL-8563
$question->answer was swapped for $question->correctanswer in questiontype
for some reason! Compensated for in format type.
2007-02-21 14:20:46 +00:00
tjhunt
624cbc9c26 MDL-4793 - Option to show question text in the question bank. Also, fix layout problems on the quiz editing screen. Merged from MOODLE_18_STABLE. 2007-02-20 01:48:09 +00:00
tjhunt
b28e2577d7 MDL-8145 - Add more options to the add random questions dropdown. 2007-02-19 04:24:14 +00:00
moodler
e827a0fbeb Merged inheritance fix from stable 2007-02-18 06:14:15 +00:00
moodler
0bf93fcbce Merged fix from stable for typoCVS: ---------------------------------------------------------------------- 2007-02-18 05:52:46 +00:00
vyshane
c7a990842f Merged from 1.8. 2007-02-15 06:15:24 +00:00
thepurpleblob
dacc89ea1d MDL-8347 I couldn't see anything wrong, so I have bodged it I suppose by changing the table layout slightly. This seems to be a problem reported around the net, but nobody has a definite solution. 2007-02-07 13:01:39 +00:00
thepurpleblob
c37385bb5e Whoops..... lots of clashes due to XHTML improvements in 1.8. Should be sorted. 2007-02-07 12:10:56 +00:00
thepurpleblob
57359d2383 MDL-8349 Some of the overidden methods had got out of sync with parent class. 2007-02-07 11:36:20 +00:00
thepurpleblob
f1abd39fe5 MDL-8450 Added support for including question categories in a quiz export. Also a bit of format tidy up and fix a misshandled sesskey. 2007-02-07 10:29:53 +00:00
gbateson
9d45b55ad0 omit empty answers from JQuiz import 2007-02-03 00:36:18 +00:00
jamiesensei
a8d2a373a1 some fixes for problem reported by Pierre Pichet.
Data set items form is now the opposite way round as the original was. This means that the add item section appears at the top of the form. Also if you press return while editing fields in the add item section the item will now be added. Default action for most browsers when a submit button is pressed is to act as if the first submit button in the form had been pressed.

Removed cancel buttons second and third pages of form too as they may not work as expected.
2007-01-30 15:31:50 +00:00
thepurpleblob
3d903fcbcc MDL-8342 PHP5 migration thing causing string offset fatal error when data not present in XML file. Added some checks. 2007-01-30 15:16:47 +00:00
thepurpleblob
f4a6bff311 Output was missing utf8 meta tag. 2007-01-30 13:57:45 +00:00
tjhunt
f07d1d3197 When editing some question types, the options get jumbled up. 2007-01-29 12:35:29 +00:00
stronk7
7039d93c31 Adding two helper functions and modify upgrade to
work properly under MSSQL and Oracle. MDL-8303

Merged from MOODLE_17_STABLE
2007-01-26 21:28:48 +00:00
moodler
5bc4ff92d9 Fixed a pass-by-reference notice 2007-01-26 06:50:34 +00:00
jamiesensei
552d35c187 fixed some small typos I introduced. 2007-01-24 15:13:46 +00:00
stronk7
d46e149179 Changing some stripslashes() to stripslashes_safe() because it
was causing some real backslashes to be lost in some qtypes. MDL-8217

Merged from MOODLE_17_STABLE
2007-01-22 23:23:30 +00:00
jamiesensei
3a298174e8 important security fix previous use of ['type'] in repeatedeloptions array would not have worked. 2007-01-21 10:32:42 +00:00
thepurpleblob
296fe50abb MDL-8226 Move aon import format from head into contrib. No longer maintained. Use GIFT instead. 2007-01-19 14:38:18 +00:00
thepurpleblob
a8c733a97b MDL-8226 Move aiken import format from head into contrib. No longer maintained. Use GIFT instead. 2007-01-19 14:35:44 +00:00
skodak
60f9e36ee8 MDL-8223 - last global $course hacks removed 2007-01-19 10:29:03 +00:00
jamiesensei
cfa73a9551 answer '0' is a valid answer for a numeric question. 2007-01-19 07:21:51 +00:00
jamiesensei
845b703bb9 oops. fix to last commit about empty answers logic was wrong 2007-01-19 07:20:43 +00:00