463 Commits

Author SHA1 Message Date
paca70
20cb89ec4e Quickly tested updates for postgresql. (seems to work here) 2004-08-11 10:27:00 +00:00
moodler
11558e5af4 Closed up some notices 2004-08-11 06:59:23 +00:00
moodler
338c772cc5 Removed PHP code from strings! 8-o 2004-08-11 06:46:59 +00:00
thepurpleblob
b1984b0d33 Added overidable method presave_process - allows last minute modification of
data to be exported to file. Done to get xml output working.
2004-08-09 13:56:47 +00:00
thepurpleblob
29a95feb94 more fixes - xml export now pretty much working 2004-08-09 13:55:20 +00:00
moodler
ba28853909 And some more 2004-08-08 15:09:39 +00:00
moodler
b71213e39a Fixed bug when calling instance_is_visible() 2004-08-08 15:08:50 +00:00
kaipe
7acaafc87e Support for CALCULATED questions
These are much more complex than all qtype already supported
so I have been pretty hard on the existing code.
I could not figure out what mathematical functions need
to be converted from webct to PHP format. The only function
I have converted so far is the webct x**y that was converted to PHP pow(x,y)
2004-08-08 12:08:08 +00:00
kaipe
908a708e7c Fixed a bug
Cleaned out a flaw that ruled out generation of negative random numbers
2004-08-08 11:31:40 +00:00
stronk7
9fd687e0d2 Now CALCULATED questions are in backup & restore.
It was difficult to understand but easy to implement :-)
Some mechanisms has been added to avoid to duplicate
quiz_dataset_definitions (confirmed from Henrik).

Please, test, test, test, test....
2004-08-06 23:43:19 +00:00
thepurpleblob
28e9d5d789 Whoops got rid of xml stuff - sorry my mistake 2004-08-06 15:06:17 +00:00
thepurpleblob
bbb4e32d3c Adding xml export 2004-08-06 14:59:45 +00:00
thepurpleblob
b2bf1d1d11 Copied from gift directory by mistake - removing 2004-08-06 14:52:56 +00:00
thepurpleblob
852a8212aa XML export kinda works now. 2004-08-06 14:31:30 +00:00
thepurpleblob
0890110fbc vaguely working version of xml export - much more work needed though 2004-08-06 13:03:33 +00:00
thepurpleblob
a0ffa51354 export filename does not now have .txt extension - this is selected by overridable
method on format.php
2004-08-06 11:11:51 +00:00
thepurpleblob
3cb21c9388 fixed bug that must have crept in during recent refactor. $course not being passed
to export format object.
export file extension can now be selected by overriding method in format.php
2004-08-06 11:11:05 +00:00
thepurpleblob
3102622add Changed export part so that export file extension can be changed
by overriding export_file_extension() method
2004-08-06 11:09:22 +00:00
stronk7
04bc8ed1c1 Now numerical_units support has been added to backup and restore.
Currently only working with numerical questions...
2004-08-05 23:11:31 +00:00
stronk7
1db60bdac0 Numerical questions lost their category when editing. Fixed. 2004-08-05 22:57:57 +00:00
kaipe
d02ad0f9c2 New page quiz/questiontypes/datasetdependent/categorydatasetdefinitions.php?category=XX
offers a simple editing view for category reusable dataset definitions.
It is unlinked but can be reached by specifying the URL or having a question
edit page link it in the future.
2004-08-05 09:53:17 +00:00
moodler
01d11b97d9 No checking is now done on question name and question text.
If question name is empty, then it's assigned to be same as the question text.

The question text can now be empty if people want that.
2004-08-05 05:31:40 +00:00
moodler
235987c596 Removed a notice 2004-08-05 05:27:18 +00:00
kaipe
79a44f05a9 Took care of some issues concerning the use of
individual quiz files in datasetdependent questions
2004-08-04 23:35:18 +00:00
kaipe
f7dea937e6 Updates that make it possible to override the options queries
This makes it easier to use this question type as the virtual question type for dataset dependent question types
2004-08-04 14:09:19 +00:00
moodler
5c5cff568f FIxed some notices 2004-08-04 08:39:29 +00:00
moodler
64e92a75fb Fixed up HTML editor 2004-08-04 07:30:38 +00:00
moodler
3a00dbfd6a Fixed some notices 2004-08-04 07:04:11 +00:00
moodler
d3f8572b41 Adding icon for calculated questions 2004-08-04 03:01:51 +00:00
moodler
cf464c3576 Fixed some warnings 2004-08-04 02:56:20 +00:00
kaipe
a753b153de DEBUGGED
Icon images did not have any closing " for attribute SRC
2004-08-03 12:16:55 +00:00
kaipe
39fbd5c818 Added support for some PHP style mathematical functions in the correct answer formula for calculated questions
Documentation on the functions can be found at
http://uk.php.net/manual/en/ref.math.php
2004-08-01 22:22:20 +00:00
kaipe
2443a13e75 New generic tools that allow the creation of dataset-dependent questions
as well as the new question type Calculated that uses this generic support.
2004-07-30 14:50:58 +00:00
kaipe
7a82d19324 New feature
Unit support for numerical questions
2004-07-30 14:43:08 +00:00
kaipe
8c5a95facb Database update to support new question type Calculated
as well as units for Calculated and Numerical questions
2004-07-30 14:40:16 +00:00
moodler
11c6232781 Some cleanups with formatting and so on. 2004-07-29 06:15:54 +00:00
moodler
d0a1d0483e Fixed a notice 2004-07-29 03:43:48 +00:00
paca70
edf693decf Wery quickly tested and untested versions for Postgresql. 2004-07-28 08:51:05 +00:00
moodler
9350263a96 Merged fix from stable 2004-07-27 13:19:12 +00:00
moodler
26997a1f82 Shortanswers are not more robust when * wildcards being used 2004-07-27 13:16:50 +00:00
julmis
3a088d689c Quiztimer stuff added
- Skip regrading if attempt is overdued
2004-07-27 02:03:19 +00:00
julmis
d49616201d Time limit stuff added
- Show overdue time
- Reset grandes when overdue.
2004-07-25 22:17:24 +00:00
moodler
f825338aef Fixed up a slight typo in this template 2004-07-21 13:28:58 +00:00
moodler
8ba9a36f88 Just to delineate the refactored version 2004-07-21 13:15:15 +00:00
moodler
41ee645c29 Removing some old files 2004-07-21 13:02:53 +00:00
moodler
8966a11131 Quiz refactoring is now merged into the main development code!
I've done some basic testing using existing quizzes trying as
much as I could think of, and it all worked well!

Well done, Henrik!  Great job!

Still, this should be regarded as unstable at least until more
people have had a try.  Please test this thing solidly on new
and old quizzes.
2004-07-21 13:01:08 +00:00
stronk7
1b76b56cbc Added support to timelimit, password and subnet in backup & restore. 2004-07-19 20:04:33 +00:00
moodler
60d37a2d0f FIxed small bug in password checking 2004-07-08 08:28:50 +00:00
moodler
cbf8fb4597 Tidied up attemptpage with password 2004-07-08 08:08:38 +00:00
moodler
c288e6d6ee Update requirement for address_in_subnet function in moodlelib.php 2004-07-08 07:53:50 +00:00