moodle.git
8 years agoMerge branch 'wip-MDL-49380-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 6 Apr 2015 02:16:38 +0000 (10:16 +0800)]
Merge branch 'wip-MDL-49380-master' of git://github.com/abgreeve/moodle

8 years agoMerge branch 'MDL-49313-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 6 Apr 2015 01:54:55 +0000 (09:54 +0800)]
Merge branch 'MDL-49313-master' of git://github.com/jleyva/moodle

8 years agoMDL-49313 webservices: Unit tests for the external function
Juan Leyva [Wed, 18 Mar 2015 12:30:12 +0000 (13:30 +0100)]
MDL-49313 webservices: Unit tests for the external function

core_completion_get_course_completion_status

8 years agoMDL-49313 webservices: Fixes and add the function to the mobile service
Juan Leyva [Wed, 18 Mar 2015 11:14:29 +0000 (12:14 +0100)]
MDL-49313 webservices: Fixes and add the function to the mobile service

8 years agoMDL-49313 webservices: New WS get_course_completion_status
Costantino Cito [Tue, 17 Mar 2015 17:08:23 +0000 (18:08 +0100)]
MDL-49313 webservices: New WS get_course_completion_status

8 years agoMerge branch 'MDL-49203-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 11:19:35 +0000 (13:19 +0200)]
Merge branch 'MDL-49203-master' of git://github.com/jleyva/moodle

8 years agoMDL-49203 webservices: Fix unit tests for avoid random order issues
Juan Leyva [Thu, 2 Apr 2015 10:56:42 +0000 (12:56 +0200)]
MDL-49203 webservices: Fix unit tests for avoid random order issues

This problem usually happens in Postgres where a set of records is
ordered by a timestamp column and there are two or more records with
the same value

8 years agoweekly release 2.9dev
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 09:48:43 +0000 (11:48 +0200)]
weekly release 2.9dev

8 years agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 09:48:43 +0000 (11:48 +0200)]
NOBUG: Fixed file access permissions

8 years agoMerge branch 'MDL-46805-scorm-last-fix' of git://github.com/dmonllao/moodle
Dan Poltawski [Thu, 2 Apr 2015 08:20:36 +0000 (09:20 +0100)]
Merge branch 'MDL-46805-scorm-last-fix' of git://github.com/dmonllao/moodle

8 years agoMDL-46805 mod_scorm: Re-fix as previous object was removed in 2.8
David Monllao [Thu, 2 Apr 2015 08:17:56 +0000 (16:17 +0800)]
MDL-46805 mod_scorm: Re-fix as previous object was removed in 2.8

8 years agoMDL-46805 scorm: Set user_id if scorm|aiccuserid config is set
Rajesh Taneja [Thu, 2 Apr 2015 07:27:21 +0000 (15:27 +0800)]
MDL-46805 scorm: Set user_id if scorm|aiccuserid config is set

8 years agoMDL-49330 webservices: Fix get_course_notes api
Ankit Agarwal [Thu, 2 Apr 2015 06:04:11 +0000 (11:34 +0530)]
MDL-49330 webservices: Fix get_course_notes api

8 years agoMDL-46960 completion: trigger event after clearing cache
Marina Glancy [Thu, 2 Apr 2015 03:05:18 +0000 (11:05 +0800)]
MDL-46960 completion: trigger event after clearing cache

8 years agoMDL-49513 behat: Updated step name to match new step
Rajesh Taneja [Thu, 2 Apr 2015 01:05:17 +0000 (09:05 +0800)]
MDL-49513 behat: Updated step name to match new step

8 years agoMDL-48887 auth: added new hook to upgrade notes.
Eloy Lafuente (stronk7) [Wed, 1 Apr 2015 22:55:47 +0000 (00:55 +0200)]
MDL-48887 auth: added new hook to upgrade notes.

8 years agoMDL-48887 An auth plugin hook enabling removal of redundant redirects
Brendan Heywood [Tue, 20 Jan 2015 03:25:14 +0000 (14:25 +1100)]
MDL-48887 An auth plugin hook enabling removal of redundant redirects

