Commit graph

8935 commits

Author SHA1 Message Date
Eloy Lafuente
2f9c1693a0 MDL-20734 Changed tests behaviour so insert/update/set_field will be expected to cast
empty strings (in numeric columns) to 0
2009-11-03 19:53:11 +00:00
Eloy Lafuente
fdc45ac360 NOBUG: Added some tests with empty strings in insert_record/update_record/set_field
that reveal inconsistencies between DBs
2009-11-03 18:11:18 +00:00
Eloy Lafuente
0f0801f499 Added missing global that was causing perfinfo and others not to be respected. 2009-11-03 11:02:07 +00:00
Eloy Lafuente
7c47635220 Added missing PK causing problems in MySQL. Will test that later in
proper DDL tests...
2009-11-03 10:20:56 +00:00
Tim Hunt
3c2cfc8f3f blocks: MDL-20710 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:16:56 +00:00
Tim Hunt
c74eec3bee blocks: MDL-20711 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:16:28 +00:00
Tim Hunt
a79ef03fe9 moodlelib: MDL-20702 New require_sesskey function.
Also improve PHPdoc comments to fix my misconceptions.
2009-11-02 16:41:00 +00:00
Petr Skoda
4103f151f9 MDL-20715 fixed notice from dml native oci driver when php driver not installed 2009-11-02 14:33:46 +00:00
Dongsheng Cai
c2e2d8e3aa "MDL-20602, support FILE_INTERNAL and FILE_EXTERNAL in moodle form elements" 2009-11-02 07:18:38 +00:00
Sam Hemelryk
76d9df3f1d calendar MDL-20601 Conversion of calendar to mforms and new html editor + file API 2009-11-02 03:50:56 +00:00
Moodle HQ git importer
8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +00:00
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
Petr Skoda
4a0e2e632f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:42:23 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
Petr Skoda
1387fcdd58 MDL-20699 fixed typos 2009-11-01 10:05:07 +00:00
Petr Skoda
a56c457e52 MDL-20699 more abstraction in default exception handler 2009-11-01 10:00:30 +00:00
Petr Skoda
695c5ec4cd MDL-20699 more abstraction in default exception handler 2009-11-01 09:58:04 +00:00
Petr Skoda
4c1c9175c5 MDL-20698 fixed comment typos 2009-11-01 09:44:11 +00:00
Petr Skoda
e6942a949a MDL-20698 cleaning up old ugprade hacks in setup.php 2009-11-01 09:38:38 +00:00
Petr Skoda
df97c6ee57 MDL-14679 fixing old TODO, get_record now throws exception on error 2009-11-01 09:31:09 +00:00
Petr Skoda
2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
Petr Skoda
3f77c1584c MDL-20697 removing duplicate error string, fixing get_site() which is now using exceptions 2009-11-01 09:10:09 +00:00
Petr Skoda
7b51fb61d2 MDL-20697 get_site() now throws exception in case of any problems (except during installation) - the problem is we can not recover from this automatically 2009-11-01 09:05:59 +00:00
Petr Skoda
10729aaaf2 MDL-20695 set_field does not return false any more, instead throws exception 2009-10-31 22:53:27 +00:00
Petr Skoda
6e03bed71b MDL-20696 noting zend libs are incomplete and are not guaranteed to be there in future 2009-10-31 22:37:16 +00:00
Petr Skoda
4dffc77519 MDL-20696 fixed coding style: lib/setup.php is the first file people start reading when hacking moodle, it has to use the best coding style possible ;-) 2009-10-31 22:35:06 +00:00
Petr Skoda
47c2811b95 MDL-20695 no need to log prefetch attempts, we can not prevent them 2009-10-31 22:22:08 +00:00
Petr Skoda
ccda6d6866 MDL-20695 can not use trigger_error() for informing users about problems in config.php, no need to log these 2009-10-31 22:11:16 +00:00
Petr Skoda
2e9b772fb8 MDL-20693 new NO_DEBUG_DISPLAY define 2009-10-31 22:02:05 +00:00
Petr Skoda
3c1ea58b46 MDL-20691 "Fatal error: Exception thrown without a stack frame in Unknown on line 0" workaround in $OUTPUT->print_error() 2009-10-31 15:01:25 +00:00
Petr Skoda
30fa50d0b7 MDL-20676 whitespeace and other minor cleanup+fixes 2009-10-31 14:17:44 +00:00
Petr Skoda
6f8f4d839c MDL-20577 fixed print error did not work outside of developer mode, output buffer content not discarded any more (significant debugging regression fix) 2009-10-31 14:12:16 +00:00
Petr Skoda
c19bc39c00 MDL-20676 refactoring and cleanup in default exception handler 2009-10-31 13:52:39 +00:00
Petr Skoda
cbf05caaac MDL-20677 print_error() now throws exception + adding support for debug info parameter 2009-10-31 13:23:29 +00:00
Petr Skoda
6d92adcb2b MDL-20676, MDL-20678 error page fixes 2009-10-31 13:20:18 +00:00
Eloy Lafuente
a380f30158 MDL-20288 add_to_log() - No need for any check in 2.0 as far as
insert_record_raw() already hadles that for Oracle on binding.
Merged from 19_STABLE
2009-10-30 17:07:21 +00:00
Petr Skoda
50764d3790 MDL-20676 improved output buffer workaround when printing fatal errors 2009-10-30 13:44:07 +00:00
Petr Skoda
89bef76c12 MDL-20676 removed duplicated debug info in uncaught exceptions 2009-10-30 13:31:15 +00:00
Petr Skoda
dfe73ba8e1 MDL-20677 simplified debugging of deprecated use of error() 2009-10-30 13:29:14 +00:00
Petr Skoda
83267ec08a MDL-20677 simplified debugging of deprecated use of error() 2009-10-30 13:29:14 +00:00
Petr Skoda
a8ab8de959 MDL-20677 exception used in error() instead of print&die - this helps a lot when you need custom default exception handlers; it also reduces duplication in code 2009-10-30 13:12:45 +00:00
Petr Skoda
85309744d6 MDL-20676 improved protocol specification in fatal error headers - credit goes to Martin Langhoff 2009-10-30 12:46:16 +00:00
Petr Skoda
afda07d5eb MDL-20676 removed strange attempt to eliminate good old temporary error message 2009-10-30 12:29:32 +00:00
Rossiani Wijaya
b1b4c2d75f course/view MDL-10142 AJAX move functionality on section content 2009-10-30 08:02:16 +00:00
Nicolas Connault
05de723b1b MDL-20328 New capabilities for blog 2009-10-30 07:26:11 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
Nicolas Connault
cc82aef6fa MDL-19754 New tables for blog, and upgrade script if needed 2009-10-30 07:24:34 +00:00
Sam Hemelryk
26f0525fa5 NOBUG: Testing CVS mailout for Jordan 2009-10-30 06:31:17 +00:00
Sam Hemelryk
13b0b27172 moodle_url MDL-20674 Added a method to allow the dev to set the anchor attribute of a moodle_url 2009-10-30 06:20:59 +00:00
Sam Hemelryk
5f8bce506f javascript MDL-20662 Commited patch to fix old_onload_focus, thanks Nigel for the patch :) 2009-10-29 07:48:55 +00:00