Petr Skoda [Sat, 7 Nov 2009 10:27:57 +0000 (10:27 +0000)]
MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems"
webservice MDL-17135 add notification when the current required capability doesn't exist anymore + remove TODO comment about checking that the service names are unique because we should end up to find a way to i18n service names => The uniqueness should be checked during service discovery
Petr Skoda [Wed, 4 Nov 2009 20:06:40 +0000 (20:06 +0000)]
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup; please note we are not using stock bennu lib from SF
Petr Skoda [Wed, 4 Nov 2009 20:05:42 +0000 (20:05 +0000)]
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup; please note we are not using stock bennu lib from SF
Petr Skoda [Wed, 4 Nov 2009 20:05:41 +0000 (20:05 +0000)]
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup; please note we are not using stock bennu lib from SF
Petr Skoda [Wed, 4 Nov 2009 19:24:12 +0000 (19:24 +0000)]
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
Sam Hemelryk [Wed, 4 Nov 2009 07:23:19 +0000 (07:23 +0000)]
navigation MDL-20651 Added config setting to hide course categories on the navigation
As requested and voted on admin can now choose not to include course categories within the navbar and global navigation block.
At the same time I also introduced a second setting, showallcourses, which ensures all of the courses a user is registered in are shown on the navigation at all times.
Sam Hemelryk [Wed, 4 Nov 2009 06:14:06 +0000 (06:14 +0000)]
files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
Sam Hemelryk [Wed, 4 Nov 2009 06:11:32 +0000 (06:11 +0000)]
files MDL-20635 Added support for cleaning up files associated with a context when it is deleted
Note: This is a temporary solution until we have a patch to clean them up in a cron run
Eloy Lafuente [Tue, 3 Nov 2009 23:34:43 +0000 (23:34 +0000)]
MDL-20734 empties and zeros - implemented the normalise_value() function in
mysql and postgres to perform central normalisation of values for insert/
update/set_field. Now all DB drivers cast empty strings to 0 when working
with numeric columns (integer and decimal)
Dan Poltawski [Tue, 3 Nov 2009 21:02:36 +0000 (21:02 +0000)]
lib/phpmailer MDL-20701 - Convert to moodle_phpmailer class
Stage 2 - We now extend phpmailer and do our customisations in our subclass
rather than directly in the original file.
Previously we modified SetLanguage(), but I have not carried that change over
because I could not see code paths where this gets executed.(See bug)
I tested the header/content of the old class vs this one and think the changes
are all carried over. (If anyone has clever thoughts for how to unit test this
mailing out it would be useful, especially for upgrading phpmailer).
Dan Poltawski [Tue, 3 Nov 2009 21:01:50 +0000 (21:01 +0000)]
lib/phpmailer MDL-20701 - Import new phpmailer (php5 only)
Stage one of converting our existing customisations into an extended class.
This makes it easier for us to keep up to date, see our changes and remove
the bundled libraries for distros (e.g. debian).