Commit graph

2295 commits

Author SHA1 Message Date
David Mudrak
9dbc2e7b4a MDL-25111 MNet: fixed typo in the callback function name
Credit goes to Hubert Chathi.
2010-11-09 13:11:28 +00:00
Dongsheng Cai
a8e3b008ff MDL-25069 CHAT added event handler to handler user logout event. 2010-11-08 02:54:42 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
David Mudrak
c883a74f6f MDL-24896 Do not access PHPMailer's private properties but use public API only
There was a problem with properties $to, $ReplyTo and $error_count that
are now private. $error_count is accessible via public IsError() method.
For the other two, we needed them just because of post-processing charset
conversion. So I just made sure that the charset is converted before
the recipent and reply-to names are added to the PHPMailer.

Also, I do not instantiate Typo3 during every email if it is not needed
and I pass the character set to it in lower case now as stated in
textlib documentation.
2010-11-03 20:44:35 +00:00
David Mudrak
d2e3d259fa MDL-24896 Removed hmm-note - PHPMailer's LE property is part of public API 2010-11-03 20:44:23 +00:00
David Mudrak
beee71f2e7 MDL-21276 removed forgotten MNet global variable declaration and unused static cache 2010-11-03 20:44:10 +00:00
David Mudrak
d21616ecb1 MDL-24896 no more returning explicit reference by get_mailer
PHP5 passes and returns reference to objects automatically, no need for
reference operator any more.
2010-11-03 20:43:46 +00:00
Tim Hunt
bfb82da3e4 get_config / unit tests MDL-24977 get_config('a_plugin'); should return something false when there is no config.
It was always casting the result to an object, even when it was an empty array. I changed it to return null in this case. So that if (get_config('a_plugin')) { /* Do something relying on the pugin having config */ ) works.
2010-11-01 12:20:39 +00:00
Rossiani Wijaya
4756795bf7 MDL-22528: fixed AJAX Course editing in Chrome and Safari. 2010-10-28 07:13:56 +00:00
David Mudrak
b9fadae72d MDL-24507 support for the TinyMCE moodleemoticon plugin 2010-10-27 18:12:26 +00:00
Andrew Davis
db0acadf45 message MDL-24873 updated message_popup_window() to be faster 2010-10-27 06:52:23 +00:00
Andrew Davis
8d8d0ee2de message MDL-24873 committing new version of message_popup_window() that should be much faster 2010-10-27 06:22:41 +00:00
Petr Skoda
39461de329 MDL-24837 improved user preferences internal implementation, general code cleanup, minor bugfixing, fixed '0' value regression and improved caching options in cron scripts (this should hopefully help with messaging performance in cron once it is used there), implemented basic unit tests for user user preferences 2010-10-25 20:44:32 +00:00
Andrew Davis
a813a74843 message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging 2010-10-25 09:29:34 +00:00
David Mudrak
e540629edf MDL-24777 core function replace_smilies now uses emoticon_manager API 2010-10-23 18:40:46 +00:00
David Mudrak
7680da6ce8 MDL-24777 new emoticon_manager and its admin settings 2010-10-23 18:40:11 +00:00
David Mudrak
90831e4b06 NOMDL add_to_log() now uses SITEID when logging site errors 2010-10-19 16:08:55 +00:00
Petr Skoda
c22473a214 MDL-24751 fixed default memory limit when deciding to use apache_child_terminate(), apache_child_terminate() is now called from one place only 2010-10-19 10:00:29 +00:00
Petr Skoda
a4c3fc813a MDL-24751 increased default memory limit when deciding to use apache_child_terminate(), we can safely remove all other uses of apache_child_terminate() 2010-10-19 09:43:01 +00:00
Petr Skoda
30c396f09a MDL-24751 increased default memory limit when deciding to use apache_child_terminate, we can safely remove all other uses 2010-10-19 09:41:35 +00:00
Andrew Davis
6ee2611c63 message MDL-24563 altered messaging so that forum post notifications aren't so overwhelming when viewed on /message/index.php 2010-10-15 06:59:02 +00:00
David Mudrak
8dfb8a0343 MDL-24627 Unknown components are considered activity modules even if their name contains underscore 2010-10-12 12:56:59 +00:00
Petr Skoda
22a8fbdcf9 MDL-22739, MDL-23772 improved changeme hack + finally fixing the delayed changeme effect 2010-10-11 07:55:24 +00:00
Petr Skoda
8a8f1c7cd6 MDL-10137 rewritten cookie test on login page, username cookie is not required any more - hopefully this will be more reliable test 2010-10-10 17:30:28 +00:00
Petr Skoda
17c70aa007 MDL-16723 automatic redirects to https when loginhttps enabled - this solves accidental usage of http version + it also solves recent navigation regressions + fixed regression from PAGE conversions + deprecated old httpsrequired() and $HTTPSPAGEREQUIRED 2010-10-10 15:04:19 +00:00
Petr Skoda
b593d49d59 MDL-24570 multiple sitepolicy fixes + adding new separate guest user policy
AMOS BEGIN
 MOV [configsitepolicy,core_admin],[sitepolicy_help,core_admin]
