Commit graph

57866 commits

Author SHA1 Message Date
Sam Hemelryk
70d09e7fd6 Merge branch 'MDL-36761_loop' of git://github.com/andyjdavis/moodle 2012-12-10 10:54:32 +13:00
Sam Hemelryk
f6c922e71f Merge branch 'MDL-34591_master' of git://github.com/grabs/moodle 2012-12-10 10:49:21 +13:00
Sam Hemelryk
d72f2212da Merge branch 'wip-MDL-35221-master' of git://github.com/kwiliarty/moodle 2012-12-10 10:41:35 +13:00
Sam Hemelryk
bb682c1ac2 Merge branch 'wip-MDL-36906-master' of git://github.com/abgreeve/moodle 2012-12-10 10:33:48 +13:00
Sam Hemelryk
6d48072205 Merge branch 'wip-MDL-36915-master' of git://github.com/abgreeve/moodle 2012-12-10 10:27:25 +13:00
Sam Hemelryk
d229ac0f0a Merge branch 'wip-MDL-37026-master' of git://github.com/abgreeve/moodle 2012-12-10 10:23:55 +13:00
Sam Hemelryk
13980de16b Merge branch 'MDL-33125' of git://github.com/aolley/moodle 2012-12-10 10:19:32 +13:00
Andreas Grabs
a8e85e05bc MDL-34591 - paypal does not allow unenrol 2012-12-09 19:10:52 +01:00
Eloy Lafuente (stronk7)
4bd6f71bad weekly on-sync release 2.5dev 2012-12-08 02:58:07 +01:00
Amy Groshek
62434c8a53 MDL-36960 - fix broken horizontal positioning of titles for docked blocks 2012-12-06 12:10:38 +08:00
David Mudrák
8663b090c0 MDL-36963 Do not attempt to remove the root folder of a plugin during the update deployment
There is no need to move the root folder of a plugin during the update
deployment. We just need to operate with its contents. So the web server
process can have the write access for the plugin folder only.
2012-12-06 11:03:35 +08:00
David Mudrák
dabe5acc42 MDL-36963 Add unit tests for directory operations in mdeploy.php 2012-12-06 11:03:35 +08:00
David Mudrák
75879a9e74 MDL-36963 Improve mdeploy worker::remove_directory() method
The additional parameter allows to use this method without actual
removing the root of the path. That is, it is now possible to remove
the content of a folder only.
2012-12-06 11:03:35 +08:00
David Mudrák
b68bbc5ae1 MDL-36963 Improve mdeploy worker::move_directory() method
The additional parameter allows to use this method without actual
removing the root of the source location. That is, it is now possible to
move the content of a folder only.

Also, a small refactoring happened here as we will need a variant of
this method that does not throw exception if the target already exists.
2012-12-06 11:03:35 +08:00
Adrian Greeve
3370f216a2 MDL-37026 - lib: The function user_can_assign() returns true for admins. 2012-12-06 10:52:09 +08:00
Eloy Lafuente (stronk7)
ee22329a90 Merge branch 'wip-MDL-36341-m24' of git://github.com/samhemelryk/moodle 2012-12-06 02:24:47 +01:00
David Mudrák
fa1415f193 MDL-37003 Fix repeated line in update notification email
There was a problem experienced after 2.4.0 release because the version
of the 2.4.0 release was the same as 2.5dev release. So the version
value matched twice in the loop and the line was repeated in the email.
2012-12-06 01:50:48 +01:00
David Mudrák
d2713eff38 MDL-36943 Do not notify about already installed updates
Before this patch, the available_update_checker::cron_notifications()
method accessed the availableupdates property. But for plugins, that property
basically contains the most recent version available. So we were missing
the check against the actual version installed.

