20272 Commits

Author SHA1 Message Date
vyshane
2631c1744e Fix for Bug #5541 2006-05-19 06:25:12 +00:00
mark-nielsen
88427c077b [Merged][BugFix] Bug #5405 - made a new function that grades a lesson for a specific user's attempt. This is then used for grading lessons at the end of a lesson, for ongoing score feature and for updating the grade for essay question grading.
This new grading algorithm now enforces the lesson setting Max attempts when custom scoring is turned Off

Changed the reporting of minquestions setting to match the help file.  Now it is question based instead of attempt based.

Changed the reporting of ongoing score to use the new grade function.
2006-05-19 01:05:13 +00:00
skodak
c23ff4d654 deprecated nvl() function similar to optional_variable(); merged from MOODLE_16_STABLE 2006-05-18 22:12:06 +00:00
dwoolhead
58de1815f4 Bug 5536 Replaced references to hide by show. Merged from stable branch. 2006-05-18 16:15:04 +00:00
ethem
5bf94809f0 Removed </td>. Help button appears on top :)) 2006-05-18 10:02:22 +00:00
ethem
527d142c43 I have just found a cute function called print_checkbox. :) 2006-05-18 07:55:12 +00:00
ethem
6b4f18622d Put back tjhunt's changes. Invalid merge. Tabs aren't more important than indexes. 2006-05-18 07:13:43 +00:00
skodak
b2fcca2761 fixed bug #5533, could not choose from file root; merged from MOODLE_16_STABLE 2006-05-18 05:48:14 +00:00
martinlanghoff
42101fae2c login: Changing passwords now works when logged in as guest 2006-05-18 00:53:57 +00:00
skodak
c0e2f1f7dd admins can now edit user images even when $CFG->disableuserimages = true; see bug #5494 and SC#253; merged from MOODLE_16_STABLE 2006-05-17 18:59:43 +00:00
skodak
e0e1cd26fa fixed version number; merged from MOODLE_16_STABLE 2006-05-17 18:16:42 +00:00
skodak
4fb072d942 fixed some warnings and removed ugly hack error_reporting(E_ALL ^ E_NOTICE); that was only hiding warnings in this and other code; merged from MOODLE_16_STABLE 2006-05-17 18:06:33 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
tjhunt
9bd76b32f3 Merge from 1.6 branch. Fix URL syntax error when slasharguments is off. 2006-05-17 11:40:37 +00:00
tjhunt
b1a308bee0 Merge from 1.6 branch. 2006-05-17 11:38:34 +00:00
ethem
ddd74daef6 action.php renamed to authorizenetlib.php
Merged from MOODLE_16_STABLE.
2006-05-17 08:18:51 +00:00
martinlanghoff
ba838c8d1f moodle16cleanup: mod/quiz correctly sync the constraints and indexes
which was not changed when it was moved from quiz module to question lib
2006-05-17 06:57:03 +00:00
martinlanghoff
f470a1c6d5 moodle16cleanup: mod/quiz uniqueid does not exists, taking upgrade script
from mysql.php ver 2005070202. dropping some unused tables during the
transition from quiz to question lib
2006-05-17 06:56:14 +00:00
martinlanghoff
05acf8e974 moodle16cleanup: lib/db correct prefix, patch by Tim Hunt for bug 5515 2006-05-17 06:43:21 +00:00
martinlanghoff
2a0f40e98c mod/choice mod/lesson mod/scorm moodle16cleanup: Added notification
for cleanup that may fail if one is starting fresh from moodle 1.5.3+,
previous cleanup before 1.5.3 is not needed
2006-05-17 06:42:57 +00:00
martinlanghoff
dbfc642a87 moodle16cleanup: mod/forum correctly dropping the constraint, so it does
not report an error during upgrade
2006-05-17 06:42:28 +00:00
martinlanghoff
ccd218ee4b moodle16cleanup: lib/db correctly put the default values, change the
length of log_display.module which is just 20 chars on postgres7.sql
2006-05-17 06:36:31 +00:00
martinlanghoff
aec6df38ac moodle16cleanup: backup/ set the correct column datatype and default value 2006-05-17 06:36:14 +00:00
martinlanghoff
7f8199c253 moodle16cleanup: blocks/rss_client set the correct column default value 2006-05-17 06:35:50 +00:00
martinlanghoff
d7d37bcb60 moodle16cleanup: enrol/authorize not null set which is similar to mysql
and that was upgraded on postgres7.php
2006-05-17 06:35:35 +00:00
martinlanghoff
9a2eb087aa moodle16cleanup: mod/hotpot set the correct column datatype and default
value
2006-05-17 06:35:14 +00:00
martinlanghoff
7a3a4cff54 moodle16cleanup: mod/lesson drop unused table lesson_essay, set the
correct column datatype and default value
2006-05-17 06:34:50 +00:00
martinlanghoff
f172091567 moodle16cleanup: mod/dialog we need to drop some more dialog module tables 2006-05-17 06:34:19 +00:00
martinlanghoff
c89dfcfcf5 moodle16cleanup: mod/scorm version column should not be dropped, it must
exist. it was not upgraded as with mysql.php 2005041600
2006-05-17 06:30:13 +00:00
martinlanghoff
1b58a2f3a0 moodle16cleanup: mod/wiki synch upgrade script and .sql with mysql
counterpart, drop the not null constraint to sync with postgres7.sql
2006-05-17 06:29:45 +00:00
martinlanghoff
c4ca8d4596 moodle16cleanup: mod/forum added notification message 2006-05-17 06:29:15 +00:00
martinlanghoff
66c7e47b27 blocklib: cache (and used cached) block instances properly in $pageblocks
Now blocks_have_content() caches instantiated block objects inside $pageblocks
and blocks_print_blocks() uses them if available. This behaviour now matches
the documentation: blocks instances are created only once, get_content()
may be invoked several times.

