Commit graph

10837 commits

Author SHA1 Message Date
Sam Marshall
51f96f5bd9 blocks MDL-24040 Creating course fails horribly if you make one of the default blocks invisible 2010-09-01 17:36:46 +00:00
Sam Marshall
46e1237279 Completion MDL-23995 Completion, availability data not deleted with modules/course 2010-09-01 17:02:56 +00:00
Petr Skoda
bb980cce0b MDL-23997 even more unittests detecting failures in sqlsrv driver 2010-09-01 16:05:17 +00:00
Petr Skoda
057865c017 MDL-23997 more unittests detecting failures in sqlsrv driver 2010-09-01 15:54:16 +00:00
Andrew Davis
f9cd798c7e rating MDL-23908 improved rating role tips 2010-08-31 07:59:32 +00:00
Eloy Lafuente
e016d12603 NOBUG mssql driver, fix some wrong uses recently introduced 2010-08-30 13:45:26 +00:00
Eloy Lafuente
41276c9ed8 MDL-23997 add some unconvertible contents to the tests, just to be sure 2010-08-30 12:24:42 +00:00
Eloy Lafuente
7a45a5f1ec MDL-23997 modified char comparison tests to ensure they are executed without metadata at all 2010-08-30 12:05:35 +00:00
Eloy Lafuente
c899cbeae9 MDL-23997 re-added text comparison tests for bound query now using sql_compare_text() properly. 2010-08-30 11:46:34 +00:00
Petr Skoda
2a72392d59 MDL-23997 new tests for bound query compatibility - reverting text comparison, we need param type hints for that 2010-08-30 10:51:50 +00:00
Eloy Lafuente
78b3faa98c NOBUG mssql - nasty regression causing silent script abort without notice at all, grrr. 2010-08-30 10:45:54 +00:00
Petr Skoda
9ac5fdf82b MDL-23997 new tests for bound query compatibility 2010-08-30 08:28:18 +00:00
Dongsheng Cai
e921afa874 "MDL-23308, bring course files back" 2010-08-30 08:22:14 +00:00
Sam Hemelryk
9f5c39b527 blocks MDL-24002 Split block renderering into several smaller methods, one for each area of a block. 2010-08-30 06:57:05 +00:00
Sam Hemelryk
abaece1e26 navigation MDL-23981 Fixed up simpletests for the navigation 2010-08-30 02:50:22 +00:00
Petr Skoda
35b622e1f7 MDL-23984 fixed curl cache to use our default permissions 2010-08-29 17:09:33 +00:00
Petr Skoda
59333bc943 MDL-23991 not a nice hack for sending file as string content to zip packer 2010-08-29 16:44:32 +00:00
Petr Skoda
f2b7f45486 MDL-23949 ohlala, I have borked the capabilities preloading completely - sorry for the regression!! 2010-08-29 16:26:35 +00:00
Petr Skoda
71904f4d2b MDL-23984 make_upload_directory() cleanup - we now throw exceptions by default which should prevent a lot of strange problems 2010-08-29 14:59:14 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
4031f6a27c MDL-23984 improved check_dir_exists() and make_upload_directory() incorrect permissions throw fatal exceptions by default; it is possible to create dirs outside of dataroot (necessary for custom dir locations); fixed Win32 compatibility in session_exists method 2010-08-29 14:33:39 +00:00
Petr Skoda
8d3bf3e0cd MDL-23984 setting proper typo3 directory permissions 2010-08-29 14:31:08 +00:00
Petr Skoda
8b2ebe7f03 MDL-23984 improved dataroot validation 2010-08-29 14:14:21 +00:00
Petr Skoda
0bda70315b MDL-23984 improved dataroot handling in installer 2010-08-29 11:33:04 +00:00
Petr Skoda
28326b2a6c MDL-23984 dataroot module storage is not supported in 2.0 2010-08-29 10:57:42 +00:00
Petr Skoda
389d17f9cc MDL-23985 removing all make_user_dir() and get_user_directories() usage 2010-08-29 09:50:36 +00:00
Petr Skoda
e0d8621854 MDL-23984 finally changing defaults for check_dir_exists() it should be now used mostly for temp and caches, because plugins have to use new file API; we also allow creation of dirs outside of dataroot in case somebody overrides paths in config.php such as langlocalroot 2010-08-29 09:36:21 +00:00
Petr Skoda
8b3c13d877 MDL-23984 implementing a bit different hack to force htmlpurifier to create dirs with our premissions, I suppose we should send a bit different patch upstream later (custom dir permission setting) 2010-08-29 09:16:38 +00:00
Petr Skoda
c004706bcd MDL-23948 prevent HTMLPurifier from changing permissions in serializer code - we have a special setting for this in config.php already 2010-08-28 16:12:11 +00:00
Petr Skoda
a9eac775bd MDL-23979 prevent logging of intentional errors when fetching feeds 2010-08-28 14:12:05 +00:00
Petr Skoda
a762ba7271 MDL-23980 importing latest 1.3dev - this should fix the url encode problem 2010-08-28 13:46:54 +00:00
Petr Skoda
f66af8875b MDL-23979 fixed non standard entities result 2010-08-28 12:32:58 +00:00
Petr Skoda
61ca8f7331 MDL-23979 fixed old style url init 2010-08-28 12:29:58 +00:00
Petr Skoda
c80705a8c9 MDL-23979 modole_page does not throw exception any more if context not set 2010-08-28 12:28:01 +00:00
Petr Skoda
04b32359bf MDL-23979 PARAM_CLEAN should not be used in new code at all ,there is nothing like universal cleaning, sorry 2010-08-28 12:25:14 +00:00
Petr Skoda
1dadfe15f2 MDL-23979 switching CFG->dirroot is a really bad idea, I borked this test when adding context parameter, but I am not going to fix it because moodle core functions can not work properly if you change dirroot on the fly, sorry; proper way would be to tweak the test class to use different direcotry 2010-08-28 12:20:09 +00:00
Petr Skoda
50999f1478 MDL-23979 adding missing context init code 2010-08-28 11:57:50 +00:00
Petr Skoda
847bed234d fixed a few comment typos 2010-08-28 11:54:24 +00:00
Petr Skoda
19e7a19289 NOBUG install.php cleanup + fixed recent siteguest regression + more diagnostics when creaeting users 2010-08-28 11:39:03 +00:00
Penny Leach
ebb7e78267 portfolio/leap2a MDL-23955 updated leap2a support to 2010-07 version 2010-08-28 10:00:27 +00:00
Sam Hemelryk
39ae5e541f navigation MDL-23953 initialise signature of global_navigation_for_ajax is the same as the class it extends 2010-08-27 02:09:07 +00:00
Sam Hemelryk
f5c1e62149 navigation MDL-23852 Added is_role_switched method to accesslib and implemented use of it 2010-08-27 01:44:25 +00:00
Aaron Barnes
3c63deb9a0 course completion: MDL-2631 Fix rare mark_completed bug 2010-08-26 23:08:58 +00:00
Petr Skoda
492a55e7f2 MDL-23949 fixed use of invalid $USER before linked to session 2010-08-26 17:19:09 +00:00
Petr Skoda
3e359a08a0 NOBUG improved coding style - it is always better to use === when comparing strings 2010-08-26 16:28:28 +00:00
Petr Skoda
c126d45243 MDL-23948 ignore 'phpunit' folder when looking for plugins 2010-08-26 16:27:14 +00:00
Petr Skoda
fe79c400d9 MDL-23948 improved detection of config.php problems 2010-08-26 16:25:13 +00:00
Petr Skoda
1e36599bb0 MDL-23948 PHPUnit scripts are simply marked with define('PHPUNIT_SCRIPT', true) + simple require_once(dirname(dirname(dirname(__FILE__))).'/config.php'); 2010-08-26 16:13:17 +00:00
Petr Skoda
f14438dc4e MDL-23948 making $ACCESSLIB_PRIVATE proper global 2010-08-26 16:10:19 +00:00
Petr Skoda
b545e27a1c MDL-23949 fixed wrong preloading of caps caused by uninitialised $USER 2010-08-26 15:44:42 +00:00