308 Commits

Author SHA1 Message Date
David Mudrák
d80f80f386 MDL-35238 Do not check for write permissions when enabling the auto-deploy feature
It seems to be better to check for required permission later, when the
button to install the update is actually being displayed. Credit goes to
Dan Poltawski for suggesting this.
2012-11-08 22:46:48 +01:00
David Mudrák
7683e550ac MDL-35238 Introduce available_update_deployer class
This class represents the communication bridge from Moodle UI to the
(standalone) mdeploy.php utility. It consists of various helper methods
useful when dealing with user interface, update confirmation etc.

The class is implemented as a singleton. This allows us easily
transfer required data from top level scripts (like /admin/index.php)
into the rendering methods deep in the stack without the need to change
the API of many methods on the way.
2012-11-08 22:33:06 +01:00
David Mudrák
02fd7f47a9 MDL-35238 Add a new admin setting to enable updates deployment 2012-11-08 22:33:06 +01:00
David Mudrák
966bd7852e MDL-34099 Report available updates for plugins at admin/index.php
The Notifications (admin/index.php) page has now information about
available updates for core and eventually plugins, too. Note that the
structure of the available updates array changed. This breaks backward
compatibility for eventual 3rd renderers out there (not expected
though).
2012-11-08 22:33:05 +01:00
Dan Poltawski
cdf9b0c86f Merge branch 'MDL-36266-notification-subject' of git://github.com/mudrd8mz/moodle 2012-11-06 11:59:24 +08:00
Sam Hemelryk
5252ec82a2 Merge branch 'MDL-35998' of git://github.com/mouneyrac/moodle
Conflicts:
	version.php
2012-11-06 11:00:16 +13:00
Dan Poltawski
918085d048 Revert "MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled"
This reverts commit 45f93db912a17b778aca4b9ced16de79ff18abaa.
This reverts commit 3f798d4a3d11416c4c71df2038c1ec9422898e5e.
2012-11-05 15:20:22 +08:00
Marina Glancy
45f93db912 MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled 2012-11-05 11:46:34 +08:00
Jerome Mouneyrac
33af788210 MDL-35998 New mobile menu: with CSS url + existing enable mobile web services 2012-10-31 14:25:30 +08:00
David Mudrák
2399585f7f MDL-36266 Improve update notification message subject 2012-10-30 12:00:03 +01:00
Dan Poltawski
0caa0c869b Merge branch 'MDL-4655-master' of git://github.com/FMCorz/moodle 2012-10-30 11:58:34 +08:00
Dan Poltawski
b01783f086 Merge branch 'MDL-35964' of git://github.com/timhunt/moodle 2012-10-29 13:48:44 +08:00
Frederic Massart
3b7bfbb5b8 MDL-4655 course: Number of courses with summaries to display is configurable 2012-10-18 11:07:17 +08:00
Aparup Banerjee
8cbd15a761 Merge branch 'MDL-28965-master' of git://github.com/ankitagarwal/moodle 2012-10-15 15:17:44 +08:00
Tim Hunt
1c76fc96d1 MDL-35964 blocks: prevent undeletable blocks being deleted!
This commit simplifies the logic, so that $CFG->undeletableblocks
applies to all blocks, not just ones on certain page types in the
system context.

It also makes the setting apply to adding blocks, so you cannot
accidentally add a block that you cannot delete.
2012-10-12 20:36:02 +01:00
Ankit Agarwal
89eee2f36d MDL-28965 administration: Updating description string for the setting navshowallcourses 2012-10-11 14:22:34 +08:00
Sam Hemelryk
d6a1f63bdd MDL-25290 cache: Cache API integration with core 2012-10-08 09:53:50 +13:00
Michael Aherne
f127b1a538 MDL-35669 gravatar Provide default image URL to Gravatar 2012-10-01 14:17:11 +01:00
Itamar Tzadok
110831ceaa MDL-35216 My Moodle - Admin setting for controlling guest access to my moodle 2012-09-18 15:04:45 +08:00
Frederic Massart
59b9a14063 MDL-8307 Course: Course requests can suggest a category 2012-09-07 11:22:08 +08:00
Frederic Massart
e2aebdc928 MDL-33812 Backup: Respect of backup_auto_keep 2012-09-03 14:12:28 +08:00
Eloy Lafuente (stronk7)
2672817478 Merge branch 'w34_MDL-34960_m24_gmapsv2drop' of git://github.com/skodak/moodle 2012-08-20 20:34:13 +02:00
Eloy Lafuente (stronk7)
5bed363980 Merge branch 'w34_MDL-34959_m24_gmapsv3' of git://github.com/skodak/moodle 2012-08-20 20:28:59 +02:00
Eloy Lafuente (stronk7)
fae6f7cad0 Merge branch 'w34_MDL-34868_m24_gmapsv2' of git://github.com/skodak/moodle 2012-08-20 20:17:27 +02:00
Dan Poltawski
9522185b3c Merge branch 'MDL-34779-master' of git://github.com/ankitagarwal/moodle 2012-08-20 15:58:22 +08:00
Michael de Raadt
6e56d9dcb7 MDL-34779 settings: Updating lang string corrposnding to the fullnamedisplay setting 2012-08-20 15:46:54 +08:00
Petr Škoda
704533fca7 MDL-34960 drop deprecated Google Maps API V2 2012-08-19 20:07:27 +02:00
Petr Škoda
cec7d43591 MDL-34959 add Google Maps API V3 support 2012-08-19 19:52:35 +02:00
Petr Škoda
b32ec7a3b9 MDL-34868 update deprecated Google maps API V2 key info 2012-08-19 18:20:59 +02:00
Eloy Lafuente (stronk7)
76b97631b0 Merge branch 'MDL-25012' of git://github.com/danpoltawski/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-08-15 00:41:04 +02:00
Dan Poltawski
850d2db82a MDL-25012 - blogs: introduce a specific 'enabled' config setting
Rather than overloading the $CFG->bloglevel setting which had a
confusing UI in the appearance subsystem.

