Tim Hunt
2b7da64586
MDL-20636 It is now possible to save a truefalse question you have created.
...
This includes all the necessary DB upgrades.
Also all unit tests in question/type/simpletest and question/type/truefalse now pass.
2011-01-13 18:35:41 +00:00
Petr Skoda
4e70708de9
MDL-25837 detect invalid course parameter when getting fast modinfo
2011-01-12 21:40:34 +01:00
Eloy Lafuente (stronk7)
a3b474ffa0
Merge branch 'wip-MDL-25370' of git://github.com/sammarshallou/moodle
2010-12-27 17:55:35 +01:00
Eloy Lafuente (stronk7)
1ac3e1f208
Merge branch 'MDL-25720' of git://github.com/timhunt/moodle
2010-12-27 16:36:17 +01:00
Tim Hunt
652599ecc3
MDL-25720 moodlelib new PARAM_RAW_TRIMMED.
...
Will be required by the new question engine.
2010-12-22 10:51:48 +00:00
andyjdavis
d8f1412819
message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email
2010-12-22 12:05:49 +08:00
sam marshall
e4a626b983
cron MDL-25370 Update Petr's changes to fix bug regarding lastcron, add comments/doc
2010-12-21 16:37:22 +00:00
Petr Skoda
b554173562
MDL-25370 general cron support for nearly all plugin types
2010-12-21 15:18:29 +00:00
sam marshall
546380244f
cron MDL-25370 Added support for course report cron
...
- Adds support for course report cron
- Moves existing admin report cron support to end of cron function
- Adds new core API get_plugin_list_with_function
note: default shipping course and admin reports do not use cron
function, this is only to support plugins.
2010-12-13 13:00:44 +00:00
Petr Skoda
2168425a9e
MDL-25611 more browser detection cleanup and improvements
...
general WebKit support, adding version support for android, fixing android browser name (engine name first), adding more tests
2010-12-08 07:39:58 +00:00
Petr Skoda
0667103514
MDL-25611 browser detection cleanup and improvements
2010-12-08 06:51:54 +00:00
Petr Skoda
e67cfbd4c7
MDL-23733 Disable TinyMCE on iPod Touch and Android devices
...
Credit goes to Paul Nicholls
2010-12-07 15:49:57 +00:00
Petr Skoda
b0b63da977
MDL-25400 user_created/updated events not generated at login
2010-11-26 02:36:09 +00:00
Petr Skoda
a864e5ddc3
MDL-24699 fixed performance and other potential problems in update_user_record
2010-11-24 02:52:26 +00:00
Andrew Davis
bc68fc9a9b
message MDL-25297 refactored quiz to make message notifications work
2010-11-19 05:18:34 +00:00
Petr Skoda
cbad562eee
MDL-25314 improved prevention of output buffering + detection of misconfigured servers
...
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Petr Skoda
516c5eca68
MDL-24698 hopefully fixed all completion_info problems
2010-11-17 06:23:56 +00:00
Petr Skoda
7415aed103
MDL-11728 finally defining the exact meaning of is_internal() in auth plugins
...
internal means "uses password hash for user authentication", there is a new is_synchronised_with_external() method that indicates if moodle should automatically sync user info with external system after login; I have also improved the default for prevent_local_passwords() which is now defaulting to !is_internal()
2010-11-14 02:01:59 +00:00
Sam Hemelryk
d9e0726431
lib MDL-1975 Users who have been auto logged in by guest are now redirected to login on capability exceptions rather than being shown the exception.
2010-11-12 07:53:55 +00:00
Sam Hemelryk
d067fc474c
javascript MDL-25013 YUI modules are now recursively loaded and a stacktrace stored when this occurs
2010-11-12 05:26:47 +00:00
Petr Skoda
07c53c4a48
MDL-25174 adding a workaround for old passwords that were hashed with magic quotes
2010-11-12 02:36:20 +00:00
Eloy Lafuente
96c726b663
MDL-24924 course/import - plugin not available anymore. Killed!
2010-11-11 22:52:17 +00:00
Andrew Davis
d38755249d
message MDL-25148 using method on $PAGE to allow or disallow popup notifications
2010-11-11 06:11:43 +00:00
Sam Hemelryk
ed1d72ea70
navigation MDL-25142 Fixed up differences in navigation between guest and normal user.
...
As part of this patch I also introduced a new method in accesslib can_access_course that can be used
to check a users access to a course.
I also fixed a minor issue with guest access flag caching in require_login
2010-11-11 03:37:56 +00:00
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