Commit graph

15456 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
7c27e34742 Merge branch 'MDL-38507-m' of git://github.com/andrewnicols/moodle 2013-03-19 13:31:46 +01:00
Eloy Lafuente (stronk7)
7761a38737 Merge branch 'w12_MDL-38319_m25_roleperf' of git://github.com/skodak/moodle 2013-03-19 13:22:50 +01:00
Andrew Robert Nicols
babf34d5cf MDL-38515 JavaScript: Correct module dependencies for core_filepicker 2013-03-19 11:42:12 +00:00
Andrew Robert Nicols
4f65d03b08 MDL-38515 JavaScript: Detect use of invalid module names in YUI dependencies
A warning is shown in the browser console if debugging is set, but it is
not possible to return from the configFn and stop the module load attempt
from continuing.

The error is caught and an additional error is shown by yui_combo.php
2013-03-19 11:42:12 +00:00
Eloy Lafuente (stronk7)
09fe13d123 Merge branch 'MDL-38391-m' of git://github.com/andrewnicols/moodle 2013-03-19 12:34:45 +01:00
David Monllao
5cde7298e3 MDL-38410 behat: Adding new form fields 2013-03-19 16:42:59 +08:00
David Monllao
fb624374bc MDL-38410 behat: Step to select from radio inputs 2013-03-19 16:42:59 +08:00
Damyon Wiese
851c304f45 Merge branch 'w12_MDL-38320_m25_logininfo' of git://github.com/skodak/moodle 2013-03-19 15:01:02 +08:00
Damyon Wiese
976b0ff2d4 Merge branch 'MDL-37959-master' of git://github.com/FMCorz/moodle
Conflicts:
	lib/formslib.php
2013-03-19 14:54:40 +08:00
Damyon Wiese
dcc5f0fe1e Merge branch 'MDL-38049-master' of git://github.com/FMCorz/moodle 2013-03-19 11:52:51 +08:00
Damyon Wiese
1c14b1c10c MDL-38367 Course dnduploadlib : deprecated add_* functions as they are internal to the class. 2013-03-19 09:56:16 +08:00
Andrew Robert Nicols
53ae22b993 MDL-38391 lib: Also include core subsystems in YUI_config.modules 2013-03-18 23:52:39 +00:00
Andrew Robert Nicols
da5e59b9d9 MDL-38391 lib: Rename moodle_metadata adder
This is a bit of a grey area. This function does not get and return a value
to the caller, and does not set a value taken from the caller. Instead it
gets a value from get_moodle_metadata and adds it to the current instance
of YUI_config. This rename will hopefully improve clarity here.
2013-03-18 23:30:00 +00:00
Andrew Robert Nicols
c199993a61 MDL-38391 lib: Add note about use of camelCase variables names in YUI_config 2013-03-18 23:17:32 +00:00
Andrew Robert Nicols
d52ba47ee0 MDL-38391 lib: Remove clearing of YUI MUC cache on cache purge
purge_all_caches() handles clearing of all MUC caches so we don't need to
additionally clear the cache here too.
2013-03-18 23:13:16 +00:00
Eloy Lafuente (stronk7)
03deed4f75 Merge branch 'w12_MDL-36198_m25_yuireset' of git://github.com/skodak/moodle 2013-03-18 23:56:34 +01:00
Andrew Robert Nicols
0653469e0c MDL-38520 JavaScript: Migrate moodle-core-formchangechecker to use Shifter 2013-03-18 22:36:56 +00:00
Andrew Robert Nicols
3756320fd0 MDL-38519 JavaScript: Migrate moodle-core-formautosubmit to use Shifter 2013-03-18 22:24:31 +00:00
Andrew Robert Nicols
21db4396ab MDL-38404 JavaScript: Migrate editor_tinymce to use Shifter 2013-03-18 21:56:34 +00:00
Damyon Wiese
7c211f565a Merge branch 'MDL-38005-master' of git://github.com/FMCorz/moodle 2013-03-18 13:45:41 +08:00
Damyon Wiese
9ccc1e1f34 Merge branch 'MDL-38340-master' of git://github.com/FMCorz/moodle 2013-03-18 13:24:45 +08:00
Damyon Wiese
61e871c3c9 Merge branch 'MDL-38435-master' of git://github.com/FMCorz/moodle 2013-03-18 13:08:41 +08:00
Petr Škoda
f2cf0f8419 MDL-38320 fix role name display when roles switched 2013-03-17 21:14:11 +01:00
Petr Škoda
d0bf51e2b3 MDL-38329 use proper plugin name for the webkit lists workaround
Credit goes to Mauno Korpelainen, thanks.
2013-03-17 20:59:11 +01:00
Petr Škoda
ab633dafac MDL-38319 make role_get_names() faster and more useful 2013-03-17 20:15:59 +01:00
Andrew Robert Nicols
43bd811891 MDL-38507 JavaScript: Move definition of YUI_config before setup of SimpleYUI
Since moving to SimpleYUI, the order of inclusion for the YUI_config
variable is more important.

