Commit graph

57767 commits

Author SHA1 Message Date
David Mudrák
fa3feafbbb MDL-35238 Display a button to install an available update 2012-11-08 22:33:06 +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
f965e16539 MDL-35238 Make the auto-deploy feature lockable via config.php
If $CFG->disableupdateautodeploy is set in config.php, no automatic
deploy can happen. This is for sites that are managed by a provider but
their clients have admin access.
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
9dcb52882c MDL-35238 Distinguish the uninstall link from the settings link
It has been reported (can't find the issue now, sorry) that having these
two links next to each other represents an usability issue as folks
found themselves clicking at the uninstall link instead of the settings
link. Previously, these links were displayed in separate columns but
then the whole table got too wide - see MDL-20438.
2012-11-08 22:33:06 +01:00
David Mudrák
7bc759bd44 MDL-35238 Remove the hide/show icon from the Plugins overview page
This was reported in forums as an usability issue. This icon is used
across Moodle as an active link to hide or show things - not as a status
icon. People were trying to disable plugins by clicking the icon. Until
there is a full support for doing this from the Plugins overview page,
it is better to remove the icons completely.
2012-11-08 22:33:06 +01:00
David Mudrák
4df8bced23 MDL-35238 Allow filtering at the Plugins overview page 2012-11-08 22:33:06 +01:00
David Mudrák
c57f18ad06 MDL-35238 Implement HTTP authorization based on passphrase matching 2012-11-08 22:33:06 +01:00
David Mudrák
11c3c579a1 MDL-35238 Fix getting input option value 2012-11-08 22:33:06 +01:00
David Mudrák
c99910bb3a MDL-35238 Print help on the script usage in CLI mode 2012-11-08 22:33:05 +01:00
David Mudrák
89af176511 MDL-35238 Introduce a first version of the mdeploy.php script
This is supposed to serve as a standalone script that accepts parameters
via CLI or HTTP. As no Moodle library can be reliably included, we have
to implement our own input handling, output handling and processing the
actual update/install task.

PHPUnit is used to test the functionality. Although (again), the testing
must not be included as a part of standard Moodle PHPUnit environment
but explicitly.
2012-11-08 22:33:05 +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
Eloy Lafuente (stronk7)
067200e212 MDL-36454 install: add missing cache lib. 2012-11-08 13:07:47 +01:00
Dan Poltawski
440021c8a5 Merge branch 'MDL-35349_master' of git://github.com/markn86/moodle 2012-11-08 18:54:58 +08:00
Dan Poltawski
1cfff7bcff Revert "MDL-36369 Non-admin managers could not access list of plugins"
This reverts commit 22fae2a0dd.
2012-11-08 18:24:36 +08:00
Dan Poltawski
a56dc90320 Merge branch 'MDL-33766-master' of git://github.com/FMCorz/moodle
Conflicts:
	version.php
2012-11-08 18:10:26 +08:00
Barbara Ramiro
df0b7bba42 MDL-36398 Usability: New navigation block icons in svg and png formats 2012-11-08 15:17:44 +08:00
Dan Poltawski
aa8739776c Merge branch 'MDL-34572_accessibility' of git://github.com/rwijaya/moodle 2012-11-08 15:15:54 +08:00
Dan Poltawski
967ec6fb4d Merge branch 'w45_MDL-36196_m24_vercheck' of git://github.com/skodak/moodle 2012-11-08 15:13:10 +08:00
Dan Poltawski
aa289da834 Merge branch 'MDL-36051_24' of git://github.com/rlorenzo/moodle 2012-11-08 15:09:59 +08:00
Dan Poltawski
1b4d837a75 Merge branch 'MDL-35556c' of git://github.com/srynot4sale/moodle 2012-11-08 15:07:17 +08:00
Dan Poltawski
0d90b7e4bc Merge branch 'w45_MDL-36431_m24_selfdefaults' of git://github.com/skodak/moodle 2012-11-08 15:04:19 +08:00
Dan Poltawski
42fd0b64b9 Merge branch 'MDL-34270_master' of https://github.com/markn86/moodle 2012-11-08 14:53:06 +08:00
Mark Nelson
4fc95a9fff MDL-34270 blocks: removing unnecessary capabilities 2012-11-08 14:49:28 +08:00
Aparup Banerjee
4b1466d50c Merge branch 'MDL-27824' of git://github.com/rwijaya/moodle 2012-11-08 13:26:39 +08:00
Rossiani Wijaya
d9b87135cb MDL-27824 course categories: remove trailing whitespace 2012-11-08 12:29:42 +08:00
Rossiani Wijaya
929cdf06de MDL-27824 course categories: change isset() to empty() 2012-11-08 12:25:58 +08:00
Rossiani Wijaya
08af002921 MDL-27824 course categories: Added @todo comments to remove the temporary fix 2012-11-08 12:25:57 +08:00
Rossiani Wijaya
98068e1d8c MDL-27824 - course category: add check test for ->coursesperpage value. 2012-11-08 12:25:57 +08:00
Dan Poltawski
f7febae6d0 Merge branch 'MDL-36422-master' of git://github.com/FMCorz/moodle 2012-11-08 11:07:43 +08:00
Dan Poltawski
9b70e89fc3 MDL-36436 - remove disabling of setting based on ldap paging support 2012-11-08 10:22:30 +08:00
Frederic Massart
eec4107bdd MDL-36422 question: Fixed malformed HTML in manual marking 2012-11-08 10:20:22 +08:00
Dan Poltawski
6a0511c17e MDL-36119 - remove <em> from lang string
(Its across whole string, so shouldn't really be done within the string)
2012-11-08 10:18:06 +08:00
Dan Poltawski
ee943e7311 MDL-36119 - fix trailing whitespace 2012-11-08 10:18:06 +08:00
Dan Poltawski
809c1bee49 Merge branch 'wip_master_mdl-36119_ldap_paged_results' of git://github.com/iarenaza/moodle 2012-11-08 09:48:36 +08:00
Dan Poltawski
bec1b02a91 Merge branch 'wip-MDL-36381-m24' of git://github.com/samhemelryk/moodle 2012-11-08 09:33:43 +08:00
Dan Poltawski
650e6c7339 Merge branch 'MDL-36290-master' of git://github.com/FMCorz/moodle 2012-11-08 09:26:08 +08:00
Dan Poltawski
7164d2f68a Merge branch 'w45_MDL-36194_m24_editoruninstall' of git://github.com/skodak/moodle 2012-11-08 08:52:25 +08:00
Rex Lorenzo
00917ec682 MDL-36051 - Quick Grading in Assignment module does not turn on in some circumstances
* Fixed bug with quick grading when file submission is turned off
2012-11-07 16:26:26 -08:00
Mark Nelson
3774324174 MDL-33791 Portfolio: Fixed security issue with passing file paths. 2012-11-08 00:26:13 +01:00
Sam Hemelryk
f89a1a8876 Merge branch 'MDL-36197_master' of git://github.com/lazydaisy/moodle 2012-11-08 11:30:49 +13:00
Sam Hemelryk
24f4515576 Merge branch 'MDL-36271_master' of https://github.com/markn86/moodle 2012-11-08 11:07:15 +13:00
Sam Hemelryk
9a0e6f147d Merge branch 'WIP-MDL-35249-master' of git://github.com/nadavkav/moodle
Conflicts:
	mod/assign/gradingtable.php
2012-11-08 10:57:52 +13:00
Sam Hemelryk
81ede547f2 MDL-36381 cache: fixed bug whereby you couldn't edit store instances 2012-11-08 10:54:11 +13:00
Adrian Greeve
e2c5f38605 MDL-35558 mod_data: Show only own entries while there are required pending. 2012-11-07 19:43:42 +01:00
Iñaki Arenaza
c090d7c90e MDL-36119: auth_{ldap,cas}: LDAP Sync - implement paged results
Thanks to Jerome Charaoui for the original patch.
2012-11-07 19:13:10 +01:00
Petr Škoda
b5cf59a59d MDL-36194 remove bogus echo $PAGE->set_title()
Credit goes to Dan Poltawski, thanks!
2012-11-07 19:11:25 +01:00
Petr Škoda
eac37ff46a MDL-36431 fix multiple problems with self enrol defaults
This patch adds new method for retrieving of default properties of enrol_self instances and uses it both for automatic adding of instances and add instance form - this will guarantee both are using the same data in the future.
2012-11-07 18:57:14 +01:00
Petr Škoda
68cd60b7df MDL-36196 hardcode the required PHP version in installer 2012-11-07 13:04:08 +01:00
Petr Škoda
4f66c75f20 MDL-36194 add support for editor uninstallation 2012-11-07 13:02:21 +01:00