10407 Commits

Author SHA1 Message Date
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
Dongsheng Cai
d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
David Mudrak
2134a91dd5 MDL-21696 Getting rid of legacy language customization stuff 2010-08-24 23:17:19 +00:00
Petr Skoda
6055f89d30 MDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally allow us to solve many collation issues consistently for all supported databases; please note this changes some behaviour for non-english languages when mysql used; expect more commits that actually make use of these new features 2010-08-24 21:50:53 +00:00
Petr Skoda
7db8dd1ea4 MDL-23922 preventing invalid modifications of PAGE object 2010-08-24 13:39:13 +00:00
Petr Skoda
e884f63a0c MDL-23911 login as session can be only terminated by logout, this should improve security on pages where user may enter JS that only he/she can see - such as the /my/index.php 2010-08-24 08:50:53 +00:00
Dongsheng Cai
529377b572 "MDL-23894, added user quota limit to filesedit form" 2010-08-24 07:52:12 +00:00
Sam Hemelryk
022d66485a restore MDL-23862 Course restore link in front page settings is now active again 2010-08-24 03:52:52 +00:00
David Mudrak
596810f6dc MDL-21696 Extending string_manager::load_component_strings() API to ignore customized translation
This seems to be the easiest way how to get current information about
the _local strings without re-implementing the logic of
load_string_manager() itself.
2010-08-23 16:51:45 +00:00
David Mudrak
e243c8c448 NOMDL Added new core function to get a component version 2010-08-23 14:24:38 +00:00
Petr Skoda
a4411e56aa MDL-15093 fixed recent LIKE escape regression 2010-08-23 08:06:02 +00:00
Petr Skoda
2e69ea4a17 MDL-23897 adding miissing cleanup of draft areas 2010-08-23 07:33:02 +00:00
Sam Hemelryk
93ea1294e3 navigation MDL-23881 Labels are now added to the navigation but the display property is set to false. 2010-08-23 02:03:54 +00:00
Petr Skoda
38ead57d34 MDL-14679 more phpdocs improvements - fixed param types 2010-08-22 19:32:37 +00:00
Petr Skoda
3d54726fd4 MDL-14679 more phpdocs improvements 2010-08-22 19:26:48 +00:00
Petr Skoda
b483311752 MDL-15093 get_tables might be fetching too many tables because "_" was not quoted, it was not a big problem because tables are validated once more later 2010-08-22 19:20:23 +00:00
Petr Skoda
30e7e9e4bc MDL-15093 improved coding style 2010-08-22 19:17:06 +00:00
Petr Skoda
9331d879eb MDL-14679 more return types added 2010-08-22 19:06:06 +00:00
Petr Skoda
f688db7d57 fixed comment typo 2010-08-22 19:01:09 +00:00