Commit graph

10837 commits

Author SHA1 Message Date
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
Petr Skoda
3503dcad31 MDL-14679 fixing more incorrect return types 2010-08-22 19:00:28 +00:00
Petr Skoda
5212b07f20 MDL-14679 fixing incorrect return type of recordset methods 2010-08-22 18:55:29 +00:00
Petr Skoda
4a6c2ab88e MDL-14679 fixing obsolete driver names in comments 2010-08-22 18:51:45 +00:00
Petr Skoda
bca5016190 MDL-15093 removing obsolete TODO comment 2010-08-22 18:48:24 +00:00
Petr Skoda
2740cea059 MDL-15093 fixed comment indentation 2010-08-22 18:46:23 +00:00
Petr Skoda
1db51b5ad4 MDL-15093 removing invalid PHPDOC comment 2010-08-22 11:36:10 +00:00
Petr Skoda
5585eab302 MDL-15093 fixed notice when dboptions not supplied 2010-08-22 11:34:56 +00:00
Petr Skoda
85ba1e78b4 MDL-23884 new default error handler - prevents white screens and helps with debugging 2010-08-20 09:05:15 +00:00
Sam Hemelryk
d4c3f025b1 NOBUG: Added a couple of descriptive classes to reused perfinfo class 2010-08-20 07:37:59 +00:00
Sam Hemelryk
a4c0961c54 lib MDL-23880 Added missing field in get_enrolled_sql causing errors when capability had prohibited roles 2010-08-20 02:45:03 +00:00
Petr Skoda
ed22700db5 MDL-23682 improved overriding of MyISAM default engine with something that supports ACID 2010-08-19 07:09:14 +00:00
Sam Hemelryk
c7e3e61c70 javascript MDL-23850 Moved mforms specific JavaScript to a separate file 2010-08-19 05:43:06 +00:00
Petr Skoda
99f9f85f00 MDL-23489 auth plugins can specify own edit profile url - patch submitted by Jay Knight + tweaking change password url to use new moodle_url at the same time, it is backwards compatible, custom plugins may still use string url for now 2010-08-18 22:07:00 +00:00
Petr Skoda
84deffae0a MDL-23844 fixed IE compatibility - credit goes to Mauno Korpelainen 2010-08-18 19:17:17 +00:00
Petr Skoda
d91cabdfb8 MDL-23844 fixed encodings in lang files 2010-08-18 19:13:37 +00:00
Petr Skoda
843a56881c MDL-23844 fixed encodings in lang files 2010-08-18 19:13:37 +00:00
Petr Skoda
d35ece6cce MDL-23682 new MySQL engine diagnostics + InnoDB is now used instead of MyISAM in new installs if available + improved mysql transaction support 2010-08-18 16:47:00 +00:00
Petr Skoda
999b54af84 MDL-23833 rewritten guest autologin - not using redirect any more + migration to CFG->siteguest instead of username + removing guest login button when user is already guest 2010-08-18 11:49:22 +00:00
Petr Skoda
bf423bb1d1 MDL-22795 basic support for course enrol icons and enrol info 2010-08-18 09:02:05 +00:00
David Mudrak
370d793c98 MDL-23318 Consistent usage of 'pluginadministration' string for the Settings block
AMOS BEGIN
 MOV [assignmentadministration,mod_assignment],[pluginadministration,mod_assignment]
 MOV [dataadministration,mod_data],[pluginadministration,mod_data]
 MOV [feedbackadministration,mod_feedback],[pluginadministration,mod_feedback]
 MOV [folderadministration,mod_folder],[pluginadministration,mod_folder]
 MOV [forumadministration,mod_forum],[pluginadministration,mod_forum]
 MOV [glossaryadministration,mod_glossary],[pluginadministration,mod_glossary]
 MOV [chatadministration,mod_chat],[pluginadministration,mod_chat]
 MOV [choiceadministration,mod_choice],[pluginadministration,mod_choice]
 MOV [imscpadministration,mod_imscp],[pluginadministration,mod_imscp]
 MOV [labeladministration,mod_label],[pluginadministration,mod_label]
 MOV [lessonadministration,mod_lesson],[pluginadministration,mod_lesson]
 MOV [pageadministration,mod_page],[pluginadministration,mod_page]
 MOV [quizadministration,mod_quiz],[pluginadministration,mod_quiz]
 MOV [resourceadministration,mod_resource],[pluginadministration,mod_resource]
 MOV [scormadministration,mod_scorm],[pluginadministration,mod_scorm]
 MOV [surveyadministration,mod_survey],[pluginadministration,mod_survey]
 MOV [urladministration,mod_url],[pluginadministration,mod_url]
 MOV [wikiadministration,mod_wiki],[pluginadministration,mod_wiki]
 MOV [workshopadministration,mod_workshop],[pluginadministration,mod_workshop]
AMOS END
2010-08-17 17:35:12 +00:00