Commit graph

15366 commits

Author SHA1 Message Date
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
Eloy Lafuente (stronk7)
a75dfd6f33 MDL-38345 Prevent undefined CFG leading to DB error.
It seems that MDL-32975, no matter a version bump
was done, leads to the $CFG->navsortmycoursessort
setting undefined sometimes. And that ends with an error
visiting the /my page. This just ensures a safe default
if the setting is undefined/empty.
2013-03-07 10:21:03 +01:00
Damyon Wiese
3d231eda76 Revert "MDL-38055 block_courseoverview: fixed formatting of course fullname"
This reverts commit a9ff59979f.
This reverts commit 4e83302f6f.

This issue has failed testing and will be delayed
2013-03-07 10:30:37 +08:00
Brent Boghosian
7e21ee683b MDL-38356 Forms: Check that the form exists before applying changechecker
Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
2013-03-06 16:43:48 +00:00
Damyon Wiese
005c6640dd MDL-38173 Course: Fix DB from regression when adding a (new) course module to a section. 2013-03-06 23:59:19 +08:00
Eloy Lafuente (stronk7)
4384eea0c9 Merge branch 'MDL-37958_master-fix' of git://github.com/dmonllao/moodle 2013-03-06 10:31:20 +01:00
David Monllao
31c75894e0 MDL-38271 behat: Fixing typo 2013-03-06 15:07:36 +08:00
David Monllao
0a7f6a02eb MDL-37958 behat: Nasty strings in HTML
Nasty strings includes html entities and
non-breaking spaces followed by spaces which makes
very hard to find these strings in the DOM html,
this patch keeps the non-breaking spaces and all
the nasty characters, but leaves them isolated from
other regular spaces. It swaps the strings to HTML before
finding elements in the HTML that matches that contents.
2013-03-06 13:34:09 +08:00
Sam Hemelryk
c629c91feb MDL-32975 navigation: fixed error when viewing my with no enrolments 2013-03-06 14:35:19 +13:00
Eloy Lafuente (stronk7)
ab1e921c31 Merge branch 'MDL-36749-m' of git://github.com/andrewnicols/moodle 2013-03-06 01:19:17 +01:00
Andrew Robert Nicols
a6d81a73ac MDL-36749 lib Complete deprecation of old_help_icon
This deprecates the old_help_icon and helpbutton functions. Since they can
no longer be used, the renderers are removed altogether.
2013-03-05 19:07:06 +00:00
Eloy Lafuente (stronk7)
88906d068d Merge branch 'MDL-37958_master' of git://github.com/dmonllao/moodle 2013-03-05 19:28:14 +01:00
Eloy Lafuente (stronk7)
8d0a042263 Merge branch 'MDL-38327_master' of git://github.com/dmonllao/moodle 2013-03-05 19:26:52 +01:00
Justin Filip
2e667c7405 MDL-38268 files: Must be explicit about switching cURL request method from HEAD to GET. 2013-03-05 11:30:22 -05:00
Eloy Lafuente (stronk7)
4afd580231 Merge branch 'MDL-38271_master' of git://github.com/dmonllao/moodle 2013-03-05 15:43:15 +01:00
David Monllao
6fe3986dec MDL-38007 behat: Refining error texts
Also removing a couple of silly notices
2013-03-05 16:52:48 +08:00
Damyon Wiese
d0eac6f639 Merge branch 'MDL-38178_master' of git://github.com/dmonllao/moodle 2013-03-05 15:10:52 +08:00