nicolasconnault [Fri, 15 Feb 2008 16:40:45 +0000 (16:40 +0000)]
MDL-13459 Didn't use the patch, which puts its finger in too many pies. Instead just implemented a quick-fix, a temporary get_assignable_for_switchrole() function. It only affects the switchroles menu. Merging from MOODLE_19_STABLE
skodak [Fri, 15 Feb 2008 10:47:02 +0000 (10:47 +0000)]
MDL-13483 new hidden $CFG->noemailever setting to block sending of all emails - for dev sites only, set in config.php if needed; merged from MOODLE_19_STABLE
skodak [Wed, 13 Feb 2008 17:03:25 +0000 (17:03 +0000)]
MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE
nicolasconnault [Wed, 13 Feb 2008 08:51:24 +0000 (08:51 +0000)]
MDL-13375 Applied Dan's patch, and patched up assignment/lib.php accordingly. Multiple outcome grading from assignment is now possible. Merging from MOODLE_19_STABLE
urs_hunkler [Tue, 12 Feb 2008 21:29:16 +0000 (21:29 +0000)]
Merged from 1.9 ::
MDL-13444 :: removed the jQuery library and use direct JavaScript instead. That's much faster.
MDL-12078 :: Changed them calles from themewww to httpsthemwww (MDL-12078). MDL-13421 :: corrected left padding in admin block
nicolasconnault [Tue, 12 Feb 2008 16:04:57 +0000 (16:04 +0000)]
MDL-13397 Implemented the requiredentries parameter (previously not implemented). This includes a warning message and an SQL restriction on entries fetched for view.php; merging from MOODLE_19_STABLE
poltawski [Thu, 7 Feb 2008 18:52:51 +0000 (18:52 +0000)]
MDL-13339 - ensure we don't continue the restore process if there is
no course header in the backup file. This bug was causing blank course
records to be created when users tried to restore a non-moodle backup file
such as a scorm file.
merged from MOODLE_19_STABLE
ethem [Wed, 6 Feb 2008 08:13:20 +0000 (08:13 +0000)]
MDL-10181 User Management Improvements: Cron unenrolment of manual should takes place in the main cron.
It is time to use own enrolment method when calling funcs enrol_into_course, role_assign, role_unassign.
Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
Assignments in a conditional statement are sometimes the result of a typo.
In many cases, instead of the assignment operator =, the equality operator ==
should be used. When comparing a variable and a non-variable expression,
it is common practice to put the variable on the right-hand side of the equality
operator, so that if the equality operator is erroneously replaced with the
assignment operator, PHP will report a parse error immediately.
This helps you avoid a big subset of this class of bugs.
skodak [Tue, 5 Feb 2008 21:40:21 +0000 (21:40 +0000)]
MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE
poltawski [Tue, 5 Feb 2008 17:19:41 +0000 (17:19 +0000)]
MDL-13314 count_role_users was showing different count to those returned from
get_role_users(), based on patch from Patrick Pollett
merged from MOODLE_19_STABLE
skodak [Tue, 5 Feb 2008 12:59:28 +0000 (12:59 +0000)]
MDL-12938, MDL-12937 - unenrol fixes - can not unenrol if can not unassign all users roles in course, do not show self unenrol if enrolment comes from parent context, fixed rturn value from get_user_roles; based on patch by Eric Merrill; merged from MOODLE_19_STABLE
jamiesensei [Tue, 5 Feb 2008 12:14:46 +0000 (12:14 +0000)]
MDL-13298 "Question bank displays always page 1 after adding new question" this was caused because the question creation page was redirecting back to the question back edit page and telling it to change to the category of the question that was just saved. This was causing the edit page to go back to page 0 of the new category. Now we only go back to page 0 if the category has actually changed. Merged from MOODLE_19_STABLE