336 Commits

Author SHA1 Message Date
moodler
5325f8b8cf A little more guidance on the quiz page. 2003-05-23 15:20:41 +00:00
moodler
be23a53ca9 Some fixes, after some testing 2003-05-21 06:10:43 +00:00
moodler
79da6d8717 Change to parsing to allow answers in any order - needs testing 2003-05-21 05:00:44 +00:00
moodler
11697b48ea Minor code cleanups
- lowercasing
  - removing short php tags
  - adding some emoticon help here and there
2003-05-20 08:03:12 +00:00
moodler
4d01ada343 More on Bug 427_ on second thoughts it's better this way, now at least
the true/false entries get updated every time the question is updated.
2003-05-17 03:02:59 +00:00
moodler
a6ccb416f1 This should fix the non-translatability of true/false questions bug 427 2003-05-17 02:54:20 +00:00
moodler
3a4c2fd089 I knew there was something else I'd forgotten!
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not.  If it is, then students get a message.
2003-05-15 18:03:22 +00:00
moodler
33de9f7bdc FIxed bug where questions weren't being shown in reviews. 2003-05-15 17:01:35 +00:00
moodler
d288fa5255 Better code to deal with shuffleorder.
Now feedback is always in the same order as the quiz, and
reports are always in the natural order.
2003-05-14 16:52:25 +00:00
moodler
ada728e24d Fix the order of questions when shuffle is NOT being used.
See bug 423 for details: http://moodle.org/bugs/bug.php?op=show&bugid=423
2003-05-14 15:23:54 +00:00
moodler
f5fb84cee7 Small bug fixed where last question of a file wasn't detected if it
wasn't followed by a blank line
2003-05-07 05:46:01 +00:00
paca70
ea563f8f99 Postgres needs full longnames for indexes to prevent overlapping names. 2003-05-03 06:44:03 +00:00
moodler
005103e0bc Changed some function names, making room for export functions later 2003-05-03 04:31:49 +00:00
moodler
c6bcd06aba Tidied up the quiz imports a bit, and added AON as a format choice
Also added Scott Elliott's Blackboard module!
2003-05-02 15:31:24 +00:00
paca70
9a652ddb2b Don't give fatal error when questions were not found. 2003-04-28 06:36:14 +00:00
paca70
e8a0fc9a4f Corrected typo 2003-04-27 17:35:54 +00:00
paca70
5352ceba67 quiz_match was missing... 2003-04-27 15:33:31 +00:00
moodler
1b5910c4a5 Trying a different tack for recent_activity since the old way was
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).

Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.

I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.

Let's see.
2003-04-26 15:08:34 +00:00
moodler
3d89198946 Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)

Added some efficiency when printing recent activity

 - don't print more than one weeks worth of updates
  - don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
e6c136e1bf Changed to show the hidden quizzes dimmed (bug #364) 2003-04-24 18:19:23 +00:00
moodler
61367e6417 More robust variable checking 2003-04-24 17:13:52 +00:00
paca70
fe8bc4c9a5 Removed two `'s 2003-04-18 21:05:12 +00:00
moodler
e1122620b5 Er, similar to the last few changes but this way seems to actually work. :-)
Need sleep ...
2003-04-16 13:48:16 +00:00
moodler
2408867e8c Improvements for shuffleorder in collections of random questions 2003-04-16 13:25:03 +00:00
moodler
96192c4459 After doing a quiz that has been shuffled, present the feedback in the
same order.  Note that shuffled ANSWERS may still appear reshuffled.

When viewing reports, all shuffling is switched off so that quizzes
always appear in the default order (for easier comparison).

Also a few tweaks, robustness etc
2003-04-16 13:10:48 +00:00
moodler
77cff58927 Fixes for bug 268 - Changing answers of questions can lose responses for
existing quizzes with those questions.

When updating a question it now checks for existing answers and updates
those instead of making new ones.
2003-04-15 14:43:29 +00:00
moodler
d6a6331129 Add category to random question names 2003-04-15 13:14:33 +00:00
moodler
5a25f84d25 Fix for off-by-one grade error when 'Save Grades' had not been used 2003-04-14 13:52:59 +00:00
moodler
0bf2925db8 Minor fixes 2003-04-11 14:44:12 +00:00
moodler
c6eed09730 New "create multiple questions" wizard.
Improvements to the importing routine for AON
2003-04-10 17:55:57 +00:00
moodler
c05eca327c Importing improved to include pre and post-processing.
Removal of Random Matching code from the generic case.
Implementing a particular custom import style aon.php
2003-04-10 13:12:40 +00:00
moodler
da5fb074c3 Minor robustness fix 2003-04-10 13:11:34 +00:00
moodler
b1db099b7e New icons 2003-04-10 13:04:20 +00:00
moodler
52c018a0b5 More logical position for shuffle options 2003-04-09 14:27:58 +00:00
moodler
4b85b71712 New quiz switches to
- shuffle questions order
  - shuffle answers order
2003-04-09 13:57:08 +00:00
moodler
72e5815533 More fixes resulting from random question feature 2003-04-09 08:11:20 +00:00
moodler
434802d5ce Slightly more efficient database access. 2003-04-09 07:23:42 +00:00
moodler
34d52ad7d2 First implementation of completely random questions.
When you add a random question to a quiz, then a question
is chosen randomly from the same category.

Questions are not repeated in a particular quiz attempt.

This still needs more testing, but it's looking OK so far.
2003-04-09 06:32:51 +00:00
moodler
c4dfc485eb Fixes for main SQL defintions - from Juro Chlebec 2003-04-04 10:47:37 +00:00
moodler
e4be3d5943 Renamed randommatch.html -> randomsamatch.html 2003-03-30 16:51:24 +00:00
moodler
432d39026d New template for Match questions 2003-03-30 16:48:34 +00:00
moodler
54a67a5921 First cut at adding new "fixed" Match question type, which is manually
created.  Works OK after limited testing.

I've also renamed some strings to do with "Random Match", so that this
question type is now called "Random Short-Answer Match".

Later there will be a new 'Random Match' which randomly selects one of the
existing "Match" questions.
2003-03-30 16:46:50 +00:00
moodler
036d3c1f90 Typo! 2003-03-26 05:48:21 +00:00
moodler
6eff984aee Added some new indexes on quiz tables in MySQL 2003-03-26 05:46:09 +00:00
moodler
ef4145f6ae Changes to make regrading work properly if the quiz has changed
and also an exptended timelimit for when regrading is REALLLLY slow
fue to some other unknown reason (as yet)
2003-03-20 07:28:53 +00:00
moodler
0d1a40f00a Updated versions only 2003-03-03 17:48:39 +00:00
moodler
df103e8212 Questions now have a defaultgrade column (which defaults to 1)
... this grade is used as the default grade when adding questions
to a quiz.

At the moment it's just so that some imported questions can have
different defaults, but a field should be added to all question
editing pages.
2003-03-03 17:43:13 +00:00
moodler
c363d9d11f Added QUIZ_DEFAULT_SCORE ... later this will be a quiz option 2003-03-03 17:05:35 +00:00
moodler
14bdb2387a Sort question list by question type 2003-03-01 05:11:44 +00:00
moodler
02986c8002 Can now specify a number of random match questions to create automatically
during import.
2003-03-01 05:08:03 +00:00