moodle.git
13 years agoMDL-11561 admin tree improvements and bugfixing
skodak [Wed, 19 Dec 2007 17:35:20 +0000 (17:35 +0000)]
MDL-11561 admin tree improvements and bugfixing

13 years agoMDL-12598 use user context instead of personal; merged from MOODLE_19_STABLE
skodak [Wed, 19 Dec 2007 17:06:47 +0000 (17:06 +0000)]
MDL-12598 use user context instead of personal; merged from MOODLE_19_STABLE

13 years agoTeach XMLDB about the local/db folder, but only include it if the local folders exists.
tjhunt [Wed, 19 Dec 2007 15:06:51 +0000 (15:06 +0000)]
Teach XMLDB about the local/db folder, but only include it if the local folders exists.

13 years agoFollowup for MDL-7493... - Finally the correct images! fix transparency, and improve...
nfreear [Wed, 19 Dec 2007 13:35:25 +0000 (13:35 +0000)]
Followup for MDL-7493... - Finally the correct images! fix transparency, and improve contrast in Windows High Contrast Black mode.

13 years agoNew option on print_single_button to all printing of disabled buttons.
tjhunt [Wed, 19 Dec 2007 13:31:03 +0000 (13:31 +0000)]
New option on print_single_button to all printing of disabled buttons.

13 years agoFollowup for MDL-7493... - revert images to fix transparency, and improve contrast...
nfreear [Wed, 19 Dec 2007 13:25:24 +0000 (13:25 +0000)]
Followup for MDL-7493... - revert images to fix transparency, and improve contrast in Windows High Contrast Black mode.

13 years agogradebook / graded_users_iterator - Typo in conditional.
tjhunt [Wed, 19 Dec 2007 12:40:00 +0000 (12:40 +0000)]
gradebook / graded_users_iterator - Typo in conditional.

13 years agoMDL-12647 - Moving multiple_choice questions between contexts breaks them.
tjhunt [Wed, 19 Dec 2007 12:11:03 +0000 (12:11 +0000)]
MDL-12647 - Moving multiple_choice questions between contexts breaks them.

There was a subtle interaction between get_question_options  and replace_file_links for this question type.

Merged from MOODLE_19_STABLE.

13 years agoFix a bug passed on after commit of by http://lists.moodle.org/arc/commits/2007-12...
scyrma [Wed, 19 Dec 2007 05:58:27 +0000 (05:58 +0000)]
Fix a bug passed on after commit of by lists.moodle.org/arc/commits/2007-12/msg00352.html
There shouldn't be html tags in this place.

13 years agoMDL-12639 - prevent debug warnings about help buttons on database presets
poltawski [Tue, 18 Dec 2007 21:27:45 +0000 (21:27 +0000)]
MDL-12639 - prevent debug warnings about help buttons on database presets

Merged from MOODLE_19_STABLE

13 years agomerged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switc...
mjollnir_ [Tue, 18 Dec 2007 20:51:07 +0000 (20:51 +0000)]
merged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switch_roles and role_cap_duplicate) to accesslib & added phpdoc.  Fixes MDL-12621

13 years agoImprove the quiz_rescale_grade function, and call it from one other place, instead...
tjhunt [Tue, 18 Dec 2007 18:20:25 +0000 (18:20 +0000)]
Improve the quiz_rescale_grade function, and call it from one other place, instead of duplicating code. Merged from MOODLE_19_STABLE.

13 years agoMDL-12496, MDL-11889 allow deleting of activities with disabled grading from gradeboo...
skodak [Tue, 18 Dec 2007 17:38:22 +0000 (17:38 +0000)]
MDL-12496, MDL-11889 allow deleting of activities with disabled grading from gradebook; merged from MOODLE_19_STABLE

13 years agoFixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High...
nfreear [Tue, 18 Dec 2007 17:18:19 +0000 (17:18 +0000)]
Fixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High Contrast Black" mode" - foreground show/hide block icon/ALT text switched with Javscript.

