moodle.git
6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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.

6 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.

6 years agoMDL-49203 webservices: Increment subsystems count in unit tests.
Eloy Lafuente (stronk7) [Mon, 30 Mar 2015 22:42:27 +0000 (00:42 +0200)]
MDL-49203 webservices: Increment subsystems count in unit tests.

6 years agoMDL-46805 SCORM: AICC restricts allowed characters in the username
Dan Marsden [Thu, 14 Aug 2014 08:06:27 +0000 (20:06 +1200)]
MDL-46805 SCORM: AICC restricts allowed characters in the username

6 years agoMDL-43818 SCORM: unable to download the Package via URL.
Matteo Scaramuccia [Wed, 22 Jan 2014 21:26:15 +0000 (22:26 +0100)]
MDL-43818 SCORM: unable to download the Package via URL.

6 years agoMerge branch 'MDL-49203-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 30 Mar 2015 18:01:10 +0000 (20:01 +0200)]
Merge branch 'MDL-49203-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-49528-master' of git://github.com/xow/moodle
Dan Poltawski [Mon, 30 Mar 2015 14:04:45 +0000 (15:04 +0100)]
Merge branch 'MDL-49528-master' of git://github.com/xow/moodle

6 years agoMerge branch 'MDL-18966' of git://github.com/jmvedrine/moodle
Dan Poltawski [Mon, 30 Mar 2015 14:03:10 +0000 (15:03 +0100)]
Merge branch 'MDL-18966' of git://github.com/jmvedrine/moodle

6 years agoMerge branch 'master_MDL-48096' of git://github.com/danmarsden/moodle
Dan Poltawski [Mon, 30 Mar 2015 12:48:35 +0000 (13:48 +0100)]
Merge branch 'master_MDL-48096' of git://github.com/danmarsden/moodle

6 years agoMerge branch 'wip-mdl-49708' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Mon, 30 Mar 2015 11:16:17 +0000 (13:16 +0200)]
Merge branch 'wip-mdl-49708' of https://github.com/rajeshtaneja/moodle

6 years agoMerge branch 'wip-MDL-49522-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Mon, 30 Mar 2015 11:18:41 +0000 (12:18 +0100)]
Merge branch 'wip-MDL-49522-master' of git://github.com/abgreeve/moodle

6 years agoMDL-18966 mod_lesson: Save attempts of practice lessons
Jean-Michel Vedrine [Mon, 12 Jan 2015 09:56:04 +0000 (10:56 +0100)]
MDL-18966 mod_lesson: Save attempts of practice lessons

6 years agoMerge branch 'wip-MDL-47337-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 30 Mar 2015 10:05:12 +0000 (11:05 +0100)]
Merge branch 'wip-MDL-47337-master' of git://github.com/marinaglancy/moodle

6 years agoMerge branch 'MDL-25721_master' of git://github.com/markn86/moodle
Dan Poltawski [Mon, 30 Mar 2015 09:50:44 +0000 (10:50 +0100)]
Merge branch 'MDL-25721_master' of git://github.com/markn86/moodle

6 years agoMDL-49708 behat: Resize window back to default
Rajesh Taneja [Mon, 30 Mar 2015 09:17:05 +0000 (17:17 +0800)]
MDL-49708 behat: Resize window back to default

Leaving window size to large fails in chrome
Reset it to default size works to ensure stamp
is visible by selenium driver

6 years agoMDL-49708 behat: Fix chromedriver failure
Rajesh Taneja [Mon, 30 Mar 2015 04:33:21 +0000 (12:33 +0800)]
MDL-49708 behat: Fix chromedriver failure

Chromedriver tries to click in center of link
As these links wrap on next line it fails to
click on links on small screen

6 years agoMDL-44874 core: Move uuid generation to setuplib
Andrew Nicols [Wed, 25 Mar 2015 02:55:03 +0000 (10:55 +0800)]
MDL-44874 core: Move uuid generation to setuplib

