1611 Commits

Author SHA1 Message Date
moodler
3c8a606d85 Added simple paging ... only top 100 are shown by default. If there
are more then "older discussions" link shows all of them.

Someday proper 1,2,3,4 paging would be nice but this will do for now.
2003-04-18 05:54:18 +00:00
moodler
546be6dd89 don't valign subjects in html 2003-04-18 05:28:08 +00:00
moodler
96e301a7c9 Undoing last checkin 2003-04-18 05:25:46 +00:00
moodler
9ddb00e600 Improved colours 2003-04-18 05:22:49 +00:00
moodler
29507631a9 First pass at a cleaner display for discussion listings 2003-04-18 03:58: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
7c81b6e273 Sort subscribers by email address (easier to find subscribers based on
bounced messages)
2003-04-12 07:52:52 +00:00
moodler
752e1c2b62 Don't pass alltext from mod.html to details.php ... more efficient this way 2003-04-12 03:42:17 +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
f5cbbecaf5 empty() --> !isset() 2003-04-09 13:41:11 +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
d62413e869 Use "modified" date of posts when displaying them, not the "created" date. 2003-04-08 14:09:24 +00:00
moodler
29cbd93a45 Just much simpler way of doing the last patch. 2003-04-07 16:08:52 +00:00
moodler
8daaf761c3 Added code to catch runaway case when there is more than one news forum.
It shouldn't happen, but I think it can when the database is having
problems.
2003-04-07 15:20:08 +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
2d0b30a028 What was I thinking? This is much cleaner (and no duplicates). 2003-03-29 04:08:51 +00:00
moodler
adaf39283c Changes to activate the "force subscribe" option on the Site News forum.
By default it is OFF, but if it is turned on, then site news is emailed
to ALL enrolled students and ALL current teachers.
2003-03-29 03:39:56 +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
b2d0ca3b7c Removed some tabs :-) 2003-03-21 14:09:51 +00:00
moodler
000cc405ba Hack from Roberto Pinna (Bobo) to add sorting when viewing submissions
Might need some tidying up still but it's functional ..
2003-03-21 14:07:25 +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
gregb_cc
a2631c99d9 This closes bug http://moodle.org/bugs/bug.php?op=show&bugid=310
assignment_get_unmailed_submissions now ensures that a student is still enrolled
2003-03-14 19:58:53 +00:00
gregb_cc
b9287b2fba Added a useful message, to make the cron output more helpful in diagnosing
"stuck" assignments.
2003-03-13 20:59:31 +00:00
moodler
d4be5253aa Making a consistent download link for uploaded resources (same as web page) 2003-03-12 08:02:05 +00:00
moodler
2d8cf6799a Whoops! Accidentally checked in a quick hack I did for someone. 2003-03-12 07:49:54 +00:00
moodler
f82c2d428a Modified Greg's work to:
- rename the main_frame variable to framename, because it
       - might have caused some confusion
       - none of the global variables have underscores
  - put the config in the config table, with a default of _top
2003-03-12 07:36:22 +00:00
gregb_cc
08b3606390 This is a first attempt to make moodle frame safe.
I've added the variable CFG->main_frame to config-dist.php, and replaced _top
targets with the variable in all the php files.  HTML files, like those in the
documentation, have not been modified, as they are not (yet) parsed.

The variable should probably get moved into the config table, and get some
documentation.

I've also included, but commented out, a slight change in weblib.php, which
would guarantee that messages would be seen before redirecting the user (unless
delay intentionally set to 0 when redirect is used).
2003-03-11 21:35:12 +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
moodler
3e7542449b Removed save_session() - no longer necessary 2003-02-27 02:49:18 +00:00