This introduces a new hook allowing an auth plugin to redirect to an
external login page directly without redundant redirects to the standard
login page first, or where possible to authenticate the user and simply
continue loading the page without any redirects. For some protocols such
as SAML reducing the number of redirects to the bare minimum greatly
speeds up the login process on high latency networks.

8 years agoMerge branch 'MDL-49330-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Wed, 1 Apr 2015 11:04:51 +0000 (13:04 +0200)]
Merge branch 'MDL-49330-master' of git://github.com/jleyva/moodle

8 years agoMerge branch 'MDL-49686-master' of git://github.com/merrill-oakland/moodle
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 09:08:11 +0000 (11:08 +0200)]
Merge branch 'MDL-49686-master' of git://github.com/merrill-oakland/moodle

Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js

8 years agoMerge branch 'wip-mdl-49513' of https://github.com/rajeshtaneja/moodle
Andrew Nicols [Wed, 1 Apr 2015 10:35:22 +0000 (18:35 +0800)]
Merge branch 'wip-mdl-49513' of https://github.com/rajeshtaneja/moodle

8 years agoMerge branch 'MDL-49314-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Wed, 1 Apr 2015 10:28:24 +0000 (12:28 +0200)]
Merge branch 'MDL-49314-master' of git://github.com/jleyva/moodle

8 years agoMDL-49606 webservices: Use correct item null value for files in summary
Juan Leyva [Wed, 1 Apr 2015 08:34:37 +0000 (10:34 +0200)]
MDL-49606 webservices: Use correct item null value for files in summary

8 years agoMDL-49453 webservices: Validate section number (exists and visibility)
Juan Leyva [Wed, 1 Apr 2015 08:56:16 +0000 (10:56 +0200)]
MDL-49453 webservices: Validate section number (exists and visibility)

8 years agoMerge branch 'MDL-49330-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 09:06:20 +0000 (11:06 +0200)]
Merge branch 'MDL-49330-master' of git://github.com/jleyva/moodle

Conflicts:
lib/db/services.php
version.php

8 years agoMDL-49314 webservices: Version bump
Eloy Lafuente (stronk7) [Wed, 1 Apr 2015 08:33:57 +0000 (10:33 +0200)]
MDL-49314 webservices: Version bump

8 years agoMerge branch 'MDL-49314-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 09:06:02 +0000 (11:06 +0200)]
Merge branch 'MDL-49314-master' of git://github.com/jleyva/moodle

8 years agoMDL-49481 theme_bootstrapbase: Fix responsive margin-top
David Monllao [Wed, 1 Apr 2015 08:13:15 +0000 (16:13 +0800)]
MDL-49481 theme_bootstrapbase: Fix responsive margin-top

8 years agoRevert "Merge branch 'MDL-37864' of https://github.com/serega1394/moodle"
Dan Poltawski [Wed, 1 Apr 2015 07:34:42 +0000 (08:34 +0100)]
Revert "Merge branch 'MDL-37864' of https://github.com/serega1394/moodle"

This reverts commit 19ffcbe273171ea9e2d3f0974e99de2ea10c2d7e, reversing
changes made to 2112dd44e87092d5b760e7c4f91db3cdd8fb1c35.

8 years agoMerge branch 'MDL-49587' of git://github.com/mike-grant/moodle
David Monllao [Wed, 1 Apr 2015 07:09:52 +0000 (15:09 +0800)]
Merge branch 'MDL-49587' of git://github.com/mike-grant/moodle

8 years agoMerge branch 'MDL-49481' of git://github.com/aolley/moodle
David Monllao [Wed, 1 Apr 2015 05:45:41 +0000 (13:45 +0800)]
Merge branch 'MDL-49481' of git://github.com/aolley/moodle

8 years agoMDL-49534 libraries: Removed pear/HTTP/WebDav
Dave Cooper [Tue, 24 Mar 2015 03:50:13 +0000 (11:50 +0800)]
MDL-49534 libraries: Removed pear/HTTP/WebDav