6 years agoMDL-49528 libraries: Upgrade Markdown to 1.5.0
John Okely [Fri, 20 Mar 2015 03:58:13 +0000 (11:58 +0800)]
MDL-49528 libraries: Upgrade Markdown to 1.5.0

6 years agoMDL-49528 libraries: Update thirdpartylib entry for Markdown to 1.5.0
John Okely [Wed, 25 Mar 2015 05:41:02 +0000 (13:41 +0800)]
MDL-49528 libraries: Update thirdpartylib entry for Markdown to 1.5.0

6 years agoMerge branch 'mdl36506-master' of git://github.com/tlock/moodle
David Monllao [Mon, 30 Mar 2015 02:31:44 +0000 (10:31 +0800)]
Merge branch 'mdl36506-master' of git://github.com/tlock/moodle

6 years agoMDL-49114 environment: add slasharguments warning message
Simey Lameze [Thu, 26 Mar 2015 08:06:08 +0000 (16:06 +0800)]
MDL-49114 environment: add slasharguments warning message

6 years agoMDL-37864 lib: Help icon work correctly in table header with sorting
Sergey Rozhkov [Sat, 28 Mar 2015 20:41:33 +0000 (23:41 +0300)]
MDL-37864 lib: Help icon work correctly in table header with sorting

6 years agoMDL-48880 mod_lesson: clean lesson_branch when a page is deleted
Jean-Michel Vedrine [Sat, 7 Feb 2015 16:40:12 +0000 (17:40 +0100)]
MDL-48880 mod_lesson: clean lesson_branch when a page is deleted

6 years agoMDL-49474 mod_lesson: intro and introformat missing from backup/restore
Jean-Michel Vedrine [Wed, 11 Mar 2015 15:59:09 +0000 (16:59 +0100)]
MDL-49474 mod_lesson: intro and introformat missing from backup/restore

6 years agoMDL-49695 tool_behat: fixed URL
Mark Nelson [Fri, 27 Mar 2015 23:50:32 +0000 (16:50 -0700)]
MDL-49695 tool_behat: fixed URL

6 years agoMDL-26689 mod_lesson: deprecate lesson dependency
Jean-Michel Vedrine [Wed, 25 Mar 2015 09:32:18 +0000 (10:32 +0100)]
MDL-26689 mod_lesson: deprecate lesson dependency

6 years agoMDL-49693 atto: Clean textarea contents before inserting into editor
Eric Merrill [Fri, 27 Mar 2015 16:27:00 +0000 (12:27 -0400)]
MDL-49693 atto: Clean textarea contents before inserting into editor

6 years agoMDL-49606 webservices: Minor style fixes
Juan Leyva [Thu, 26 Mar 2015 21:12:43 +0000 (22:12 +0100)]
MDL-49606 webservices: Minor style fixes

6 years agoMDL-49502 forum: Unit tests for forum_view
Juan Leyva [Thu, 26 Mar 2015 17:16:27 +0000 (18:16 +0100)]
MDL-49502 forum: Unit tests for forum_view

6 years agoMDL-49502 forum: Add the new function to the mobile service
Juan Leyva [Thu, 26 Mar 2015 17:15:10 +0000 (18:15 +0100)]
MDL-49502 forum: Add the new function to the mobile service

6 years agoMDL-49502 forum: New external function view_forum
Juan Leyva [Thu, 26 Mar 2015 17:14:32 +0000 (18:14 +0100)]
MDL-49502 forum: New external function view_forum

6 years agoMDL-49606 webservices: Improved unit tests for get_users_courses
Daniel Ureña [Thu, 26 Mar 2015 15:48:04 +0000 (16:48 +0100)]
MDL-49606 webservices: Improved unit tests for get_users_courses

6 years agoMDL-49671 atto: Any pastes that don't have html should clean everything
Eric Merrill [Fri, 27 Mar 2015 03:31:05 +0000 (23:31 -0400)]
MDL-49671 atto: Any pastes that don't have html should clean everything