Simple YUI defines a global instance of YUI so that it can be used without
specifying the full YUI().use() syntax. As a result, any configuration
applied when that global instance is setup must exist already.
2013-03-17 16:30:39 +00:00
Andrew Robert Nicols
b3c78403b0 MDL-38391 lib: Move the group configFn to the YUI_config class 2013-03-17 16:25:33 +00:00
Andrew Robert Nicols
aa135c4d46 MDL-38391 lib: Add system to fetch moodle YUI metadata 2013-03-17 16:25:33 +00:00
Eloy Lafuente (stronk7)
07c4a94952 MDL-38373 Use correct PEAR->loadExtension()
Current use is wrong (static) and leads to strict standards notice.
2013-03-16 11:43:03 +01:00
Andrew Robert Nicols
cae21a321f MDL-38391 lib: Rewrite YUI_config as a class 2013-03-16 00:18:59 +00:00
Petr Škoda
97dbc8f2b6 MDL-36198 allow themes to specify yui cssnormalize or disable all CSS resets 2013-03-16 00:03:58 +01:00
Frederic Massart
807cf3d0ae MDL-38005 form: Headers have a proper name 2013-03-15 11:06:25 +08:00
David Mudrák
690a55f631 MDL-38497 Add the info about the method signature change into upgrade.txt 2013-03-15 00:59:26 +01:00
David Mudrák
77043fd6f6 MDL-38497 Add unit tests for the admin tree behaviour 2013-03-15 00:53:14 +01:00
David Mudrák
f6e85ab02a MDL-38497 Nodes can be put before a sibling in the admin tree
The patch introduces a new optional parameter of the add() method for
all classes implementing the parentable_part_of_admin_tree interface.
Currently we have only one class admin_category implementing this
interface. If some third party code implements this interface too, they
will get an error and will have to fix the add() method signature.
However, the chance that such third party code exists is considered
pretty low.
2013-03-15 00:47:11 +01:00
Petr Škoda
6f634b6ffb MDL-38467 import YUI 3.9.0 2013-03-14 08:49:30 +01:00
Andrew Robert Nicols
74972abc29 MDL-38473 JavaScript: Migrate moodle-core-chooserdialogue to use Shifter 2013-03-14 01:25:44 +00:00
Andrew Robert Nicols
9488b9fbe0 MDL-38472 JavaScript: Migrate moodle-core-popuphelp to Shifter 2013-03-14 01:21:18 +00:00
Andrew Robert Nicols
5c0a9d479a MDL-38471 JavaScript: Migrate moodle-core-notification to use Shifter 2013-03-14 00:52:32 +00:00
Frederic Massart
9ec532bef5 MDL-37959 form: Aria attribute set on collapsible sections 2013-03-13 11:14:20 +08:00
Frederic Massart
0b8bb3fe5f MDL-38049 form: Collapsed sections are hidden on page load 2013-03-13 10:28:37 +08:00
Eloy Lafuente (stronk7)
2a28b5d4ad Merge branch 'MDL-38268-master' of https://github.com/jfilip/moodle 2013-03-13 01:14:03 +01:00
Eloy Lafuente (stronk7)
2472cdd305 Merge branch 'wip-mdl-38332' of git://github.com/rajeshtaneja/moodle 2013-03-12 22:50:32 +01:00
Eloy Lafuente (stronk7)
613eebfc6a MDL-38212 fix related unit tests.
For statslib tests was enough to require cronlib.php as
far as all the tests there are using ob-capture / output
expectations, so the new function does not bork anything.

For pluginlib tests finally the use was deleted because
it's a part of cron not interesting (should be always "cheap")
and to keep it there we should be adding a bunch of output
expectations under some cases, for practically nothing.
2013-03-12 19:35:16 +01:00
Shamim Rezaie
ba23e9a57b MDL-37664 course: Fix drag & drop RTL mode issue 2013-03-12 15:43:40 +00:00
Eloy Lafuente (stronk7)
cedc656bdd MDL-38212 Add a little note about the output change. 2013-03-12 16:08:49 +01:00
sam marshall
3a09f4dc64 MDL-38035 Activity settings: Support multilang names for custom user fields 2013-03-12 15:05:24 +00:00
Eloy Lafuente (stronk7)
63b738a177 Merge branch 'MDL-38212' of git://github.com/timhunt/moodle 2013-03-12 16:02:39 +01:00
Damyon Wiese
61cd50618a Merge branch 'MDL-38184_master' of git://github.com/dmonllao/moodle 2013-03-12 16:35:19 +08:00
Frederic Massart
41068d989b MDL-38340 form: Last fieldset is collapsed by default 2013-03-12 16:19:17 +08:00