The fix was simple - obtain available updates via the available_updates()
method that performs the check.
2012-12-06 01:50:42 +01:00
Marina Glancy
e28d5db2ee MDL-36840 Set course.format to 'site' for site-course 2012-12-05 10:31:24 +08:00
Eloy Lafuente (stronk7)
03953061ca NOBUG: Bump backup relese for 2.5dev 2012-12-03 21:11:33 +01:00
Eloy Lafuente (stronk7)
cf08763204 weekly release 2.5dev 2012-12-03 20:05:30 +01:00
Eloy Lafuente (stronk7)
f588fdfcc7 Moodle release 2.4 2012-12-03 20:01:33 +01:00
Eloy Lafuente (stronk7)
b9896f9613 ie9 svg compatibility fixes 2012-12-03 19:53:36 +01:00
Eloy Lafuente (stronk7)
b0d9ca18a4 Merge branch 'install_master' of git://git.moodle.cz/moodle-install 2012-12-03 19:51:37 +01:00
Eloy Lafuente (stronk7)
e9dab879b6 Merge branch 'MDL-36934-master' of git://git.luns.net.uk/moodle 2012-12-03 09:48:13 +01:00
Aparup Banerjee
552160e844 Merge branch 'MDL-36912-master' of git://github.com/FMCorz/moodle 2012-12-03 15:54:52 +08:00
Dan Poltawski
0dcae7cd14 MDL-36950 pluginlib - add MDL to comment 2012-12-03 15:47:35 +08:00
Dan Poltawski
bb608148a9 Merge branch 'MDL-36950-updates-proxy' of git://github.com/mudrd8mz/moodle 2012-12-03 15:21:25 +08:00
Aparup Banerjee
ce84cbacb7 Merge branch 'MDL-36777-master' of git://github.com/FMCorz/moodle 2012-12-03 14:59:15 +08:00
Dan Poltawski
e1c93ed97b Merge branch 'MDL-36914-master' of git://github.com/damyon/moodle 2012-12-03 14:45:04 +08:00
Frederic Massart
197b314f46 MDL-36860 theme: Readme for MyMobile hack 2012-12-03 14:18:35 +08:00
Dan Poltawski
7d1c3abe88 Merge branch 'MDL-36883-master' of git://github.com/FMCorz/moodle 2012-12-03 14:08:25 +08:00
Dan Poltawski
7eebac6c77 Merge branch 'MDL-36860-master' of git://github.com/FMCorz/moodle 2012-12-03 13:56:21 +08:00
Dan Poltawski
72647f09f1 Merge branch 'MDL-36944-master' of git://github.com/FMCorz/moodle 2012-12-03 13:41:02 +08:00
Dan Poltawski
539cc4061d Merge branch 'MDL-36949-master' of git://github.com/FMCorz/moodle 2012-12-03 13:28:12 +08:00
Dan Poltawski
4a67095710 Merge branch 'MDL-36884-master' of git://github.com/FMCorz/moodle 2012-12-03 13:23:21 +08:00
Dan Poltawski
c62c77c0e8 Merge branch 'wip-MDL-36888-m24' of git://github.com/samhemelryk/moodle 2012-12-03 12:55:42 +08:00
Dan Poltawski
f92340ed3f Merge branch 'MDL-36948-master' of git://github.com/FMCorz/moodle 2012-12-03 11:59:01 +08:00
Dan Poltawski
28ef36f018 Merge branch 'MDL-36618-master' of git://github.com/FMCorz/moodle 2012-12-03 10:36:16 +08:00
Sam Hemelryk
cc52e16c4a MDL-36341 calendar: fixed JS bug with popup node setter 2012-12-03 11:31:34 +13:00
Sam Hemelryk
383b89a1e2 MDL-36888 theme: allow the use of SVG in CSS background images. 2012-12-03 09:20:06 +13:00
AMOS bot
58f5646767 Automatically generated installer lang files 2012-12-02 00:40:59 +00:00
Andrew Robert Nicols
50d6ad844a MDL-36934 Only set the autosubmit class on selects when required
The url_select class can optionally show a button (much like the non-JS
fallback). In this case, the autosubmit nature of the form shouldn't be
enforced and it should only submit on the button.
2012-12-01 09:48:42 +00:00
AMOS bot
de1c8ef58b Automatically generated installer lang files 2012-12-01 00:43:06 +00:00
David Mudrák
63def597a6 MDL-36950 Pass the Moodle proxy setting to the mdeploy.php utility 2012-11-30 16:12:34 +01:00
David Mudrák
42c6731c9f MDL-36950 Make mdeploy.php accept proxy related settings 2012-11-30 16:11:52 +01:00
David Mudrák
333048e06b MDL-36903 Add a link to Moodle documentation from mdeploy error pages 2012-11-30 16:09:58 +01:00
David Mudrák
e428b5e0ae MDL-36903 Make mdeploy.php use the custom CA certificate if it exists 2012-11-30 16:09:58 +01:00
David Mudrák
30e2682756 MDL-36903 Pre-check the ZIP download before executing the mdeploy.php utility
This patch makes Moodle call HTTP HEAD method via cURL to see if the ZIP
is expected to be downloadable by mdeploy.php. This is mainly intended
for SSL certificates check.
2012-11-30 16:09:58 +01:00
David Mudrák
4785c45dd8 MDL-36903 Verify the SSL certificate of available updates provider
From now on, Moodle verifies the available updates provider server. To
make it work, either there must be a valid CA certificate available in
the operating system, or the administrator has to upload the valid CA
certificate to moodledata/moodleorgca.crt (PEM format) file manually.
2012-11-30 16:09:58 +01:00