1366 Commits

Author SHA1 Message Date
moodler
958aafe2b4 Quiz attempts are now timed. This is done by starting the quiz_attempts
record upon showing the quiz, and completing it upon submit.

Two new fields in quiz_attempts... should be upgrade friendly.
(Old attempts will show up as being of duration zero)


Also some small fixes here and there.
2002-10-18 16:05:21 +00:00
moodler
cf094bd4b4 Better help with text formats 2002-10-18 09:38:58 +00:00
moodler
e757af1662 Fixed the setting of answers for true-false questions 2002-10-18 05:41:24 +00:00
moodler
4282d7dde2 Changed string neverread to neverseen 2002-10-17 14:28:12 +00:00
moodler
2a439ba7f6 ***NOTE NOTE NOTE **********************************************************
THIS IS A BIG CHANGE!

I've renamed the "reading" module to "resource".

This meant changing quite a few references throughout Moodle.

The automatic upgrade process should work OK (it worked OK on my
development server) and there shouldn't be any problems.

BUT PLEASE PROCEED WITH CAUTION AND KEEP BACKUPS OF EVERYTHING
UNTIL I HAVE A FEW MORE TESTS!   If you upgrade please let me know.

One thing that will break are any hard-coded links within forum messages.

What I will be doing to fix this on my apache server is to add this to
httpd.conf:

Redirect /mod/reading/ http://moodle.com/mod/resource/

Sorry about any inconvenience, but it's better this is done sooner than later.
2002-10-17 14:03:59 +00:00
moodler
417e6821bd Removed some blank lines that were causing output 2002-10-17 10:33:13 +00:00
moodler
9809249838 Better grade reports 2002-10-17 08:28:18 +00:00
moodler
858deff0b4 Now includes maximum grades 2002-10-17 07:55:54 +00:00
moodler
d0ac6bc236 Added new grading functions to work with course/grades.php 2002-10-17 07:23:51 +00:00
moodler
19c4f55c43 Feedback fixes 2002-10-16 15:52:29 +00:00
moodler
a8a372ccf7 Various fixes and additions. It now does quiz feedback pretty well
(though it doesn't show correct answers yet).
2002-10-16 09:35:04 +00:00
moodler
18de986eb1 Actually, let's include journals that have no feedback yet as well. 2002-10-16 07:18:07 +00:00
moodler
8bff8ad835 When a teacher is giving feedback, entries that have been modified since
the last time a teacher has given feedback are highlighted.
2002-10-16 07:15:36 +00:00
moodler
b425749fc3 Teacher can now use the richtext editor to edit the assignment text 2002-10-16 05:31:56 +00:00
moodler
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
moodler
92a3c884f5 Small bugfixes ... (yawn) 2002-10-15 17:32:50 +00:00
moodler
7520988bb3 Fixes for grades 2002-10-15 17:13:11 +00:00
moodler
6b069ecef1 Bit of a clean up of the edit interface ... 2002-10-15 16:45:39 +00:00
moodler
49dcdd1800 Added timeopen and timeclose (instead of days) and did a few cleanups 2002-10-15 16:22:18 +00:00
moodler
8d94f5a08e OK, it seems reliable enough now for alpha testing.
If you have existing quizzes, delete them all, then
drop all the quiz tables and delete the quiz line from
the modules table.

Things to do still:

  - add/edit/remove categories
  - display question feedback on submissions ...
  - record the time they started the quiz, as well as the completion.
  - place time limits between attempts
  - add full specification of quiz open time and quiz close time
2002-10-15 12:54:11 +00:00
moodler
2a2c9725bb Can now create and re-edit all three types of questions.
Still working on grading ...
2002-10-15 10:04:28 +00:00
moodler
31e7516eb5 Forms now done, more or less 2002-10-15 05:29:57 +00:00
moodler
10b9291c92 Checking in what I got so far .... Not working yet but I'm going to bed. 2002-10-14 15:57:33 +00:00
moodler
7bd1aa1d64 Quiz generation is working now. Just need question and category editors. 2002-10-14 12:21:18 +00:00
moodler
6a952ce7a0 Many new additions - code not quite usable yet, but getting close 2002-10-14 09:07:13 +00:00
moodler
579ddad5ef Added a basic report and some clean-ups 2002-10-13 13:51:56 +00:00
moodler
a5e1f35c66 Just to show that something is happening!
At this stage this module:

  - prints quizzes,
  - accepts answers (for multiple attempts) and grades them,
  - stores the grades.

Really, it's usable as long as you don't mind using the database manually. :)

Next up is quiz reports, then I'll tackle quiz creation.
2002-10-13 07:17:48 +00:00
moodler
5a84640bd1 Tweaks to use new javascript-printing function etc 2002-10-12 15:01:17 +00:00
moodler
e1947876ec Moved the object code out into a function print_textarea 2002-10-12 07:23:16 +00:00
moodler
b2a5ee1822 Added richtext to Journal entries. 2002-10-12 06:20:56 +00:00
moodler
a5a5a129b7 Added help buttons about the richtext editor (when active) 2002-10-12 05:43:00 +00:00
moodler
113bb2a26b Better placing of standard links etc when there are lots of images and
other funny formatting in HTML posts
2002-10-11 05:20:23 +00:00
moodler
4b9318947c Added a new string to make it very clear how to upload assignments 2002-10-11 01:58:24 +00:00
moodler
213e8cc67d Better default options, and hiding of moodle-text help when htmlediting is operational 2002-10-10 09:27:49 +00:00
moodler
73bb08357c Initial attempt at adding html text editor features to these forms. 2002-10-10 07:27:57 +00:00
moodler
f3632647e7 Empty file 2002-10-06 17:31:46 +00:00
moodler
14d8c0b409 Further work done. It currently can print the quiz form (including images!)
but can't mark them yet.  I've been constructing quizzes manually in the
database and it's helping to refine the database structure.  Don't count
on anything stable in the quiz module for a few days yet ...
2002-10-06 17:06:54 +00:00
moodler
55c0c75c03 A start on the page that actually prints the questions and stores the answers 2002-10-06 03:24:56 +00:00
moodler
36658798dc More or less working now 2002-10-06 03:23:34 +00:00
moodler
3a506ca299 Added some more functions 2002-10-06 03:23:16 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00
moodler
730fd187c8 Skeleton version of the quiz module. It won't break an installation,
but it doesn't do anything yet.
2002-10-04 02:59:05 +00:00
moodler
518d37151d Use main version of "maximum grade" string 2002-10-04 02:55:27 +00:00
moodler
abf59b15bd Fixed definition of forum->open 2002-10-03 11:17:51 +00:00
moodler
70c476a79e Fixes bug 112
Changes to expand "open" option in forums.  Now have a choice between
three options:  new discussions and new replies, new replies only and
no new discussions or new replies.

Three new options in lang/forum.php and I changed "allowdiscussions".
2002-10-03 11:15:50 +00:00
moodler
b4ab71a6db Fixed links in navigation 2002-10-02 02:24:19 +00:00
martin
b362b85e99 Better format for text version of emails 2002-09-26 16:02:13 +00:00
martin
74ed07ac86 Prevent guests even seeing the edit button 2002-09-24 09:06:17 +00:00
martin
3182314d5c Prevent guests from submitting choices or assignments 2002-09-24 09:02:34 +00:00
martin
7fd6bb7cf6 Whoops teacher checking was back to front 2002-09-23 06:49:30 +00:00