3415 Commits

Author SHA1 Message Date
skodak
472639376f merged from MOODLE_15_STABLE 2005-07-05 06:30:07 +00:00
skodak
1e4343a06d megamerge from MOODLE_15_STABLE 2005-07-05 06:03:04 +00:00
stronk7
a9c80fec8e Now workshop are working under the new system to relink. Bug 3678.
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)

Merged from MOODLE_15_STABLE
2005-07-04 22:25:10 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
skodak
c6d67e76fc merged from MOODLE_15_STABLE 2005-07-04 07:20:53 +00:00
gustav_delius
a08e9552fa More steps towards the separation of questions from the quiz module. 2005-07-03 09:53:02 +00:00
bobopinna
79714e2af3 Fixed a bug in report counting 2005-07-03 07:15:13 +00:00
bobopinna
644b5629ff Fixed a problem with altered chars in UTF-8 2005-07-03 07:14:20 +00:00
skodak
a2a537db28 merged from MOODLE_15_STABLE 2005-07-02 20:35:43 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
gustav_delius
ad7e7ba882 Two name changes:
1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example).
2) quiz_restore_question_sessions() has the simpler name quiz_get_states
Also got rid of the quizfile.php in favour of file.php
2005-07-02 16:07:05 +00:00
gustav_delius
0d156caaae I have started on the re-organisation to allow other modules to use the questiontypes.
Moved all code that is not specific to the quiz module out of locallib.php into questionlib.php.
The default questiontype class is now defined in quiz/questiontypes/questiontype.php.
See http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852
2005-07-02 11:42:42 +00:00
gustav_delius
be795125dd small changes to documentation 2005-07-02 11:38:42 +00:00
gustav_delius
85f066ab0d fixed the classification of tables into static and runtime in the documentation 2005-07-02 08:51:06 +00:00
gustav_delius
f17d13f5cc Some minor changes to the quiz module documentation. 2005-07-01 21:00:52 +00:00
michaelpenne
ee3f227560 New Feature: Lesson Dependency
In a lesson's settings one can now set the current lesson to be dependent on another lesson in the same course.  Then, the user can set the conditions for the dependency.  Currently the conditions are time spent, grade better than X, and completed (yes/no).
2005-06-30 21:11:02 +00:00
bobopinna
2ddb242f56 Fixed two typos 2005-06-30 19:46:19 +00:00
mindforge
d5711371ce Added attempt.php documentation, unfinished. 2005-06-30 15:41:25 +00:00
defacer
7f65461c36 Merging from STABLE:
Moving <i> to CSS and small CSS improvement.
2005-06-30 00:03:03 +00:00
michaelpenne
7bae3f486c Found 4 mdl_ in some sql statements. Changed it from mdl_ to $CFG->prefix 2005-06-29 23:56:07 +00:00
michaelpenne
dd192b2692 Numerical import was still looking at min/max arrays. I changed it so numerical will now subtract the tolerance from the answer to get the min and add the tolerance to the answer to get the max 2005-06-29 23:02:12 +00:00
michaelpenne
2ef7eeec9c FIXED: was calling an old quiz class name for importing. Updated it to call the new class name 2005-06-29 23:00:12 +00:00
michaelpenne
de8598a908 FIXED: at End of Lesson with review on produced two warnings. Now they are gone 2005-06-29 18:08:37 +00:00
bobopinna
28d32305f3 Fixed a typo in popup window management 2005-06-29 12:00:02 +00:00
mindforge
94c6290094 Database documentation finished. 2005-06-29 09:47:44 +00:00
bobopinna
f91f72167e Fixed some bugs in restore procedure, added backup and restore for field popup 2005-06-29 07:49:44 +00:00
bobopinna
96ca8c6cc6 Fixed some bugs in upgrade procedure, updated postgres upgrade 2005-06-29 07:48:11 +00:00
mindforge
f8e0e46a4d Standardised image namesfor documentation. 2005-06-28 10:01:24 +00:00
mindforge
d5b306eb6a Database documentation update. 2005-06-28 10:00:17 +00:00
bobopinna
62d923574f Fixed an upgrade bug with field timelimitaction 2005-06-28 07:02:25 +00:00
bobopinna
b5127f1e26 Added popup support 2005-06-27 07:26:49 +00:00
bobopinna
bc5a6319be Added support to SCORM course format 2005-06-27 07:24:52 +00:00
bobopinna
c4aca03c17 Fixed a problem lesson_status setting bug 2005-06-27 07:22:37 +00:00
danmarsden
af834f3e7c Bug #3623 - doesn't like when $value = 0 2005-06-27 00:58:24 +00:00
stronk7
339dd76670 Avoid some backslashes causing problems with some browsers. Bug 3463.
(http://moodle.org/bugs/bug.php?op=show&bugid=3463)

Merged from MOODLE_15_STABLE
2005-06-26 16:45:04 +00:00
gustav_delius
ed460c8e04 I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845. 2005-06-26 16:21:11 +00:00
stronk7
7d34f1adab Now the entry being commented is showed when
adding comments for non-approved entries. Bug 3638.
(http://moodle.org/bugs/bug.php?op=show&bugid=3638)

Merged from MOODLE_15_STABLE
2005-06-26 09:34:10 +00:00
thepurpleblob
e4f7cb77d8 merged from STABLE 2005-06-24 13:18:51 +00:00
fiedorow
e2c1dbe922 Bug fix for bug #3614 2005-06-23 15:29:43 +00:00
michaelpenne
af1cd0fe33 Made the shortanswer qtype grading much more reliable. Change to preg_match to speed things up. Also do a preg_quote on the teacher supplied answer to prevent confusion in the preg_match statements (before + signs and the like were causing the preg_match statements to fail). 2005-06-21 22:38:26 +00:00
michaelpenne
c5cbd215fb Bug Fix: The code for dealing with the * character for shortanswer question type was lost. I downloaded 1.4.5+ and merged the shortanswer grading code into 1.6 dev. 2005-06-21 21:45:04 +00:00
gustav_delius
8c95e97fec merged from stable 2005-06-21 06:57:30 +00:00
thepurpleblob
220776acdd Merged from STABLE 2005-06-20 09:15:30 +00:00
mjollnir_
80d3523ed0 Merged from MOODLE_15_STABLE: fixing bug 3569: current workaround= one query for postgres, one for mysql. probably a better way to do it when someone has more time 2005-06-20 04:32:29 +00:00
mjollnir_
f45ea97457 Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547) 2005-06-19 21:38:39 +00:00
mjollnir_
b71748a86c Merged from MOODLE_15_STABLE: Fixing typo on index for rqp type (bug 3547) 2005-06-19 21:31:26 +00:00
stronk7
c0b26251d0 Now glossary ratings display user links in a new page.
Merged from MOODLE_15_STABLE
2005-06-19 17:33:39 +00:00
stronk7
9d8caf59ec Order by rating now works. See bug 3566.
(http://moodle.org/bugs/bug.php?op=show&bugid=3566)

Merged from MOODLE_15_STABLE
2005-06-19 17:14:32 +00:00
stronk7
c07ca217f0 Using the time CSS class properly.
Merged from MOODLE_15_STABLE
2005-06-19 16:50:37 +00:00
stronk7
ef4d6e6f54 Now the name of the authors is a link to the user page.
To be a bit more like forum posts Bug 2809.
(http://moodle.org/bugs/bug.php?op=show&bugid=2809)

Merged from MOODLE_15_STABLE
2005-06-19 15:26:21 +00:00