A better fix would be to cache the _output_ of the block (the ->content
property) but it may bite us if any block is counting on being called twice.

Discussion at: http://moodle.org/mod/forum/discuss.php?d=45867
2006-05-17 04:39:43 +00:00
vyshane
0adf53f6cd Cosmetic fix in print_log_ooo, commented out call to print_log_ooo in
/course/report/log/index.php.
2006-05-17 03:07:11 +00:00
skodak
f231e867f0 I hope this is the last patch for header already printed trouble in error() and redirect(); merged from MOODLE_16_STABLE 2006-05-16 20:31:22 +00:00
ethem
f9ff6fbd77 confirm_sesskey() implementation for capture,delete,refund and void. I hope it works. :) 2006-05-16 15:34:24 +00:00
ethem
98f6b1eb54 Allow showing error message when insert_record fails.
merged from 16_stable.
2006-05-16 15:02:52 +00:00
nfreear
f73e218f40 Merge from STABLE. Fix bug 5477... 2006-05-16 12:27:21 +00:00
ethem
e295c6e4c3 Manual capture settings for sending email: cron=enabled, an_review=checked, an_capture_day=0, an_emailexpired=1-5 2006-05-16 11:37:07 +00:00
nfreear
5fc835a533 Merged from STABLE. 2006-05-16 10:59:27 +00:00
ethem
42c4e612db (Manual capture settings: cron=enabled, an_review=checked, an_capture_day=0) 2006-05-16 10:43:02 +00:00
nfreear
49d192fcd6 Merged from STABLE. 2006-05-16 10:35:15 +00:00
thepurpleblob
ce4b7b5fbe Added note that export now exports subcategories. 2006-05-16 09:35:03 +00:00
toyomoyo
0376cc2fab merged 2006-05-16 08:22:42 +00:00
toyomoyo
82326fc1d3 merged fix for 5513 2006-05-16 07:58:47 +00:00
vyshane
9b18fc3b83 Commiting merge from 1.6. 2006-05-16 07:07:04 +00:00
vyshane
84bada7dea Fix for Bug #5467. Converted newlines to unix format. Removed extra lines at
the end of php scripts. Converted tabs to spaces in php scripts.
2006-05-16 06:45:14 +00:00
vyshane
04678d8eca Fixed Bug #5354 - Gradebook [DropXLowest and Exclude] 2006-05-16 06:21:49 +00:00
mark-nielsen
74e3524216 [Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis 2006-05-16 03:06:28 +00:00
stronk7
4a428b5f5c Updated to latest version (1.56). Bug 5165.
(http://moodle.org/bugs/bug.php?op=show&bugid=5165)

Merged from MOODLE_16_STABLE
2006-05-15 23:31:50 +00:00
danmarsden
019c47d6c1 Fixes bug 5464 also makes response clearer to students -see:
http://moodle.org/mod/forum/discuss.php?d=45504

also finishes off Bug 662
2006-05-15 23:24:42 +00:00