8 years agoMerge branch 'MDL-49693-master' of git://github.com/merrill-oakland/moodle
Eloy Lafuente (stronk7) [Thu, 2 Apr 2015 09:05:32 +0000 (11:05 +0200)]
Merge branch 'MDL-49693-master' of git://github.com/merrill-oakland/moodle

Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js

8 years agoMDL-49380 enrol_cohort: Update to code and introduction of a constant.
Adrian Greeve [Wed, 1 Apr 2015 06:04:11 +0000 (14:04 +0800)]
MDL-49380 enrol_cohort: Update to code and introduction of a constant.

8 years agoMDL-49330 core_notes: Fixed unit tests (broken in postgres)
Juan Leyva [Wed, 1 Apr 2015 11:02:25 +0000 (13:02 +0200)]
MDL-49330 core_notes: Fixed unit tests (broken in postgres)

8 years agoMDL-49314 webservices: Fix unit tests for handling hidden activities
Juan Leyva [Wed, 1 Apr 2015 10:22:08 +0000 (12:22 +0200)]
MDL-49314 webservices: Fix unit tests for handling hidden activities

8 years agoMDL-49330 core_notes: Unit tests for get_course_notes
Costantino Cito [Mon, 23 Mar 2015 14:31:33 +0000 (15:31 +0100)]
MDL-49330 core_notes: Unit tests for get_course_notes

8 years agoMDL-49330 core_notes: New external function core_notes_get_course_notes
Costantino Cito [Fri, 20 Mar 2015 11:56:32 +0000 (12:56 +0100)]
MDL-49330 core_notes: New external function core_notes_get_course_notes

8 years agoMDL-49314 webservices: Check groups using groups_user_groups_visible
Juan Leyva [Fri, 27 Mar 2015 09:09:57 +0000 (10:09 +0100)]
MDL-49314 webservices: Check groups using groups_user_groups_visible

8 years agoMDL-49314 groups: Unit tests for groups_user_groups_visible
Juan Leyva [Fri, 27 Mar 2015 10:09:39 +0000 (11:09 +0100)]
MDL-49314 groups: Unit tests for groups_user_groups_visible

8 years agoMDL-49314 groups: New API function groups_user_groups_visible
Juan Leyva [Fri, 27 Mar 2015 09:11:46 +0000 (10:11 +0100)]
MDL-49314 groups: New API function groups_user_groups_visible

8 years agoMDL-49314 webservices: Unit tests for the new external function
Juan Leyva [Mon, 16 Mar 2015 15:57:17 +0000 (16:57 +0100)]
MDL-49314 webservices: Unit tests for the new external function

8 years agoMDL-49314 webservices: Add the new function to the mobile service
Juan Leyva [Mon, 16 Mar 2015 15:39:23 +0000 (16:39 +0100)]
MDL-49314 webservices: Add the new function to the mobile service

The commit also include some clean-up

8 years agoMDL-49314 webservices: New WS get_activities_completion_status
Costantino Cito [Mon, 9 Mar 2015 14:16:48 +0000 (15:16 +0100)]
MDL-49314 webservices: New WS get_activities_completion_status

8 years agoMDL-49513 behat: Set admin config using php api
Rajesh Taneja [Tue, 24 Mar 2015 07:35:01 +0000 (15:35 +0800)]
MDL-49513 behat: Set admin config using php api

Added a new set to set config using set_config() api
to make steps faster and more efficient

8 years agoMDL-49380 enrol_cohort: Unit tests and formatting update.
Adrian Greeve [Fri, 27 Mar 2015 01:17:23 +0000 (09:17 +0800)]
MDL-49380 enrol_cohort: Unit tests and formatting update.

8 years agoMerge branch 'MDL-49453-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 1 Apr 2015 03:59:33 +0000 (11:59 +0800)]
Merge branch 'MDL-49453-master' of git://github.com/jleyva/moodle

Conflicts:
lib/db/services.php

