Commit graph

10575 commits

Author SHA1 Message Date
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
Petr Skoda
b30fa33538 MDL-23948 we should make CFG global before assigning value to it, you could not include our config.php from non-global scope before which was breaking external stuff 2010-08-26 15:31:18 +00:00
Petr Skoda
56953adc5b MDL-23824 prevent header warnings on CLI after fatal config.php error detected 2010-08-26 14:57:32 +00:00
Petr Skoda
dd1a9e4cd4 completion is trying to modify current db, it should use test prefix, but no idea if it really works; at least this change should help prevent damage on production sites 2010-08-26 10:01:39 +00:00
Sam Hemelryk
05c92729f2 blocks MDL-23935 fixed abuse of moodle_page protected variables 2010-08-26 06:27:47 +00:00
Sam Hemelryk
136ca7c87d NOBUG: Tidied up coding style in navigationlib 2010-08-26 06:23:14 +00:00
Sam Hemelryk
5e60ed9b25 forms MDL-23891 Fixed up IE bug in JavaScript for finding reset buttons 2010-08-26 02:05:47 +00:00
Petr Skoda
d0b6f92a23 MDL-23885 flattening filepool directory structure - hopefully this will lower the number of directories but still keep a reasonable number of files in each directory on large installs; see tracker for more details 2010-08-25 21:45:34 +00:00
Petr Skoda
d533e6d7e3 MDL-23925 hopefully finalised unit tests for case and accent insensitive problems 2010-08-25 20:26:23 +00:00
Petr Skoda
915ee3f9df MDL-23925 completely reverting binary comparison hack, we have to instruct admins to setup case+accent sensitive collation as default instead 2010-08-25 11:18:37 +00:00
Petr Skoda
5a9c25e8fc MDL-23925 more unit tests that should help with diagnostics of collation issues; fixed utf-8 issues with first char of my nick 2010-08-25 10:14:47 +00:00
Petr Skoda
9a1e8c5e52 MDL-23925 reverting changes, we need to fix uniqueness and collation issues first 2010-08-25 09:35:18 +00:00
Petr Skoda
b3df176457 MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL 2010-08-25 08:56:07 +00:00