Dan Poltawski [Wed, 14 Nov 2012 00:31:29 +0000 (08:31 +0800)]
Merge branch 'MDL-36494-invalid-update-debugging' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 13 Nov 2012 14:34:36 +0000 (22:34 +0800)]
MDL-30545 messaging - remove DISTINCT from union statement
David Mudrák [Tue, 13 Nov 2012 10:24:55 +0000 (11:24 +0100)]
MDL-36494 Do not display a debugging message about invalid update info
It turned out that this well-meant debugging message just caused a lot
of false alarm with no good reason. It seems to be better just ignore it
at the moment.
Dan Poltawski [Tue, 13 Nov 2012 07:09:14 +0000 (15:09 +0800)]
MDL-30545 - messagelib: use $DB->sql_concat()
Tyler Bannister [Tue, 13 Nov 2012 03:46:30 +0000 (22:46 -0500)]
MDL-30643 - Fixed timezone problems in test cases.
resolved integration time changes conflict.
Conflicts:
lib/tests/statslib_test.php
Dan Poltawski [Tue, 13 Nov 2012 05:40:18 +0000 (13:40 +0800)]
Merge branch 'w46_MDL-36169_m24_enrolsort' of git://github.com/skodak/moodle
Dan Poltawski [Tue, 13 Nov 2012 05:21:50 +0000 (13:21 +0800)]
Merge branch 'MDL-30545' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 13 Nov 2012 05:04:14 +0000 (13:04 +0800)]
Merge branch 'MDL-36509' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Tue, 13 Nov 2012 04:57:30 +0000 (12:57 +0800)]
Merge branch 'wip-MDL-36398-master' of git://github.com/barbararamiro/moodle
Damyon Wiese [Tue, 13 Nov 2012 00:51:00 +0000 (08:51 +0800)]
MDL-36509: Assignment grading table rownum offset is wrong by one.
Aparup Banerjee [Mon, 12 Nov 2012 16:49:21 +0000 (00:49 +0800)]
MDL-30643 statslib test - remove using $CFG->timezone=99 for unit test as it clashes with test data in other tz
Aparup Banerjee [Mon, 12 Nov 2012 07:50:19 +0000 (15:50 +0800)]
MDL-30643 added tables to upgrade script
Aparup Banerjee [Mon, 12 Nov 2012 06:43:55 +0000 (14:43 +0800)]
MDL-30643 fixed statslib test start timestamp
Aparup Banerjee [Mon, 12 Nov 2012 06:29:45 +0000 (14:29 +0800)]
Merge branch 'MDL-30643_master-log-speed' of git://github.com/tbannister/moodle
Dan Poltawski [Mon, 12 Nov 2012 03:07:19 +0000 (11:07 +0800)]
MDL-35260 - fix trailing whitespace
Dan Poltawski [Mon, 12 Nov 2012 03:04:23 +0000 (11:04 +0800)]
Merge branch 'wip-MDL-35260-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 12 Nov 2012 02:36:16 +0000 (10:36 +0800)]
Merge branch 'MDL-35422-workshop-submit-button' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Mon, 12 Nov 2012 02:30:36 +0000 (10:30 +0800)]
Merge branch 'w46_MDL-36487_m24_ieheaders' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 12 Nov 2012 02:26:29 +0000 (10:26 +0800)]
Merge branch 'wip-MDL-36111-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 12 Nov 2012 02:17:34 +0000 (10:17 +0800)]
Merge branch 'w46_MDL-36481_m24_intranetie' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 12 Nov 2012 02:10:30 +0000 (10:10 +0800)]
Merge branch 'wip-MDL-36450-master' of git://github.com/barbararamiro/moodle
Conflicts:
pix/help.png
pix/help.svg
pix/i/outcomes.png
pix/i/outcomes.svg
Sam Hemelryk [Sun, 11 Nov 2012 21:36:53 +0000 (10:36 +1300)]
MDL-36111 cache: Fixed up typo's and trivial issues
Petr Škoda [Sat, 10 Nov 2012 10:47:09 +0000 (11:47 +0100)]
MDL-36487 do not use IE=edge header on pages that have custom X-UA-Compatible
Thanks Dan Poltawski for spotting this regression!
Marina Glancy [Thu, 18 Oct 2012 08:03:11 +0000 (16:03 +0800)]
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
Tyler Bannister [Tue, 4 Sep 2012 14:11:16 +0000 (10:11 -0400)]
RFC-30643 - Added fifth table to speed up enrolment look ups.
Tyler Bannister [Fri, 3 Aug 2012 19:53:27 +0000 (15:53 -0400)]
MDL-30643 - Added statslib test file.
- Tests daily stats and daily stats related functions.
Tyler Bannister [Fri, 3 Aug 2012 19:51:49 +0000 (15:51 -0400)]
MDL-30643 - Added definition for new temporary table to install.xml.
- Added code to generate tempoary tables from existing standard tables where possible.
Tyler Bannister [Fri, 18 May 2012 14:07:48 +0000 (10:07 -0400)]
MDL-30643 - Added temporary tables to store the stats results until generation is complete.
Tyler Bannister [Fri, 11 May 2012 19:02:56 +0000 (15:02 -0400)]
MDL-30643 - Improved stats generation SQL queries.
- Added temporary log tables to reduce log search times.
- Added additional output to weekly and monthly stat generation
Petr Škoda [Fri, 9 Nov 2012 18:47:35 +0000 (19:47 +0100)]
MDL-36169 fix enrolled users sorting by alphanumerical column
Credit goes to Nicholas Koeppen, thanks!
Petr Škoda [Fri, 9 Nov 2012 16:27:29 +0000 (17:27 +0100)]
MDL-36487 send IE standards compatibility http headers
Petr Škoda [Fri, 9 Nov 2012 13:57:55 +0000 (14:57 +0100)]
MDL-36481 improve IE version sniffing
Dan Poltawski [Fri, 9 Nov 2012 10:49:38 +0000 (18:49 +0800)]
Moodle release 2.4beta
Dan Poltawski [Fri, 9 Nov 2012 09:56:42 +0000 (17:56 +0800)]
weekly release 2.4dev
Dan Poltawski [Fri, 9 Nov 2012 09:52:55 +0000 (17:52 +0800)]
Merge branch 'install_master' of git://git.moodle.cz/moodle-install
Dan Poltawski [Fri, 9 Nov 2012 08:50:09 +0000 (16:50 +0800)]
Revert "MDL-35556 completion: Improve user completion data permission checking"
This reverts commit
f493d528c20b023a8b847a44161b82b05f8fc6c8.
Dan Poltawski [Fri, 9 Nov 2012 07:54:46 +0000 (15:54 +0800)]
Merge branch 'w45_MDL-36468_m24_tinymce' of git://github.com/skodak/moodle
Petr Škoda [Fri, 9 Nov 2012 07:37:18 +0000 (08:37 +0100)]
MDL-36468 fix remaining zIndexes and some { weirdness
I had to reimport all files and search&replace the zIndexes, it is better to not use editor for this.
Dan Poltawski [Fri, 9 Nov 2012 06:38:32 +0000 (14:38 +0800)]
MDL-36119 - enrol_ldap: fix php error
Barbara Ramiro [Fri, 9 Nov 2012 06:24:44 +0000 (14:24 +0800)]
MDL-36450 Usability: New svg and png icons for Filters and revised Outcomes and Help icons
Aparup Banerjee [Fri, 9 Nov 2012 06:16:15 +0000 (14:16 +0800)]
Merge branch 'WIP-MDL-35512' of git://github.com/nadavkav/moodle
Aparup Banerjee [Fri, 9 Nov 2012 06:09:11 +0000 (14:09 +0800)]
Merge branch 'MDL-35510_master' of git://github.com/lazydaisy/moodle
Dan Poltawski [Fri, 9 Nov 2012 05:43:37 +0000 (13:43 +0800)]
Merge branch 'wip-MDL-36324-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Fri, 9 Nov 2012 04:00:47 +0000 (12:00 +0800)]
Merge branch 'MDL-34572_accessibility' of git://github.com/rwijaya/moodle
Sam Hemelryk [Fri, 9 Nov 2012 03:58:51 +0000 (16:58 +1300)]
MDL-36324 cache: Fixed incorrect get_string component
Rossiani Wijaya [Fri, 9 Nov 2012 03:55:24 +0000 (11:55 +0800)]
MDL-34572 alfresco repository: add accesshide class to workspace's label
Sam Hemelryk [Fri, 9 Nov 2012 02:41:42 +0000 (15:41 +1300)]
MDL-34342 cache: fixed issue within string cache key
Aparup Banerjee [Fri, 9 Nov 2012 02:33:26 +0000 (10:33 +0800)]
Merge branch 'WIP-MDL-35566' of git://github.com/nadavkav/moodle
Dan Poltawski [Fri, 9 Nov 2012 02:30:55 +0000 (10:30 +0800)]
Merge branch 'MDL-35238-deployment' of git://github.com/mudrd8mz/moodle
Aparup Banerjee [Fri, 9 Nov 2012 02:27:11 +0000 (10:27 +0800)]
Merge branch 'MDL-35571_master' of git://github.com/lazydaisy/moodle
David Mudrák [Thu, 8 Nov 2012 23:20:18 +0000 (00:20 +0100)]
MDL-35238 Inform the admin if the update can not be deployed due to write permissions
Sam Hemelryk [Thu, 8 Nov 2012 20:32:47 +0000 (09:32 +1300)]
MDL-36381 cachestores: fixed bug when editing with checkbox/bool
David Mudrák [Thu, 8 Nov 2012 21:43:37 +0000 (22:43 +0100)]
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.
Nadav Kavalerchik [Thu, 8 Nov 2012 21:44:05 +0000 (23:44 +0200)]
MDL-35566 - Always, left align "Version" and "Folder" fields, in RTL and LTR modes. (Check available updates page)
David Mudrák [Thu, 8 Nov 2012 10:09:03 +0000 (11:09 +0100)]
MDL-35238 Accept $CFG->alternativeupdateproviderurl from config.php file only
There was a potential security risk that someone with access to the Moodle
database could update mdl_config table and use it as a vector to
install malicious code on the server.
Credit goes to Dan Poltawski for raising this.
David Mudrák [Wed, 7 Nov 2012 22:50:15 +0000 (23:50 +0100)]
MDL-35238 Add support for explicit singleton reset
This may be needed during PHPUnit testing.
David Mudrák [Wed, 7 Nov 2012 22:20:54 +0000 (23:20 +0100)]
MDL-35238 Improve exceptions handling
David Mudrák [Wed, 7 Nov 2012 20:54:22 +0000 (21:54 +0100)]
MDL-35238 Be more verbose if the tilde character is used in TYPE_PATH script options
The tilde character is not generally supported in Moodle. Previously it
was just removed silently and it was difficult to realize what was going
on.
David Mudrák [Wed, 7 Nov 2012 20:12:01 +0000 (21:12 +0100)]
MDL-35238 Add simple logging of mdeploy.php execution
David Mudrák [Wed, 7 Nov 2012 15:33:44 +0000 (16:33 +0100)]
MDL-35238 Fix the unit test for invalid input_manager::TYPE_URL values
David Mudrák [Wed, 7 Nov 2012 15:30:57 +0000 (16:30 +0100)]
MDL-35238 Remove the ZIP file after successful decompression
David Mudrák [Wed, 7 Nov 2012 15:29:07 +0000 (16:29 +0100)]
MDL-35238 Compare the ZIP package content hash with the expected value
The expected value is returned as a part of available update info
(requires API version 1.1).
David Mudrák [Wed, 7 Nov 2012 08:50:59 +0000 (09:50 +0100)]
MDL-35238 Fetch available updates using the 1.1 version of the API
If the stored response has still 1.0 version (which is expected during
the upgrade to 2.4), a debugging message is displayed. Added a string to
explain what's going on and how to recover from the state.
David Mudrák [Fri, 12 Oct 2012 01:51:47 +0000 (03:51 +0200)]
MDL-35238 Warn the admin if they are about to overwrite a SCM checkout
David Mudrák [Thu, 11 Oct 2012 10:39:11 +0000 (12:39 +0200)]
MDL-35238 Support deployment from yet another plugins check page too
David Mudrák [Thu, 11 Oct 2012 10:37:51 +0000 (12:37 +0200)]
MDL-35238 Unzip the downloaded package and redirect to the upgrade page
David Mudrák [Thu, 11 Oct 2012 07:36:12 +0000 (09:36 +0200)]
MDL-35238 Backup existing plugin version before replacing it
This is here to save eventual local contributions to the plugin before
we replace the whole directory in the next step.
David Mudrák [Thu, 11 Oct 2012 05:29:44 +0000 (07:29 +0200)]
MDL-35238 Fetch the package and store it in a temporary location
David Mudrák [Tue, 9 Oct 2012 22:44:39 +0000 (00:44 +0200)]
MDL-35238 Reorganise the worker::execute() flow
David Mudrák [Tue, 9 Oct 2012 22:01:49 +0000 (00:01 +0200)]
MDL-35238 Implement deployment authorization
The caller of the mdeploy.php utility is expected to create a file in
the data directory. The name of such file and the passphrase in it are
then sent to mdeploy.php as a part of the request. The submitted and
stored values are then compared.
David Mudrák [Sun, 7 Oct 2012 23:58:58 +0000 (01:58 +0200)]
MDL-35238 Admin renderer method to display the plugin update confirmation page
David Mudrák [Sun, 7 Oct 2012 23:56:10 +0000 (01:56 +0200)]
MDL-35238 Handle the update installation request - display the confirmation page
David Mudrák [Sun, 7 Oct 2012 23:54:16 +0000 (01:54 +0200)]
MDL-35238 Display a button to install an available update
David Mudrák [Sun, 7 Oct 2012 23:48:15 +0000 (01:48 +0200)]
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.
David Mudrák [Mon, 1 Oct 2012 23:11:40 +0000 (01:11 +0200)]
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.
David Mudrák [Wed, 12 Sep 2012 01:06:00 +0000 (03:06 +0200)]
MDL-35238 Add a new admin setting to enable updates deployment
David Mudrák [Tue, 18 Sep 2012 20:29:09 +0000 (22:29 +0200)]
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.
David Mudrák [Tue, 18 Sep 2012 20:26:22 +0000 (22:26 +0200)]
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.
David Mudrák [Tue, 18 Sep 2012 20:13:48 +0000 (22:13 +0200)]
MDL-35238 Allow filtering at the Plugins overview page
David Mudrák [Mon, 17 Sep 2012 16:52:49 +0000 (18:52 +0200)]
MDL-35238 Implement HTTP authorization based on passphrase matching
David Mudrák [Mon, 17 Sep 2012 14:24:02 +0000 (16:24 +0200)]
MDL-35238 Fix getting input option value
David Mudrák [Mon, 17 Sep 2012 12:59:23 +0000 (14:59 +0200)]
MDL-35238 Print help on the script usage in CLI mode
David Mudrák [Fri, 14 Sep 2012 14:18:31 +0000 (16:18 +0200)]
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.
David Mudrák [Thu, 13 Sep 2012 14:34:47 +0000 (16:34 +0200)]
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).
Eloy Lafuente (stronk7) [Thu, 8 Nov 2012 12:07:47 +0000 (13:07 +0100)]
MDL-36454 install: add missing cache lib.
Dan Poltawski [Thu, 8 Nov 2012 10:54:58 +0000 (18:54 +0800)]
Merge branch 'MDL-35349_master' of git://github.com/markn86/moodle
Dan Poltawski [Thu, 8 Nov 2012 10:24:36 +0000 (18:24 +0800)]
Revert "MDL-36369 Non-admin managers could not access list of plugins"
This reverts commit
22fae2a0dd343045812ecbf8ddfccabd1e59c762.
Dan Poltawski [Thu, 8 Nov 2012 10:10:26 +0000 (18:10 +0800)]
Merge branch 'MDL-33766-master' of git://github.com/FMCorz/moodle
Conflicts:
version.php
Barbara Ramiro [Thu, 8 Nov 2012 07:09:34 +0000 (15:09 +0800)]
MDL-36398 Usability: New navigation block icons in svg and png formats
Dan Poltawski [Thu, 8 Nov 2012 07:15:54 +0000 (15:15 +0800)]
Merge branch 'MDL-34572_accessibility' of git://github.com/rwijaya/moodle
Dan Poltawski [Thu, 8 Nov 2012 07:13:10 +0000 (15:13 +0800)]
Merge branch 'w45_MDL-36196_m24_vercheck' of git://github.com/skodak/moodle
Dan Poltawski [Thu, 8 Nov 2012 07:09:59 +0000 (15:09 +0800)]
Merge branch 'MDL-36051_24' of git://github.com/rlorenzo/moodle
Dan Poltawski [Thu, 8 Nov 2012 07:07:17 +0000 (15:07 +0800)]
Merge branch 'MDL-35556c' of git://github.com/srynot4sale/moodle
Dan Poltawski [Thu, 8 Nov 2012 07:04:19 +0000 (15:04 +0800)]
Merge branch 'w45_MDL-36431_m24_selfdefaults' of git://github.com/skodak/moodle
Dan Poltawski [Thu, 8 Nov 2012 06:53:06 +0000 (14:53 +0800)]
Merge branch 'MDL-34270_master' of https://github.com/markn86/moodle
Mark Nelson [Thu, 8 Nov 2012 06:49:28 +0000 (14:49 +0800)]
MDL-34270 blocks: removing unnecessary capabilities
Aparup Banerjee [Thu, 8 Nov 2012 05:26:39 +0000 (13:26 +0800)]
Merge branch 'MDL-27824' of git://github.com/rwijaya/moodle
Rossiani Wijaya [Thu, 8 Nov 2012 04:29:42 +0000 (12:29 +0800)]
MDL-27824 course categories: remove trailing whitespace
Rossiani Wijaya [Fri, 12 Oct 2012 07:24:55 +0000 (15:24 +0800)]
MDL-27824 course categories: change isset() to empty()
Rossiani Wijaya [Tue, 11 Sep 2012 08:17:22 +0000 (16:17 +0800)]
MDL-27824 course categories: Added @todo comments to remove the temporary fix