Commit graph

49287 commits

Author SHA1 Message Date
Petr Skoda
b6b5023144 MDL-28701 some more tempdirs updated 2011-09-10 10:55:32 +02:00
Petr Skoda
8f6e5a8d19 MDL-28701 one more make_cache_directory 2011-09-10 10:49:04 +02:00
Tom Lanyon
5a87c912a2 MDL-28701 Change uses of make_upload_directory(cache) to make_cache_directory(). 2011-09-10 10:44:43 +02:00
Tom Lanyon
af9b14446d MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory(). 2011-09-10 10:43:49 +02:00
Tom Lanyon
e695890739 MDL-28701 Add make_temp_directory() and make_cache_directory(). 2011-09-10 10:35:48 +02:00
Tom Lanyon
365bec4c06 MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir 2011-09-10 10:35:46 +02:00
Tom Lanyon
383d388411 MDL-28701 Fixed broken $CFG->tempdir default and added $CFG->cachedir 2011-09-10 10:35:41 +02:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Tom Lanyon
3e93987142 MDL-28701 Added $CFG->tempdir setting 2011-09-10 10:35:37 +02:00
Petr Skoda
138c76789b MDL-29014 fix a few incorrect uses of strlen and substr 2011-09-10 10:21:31 +02:00
Eloy Lafuente (stronk7)
77c2ca69af MDL-28488 backup - make backup and import capabilities independent
Before this change, in order to perform one course import it was
necessary to have both the backupcourse and the backuptargetimport
capabilities. After agreement now each one will control its own
backup mode. Same applies for restore.
2011-09-09 17:46:21 +02:00
Eloy Lafuente (stronk7)
8645a28f3e MDL-28488 backup - activity duplication requires 2 capabilities in ctx 2011-09-09 15:53:02 +02:00
Petr Skoda
b8cc71e724 MDL-29175 use new optinal_param_array in cloze question verification 2011-09-09 15:50:27 +02:00
Sam Hemelryk
efd9c8e5b6 MDl-29189 course Increased the shortname field length so that it is more usable now that it is consistently formatted 2011-09-09 14:47:37 +12:00
Henning Bostelmann
f4831673b6 MDL-26257 Shibboleth auth: run logout handler only if logged in via Shibboleth 2011-09-08 12:13:07 +01:00
Eloy Lafuente (stronk7)
7aacd75be4 MDL-29269 textlib - better handling of collation warnings and errors 2011-09-08 13:00:30 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Sam Hemelryk
63390481c4 MDL-29187 multilang Reviewed the uses of category name and ensured things are being formatted correctly 2011-09-08 09:37:07 +12:00
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Sam Hemelryk
71e0b3b5c7 MDL-29188 multilang Reviewed the uses of section name and ensured things were being formatted consistently 2011-09-08 09:27:38 +12:00
sam marshall
371fbe1cc1 MDL-29236 Labels (and other content from modules) on course page should use module filter settings
E.g. if you disable smileys for a label, this ought to work (it doesn't previously, as everything is filtered using the course context).
2011-09-07 17:57:12 +01:00
Eloy Lafuente (stronk7)
5d2db8acc8 weekly release 2.2dev 2011-09-07 17:56:05 +02:00
Eloy Lafuente (stronk7)
a1b888384e MDL-27001 Integration bump needed (we were already @ 2011083100.01) 2011-09-06 15:57:49 +02:00
Eloy Lafuente (stronk7)
4a94d2c61f Merge branch 'MDL-27001-master' of git://github.com/sammarshallou/moodle 2011-09-06 15:50:26 +02:00
Eloy Lafuente (stronk7)
d09ca89642 Merge branch 'wip-MDL-28043-master' of git://github.com/samhemelryk/moodle 2011-09-06 13:53:34 +02:00
Eloy Lafuente (stronk7)
20079ee7bc MDL-28599 textlib Capture error message earlier to avoid mixing 2011-09-06 13:45:25 +02:00
Eloy Lafuente (stronk7)
0fde6cb8b4 MDL-28599 textlib Document collatorlib switch for asort() 2011-09-06 13:03:01 +02:00
Eloy Lafuente (stronk7)
b49c28aab3 Merge branch 'wip-MDL-28599-master-r4' of git://github.com/samhemelryk/moodle 2011-09-06 13:02:33 +02:00
sam marshall
3e4c243500 MDL-27001 'Show description' feature part 3: Implementation for all modules
For modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.
2011-09-06 11:03:06 +01:00
sam marshall
b3a89232d9 MDL-27001 'Show description' feature part 2 - Automatic support for modules that don't have a get_coursemodule_info function
If a module doesn't have module_get_coursemodule_info function, but it does have 'intro' and 'introformat' fields in its main table, then all it needs to do is return true for FEATURE_SHOW_DESCRIPTIONS and everything is handled automatically.
2011-09-06 11:03:03 +01:00
sam marshall
8c40662e22 MDL-27001 'Show description' feature part 1: infrastructure that allows modules to support feature
The 'Show description' feature is about optionally including module description on the course page. This change include the necessary infrastructure - new database field, new FEATURE constant, changes to forms to display it, new language strings for it, backup and restore, and old course conversion. (I found the places to change by searching for an existing field in course_modules).

Documentation for the field is included in install.xml and in modinfolib.
2011-09-06 11:03:00 +01:00
Sam Hemelryk
d609d96261 MDL-28599 textlib Separated collator to collatorlib with static methods, and added support for locale aware sorting of objects 2011-09-06 15:39:00 +12:00
Eloy Lafuente (stronk7)
dfdb0051e7 Merge branch 'wip-mdl-28987' of git://github.com/rajeshtaneja/moodle 2011-09-06 01:59:20 +02:00
Sam Hemelryk
871a3ec5fb MDL-28043 user Fixed context hack in pluginfile for user pics leading to init of page, theme and output for redirect 2011-09-06 11:29:05 +12:00
Eloy Lafuente (stronk7)
c35fba98da Merge branch 'wip-mdl-23520' of git://github.com/rajeshtaneja/moodle 2011-09-06 01:25:05 +02:00
Eloy Lafuente (stronk7)
4df93d22be Merge branch 'wip-MDL-29006-master' of git://github.com/samhemelryk/moodle 2011-09-06 00:38:10 +02:00
Eloy Lafuente (stronk7)
49873b7e43 Merge branch 'w35_MDL-29145_m22_imscpregression' of git://github.com/skodak/moodle 2011-09-05 21:51:44 +02:00
Ray Guo
34d37f7514 MDL-15377 Filter: Fixed glossary keyword autolinked when appearing in
Javascript
2011-09-05 17:12:42 +01:00
Eloy Lafuente (stronk7)
01d6182fa8 MDL-29072 Import course - whitespace fixes 2011-09-05 10:41:57 +02:00
Petr Skoda
986eb4cfbb MDL-29145 fix regression caused by MDL-27448 2011-09-05 09:44:41 +02:00
Sam Hemelryk
e824388a1c Merge branch 'w35_MDL-29233_m22_usersel' of git://github.com/skodak/moodle 2011-09-05 19:23:07 +12:00
Petr Skoda
409ac82413 MDL-29233 revert the optional_param workaround and use this->multiselect to decide when we expect arrays 2011-09-05 09:02:47 +02:00
Rajesh Taneja
a82e9ada37 MDL-28987 Forms Library: Removed onBlur validation. Now the validation will occur on form submit only 2011-09-05 14:25:13 +08:00
Aparup Banerjee
660a6aae02 Merge branch 'wip_MDL-27689_Vague_README-LDAP_master' of git://github.com/iarenaza/moodle 2011-09-05 13:29:14 +08:00
Aparup Banerjee
57ef9c14cb Merge branch 'wip-MDL-26811-master' of git://github.com/samhemelryk/moodle 2011-09-05 13:01:23 +08:00
Rajesh Taneja
ab978b38c4 MDL-28987 Forms Library: Added tinyMCE onblur event callback for required tinymce fields 2011-09-05 12:19:40 +08:00
Aparup Banerjee
e2e1cf53db Merge branch 'MDL-29198' of git://github.com/stronk7/moodle 2011-09-05 12:10:32 +08:00
Sam Hemelryk
ae4d8567b4 Merge branch 'MDL-29018' of git://github.com/rwijaya/moodle 2011-09-05 16:08:03 +12:00
Sam Hemelryk
0d966d5bfe Merge branch 'MDL-28689' of git://github.com/rwijaya/moodle 2011-09-05 16:03:04 +12:00
Rossiani Wijaya
5951d333e5 MDL-29018 lesson module statistics: fixed statistics diplay for whole the class 2011-09-05 11:18:15 +08:00