8 years agoMerge branch 'MDL-49502-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 1 Apr 2015 03:49:31 +0000 (11:49 +0800)]
Merge branch 'MDL-49502-master' of git://github.com/jleyva/moodle

Conflicts:
lib/db/services.php

8 years agoMerge branch 'MDL-49520-master' of git://github.com/gurgus/moodle
David Monllao [Wed, 1 Apr 2015 03:13:28 +0000 (11:13 +0800)]
Merge branch 'MDL-49520-master' of git://github.com/gurgus/moodle

8 years agoMDL-49627 core: Update uses of generate_image_thumbnail
Andrew Nicols [Mon, 23 Mar 2015 01:13:26 +0000 (09:13 +0800)]
MDL-49627 core: Update uses of generate_image_thumbnail

This removes the need to write tempfiles in these locations.

8 years agoMDL-49627 core: Improve thumbnail generation
Andrew Nicols [Mon, 23 Mar 2015 01:12:28 +0000 (09:12 +0800)]
MDL-49627 core: Improve thumbnail generation

We now abstract the actual file generation to a new function.
We are then able to call this function from the other image generation
sources. This allows us to generate thumbnails in a more efficient manner.

* Stored files stay as stored files and are not temporarily re-written to
  disk;
* Strings containing an image remain as a variable and are not temporarily
  written to disk; and
* Arbitrary files are not captured to string.

8 years agoMerge branch 'MDL-23296-master' of git://github.com/FMCorz/moodle
David Monllao [Wed, 1 Apr 2015 02:41:41 +0000 (10:41 +0800)]
Merge branch 'MDL-23296-master' of git://github.com/FMCorz/moodle

8 years agoMerge branch 'MDL-40992' of git://github.com/timhunt/moodle
David Monllao [Wed, 1 Apr 2015 00:00:43 +0000 (08:00 +0800)]
Merge branch 'MDL-40992' of git://github.com/timhunt/moodle

8 years agoMerge branch 'wip-mdl-48605' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 31 Mar 2015 19:38:00 +0000 (21:38 +0200)]
Merge branch 'wip-mdl-48605' of https://github.com/rajeshtaneja/moodle

8 years agoMerge branch 'MDL-49617-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 31 Mar 2015 19:10:27 +0000 (20:10 +0100)]
Merge branch 'MDL-49617-master' of git://github.com/jleyva/moodle

8 years agoMerge branch 'MDL-49518-master' of git://github.com/gurgus/moodle
Dan Poltawski [Tue, 31 Mar 2015 19:04:54 +0000 (20:04 +0100)]
Merge branch 'MDL-49518-master' of git://github.com/gurgus/moodle

8 years agoMerge branch 'MDL-37864' of https://github.com/serega1394/moodle
Dan Poltawski [Tue, 31 Mar 2015 18:53:46 +0000 (19:53 +0100)]
Merge branch 'MDL-37864' of https://github.com/serega1394/moodle

8 years agoMDL-49578 TinyMCE: Update to 3.5.11
Damyon Wiese [Thu, 19 Mar 2015 06:36:03 +0000 (14:36 +0800)]
MDL-49578 TinyMCE: Update to 3.5.11

8 years agoMerge branch 'MDL-49564-master' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Tue, 31 Mar 2015 18:25:10 +0000 (19:25 +0100)]
Merge branch 'MDL-49564-master' of git://github.com/merrill-oakland/moodle

Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js

8 years agoMerge branch 'MDL-49666' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 31 Mar 2015 18:18:14 +0000 (19:18 +0100)]
Merge branch 'MDL-49666' of git://github.com/timhunt/moodle

8 years agoMDL-49666 questions: coding style fixes
Tim Hunt [Tue, 31 Mar 2015 14:23:20 +0000 (15:23 +0100)]
MDL-49666 questions: coding style fixes

8 years agoMDL-49666 qbehaviour_informationitem: respect $options->readonly
Tim Hunt [Wed, 25 Mar 2015 18:27:49 +0000 (18:27 +0000)]
MDL-49666 qbehaviour_informationitem: respect $options->readonly