In order to achieve this we modify take the defaults from the existing
bloglevel setting and set that for $CFG->enableblogs. Note that in order
to prevent a bad default settings from being set we also set
$CFG->bloglevel to a valid 'enabled' setting.
2012-08-06 11:25:22 +08:00
Tim Hunt
157583b862 MDL-34704 couse, accesslib: improve $CFG->courselistshortnames
1. get_context_name should respect the $CFG->courselistshortnames
setting.

2. When $CFG->courselistshortnames is on, what to display should use a
language string, rather than string concatenation. This makes it
possible for people to configure the display. For example, they might
want 'My first course [M101]' instead of 'M101 My first course'.
2012-08-03 13:01:05 +01:00
Dan Poltawski
b7db7803bc Merge branch 'w30_MDL-34299_m24_html5' of git://github.com/skodak/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-07-24 14:07:26 +08:00
Sam Hemelryk
18989c7a24 Merge branch 'MDL-34205-master' of git://github.com/micaherne/moodle 2012-07-23 12:52:35 +12:00
Petr Škoda
13725b3797 MDL-34299 remove xmlstrictheaders setting and switch to html5 doctype by default
This fixes WCAG 2.0 compliance because we were already using HTML5 markup.

The strict XML headers setting never worked for production servers, developers
used browser validators for compliance testing. XHTML 5 option is relatively
similar to this obsolete option, but still it can not be used on production servers.

XHTML Strict 1.x was a standardised dead end, HTML5 is the new de-facto-standard
supported by all major browsers including latest versions of IE.

Please note nothing changes in our coding style because HTML5 is a superset of
several previous standards, it is recommended to use only features that are
already implemented in all our supported browsers.
2012-07-21 19:23:44 +02:00
Michael Aherne
945a81a943 MDL-34205 Activity chooser default setting 2012-07-06 15:29:08 +01:00
Petr Škoda
774c42a8d3 MDL-34046 improve mixed files upgrade error
Credit goes to Gordon Bateson.
2012-07-06 08:00:53 +02:00
Sam Hemelryk
b5c4f3042b Merge branch 'MDL-34014' of git://github.com/danpoltawski/moodle 2012-07-03 10:32:37 +12:00
Dan Poltawski
3b0ba40ac5 MDL-34033 lang - ammend configenableajax
Now better reflects its functionality.
2012-06-27 11:00:09 +08:00
Dan Poltawski
42e4100b62 MDL-34014 lang - fix CSS optimiser spelling errors 2012-06-26 11:17:36 +08:00
Dan Poltawski
8e9e62fd8e Merge branch 'MDL-29103' of git://github.com/mouneyrac/moodle 2012-06-05 12:42:30 +08:00
Helen Foster
3c97ce2461 MDL-31803 lang - make the mooch registration message more descriptive 2012-06-05 09:09:52 +08:00
Dan Poltawski
b3245b758c Merge branch 'MD-31803' of git://github.com/mouneyrac/moodle
Conflicts:
	admin/index.php
	admin/renderer.php
	version.php
2012-06-04 19:25:58 +08:00
Petr Skoda
0aff15c2c9 MDL-33007 add workaround for broken iconv //IGNORE
This patch adds mbstring utf-8 cleanup fallback and admin warning if no utf-8 cleanup possible in user submitted data.
2012-06-01 12:23:09 +02:00
Koen Roggemans
61935d8ed0 MDL-29103 web service strings improvement 2012-06-01 11:36:37 +08:00
Aparup Banerjee
1adb060a87 Merge branch 'MDL-32329-all-plugins-ok' of git://github.com/mudrd8mz/moodle 2012-05-30 16:48:23 +08:00
David Mudrak
39f15cc712 MDL-32329 check for plugin dependencies during the pre-install checking
This follows the same path as we have in CLI installers. Plugin
dependencies are checked right after the environment checks and the
install can't continue unless all dependencies are fixed.
2012-05-30 10:35:28 +02:00
David Mudrak
f1753a5b10 MDL-32329 CLI install and upgrade scripts display plugins with unsatisfied dependencies 2012-05-30 10:35:28 +02:00
David Mudrak
2da7fbc0c2 MDL-33382 CLI install and upgrade scripts display hint on --allow-unstable in non-interactive mode 2012-05-28 10:59:22 +02:00
Davo Smith
1ddc3d1f4c MDL-22504 Course drag and drop upload - experimental setting is now a checkbox 2012-05-21 10:03:55 +01:00