13 years agoMDL-12635 - Manual grading report does not check capabilites - also, only show the...
tjhunt [Tue, 18 Dec 2007 16:12:11 +0000 (16:12 +0000)]
MDL-12635 - Manual grading report does not check capabilites - also, only show the tabs for the reports people can access. Merged from MOODLE_19_STABLE.

13 years agoMDL-12515 Feedback not available to student on assignments unless a grade has been...
poltawski [Tue, 18 Dec 2007 15:36:45 +0000 (15:36 +0000)]
MDL-12515 Feedback not available to student on assignments unless a grade has been assigned

merged from MOODLE_19_STABLE

13 years agoMDL-12517 - fix typo in the last commit.
tjhunt [Tue, 18 Dec 2007 14:57:03 +0000 (14:57 +0000)]
MDL-12517 - fix typo in the last commit.

13 years agoMDL-12517 reverting the moving of data processign, returning array of warnings instea...
skodak [Tue, 18 Dec 2007 13:53:18 +0000 (13:53 +0000)]
MDL-12517 reverting the moving of data processign, returning array of warnings instead from function; merged from MOODLE_19_STABLE

13 years agoMDL-12517 null not treated properly, max instead of min typo and pretty please initia...
skodak [Tue, 18 Dec 2007 13:27:31 +0000 (13:27 +0000)]
MDL-12517 null not treated properly, max instead of min typo and pretty please initialize all objects properly; merged from MOODLE_19_STABLE

13 years agoMDL-12628 acces typo fixed; merged from MOODLE_19_STABLE
skodak [Tue, 18 Dec 2007 12:00:32 +0000 (12:00 +0000)]
MDL-12628 acces typo fixed; merged from MOODLE_19_STABLE

13 years agoAdd some documentation
scyrma [Tue, 18 Dec 2007 08:39:44 +0000 (08:39 +0000)]
Add some documentation

13 years agoMDL-12613 - this should fix (part of) the problem with the search block (take 2)
scyrma [Tue, 18 Dec 2007 08:17:58 +0000 (08:17 +0000)]
MDL-12613 - this should fix (part of) the problem with the search block (take 2)

13 years agoMDL-12613 - this should fix the problem with the search block
scyrma [Tue, 18 Dec 2007 07:54:09 +0000 (07:54 +0000)]
MDL-12613 - this should fix the problem with the search block

13 years agoAutomatic installer.php lang files by installer_builder (20071218)
moodler [Tue, 18 Dec 2007 03:15:11 +0000 (03:15 +0000)]
installer.php lang files by installer_builder (20071218)

13 years agoMDL-12103 new config option for mail newline chars; merged from MOODLE_19_STABLE
skodak [Mon, 17 Dec 2007 23:44:25 +0000 (23:44 +0000)]
MDL-12103 new config option for mail newline chars; merged from MOODLE_19_STABLE