8 years agoMerge branch 'MDL-49671-master' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Tue, 31 Mar 2015 14:05:37 +0000 (15:05 +0100)]
Merge branch 'MDL-49671-master' of git://github.com/merrill-oakland/moodle

8 years agoMerge branch 'MDL-49595' of https://github.com/rlorenzo/moodle
Dan Poltawski [Tue, 31 Mar 2015 13:51:43 +0000 (14:51 +0100)]
Merge branch 'MDL-49595' of https://github.com/rlorenzo/moodle

8 years agoMDL-48605 unit_test: Only touch real file/dir
Rajesh Taneja [Tue, 31 Mar 2015 13:45:23 +0000 (21:45 +0800)]
MDL-48605 unit_test: Only touch real file/dir

8 years agoMerge branch 'MDL-49547' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 31 Mar 2015 13:43:48 +0000 (14:43 +0100)]
Merge branch 'MDL-49547' of git://github.com/timhunt/moodle

8 years agoMerge branch 'MDL-49661-master-pluginfotodo' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 31 Mar 2015 13:37:44 +0000 (14:37 +0100)]
Merge branch 'MDL-49661-master-pluginfotodo' of git://github.com/mudrd8mz/moodle

8 years agoMerge branch 'MDL-49643-master-local-nav' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 31 Mar 2015 13:28:08 +0000 (14:28 +0100)]
Merge branch 'MDL-49643-master-local-nav' of git://github.com/mudrd8mz/moodle

8 years agoMerge branch 'MDL-49598-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Tue, 31 Mar 2015 13:21:37 +0000 (14:21 +0100)]
Merge branch 'MDL-49598-master' of git://github.com/andrewnicols/moodle

8 years agoMDL-40992 quiz: option to let students redo questions within an attempt
Tim Hunt [Mon, 9 Mar 2015 18:40:18 +0000 (18:40 +0000)]
MDL-40992 quiz: option to let students redo questions within an attempt

This feature is designed for use on pracice or formative quizzes.
It is available for quizzes that use Interactive or Immediate feedback
behaviour.

If the teacher turns this on in the quiz settings, then once a student
has finished a question, they get a 'Redo question' button beside the
question. If they click it, then the question they finished is replaced
by a new one so they can try again to practise that particul skill or
bit of knowledge a bit more.

When randomisation is involved, the studnets will be given a question or
variant that they have not seen before if possible.

8 years agoMerge branch 'MDL-49606-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 31 Mar 2015 12:59:05 +0000 (13:59 +0100)]
Merge branch 'MDL-49606-master' of git://github.com/jleyva/moodle

8 years agoMerge branch 'MDL-49645_master' of git://github.com/markn86/moodle
Dan Poltawski [Tue, 31 Mar 2015 12:28:19 +0000 (13:28 +0100)]
Merge branch 'MDL-49645_master' of git://github.com/markn86/moodle

8 years agoMerge branch 'MDL-49641-get_external_files_master' of https://github.com/jpahullo...
Dan Poltawski [Tue, 31 Mar 2015 12:15:06 +0000 (13:15 +0100)]
Merge branch 'MDL-49641-get_external_files_master' of https://github.com/jpahullo/moodle

8 years agoMerge branch 'MDL-49674-master-commentformat' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 31 Mar 2015 11:16:58 +0000 (12:16 +0100)]
Merge branch 'MDL-49674-master-commentformat' of git://github.com/mudrd8mz/moodle

8 years agoMerge branch 'MDL-48880' of git://github.com/jmvedrine/moodle
Dan Poltawski [Tue, 31 Mar 2015 10:21:11 +0000 (11:21 +0100)]
Merge branch 'MDL-48880' of git://github.com/jmvedrine/moodle

Conflicts:
mod/lesson/db/upgrade.php
mod/lesson/version.php

