Commit graph

10837 commits

Author SHA1 Message Date
Petr Skoda
a1782c361c MDL-19057 moving test to match order in moodle_database 2010-09-06 13:06:35 +00:00
Petr Skoda
73040360d6 MDL-19057 new test_get_server_info() 2010-09-06 13:01:00 +00:00
Petr Skoda
324715c802 MDL-19057 new diagnose() method test 2010-09-06 12:55:58 +00:00
Petr Skoda
89e87570b6 MDL-19057 fixed docs 2010-09-06 12:50:17 +00:00
Petr Skoda
f358b06a1e MDL-19057 fixed get instance docs 2010-09-06 12:47:57 +00:00
Petr Skoda
f0d531ad4c standardized PHPDocs package info + fixed copyrights to reflect real author of classes (if anybody wants to change anything I would like to be contacted) 2010-09-06 11:49:46 +00:00
Petr Skoda
47d2216e8a standardized PHPDocs package info + fixed copyright dates and authors 2010-09-06 11:41:43 +00:00
Petr Skoda
d078f6d38e standardized PHPDocs package info 2010-09-06 11:29:21 +00:00
Petr Skoda
844239d3ed MDL-24092 removing STATEMENTS support from install.xml, use db/install.php or db/log.php instead 2010-09-06 11:11:32 +00:00
Eloy Lafuente
11d6233451 MDL-24041 format_module_intro() - observe the $filter parameter properly. 2010-09-06 08:42:43 +00:00
Dongsheng Cai
f312e8783a MDL-13766, improve filepicker ui 2010-09-06 06:07:47 +00:00
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda
d32fb55027 MDL-24090 fixed package info and added proper dates and authors in class copyrights 2010-09-05 20:15:41 +00:00
Eloy Lafuente
7efd488e76 MDL-23437 backup - move restore:restoreactivity cap from module to course context 2010-09-05 16:58:30 +00:00
Petr Skoda
f12768798b MDL-16853 improver set_field() unittests, hopefully this would detect any potential Oracle problems mentioned in tracker 2010-09-05 16:18:21 +00:00
Petr Skoda
2b3ccae5f9 MDL-14679 more get_field() unittests 2010-09-05 15:48:19 +00:00
Petr Skoda
d7f42e77e6 MDL-14679 improved get_filed tests 2010-09-05 15:36:06 +00:00
Petr Skoda
c6947ba7a5 MDL-23899 migration to new locale aware asort 2010-09-05 13:00:47 +00:00
Petr Skoda
3650b83d9e MDL-23899 fixed asort to modify parameter instead of returning array - it now matches standard asort() 2010-09-05 12:57:59 +00:00
Petr Skoda
ee70439a64 MDL-24079 fixed recent and old regressions in tablelib, next commit is going to include fixes for usage of tablelib 2010-09-05 12:27:17 +00:00
Petr Skoda
878bcc7f09 MDL-23899 locale aware asort + unit tests 2010-09-04 21:12:18 +00:00
Petr Skoda
4758639429 MDL-24080 converting remaining NOT LIKEs 2010-09-04 14:52:47 +00:00
Petr Skoda
16114b9db8 MDL-24080 new $notlike parameter added to our new sql_like(), hopefully nobody started using the $escaped param yet; unittests included 2010-09-04 14:39:01 +00:00
Petr Skoda
2f8eea3415 MDL-24079 finally the sql_ilike() is deprecated 2010-09-04 14:23:50 +00:00
Petr Skoda
20a79b4316 MDL-24079 fixed potential SQL injection in tablelib 2010-09-04 13:02:49 +00:00
Petr Skoda
e08de1b495 MDL-24079 converted searchlib to use new sql_like() 2010-09-04 12:50:23 +00:00
Petr Skoda
b0238f06e3 MDL-24079 converted datalib to use new sql_like() 2010-09-04 12:45:47 +00:00
Petr Skoda
f63ac65ac5 MDL-24079 converted sql_ilike() to new sql_like in user selectors 2010-09-04 11:46:00 +00:00
Petr Skoda
57ebd15e1d MDL-23308 reverting previously reverted deprecation of legacy course files - we have agreed during the meeting on Thursday that we add new setting to allow this, not keeping the course files everywhere forever 2010-09-03 19:14:33 +00:00
Petr Skoda
f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Petr Skoda
a9637e7df4 MDL-14679 fixed a lot more old style uses of insert_record() 2010-09-03 17:47:41 +00:00
Petr Skoda
9d97f08e99 MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML 2010-09-03 16:26:04 +00:00
Petr Skoda
0424cfe307 fixed comment typos 2010-09-03 15:59:25 +00:00
Petr Skoda
0e6e90516a MDL-24028 cast all bools in DML params to integers 1/0; credit goes to Eloy Lafuente 2010-09-03 15:44:11 +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
fb59f2f126 MDL-23184 CLEAN_PARAM explanation improved in unittests 2010-09-02 18:12:21 +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
Petr Skoda
40ea93a4fe MDL-15897 fix strict comparison 2010-09-02 17:33:49 +00:00
Petr Skoda
b6059edcac MDL-22959 PARA_TEXT multilang whitelisting cleanup; the text is no longer being processed by kses or htmlpurifier - this should fix some recent regressions, any xhtml strict tweaking should be done in format_string() if necessary; unit tests included 2010-09-02 17:30:00 +00:00
Tim Hunt
dc3e95c0d8 MDL-24060 Need a way to control whether html_to_text lists all links in the HTML 2010-09-02 13:06:17 +00:00
Petr Skoda
30c39ac54f MDL-24058 no stripslashes any more 2010-09-02 12:49:29 +00:00
Petr Skoda
714dac9f7b MDL-24058 magic quotes are being delat with in our lib/setup.php, no need to use them again in our heavily hacked quickforms 2010-09-02 12:47:59 +00:00
Petr Skoda
5c38934703 MDL-16780, MDL-24058 removing AJAX from list of used libs too 2010-09-02 12:29:25 +00:00
Petr Skoda
c1c89e3b21 MDL-16780, MDL-24058 removing PHP4 JSON implementation and related AJAX pear stuff that is not used any more - it is buggy, so we would have to either fix it (waste of time) or we have to remove it; no core code is using this and contrib can be easily updated to use standard json_encode() 2010-09-02 12:27:47 +00:00
Petr Skoda
8f46ae619c MDL-24058 fixed potential XSS 2010-09-02 12:19:08 +00:00
Petr Skoda
7d8f881a49 MDL-23997 using strings instead of integers in binding emulation - this should be compatible both with int and nvarchar sql types 2010-09-02 10:24:40 +00:00
Aparup Banerjee
d2d38c4651 lib MDL-23180 put in obviously missed global $CFG. 2010-09-02 06:34:48 +00:00
Andrew Davis
59ee314414 gradebook MDL-24045 added a guard for when the user report is accessed outside of a course context 2010-09-02 02:38:29 +00:00