Commit graph

61212 commits

Author SHA1 Message Date
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
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
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
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
Damyon Wiese
f6aa750eee MDL-36223 Assign: User outline report grade display
Use str_long_grade for user outline report because it handles scales and
no grade.

Thanks to Jean-Daniel Descoteaux for suggesting this fix.
2013-05-02 15:42:58 +08:00
Rossiani Wijaya
343a48256a MDL-38717: Lesson mod: fixed behat script to accomodate the fix of settype() 2013-05-02 15:26:35 +08:00
Damyon Wiese
b99122155c Merge branch 'MDL-39401' of git://github.com/rwijaya/moodle 2013-05-02 14:50:49 +08:00
Damyon Wiese
9c898f682a Merge branch 'MDL-39207_master' of git://github.com/totara/openbadges 2013-05-02 14:44:20 +08:00
Rossiani Wijaya
2213893766 MDL-39401 portfolio: fixed setType() warnings in box.net and flickr portfolios 2013-05-02 14:20:03 +08:00
Damyon Wiese
f85fba3eeb Merge branch 'MDL-39355-m-2' of git://github.com/andrewnicols/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-05-02 13:54:59 +08:00
Damyon Wiese
c9c01f75b1 MDL-39077 maxbytes - fix warnings for cli install 2013-05-02 12:11:08 +08:00
Yuliya Bozhko
265b866fe5 MDL-39207 badges: Generate badge assertions using user's backpack email if it is set 2013-05-02 16:05:11 +12:00
Eloy Lafuente (stronk7)
e7ff753cab Merge branch 'wip-MDL-39432-m25-i' of git://github.com/samhemelryk/moodle 2013-05-02 03:33:35 +02:00
Andrew Davis
459843d495 MDL-32913 core_grade:made it more obvious when the gradebook is broken due to a broken calculation 2013-05-02 09:03:02 +08:00
AMOS bot
fdb2851204 Automatically generated installer lang files 2013-05-02 00:38:12 +00:00
Andrew Nicols
323aa3248c MDL-39355: Correct the z-index for moodle-dialogue 2013-05-01 18:34:04 +01:00
Dan Poltawski
d773056669 Merge branch 'MDL-39367-master-int' of git://github.com/FMCorz/moodle 2013-05-01 17:32:09 +01:00
Eloy Lafuente (stronk7)
ea7f9109d5 MDL-39434 Bump main version to observe all deps 2013-05-01 18:04:58 +02:00
Eloy Lafuente (stronk7)
cedb0aab5a MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00
sam marshall
7593df0a55 MDL-39452 Library: html_writer::attribute unnecessary is_array check 2013-05-01 17:00:52 +01:00
Eloy Lafuente (stronk7)
2f679b426a Merge branch 'MDL-39444' of git://github.com/timhunt/moodle 2013-05-01 16:55:36 +02:00
sam marshall
c797c995a0 MDL-39448 MUC: Memcache configurable key names 2013-05-01 14:29:11 +01:00
Damyon Wiese
367b977d4d MDL-39077 max_files does not include current option when it is non-standard
Non-standard means php.ini was set to something not in the default list (like 7MB),
then the config was saved to that specific value, and now the value in php.ini has been changed
again so 7MB does not appear in the list.
2013-05-01 12:40:57 +01:00
sam marshall
a9f5fc158c MDL-38315 Completion: Bugs with 'locked' status in activity form 2013-05-01 11:57:29 +01:00
Tim Hunt
296daf41c7 MDL-39444 get_string: remove unnecessary clean_param
This clean_param was added as part of MDL-22015. It is a good idea when
developer debug is turned on, but it showed up as a surprisingly
expensive cost in our profiling.

This change:

1. Removes the check during string_extist. This will not change
behaviour, the method returns false if the string does not exist.

2. In get_string, it only does the check if debugging is set to
DEVELOPER level.
2013-05-01 10:16:37 +01:00
Dan Poltawski
5f5843f84b Merge branch 'w17_MDL-39402_m25_themedep' of git://github.com/skodak/moodle 2013-05-01 09:53:18 +01:00
Petr Škoda
a824d7d4ac MDL-39402 fix wrong binarius dependency
Credit goes to Frédéric Massart, thanks.
2013-05-01 10:36:30 +02:00
Frederic Massart
f23d95ef84 MDL-38500 repository: Instance names must be unique 2013-05-01 16:11:44 +08:00
Dan Poltawski
142fa8c75d Merge branch 'MDL-39438_master' of git://github.com/dmonllao/moodle 2013-05-01 08:32:30 +01:00
Sam Hemelryk
15f89e2872 MDL-39422 course: converted closures to fix eAccelerator issues 2013-05-01 18:43:27 +12:00
Dan Poltawski
dd4a197e0f MDL-39207 badges: don't use curl version depedent constant
It seems that CURLOPT_CONNECTTIMEOUT_MS is depdendent on the version
of curl compiled against. We don't need milliseconds here anyway, so
switch to the seconds value.
2013-05-01 07:21:58 +01:00
David Monllao
5bc7cd922b MDL-39438 behat: Updating tests
According to MDL-38415 changes.
2013-05-01 13:39:06 +08:00
Rossiani Wijaya
747d5b1cf6 MDL-38714 Lesson module: add setType for hidden and text inputs 2013-05-01 11:39:31 +08:00
Damyon Wiese
25927c42ce MDL-39312 Cache lock plugins - fix undefined var and language typo 2013-05-01 10:51:32 +08:00
Frederic Massart
4a02b4312a MDL-39435 feedback: Fix missing calls to setType 2013-05-01 10:36:23 +08:00
Damyon Wiese
a6b274b232 Merge branch 'wip-MDL-39312-m25' of git://github.com/samhemelryk/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-05-01 10:04:50 +08:00
AMOS bot
f4711cd2f5 Automatically generated installer lang files 2013-05-01 00:39:23 +00:00
Eloy Lafuente (stronk7)
bee592add8 Merge branch 'wip-MDL-39216-m25' of git://github.com/samhemelryk/moodle 2013-05-01 02:29:36 +02:00
Sam Hemelryk
a697000b53 MDL-39216 url: included test for empty string param 2013-05-01 12:27:36 +12:00
Eloy Lafuente (stronk7)
6fc4895276 Merge branch 'wip-MDL-39432-m25' of git://github.com/samhemelryk/moodle 2013-05-01 01:33:18 +02:00
Sam Hemelryk
d25103c4ef Merge branch 'MDL-39422-master' of git://github.com/danpoltawski/moodle
Conflicts:
	mod/wiki/mod_form.php
2013-05-01 11:15:24 +12:00