8 years agoMerge branch 'MDL-26689' of git://github.com/jmvedrine/moodle
Dan Poltawski [Tue, 31 Mar 2015 09:46:30 +0000 (10:46 +0100)]
Merge branch 'MDL-26689' of git://github.com/jmvedrine/moodle

8 years agoMerge branch 'wip-MDL-46960-master' of https://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 31 Mar 2015 08:55:08 +0000 (09:55 +0100)]
Merge branch 'wip-MDL-46960-master' of https://github.com/marinaglancy/moodle

8 years agoMerge branch 'm29_MDL-43818_Unable_Download_Package_Via_URL' of https://github.com...
Dan Poltawski [Tue, 31 Mar 2015 08:27:46 +0000 (09:27 +0100)]
Merge branch 'm29_MDL-43818_Unable_Download_Package_Via_URL' of https://github.com/scara/moodle

8 years agoMerge branch 'MDL-49525-master' of git://github.com/xow/moodle
Dan Poltawski [Tue, 31 Mar 2015 08:24:06 +0000 (09:24 +0100)]
Merge branch 'MDL-49525-master' of git://github.com/xow/moodle

8 years agoMerge branch 'wip-mdl-48096' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 31 Mar 2015 07:57:59 +0000 (08:57 +0100)]
Merge branch 'wip-mdl-48096' of https://github.com/rajeshtaneja/moodle

8 years agoMDL-48096 scorm: Include section number in cm
Rajesh Taneja [Tue, 31 Mar 2015 07:51:47 +0000 (15:51 +0800)]
MDL-48096 scorm: Include section number in cm

8 years agoMerge branch 'MDL-49696-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 31 Mar 2015 07:42:11 +0000 (15:42 +0800)]
Merge branch 'MDL-49696-master' of git://github.com/andrewnicols/moodle

8 years agoMDL-49696 theme_bootstrapbase: Update thirdpartylibs.xml + readme
Andrew Nicols [Mon, 30 Mar 2015 03:50:33 +0000 (11:50 +0800)]
MDL-49696 theme_bootstrapbase: Update thirdpartylibs.xml + readme

8 years agoMerge branch 'MDL-44874-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 31 Mar 2015 07:22:03 +0000 (15:22 +0800)]
Merge branch 'MDL-44874-master' of git://github.com/andrewnicols/moodle

8 years agoMerge branch 'MDL-49695_master' of git://github.com/markn86/moodle
Andrew Nicols [Tue, 31 Mar 2015 07:14:45 +0000 (15:14 +0800)]
Merge branch 'MDL-49695_master' of git://github.com/markn86/moodle

8 years agoMDL-48605 unit_test: Fixed file_temp_cleanup_task
Rajesh Taneja [Tue, 31 Mar 2015 06:39:01 +0000 (14:39 +0800)]
MDL-48605 unit_test: Fixed file_temp_cleanup_task

touch should only work on temp and below
dir's. With path we get temp/.. and temp/.
So we were modfying moodledata dir as well
and it was failing because of permission issues.

8 years agoMDL-49294 logging: Improve cleanup tests
Andrew Nicols [Tue, 31 Mar 2015 06:11:04 +0000 (14:11 +0800)]
MDL-49294 logging: Improve cleanup tests

8 years agoMDL-44874 core: Add per-request directory functions
Andrew Nicols [Thu, 19 Mar 2015 06:57:56 +0000 (14:57 +0800)]
MDL-44874 core: Add per-request directory functions

This adds functionality to create individual request directories which can
be only be used for the current request. They are removed by a shutdown
handler.

8 years agoMerge branch 'log_cleanup_29' of https://github.com/tlevi/moodle
Andrew Nicols [Tue, 31 Mar 2015 04:56:31 +0000 (12:56 +0800)]
Merge branch 'log_cleanup_29' of https://github.com/tlevi/moodle

8 years agoMDL-49669 badges: Add comment to explain CURLOPT_POSTREDIR
Andrew Nicols [Tue, 31 Mar 2015 04:19:05 +0000 (12:19 +0800)]
MDL-49669 badges: Add comment to explain CURLOPT_POSTREDIR

