Commit graph

61711 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
081bfdc5ff Merge branch 'MDL-39348_master' of git://github.com/dmonllao/moodle 2013-05-06 01:49:51 +02:00
Eloy Lafuente (stronk7)
07c9a6db96 Merge branch 'MDL-38041_master' of git://github.com/dmonllao/moodle 2013-05-06 01:23:49 +02:00
Dan Poltawski
8f9ae1d5e8 Merge branch 'brokencalc' of git://github.com/andyjdavis/moodle 2013-05-05 11:29:11 +01:00
Andrew Davis
36388ba832 MDL-39480 core_badge: prevented a php notice 2013-05-04 11:58:01 +08:00
Mary Evans
3a61956f66 MDL-39364 theme_clean: remove all references to the Simple theme from Clean theme. 2013-05-04 02:34:44 +01:00
AMOS bot
9ed7ed3d80 Automatically generated installer lang files 2013-05-04 00:40:08 +00:00
David Scotson
c57a883080 MDL-39499 bootstrapbase: Make two .singlebuttons line up 2013-05-03 16:28:07 +01:00
David Mudrák
3633c2576d MDL-39490 Inform the developer about incorrect order of text processing
Before calling format_text(), the text must be processed with
file_rewrite_pluginfile_urls(). This order is important
for some text filters that look for valid pluginfile.php URLs.
2013-05-03 17:09:58 +02:00
Dan Poltawski
1fc7079857 Merge branch 'MDL-39476-master' of git://github.com/damyon/moodle 2013-05-03 16:05:41 +01:00
David Scotson
ed88a6f32a MDL-30130 bootstrapbase: Bring back Quiz answer feedback 2013-05-03 15:47:15 +01:00
David Mudrák
6133e6ee76 MDL-39497 Consider workshop scheduled allocator stable 2013-05-03 15:47:03 +02:00
Andrew Nicols
42b53d4650 MDL-39496 Admin: Reduce excessive is_array tests in admin_category
admin_category::category_cache is a protected value which is only ever
treated as an array. We shouldn't need to test that it's an array each time
we use it.
2013-05-03 14:31:28 +01:00
Andrea Bicciolo
088645e22c MDL-29472_m WebServices Cohorts 2013-05-03 12:24:40 +02:00
David Mudrák
55c6c6f153 MDL-39491 Fix order of Workshop submission text processing
The order of format_text() and file_rewrite_pluginfile_urls() is
important to make filters work correctly.
2013-05-03 11:56:44 +02:00
Barbara Ramiro
9c554f7797 MDL-38238 usability: Revised t/lock and t/unlocked icons 2013-05-03 17:11:36 +08:00
Albert Gasset
c4d0e4efe3 MDL-39487 mod/assign: fixed ID number of grade item changing 2013-05-03 11:07:28 +02:00
Damyon Wiese
e1cd72ec72 Merge branch 'MDL-38714_tmp' of git://github.com/rwijaya/moodle 2013-05-03 15:37:57 +08:00
Jerome Mouneyrac
2af34ab005 MDL-31193 display the correct and translated token valid until date 2013-05-03 14:09:34 +08:00
Damyon Wiese
4a4f590eab MDL-39476 Assign: Cleanup old bad data before adding new index 2013-05-03 14:03:29 +08:00
Mark Nelson
34f9862edf MDL-39187 forms: fixed issue where calendar pop-up did not display when a date selector form element was added to a group 2013-05-03 13:01:58 +08:00
Marina Glancy
cf230d98a8 MDL-39482 avoid using get_category_or_system_context() because file might not be included 2013-05-03 14:45:23 +10:00
David Monllao
b32ca4caf9 MDL-39481 behat: Provide info about init.php 2013-05-03 12:04:42 +08:00
Rajesh Taneja
5e0ab6704a MDL-39332 Formslib: remove z-index from calendar panel
calendar panel.render() sets zIndex to 0, when calendar is used next to filepicker, it overlaps
zIndex should be set by css and not JS, and previously used removeAttr on panel breaks JS on ie8.
So solution is to render panel and then remove z-index from dom
2013-05-03 10:59:46 +08:00
David Monllao
28abad1ab2 MDL-39348 behat: Compatibility with Safari and IE
Also changing from SeleniumDriver checking
to GoutteDriver as is less probably to change
goutte than to change selenium.
2013-05-03 10:43:06 +08:00
David Monllao
c59e52f561 MDL-39348 behat: Switching to wait which does not conflict with IE
Also solving bug with DOM ready, timeout
was set to self::TIMEOUT miliseconds not
seconds.
2013-05-03 10:16:44 +08:00
David Monllao
00ea74cb54 MDL-39348 behat: Chaining strings instead of splitting strings in lines 2013-05-03 10:16:44 +08:00
David Monllao
4d40089d88 MDL-39348 behat: Changing to correct activity names 2013-05-03 10:16:44 +08:00
David Monllao
e73062c135 MDL-39348 behat: Removing redundant step
This is causing some browsers to fail tests
as they uses the DOM of the current page to
search "You are logged in as".
2013-05-03 10:16:44 +08:00
David Monllao
bbd802f7b7 MDL-38041 behat: Also fail tests if there is any other backtrace 2013-05-03 10:05:08 +08:00
David Monllao
90ed22ab70 MDL-38041 behat: Capturing also PHP debug messages 2013-05-03 10:05:08 +08:00
David Monllao
5f4b4e918d MDL-38041 behat: Adding hook
Stops execution when the output contains
an exception, a debugging message or a PHP
debug message.
2013-05-03 10:05:08 +08:00
David Monllao
b060de934b MDL-38041 behat: Adding styles to debugging messages
Only when a simulated user session
is running.
2013-05-03 10:05:08 +08:00
Marina Glancy
dde6bdf973 MDL-39436 fixing RTL in filemanager 2013-05-03 11:30:33 +10:00
Marina Glancy
89a24463ad MDL-39065 fixed bug with quick jump to category 2013-05-03 11:28:41 +10:00
Marina Glancy
69bbd2a7cd MDL-38594 Core themes changed for the new course listings styles 2013-05-03 11:16:16 +10:00
Marina Glancy
d891aaba73 MDL-39318 CSS bug on mouse hover of paging bar in some themes 2013-05-03 11:14:49 +10:00
Tim Hunt
103928da0b MDL-39412 question behaviours: hide manual graded option
The ability to set all your quiz questions to require manual grading is
an interesting possibility, but practically almost useless.

