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
Frederic Massart
f160f97c12
MDL-38435 form: Sections can be expanded by default
2013-03-12 16:18:07 +08:00
Aparup Banerjee
e14cc639f1
Merge branch 'MDL-38356-m' of git://github.com/andrewnicols/moodle
2013-03-12 13:37:25 +08:00
Aparup Banerjee
58437b4cd3
Merge branch 'wip-mdl-35716' of git://github.com/rajeshtaneja/moodle
2013-03-12 10:49:18 +08:00
Rajesh Taneja
043f100556
MDL-38332 Administration: Updated update.txt and php doc for get_users_listing
2013-03-12 10:04:40 +08:00
Eloy Lafuente (stronk7)
705d41c895
Merge branch 'MDL-36900-master' of git://github.com/FMCorz/moodle
2013-03-12 00:45:59 +01:00
Eloy Lafuente (stronk7)
8ed6ee97a6
Merge branch 'MDL-38346_master' of git://github.com/dmonllao/moodle
2013-03-12 00:43:38 +01:00
David Mudrák
9d6eb027b4
MDL-34401 Cache the contents of version.php files
...
This saves many inclusions of version.php files.
2013-03-11 12:51:30 +01:00
David Mudrák
ad3ed98b05
MDL-34401 Replace ad-hoc plugin request caches with proper application caches
...
Data cached in these caches change only at well defined places (during
need for upgrade checks, at the plugin management screen etc). So it
makes sense to use proper application caches instead of request caches.
This saves couple of database queries at almost every page in Moodle.
2013-03-11 12:48:53 +01:00
David Mudrák
b8a6f26ee3
MDL-34401 Replace static variables in pluginlib with ad-hoc request caches
...
Where the static variable was not really needed (as in case of arrays
defined by the hard-coded list of items), non-static variable is used as
I believe that there is no real performance gain.
2013-03-11 12:48:07 +01:00
David Mudrák
07622d7dfa
MDL-34401 Add caching into get_plugin_types() function
...
This is a simple MUC replacement for the previous static arrays.
2013-03-11 12:46:15 +01:00
David Mudrák
dbaaeb935d
MDL-34401 Add caching into get_plugin_list() function
...
This is quite frequently called function at most pages. The cache needs to be
invalidated only when a new plugin is installed or existing plugin uninstalled.
However, given how moodle_needs_upgrading() checks for new plugins, we need to
purge the cache there. Which is a shame because this means that the cache gets
purged in each cron call and when the admin looks at the front page and/or
system notifications page.
2013-03-11 12:45:27 +01:00
Rajesh Taneja
5c9e8898c0
MDL-35716: Added performance to core plugin list
2013-03-11 14:30:02 +08:00
David Monllao
e88d47b4a2
MDL-38352 behat: Removing extra double quotes escape
2013-03-11 12:52:12 +08:00
David Monllao
4f07b654e1
MDL-38184 repository_upload: Adding tests
2013-03-11 06:56:02 +08:00
Tim Hunt
658b9372ee
MDL-38212 cron: display time and memory usage before each task.
...
This helps diagnose problems.
Also, call gc_collect_cycles between tasks, which may reduce the
frequency of out-of-memory errors.
2013-03-08 10:24:41 +00:00
Andrew Robert Nicols
0872e0e9e5
MDL-38389 JavaScript: Return DEBUG versions of Moodle YUI modules
2013-03-08 05:46:59 +00:00
David Monllao
3db1aec528
MDL-38184 behat: Filepicker management steps
...
Includes create/open/delete/zip/unzip
of files and folders
2013-03-08 11:57:15 +08:00
Rajesh Taneja
4e0b615ede
MDL-38332 Users: Browse list of users should not contain guest user record
2013-03-08 11:44:42 +08:00
Frederic Massart
04cbea2cd6
MDL-36900 files: D&D upload uses new file name increment function
2013-03-08 10:21:01 +08:00
Frederic Massart
8158fe0542
MDL-36900 repository: File Manager new folder UI improvements
2013-03-08 10:21:01 +08:00
David Monllao
a8d910a82a
MDL-38184 behat: Solving problem with the tests loader
2013-03-08 09:42:28 +08:00
David Monllao
1d823d9322
MDL-38184 behat: File-related actions
2013-03-08 09:42:28 +08:00
David Monllao
a4534dceef
MDL-38184 behat: Fields management externalized
...
Not only behat_forms needs to deal
with form fields
2013-03-08 09:42:28 +08:00
Eloy Lafuente (stronk7)
8673a98d1d
MDL-38378 Take rid of harcoded db prefix and bump.
2013-03-08 00:27:01 +01:00