8 years agoMerge branch 'MDL-49669_master' of https://github.com/totara/openbadges
Andrew Nicols [Tue, 31 Mar 2015 04:12:26 +0000 (12:12 +0800)]
Merge branch 'MDL-49669_master' of https://github.com/totara/openbadges

8 years agoMDL-49525 libraries: Update Jquery to 1.11.2 and JQuery UI to 1.11.4
John Okely [Fri, 20 Mar 2015 06:05:56 +0000 (14:05 +0800)]
MDL-49525 libraries: Update Jquery to 1.11.2 and JQuery UI to 1.11.4

8 years agoMerge branch 'MDL-49114-master' of git://github.com/lameze/moodle
David Monllao [Tue, 31 Mar 2015 03:29:16 +0000 (11:29 +0800)]
Merge branch 'MDL-49114-master' of git://github.com/lameze/moodle

8 years agoMDL-46960 badges: optimise interaction with completionlib
Marina Glancy [Tue, 31 Mar 2015 03:05:05 +0000 (11:05 +0800)]
MDL-46960 badges: optimise interaction with completionlib

8 years agoMDL-46960 completionlib: adjustments to caching
Marina Glancy [Thu, 26 Mar 2015 05:56:03 +0000 (13:56 +0800)]
MDL-46960 completionlib: adjustments to caching

8 years agoMerge branch 'MDL-49474' of git://github.com/jmvedrine/moodle
David Monllao [Tue, 31 Mar 2015 02:14:45 +0000 (10:14 +0800)]
Merge branch 'MDL-49474' of git://github.com/jmvedrine/moodle

8 years agoMDL-46960 completionlib: Move completion cache to MUC.
Michael Wheeler [Tue, 14 Oct 2014 18:14:47 +0000 (14:14 -0400)]
MDL-46960 completionlib: Move completion cache to MUC.

8 years agoMerge branch 'MDL-6340' of git://github.com/timhunt/moodle
David Monllao [Tue, 31 Mar 2015 00:44:01 +0000 (08:44 +0800)]
Merge branch 'MDL-6340' of git://github.com/timhunt/moodle

8 years agoMerge branch 'master_MDL-46805' of https://github.com/danmarsden/moodle
Andrew Nicols [Tue, 31 Mar 2015 00:15:23 +0000 (08:15 +0800)]
Merge branch 'master_MDL-46805' of https://github.com/danmarsden/moodle

8 years agoMDL-32547 unit tests: Make tests match file_temp_cleanup_task impl.
Eloy Lafuente (stronk7) [Mon, 30 Mar 2015 23:53:56 +0000 (01:53 +0200)]
MDL-32547 unit tests: Make tests match file_temp_cleanup_task impl.

While default value did not change from 7 days... there are subtle
differences between strtotime('-1 week') used in tests and
-(7*24**3600) used in implementation.

This just makes the unit test to follow the implementation by
using the new config setting.

8 years agoMDL-47572 unit tests: make cronlib_testcase DST immune
Eloy Lafuente (stronk7) [Mon, 30 Mar 2015 23:21:18 +0000 (01:21 +0200)]
MDL-47572 unit tests: make cronlib_testcase DST immune

Disclaimer: I've assigned this commit to MDL-47572 because it's
the issue where I've seen related changes.

Since a couple of days ago, both CI servers were failing. A couple
of days ago it was DST change in Europe/Madrid (that is the PHP
default TZ used by them).

Tests pass perfectly if the TZ is set to any other place not affected
by DST (Australia/Perth, for example).

Really the issue is a wrong mix of functions supporting DST and
functions not supporting them.

But, with current implementation (checking +-60 seconds around a time)
and with a DST change in the middle... this unit tests was going to be
failing for an entire week. And that's not acceptable for CIs.

So, I've changed the intervals, to be bigger than 1h (exactly 1h1s), so
they will be immune to the DST change/partial support.

Ideally all operations should be working in the same way (with or
without DST considered), but that's out from the scope of getting this
test stable enough and passing.