If you set that accidentally, then you are badly stuck. There is no way
to fix it after the students have answered the quiz.

Therefore, we should set the config option to hide that option from the
UI. We do this for all Moodle sites as part of the upgrade, not just for
new installs.

If any admin wants to re-enable this, they can later.
2013-05-02 17:02:46 +01:00
Tim Hunt
6382060daf MDL-39450 course formats: add static cache to get_format_or_default
This function gets called hundreds of times on every page, often with
exactly the same input, so I added a static cache.
2013-05-02 16:38:52 +01:00
Tim Hunt
7dce02fd28 MDL-39449 course view.php: don't require forum lib.php
As far as I can see, it is not used, except in social course format, so
I moved the include there.
2013-05-02 16:38:22 +01:00
Tim Hunt
f16d5f979b MDL-39446 calculated qtype: make answer formula input bigger
This makes it easier for teachers editing questions.
2013-05-02 16:37:52 +01:00
Tim Hunt
5f85073525 MDL-39445 get_plugin_list clean_param use is slow
get_plugin_list was calling clean_param($pluginname, PARAM_PLUGIN) a
lot (600+ times per page), and that is much slower than you would guess.
A specific function for this case, (which we then also use from
clean_param) is a performance win.
2013-05-02 16:20:24 +01:00
sam marshall
cb86f1ebb3 MDL-39472 MUC: Improve parse_key performance 2013-05-02 16:04:29 +01:00
Colin Chambers
9ff122679a MDL-39290 Collapsible editor tab needs some mouse-over CSS 2013-05-02 16:03:24 +01:00
David Scotson
9c2ec10b27 MDL-39388 bootstrapbase: Add bootstrap tab renderer
This adds a renderer that outputs standard bootstrap HTML for tabs,
deletes styles that were previously required to make Moodle tab HTML
superficially resemble Bootstrap, and tweak the responsive code that
makes tabs stack on phones to account for the change too.
2013-05-02 15:59:53 +01:00
David Scotson
ea951c5924 MDL-38979 Add lang menu to empty custommenu
Show custom menu even when no custom menu items if lang menu needs
to be shown.
2013-05-02 15:01:08 +01:00
Dan Poltawski
95190fda69 on demand release 2.5beta+ 2013-05-02 14:34:48 +01:00
Dan Poltawski
b741e1c186 Merge branch 'install_master' of git://git.moodle.cz/moodle-install 2013-05-02 14:32:03 +01:00
David Mudrák
ed70c74be5 MDL-39442 Do not use native rename() when moving folders
The native rename() function does not support moving folders
cross-device. See https://bugs.php.net/bug.php?id=54097 for details. So
instead of trying to move the whole tree, the new installer's method
moves files recursively one by one.

This is consistent with what mdeploy.php already does.
2013-05-02 13:58:43 +02:00
sam marshall
0d9e5992b3 MDL-39454 Accesslib: is_siteadmin is a bit slow 2013-05-02 10:42:28 +01:00
Damyon Wiese
e7c5ee5102 Merge branch 'MDL-30775-master' of git://github.com/mouneyrac/moodle
Conflicts:
	course/externallib.php
2013-05-02 16:20:30 +08:00