Commit graph

4857 commits

Author SHA1 Message Date
gustav_delius
f370553ef3 this got a bit messed up in the merge 2005-05-07 14:28:22 +00:00
gustav_delius
1105b32da0 Use round() instead of format_float() to limit decimal points to a MAXIMUM of $quiz->decimalpoints. format_float() always displays EXACTLY that number of digits after the decimal point which is not really desirable. 2005-05-07 13:48:25 +00:00
gustav_delius
ef76e0326d Some work on the penalty mechanism. Took out the multiplicative scheme because it is just too difficult to understand. Made all question types print grading details when quiz is in adaptive mode. Made improvements to the presentation of the grading details. Enabled the penalty mechanism in a few more (on my way towards doing it for all). 2005-05-07 13:30:35 +00:00
mjollnir_
2a8057e7ef Porting quiz upgrade to postgres. Still one bug remains - see 3148 2005-05-07 02:38:42 +00:00
mjollnir_
730e965b17 New postgres7.sql for quiz -- There is a bug in this to do with reserved words (see bug #3148) but committing anyway as is clean apart from this. 2005-05-07 00:23:50 +00:00
gustav_delius
ab4f562bb2 Make it impossible to create a category in one course as the child of a category in another course, fixing bug 2940 2005-05-06 17:07:27 +00:00
gustav_delius
e303a824ff Use the grade highlighting only if the maximum grade scheme is used, see bug 2545 2005-05-06 16:43:28 +00:00
gustav_delius
47d726e9ae Fixed error message that created a warning 2005-05-06 16:27:30 +00:00
gustav_delius
15f3e35a48 One line to do with the multianswer upgrade that I forgot to merge 2005-05-06 16:25:55 +00:00
gustav_delius
c14199770b Fix tooltip on question edit link, see bug 3139 2005-05-06 11:21:00 +00:00
gustav_delius
dea537e55e loops in upgrade script no longer produce output 2005-05-06 10:50:59 +00:00
gustav_delius
43bc8c2929 In non-adaptive mode the mark is printed as in the old days and not as --/n 2005-05-06 07:36:54 +00:00
gustav_delius
978f438893 "Go" buttons are now enclosed in <noscript> tags. 2005-05-06 07:03:14 +00:00
gustav_delius
ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
thepurpleblob
0b3c25f5d2 Checks for more than 10 answers where required. Fix for bug #3066 2005-05-03 16:20:34 +00:00
thepurpleblob
b6057bf570 Fixed hard coded path. 2005-05-03 13:23:04 +00:00
thepurpleblob
0455cc43a4 Changed name of folder from qti to qti2 to make QTI version clearer. 2005-05-03 13:14:11 +00:00
thepurpleblob
c68fc4c4ea Effectively renaming qti to be qti2 to make it clear what QTI version we have here 2005-05-03 13:11:29 +00:00
thepurpleblob
50a8667264 improved README to reflect new class naming convention. 2005-04-26 10:41:42 +00:00
thepurpleblob
7435cc1354 ...and it would be much better if I could spell! 2005-04-25 15:25:27 +00:00
thepurpleblob
c544726fa6 Changed class name and added new method to fit in with new import/export
capability auto-discovery!
2005-04-25 15:24:29 +00:00
moodler
07e1a0e289 Hotpot import to quizzes 2005-04-25 14:42:12 +00:00
thepurpleblob
971a7ce06f Fixed glaring error in Match format 2005-04-22 09:51:15 +00:00
thepurpleblob
3d89b0e02c Tidied up the formatting in a couple of places. 2005-04-21 10:04:45 +00:00
thepurpleblob
f3bd87cb24 Question text now goes through the (appropriate) formatted, and the example
CSS is added in.
2005-04-20 15:11:36 +00:00
thepurpleblob
974a8e8f83 Example/suggested CSS for the xhtml export format. 2005-04-20 15:10:05 +00:00
thepurpleblob
53594cc653 Export format to generate quiz category as page of xhtml. 2005-04-20 14:06:44 +00:00
gustav_delius
0346dd3954 using 'counteditems' language string to help finnish translators, closing bug 2530 2005-04-20 11:32:29 +00:00
thepurpleblob
0458f07aaf GIFT export collapses multiple line questions to fit with the GIFT 'spec'. 2005-04-20 10:13:38 +00:00
thepurpleblob
0ae982231f Import/export changed so that available formats are automatically detected.
Classes now have discrete names and methods to identify import/export
capability added. Detecting function factored out into locallib.php
2005-04-20 09:08:25 +00:00
moodler
6477dadd33 Allow answer choices of any length. Bug 2814. (SE) 2005-04-20 05:19:35 +00:00
moodler
9c1ec12eda Allow choices of any length 2005-04-20 04:47:30 +00:00
skodak
ee43e51575 fixed file uploading - SC#60 2005-04-19 20:52:02 +00:00
thepurpleblob
6f68b1e5b4 Import formats now hard coded so only available ones appear in the list. 2005-04-19 15:34:08 +00:00
thepurpleblob
c9a9705ef1 Now only displays available export formats. List is now hard-coded in this file. 2005-04-19 15:26:37 +00:00
thepurpleblob
3f1c031cc4 Now results in the produced files packaged in a single zip file.
Bunch of code for non-standard questions removed.
Template compile files now stored in $CFG->moodledata
Some bugs and oddities sorted
2005-04-19 15:10:47 +00:00
thepurpleblob
b683d82844 Ensure course files area exists and create if not. 2005-04-19 12:30:30 +00:00
thepurpleblob
f85601d1b3 Export checks that the course files area is created (and creates it if not!) 2005-04-19 12:27:56 +00:00
mjollnir_
9058e785cb Small fixes to quiz for postgres compatibility 2005-04-19 00:41:13 +00:00
stronk7
e05a9cc17c Fixed typo and don't use constants here to avoid more files to be included. 2005-04-14 19:39:42 +00:00
gustav_delius
99eb4d955c forgot something in the last commit 2005-04-13 16:05:46 +00:00
gustav_delius
983a7390df Random questions should be hidden 2005-04-13 16:02:20 +00:00
thepurpleblob
c4aa4e8ff6 Added direct link to download exported file rather than having
to search for it.
2005-04-13 10:32:45 +00:00
gustav_delius
c3a69c9233 Closed some <input> tags for xhtml compliance 2005-04-13 09:07:53 +00:00
gustav_delius
fdf49de1ca Fixed the problem reported in bug 2900 that the question count on the category page also counted old questions. 2005-04-13 08:48:23 +00:00
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
thepurpleblob
f0e13cf157 Whoops - forgot the db prefix in the where clause 2005-04-12 20:04:50 +00:00
gustav_delius
55a77c6c66 navigation bar now uses appropriate strings for editing quesitons or editing quiz. 2005-04-12 08:48:13 +00:00
gustav_delius
4f764fc4d3 Thanks to a suggestion by Martin published categories are printed with class="published" and unpublished ones with class="unpublished". 2005-04-12 08:15:47 +00:00