AMOS END
2010-10-09 18:13:33 +00:00
Petr Skoda
45fb2cf898 MDL-24578 removed duplicate user delete functions, fixed unenrol bugs 2010-10-08 08:47:04 +00:00
Petr Skoda
e7521e4c13 MDL-6122 truncate_userinfo() has to use unicode aware functions 2010-10-06 19:12:49 +00:00
Sam Hemelryk
ef7af3dd5c NOBUG removed unused deprecated arg to mktime for php 5.3 2010-10-06 07:50:00 +00:00
Petr Skoda
e995de87e2 MDL-24446 prevent problems with invalid values of CFG->maxbytes 2010-09-29 21:50:11 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Dan Marsden
bce59524ce Plagiarism API MDL-13680 add plagiarism support for user submitted files - currently only added to single and advanced Assignment types - other modules to come in future. 2010-09-20 07:32:31 +00:00
Petr Skoda
9aeaf4c622 MDL-24148 bit more reordering - delete blocks before activities because they might use module data 2010-09-19 14:02:56 +00:00
Petr Skoda
582bae08ff MDL-24148 several course delete improvements and fixes:
* fixed order of deleting in course adn context
 * adding course context to event data because it is not available alter and some stuff may depend on old context id
 * adding option for context purging (keeps the context record because it might be still referenced later and it would be recreated)
 * new course enrol cleanup
 * removing content from some course fields that were referencing deleted content
 * coding style and phpdocs improvements
2010-09-19 13:09:48 +00:00
Martin Dougiamas
e72b3eb27f MDL-24147 Delete course_display when deleting course 2010-09-19 06:40:24 +00:00
Petr Skoda
c971707aff fixed phpdocs and proposed a better change 2010-09-18 11:52:59 +00:00
Petr Skoda
6c6b2b1024 adding missing global breaking some mnet jumping 2010-09-18 11:24:21 +00:00
Petr Skoda
09511cd3be fixing whitespace and commenting on some suspicious code 2010-09-18 11:23:46 +00:00
Petr Skoda
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +00:00
Sam Hemelryk
d7eeb39ed7 NOBUG: Removed deprecated mktime arg from dayofweek func in moodlelib 2010-09-17 04:21:18 +00:00
Dongsheng Cai
c343ddf84e MDL-24157, clean up page_comments when reseting courses 2010-09-16 07:38:52 +00:00
Sam Hemelryk
224020ac1a course-completion MDL-24145 Course reset now has option for course completion data 2010-09-16 04:14:46 +00:00
Sam Hemelryk
3991bd7d69 course-import MDL-24176 Added mimetype mapping for moodle backup files to get_file_packer 2010-09-16 03:56:44 +00:00
Sam Hemelryk
5d38bd8c02 course completion MDL-24145 Course completion information is cleared by reset_course_contents 2010-09-16 03:45:28 +00:00
Dongsheng Cai
ec125c7596 MDL-22051, move comments deletion code to accesslib.php 2010-09-08 08:29:46 +00:00
Petr Skoda
c6947ba7a5 MDL-23899 migration to new locale aware asort 2010-09-05 13:00:47 +00:00
Petr Skoda
86f6eec327 MDL-23184 PARAM_CLEANHTML is work with real html markup only, it does not do our custom FORMAT_MOODLE tweaks anymore, luckily this was not supposed to be used before storage to database in 1.9, that means there should not be any BC issues;Êimproved docs 2010-09-02 18:49:31 +00:00
Petr Skoda
9f75f77da3 MDL-23184 improved docs, do not show deprecated examples 2010-09-02 18:37:22 +00:00
Petr Skoda
7e4341f9f5 fixed php docs, PARAM_CLEANHTML does not strip backslashes anymore 2010-09-02 17:58:03 +00:00
Petr Skoda
44913c8d47 MDL-24063 finally after so many years developers have to specify parameter types in optional_param() and required_param() - the developers get standard PHP notices and debugging info, hopefully that will be enough to persuade everybody to stop abusing default PARAM_CLEAN; fixing php docs 2010-09-02 17:51:59 +00:00