Browsers may not provide html content in the clipboard object event
though it will really be pasted as such. This includes Firefox on
Windows, Internet Explorer, and some niche cases in Safari.

Because of this, we need to scrub the entire editor anytime we can't
intercept a paste event.

In some magical day in the future when there is better cross browser
support, we can undo this.

6 years agoMDL-49564 atto: Improve empty span removal
Eric Merrill [Wed, 18 Mar 2015 04:39:54 +0000 (00:39 -0400)]
MDL-49564 atto: Improve empty span removal

Paste from MS word, followed by cleaning, may leave many many unused
spans. Try to remove them.

6 years agoMDL-47337 course: merge section options during restore
Marina Glancy [Thu, 15 Jan 2015 07:11:22 +0000 (15:11 +0800)]
MDL-47337 course: merge section options during restore

6 years agoMDL-49645 core_backup: fixed 'expirythreshold' setting not being saved
Mark Nelson [Mon, 23 Mar 2015 23:58:19 +0000 (16:58 -0700)]
MDL-49645 core_backup: fixed 'expirythreshold' setting not being saved

6 years agoMDL-25721 core_question: added ability to order questions by dates
Mark Nelson [Wed, 25 Mar 2015 22:48:38 +0000 (15:48 -0700)]
MDL-25721 core_question: added ability to order questions by dates

6 years agoMDL-49606 webservices: Return additional fields in get_users_courses
Costantino Cito [Tue, 24 Mar 2015 17:09:01 +0000 (18:09 +0100)]
MDL-49606 webservices: Return additional fields in get_users_courses

6 years agoMDL-49669 badges: Handle curl redirects when posting to backpack
Yuliya Bozhko [Thu, 26 Mar 2015 20:28:45 +0000 (09:28 +1300)]
MDL-49669 badges: Handle curl redirects when posting to backpack

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
6 years agoMDL-49502 forum: New API function forum_view
Juan Leyva [Thu, 26 Mar 2015 17:13:56 +0000 (18:13 +0100)]
MDL-49502 forum: New API function forum_view

6 years agoMDL-40992 question engine: new ways modify question usages
Tim Hunt [Fri, 13 Mar 2015 19:07:44 +0000 (19:07 +0000)]
MDL-40992 question engine: new ways modify question usages

* A method to change the max mark for one question_attempt in the usage

* A method to replace one question in a usage with another, moving the
old question_attempt to the end.

* Methods to set and get metadata (string name value pairs) for each
question_attempt in the usage. This gets stored in the first step in a
way that should not interfere with anything else.

6 years agoMDL-40992 qbehaviour: new type method, can Qs can finish naturally
Tim Hunt [Mon, 9 Mar 2015 18:51:02 +0000 (18:51 +0000)]
MDL-40992 qbehaviour: new type method, can Qs can finish naturally

6 years agoMDL-40992 quiz: let students to redo questions within an attempt
M Kassaei [Wed, 3 Dec 2014 11:24:46 +0000 (11:24 +0000)]
MDL-40992 quiz: let students to redo questions within an attempt

6 years agoMDL-6340 quiz: avoid reusing random questions between attempts
Tim Hunt [Thu, 19 Mar 2015 21:00:03 +0000 (21:00 +0000)]
MDL-6340 quiz: avoid reusing random questions between attempts

There are several improvements over what we had before:

1. We track all the questions seen in the the student's previous
quiz attempts, so that when they start a new quiz attempt, they get
questions they have not seen before if possible.

2. When there are no more unseen questions, we start repeating, but
always taking from the questions with the fewest attempts so far.

3. A similar logic is applied with variants within one question.

There is lots of credit to go around here. Oleg Sychev's students Alex
Shkarupa, Sergei Bastrykin and Darya Beda all worked on this over
several years, helping to clarify the problem and shape the best
solution. In the end, their various attempts were rewritten into this
final patch by me.