13 years agoMDL-12524 fixed quoting of phrases in mail header (problem with special chars in...
skodak [Mon, 17 Dec 2007 21:39:03 +0000 (21:39 +0000)]
MDL-12524 fixed quoting of phrases in mail header (problem with special chars in names of users); merged from MOODLE_19_STABLE

13 years agoStrip out an unneccessary HTML table that way causing a 'button moves when you try...
tjhunt [Mon, 17 Dec 2007 17:17:22 +0000 (17:17 +0000)]
Strip out an unneccessary HTML table that way causing a 'button moves when you try to click on it' problem.

13 years agoMinor quiz layout improvements. Merged from MOODLE_19_STABLE.
tjhunt [Mon, 17 Dec 2007 16:56:42 +0000 (16:56 +0000)]
Minor quiz layout improvements. Merged from MOODLE_19_STABLE.

13 years agoUnset a meaningless id. This probably does not change anything in moodle, but it...
tjhunt [Mon, 17 Dec 2007 15:29:48 +0000 (15:29 +0000)]
Unset a meaningless id. This probably does not change anything in moodle, but it was part of a bug fix in the OU version of Moodle that seemed correct, so I am merging it over.

13 years agoTypo in redirect URL.
tjhunt [Mon, 17 Dec 2007 14:11:55 +0000 (14:11 +0000)]
Typo in redirect URL.

13 years agoMDL-12616 - Improve layout so you can distinguish the student's response to an essay...
tjhunt [Mon, 17 Dec 2007 12:28:14 +0000 (12:28 +0000)]
MDL-12616 - Improve layout so you can distinguish the student's response to an essay question from the feedback. Merged from MOODLE_19_STABLE.

13 years agocourse/lib: Cache get_categories() using a static variable (MDL-11938)
fmarier [Mon, 17 Dec 2007 04:49:27 +0000 (04:49 +0000)]
course/lib: Cache get_categories() using a static variable (MDL-11938)
Some recursive functions call get_categories() repeatedly to get all of the
child categories of the current one.

This commit create a lazily-initialized cache of all of the categories so
that the database is only queried once to retrieve all of the categories.

It speeds up the both the homepage and the course edit page (where the
categories are displayed in combo boxes).

13 years agoNew tags file
moodler [Mon, 17 Dec 2007 04:17:02 +0000 (04:17 +0000)]
New tags file

13 years agoTesting commit message one more time, I think this is it
moodler [Mon, 17 Dec 2007 01:25:18 +0000 (01:25 +0000)]
Testing commit message one more time, I think this is it

13 years agoTesting a commit
moodler [Mon, 17 Dec 2007 01:18:21 +0000 (01:18 +0000)]
Testing a commit

13 years agoTesting a commit message
moodler [Mon, 17 Dec 2007 01:14:39 +0000 (01:14 +0000)]
Testing a commit message

13 years agoMDL-12385 - glossary category edit page doesn't respect $CFG->pixpath
poltawski [Sun, 16 Dec 2007 18:17:55 +0000 (18:17 +0000)]
MDL-12385 - glossary category edit page doesn't respect $CFG->pixpath

merged from MOODLE_19_STABLE

13 years agoMDL-11086 - more tweaks to helpfile as per Rays suggestions
poltawski [Sun, 16 Dec 2007 16:14:48 +0000 (16:14 +0000)]
MDL-11086 - more tweaks to helpfile as per Rays suggestions

merged from MOODLE_19_STABLE

13 years agoMDL-12596 Timezone problem in PHPMailer RFCDate() Function - patch submitted by Leo...
skodak [Sun, 16 Dec 2007 14:50:58 +0000 (14:50 +0000)]
MDL-12596 Timezone problem in PHPMailer RFCDate() Function - patch submitted by Leo Gaggl; merged from MOODLE_19_STABLE

13 years agoMDL-12597 fixed short php bugs; merged from MOODLE_19_STABLE
skodak [Sun, 16 Dec 2007 14:14:17 +0000 (14:14 +0000)]
MDL-12597 fixed short php bugs; merged from MOODLE_19_STABLE

13 years agoMDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible...
skodak [Sun, 16 Dec 2007 13:57:21 +0000 (13:57 +0000)]
MDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible; merged from MOODLE_19_STABLE

13 years agoMDL-12602 redirect to course if require_capability() fails for module context; merged...
skodak [Sun, 16 Dec 2007 13:53:04 +0000 (13:53 +0000)]
MDL-12602 redirect to course if require_capability() fails for module context; merged from MOODLE_19_STABLE

13 years agoMDL-12601 prevent fatal errors when module code missing + merging other stuff; merged...
skodak [Sun, 16 Dec 2007 13:41:16 +0000 (13:41 +0000)]
MDL-12601 prevent fatal errors when module code missing + merging other stuff; merged from MOODLE_19_STABLE

13 years agoMDL-11191 - lets not advocate copyright abuse by advising to steal pictures
poltawski [Sun, 16 Dec 2007 11:59:09 +0000 (11:59 +0000)]
MDL-11191 - lets not advocate copyright abuse by advising to steal pictures
from the web!

merged from MOODLE_19_STABLE

13 years agoMDL-12599 , MDL-12598 - fixed capability tests in user and overview reports; merged...
skodak [Sun, 16 Dec 2007 10:54:45 +0000 (10:54 +0000)]
MDL-12599 , MDL-12598 - fixed capability tests in user and overview reports; merged from MOODLE_19_STABLE

13 years agomerged from 1.9 :: CSS cleanups :: collect some background definitions in a basic...
urs_hunkler [Sun, 16 Dec 2007 09:41:56 +0000 (09:41 +0000)]
merged from 1.9 :: CSS cleanups :: collect some background definitions in a basic property and work with cascading to more special definitions.

13 years agoMDL-12593 - hidden role assignment icon wasn't being shown. Also prevent warning
poltawski [Sat, 15 Dec 2007 23:30:38 +0000 (23:30 +0000)]
MDL-12593 - hidden role assignment icon wasn't being shown. Also prevent warning
about unset $hidden

merged from MOODLE_19_STABLE

13 years agoImproving phpdocs for when to use format_string()/format_text() based on
poltawski [Sat, 15 Dec 2007 18:42:49 +0000 (18:42 +0000)]
Improving phpdocs for when to use format_string()/format_text() based on
wiki comments. It wasn't an entirely clear (e.g. mixup in MDL-11800)

Merged from MOODLE_19_STABLE

13 years agoMDL-12580 fixed infinite redirect loop when editing profile for the first time; merge...
skodak [Sat, 15 Dec 2007 16:57:20 +0000 (16:57 +0000)]
MDL-12580 fixed infinite redirect loop when editing profile for the first time; merged from MOODLE_19_STABLE

13 years agoMDL-12592 do not execute theme_setup() if header already printed; merged from MOODLE_...
skodak [Sat, 15 Dec 2007 16:53:39 +0000 (16:53 +0000)]
MDL-12592 do not execute theme_setup() if header already printed; merged from MOODLE_19_STABLE

13 years agoMDL-12581 fixed multiple xhtml strict; merged from MOODLE_19_STABLE
skodak [Sat, 15 Dec 2007 16:06:09 +0000 (16:06 +0000)]
MDL-12581 fixed multiple xhtml strict; merged from MOODLE_19_STABLE

13 years agoMDL-12585 make sure category path, parent and depth are ok before creating contexts...
skodak [Sat, 15 Dec 2007 15:49:35 +0000 (15:49 +0000)]
MDL-12585 make sure category path, parent and depth are ok before creating contexts; merged from MOODLE_19_STABLE

13 years agoMDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE
skodak [Sat, 15 Dec 2007 13:28:01 +0000 (13:28 +0000)]
MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE

13 years agoMDL-8992 eoas hack added only when really needed, removed slow fullclone; merged...
skodak [Sat, 15 Dec 2007 13:21:12 +0000 (13:21 +0000)]
MDL-8992 eoas hack added only when really needed, removed slow fullclone; merged from MOODLE_19_STABLE

13 years agoMDL-11800 improving previous commit; merged from MOODLE-19_STABLE
skodak [Sat, 15 Dec 2007 12:05:54 +0000 (12:05 +0000)]
MDL-11800 improving previous commit; merged from MOODLE-19_STABLE

13 years agoMDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE
skodak [Sat, 15 Dec 2007 11:49:59 +0000 (11:49 +0000)]
MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE

13 years agoHEAD version bump by delta. Modify some timezone fields to accept new olson files...
stronk7 [Sat, 15 Dec 2007 00:49:53 +0000 (00:49 +0000)]
HEAD version bump by delta. Modify some timezone fields to accept new olson files. MDL-12024

13 years agoModify some timezone fields to accept new olson files. MDL-12024
stronk7 [Sat, 15 Dec 2007 00:49:05 +0000 (00:49 +0000)]
Modify some timezone fields to accept new olson files. MDL-12024

Merged from MOODLE_19_STABLE

13 years agoMDL-12221 reworked container autoclosing - error() and notice() do not work everywher...
skodak [Fri, 14 Dec 2007 21:22:38 +0000 (21:22 +0000)]
MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE

13 years agoMDL-9290, restore performance improvements on reading xml
toyomoyo [Fri, 14 Dec 2007 06:16:08 +0000 (06:16 +0000)]
MDL-9290, restore performance improvements on reading xml

13 years agoFixes MDL-12578 for HEAD branch
diml [Thu, 13 Dec 2007 21:45:28 +0000 (21:45 +0000)]
Fixes MDL-12578 for HEAD branch
adding SEARCH_TYPE_LESSON and related keys to searchlib.

13 years agomerged from 1.9 :: MDL-12221 :: Some enhancements to handle the changed boxes - work...
urs_hunkler [Thu, 13 Dec 2007 20:25:24 +0000 (20:25 +0000)]
merged from 1.9 :: MDL-12221 :: Some enhancements to handle the changed boxes - work in progress.

13 years agomerged from 1.9 :: MDL-11438 :: added screenshot.jpg to prevent IEs crashing on the...
urs_hunkler [Thu, 13 Dec 2007 20:21:56 +0000 (20:21 +0000)]
merged from 1.9 :: MDL-11438 :: added screenshot.jpg to prevent IEs crashing on the them selection page.

13 years agoMDL-12575 - Backup and restore problems with the new question bank. Merged from MOODL...
tjhunt [Thu, 13 Dec 2007 18:48:30 +0000 (18:48 +0000)]
MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE.

13 years agoAdded the sql_cast_char2int() funtion to provide cross-db
stronk7 [Thu, 13 Dec 2007 18:02:31 +0000 (18:02 +0000)]
Added the sql_cast_char2int() funtion to provide cross-db
casting from char/text to integer. MDL-12574

Merged from MOODLE_19_STABLE

13 years agoImprove error messages.
tjhunt [Thu, 13 Dec 2007 17:24:54 +0000 (17:24 +0000)]
Improve error messages.

13 years agoMDL-12517 - Further refinement. Move the processing to after print_header, so any...
tjhunt [Thu, 13 Dec 2007 14:26:14 +0000 (14:26 +0000)]
MDL-12517 - Further refinement. Move the processing to after print_header, so any notices do not break XHTML strict. Merged from MOODLE_19_STABLE.

13 years agoMDL-12517 - Move checking code into the user interface layer where it belongs. Merged...
tjhunt [Thu, 13 Dec 2007 14:19:24 +0000 (14:19 +0000)]
MDL-12517 - Move checking code into the user interface layer where it belongs. Merged from MOODLE_19_STABLE.

13 years agoMDL-12517, notify when grades entered into gradebook is out of bounds
toyomoyo [Thu, 13 Dec 2007 07:09:27 +0000 (07:09 +0000)]
MDL-12517, notify when grades entered into gradebook is out of bounds

13 years agoMDL-12470, fixing broken span tag
toyomoyo [Thu, 13 Dec 2007 02:33:02 +0000 (02:33 +0000)]
MDL-12470, fixing broken span tag

13 years agoMDL-11267 - follow-up - don't show the checkboxes in the overview report if you canno...
tjhunt [Wed, 12 Dec 2007 19:13:09 +0000 (19:13 +0000)]
MDL-11267 - follow-up - don't show the checkboxes in the overview report if you cannot do anything with them. Merged from MOODLE_19_STABLE.

13 years agoImprove PHP doc comments.
tjhunt [Wed, 12 Dec 2007 19:01:59 +0000 (19:01 +0000)]
Improve PHP doc comments.

13 years agoFix Javascript error from essay questions on the review page.
tjhunt [Wed, 12 Dec 2007 18:10:48 +0000 (18:10 +0000)]
Fix Javascript error from essay questions on the review page.

13 years agoFix notice.
tjhunt [Wed, 12 Dec 2007 17:47:35 +0000 (17:47 +0000)]
Fix notice.

13 years agoMDL-9459 - Provide information relating to groups in the summary message "Attemts...
tjhunt [Wed, 12 Dec 2007 17:23:55 +0000 (17:23 +0000)]
MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".

I also took the opportunity to improve the layout of this message slightly, and clarify the message that tells you that you cannot add or remove questions from the quiz if there are attemts.

Merged from MOODLE_19_STABLE.

13 years agoImprove PHP doc comments.
tjhunt [Wed, 12 Dec 2007 17:10:48 +0000 (17:10 +0000)]
Improve PHP doc comments.

13 years agoMDL-12544, hide hidden roles in profile when user has no capability
toyomoyo [Wed, 12 Dec 2007 07:13:09 +0000 (07:13 +0000)]
MDL-12544, hide hidden roles in profile when user has no capability

13 years agoMDL-12550, wrong user count in role assignment
toyomoyo [Wed, 12 Dec 2007 03:31:26 +0000 (03:31 +0000)]
MDL-12550, wrong user count in role assignment

13 years agoReintroducing the possibility to declare a second row of tabs
stronk7 [Wed, 12 Dec 2007 00:58:09 +0000 (00:58 +0000)]
Reintroducing the possibility to declare a second row of tabs
via extratabs. MDL-12551

Merged from MOODLE_19_STABLE

13 years agoAdding the ability to perform custom uninstall tasks in modules. MDL-12520
stronk7 [Tue, 11 Dec 2007 23:39:32 +0000 (23:39 +0000)]
Adding the ability to perform custom uninstall tasks in modules. MDL-12520

Merged from MOODLE_19_STABLE

13 years agoMDL-12546 - The choice module was calling get_users_by_capability, which hammers...
tjhunt [Tue, 11 Dec 2007 18:49:56 +0000 (18:49 +0000)]
MDL-12546 - The choice module was calling get_users_by_capability, which hammers the database and returns lots of data, inside a loop over users - and it was calling it with identical parameters each time. Ouch!

Actually, since the fix for MDL-12331, which changed the get_users_by_capability call at the top of this function, the check it was doing is entirely redundant anyway, so I removed it.

Merged from MOODLE_19_STABLE.

13 years agoMDL-12543 - Quiz overview report displays a grade of 0 the same way as a missing...
tjhunt [Tue, 11 Dec 2007 16:55:54 +0000 (16:55 +0000)]
MDL-12543 - Quiz overview report displays a grade of 0 the same way as a missing grade for an incomplete attempt. Merged from MOODLE_19_STABLE.

13 years agoMDL-8682 - followup. When disabling the enter key, don't disable it on links. That...
tjhunt [Tue, 11 Dec 2007 16:23:54 +0000 (16:23 +0000)]
MDL-8682 - followup. When disabling the enter key, don't disable it on links. That is bad for accessibility. Merged from MOODLE_19_STABLE.

13 years agoMDL-12542 - backup_todb not called on restore on date before it is inserted into...
tjhunt [Tue, 11 Dec 2007 15:55:25 +0000 (15:55 +0000)]
MDL-12542 - backup_todb not called on restore on date before it is inserted into mdl_user. This would cause a backup from a pre 1.7 site (or a pre 1.7 that has been upgraded to 1.9) to a 1.9 fresh install, to fail sometimes. Merged from MOODLE_19_STABLE.

13 years agoFixes MDL-12541 "Weeks course format - dates for each section should be marked up...
nfreear [Tue, 11 Dec 2007 15:25:07 +0000 (15:25 +0000)]
Fixes MDL-12541 "Weeks course format - dates for each section should be marked up as heading". Merged.

13 years agoMDL-12540 - Quiz sometimes outputs content before <head> when previewing - breaks...
tjhunt [Tue, 11 Dec 2007 15:04:31 +0000 (15:04 +0000)]
MDL-12540 - Quiz sometimes outputs content before <head> when previewing - breaks HTML strict. Merged from MOODLE_19_STABLE.

13 years agoFixes MDL-12539 "Help link text for all admin/user filters are broken".
nfreear [Tue, 11 Dec 2007 13:58:39 +0000 (13:58 +0000)]
Fixes MDL-12539 "Help link text for all admin/user filters are broken".

13 years agoFixes MDL-12539 "Help link text for all admin/user filters are broken".
nfreear [Tue, 11 Dec 2007 12:58:37 +0000 (12:58 +0000)]
Fixes MDL-12539 "Help link text for all admin/user filters are broken".

13 years agoTake out debugging output in role_assign. It only tells you that something has worked...
tjhunt [Tue, 11 Dec 2007 10:37:53 +0000 (10:37 +0000)]
Take out debugging output in role_assign. It only tells you that something has worked, and everywhere else we use debugging output to warn people they have called an API wrongly. Therefore, this is just confusing now that we trust this bit of roles code.

13 years ago MDL-12421 rounding
pichetp [Tue, 11 Dec 2007 09:13:17 +0000 (09:13 +0000)]
 MDL-12421 rounding

13 years agoMDL-12503 Loguniform and MDL-12421 rounding
pichetp [Tue, 11 Dec 2007 08:56:24 +0000 (08:56 +0000)]
MDL-12503 Loguniform and MDL-12421 rounding

13 years agoMDL-12504, gradebook export does not respect course item position
toyomoyo [Tue, 11 Dec 2007 05:44:11 +0000 (05:44 +0000)]
MDL-12504, gradebook export does not respect course item position

13 years agoprevent some notices, cleaner code.
scyrma [Tue, 11 Dec 2007 05:10:10 +0000 (05:10 +0000)]
prevent some notices, cleaner code.

13 years agoMDL-12528 - getElementById was misspelled.
scyrma [Tue, 11 Dec 2007 05:00:14 +0000 (05:00 +0000)]
MDL-12528 - getElementById was misspelled.

13 years agoMDL-12410 - a way to select which questions to export, includes debug messages
jamiesensei [Tue, 11 Dec 2007 03:24:35 +0000 (03:24 +0000)]
MDL-12410 - a way to select which questions to export, includes debug messages

13 years agoMDL-12463, do not backup mod gradeitems if not selected
toyomoyo [Tue, 11 Dec 2007 03:16:15 +0000 (03:16 +0000)]
MDL-12463, do not backup mod gradeitems if not selected

13 years agoMDL-12519. grader report row colors override highlighting
toyomoyo [Tue, 11 Dec 2007 02:04:36 +0000 (02:04 +0000)]
MDL-12519. grader report row colors override highlighting

13 years agoMDL-12523 accesslib:cleanup_contexts() - Fix invalid SQL syntax and reserved keywords
martinlanghoff [Mon, 10 Dec 2007 21:35:58 +0000 (21:35 +0000)]
MDL-12523 accesslib:cleanup_contexts() - Fix invalid SQL syntax and reserved keywords

cleanup_contexts() was not working on Oracle - mostly due to 2 SQL
syntax problems. So probably marginally working elsewhere.

 - We should not use AS when naming table/subselect aliases - only
   when referring to column aliases in the resultset

 - level is a reserved word - oops! - so back to contextlevel

13 years agoMDL-12512 - Gradebook calculations are broken. This was caused by == FALSE that shoul...
tjhunt [Mon, 10 Dec 2007 17:37:14 +0000 (17:37 +0000)]
MDL-12512 - Gradebook calculations are broken. This was caused by == FALSE that should have been === FALSE deep in the 3rd pary maths lib. Merged from MOODLE_19_STABLE.

13 years agoDo not suppress errors from developers! it makes debugging a nightmare!
tjhunt [Mon, 10 Dec 2007 16:53:17 +0000 (16:53 +0000)]
Do not suppress errors from developers! it makes debugging a nightmare!