David Monllao [Wed, 1 Apr 2015 02:41:41 +0000 (10:41 +0800)]
Merge branch 'MDL-23296-master' of git://github.com/FMCorz/moodle
David Monllao [Wed, 1 Apr 2015 00:00:43 +0000 (08:00 +0800)]
Merge branch 'MDL-40992' of git://github.com/timhunt/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
Dan Poltawski [Tue, 31 Mar 2015 19:10:27 +0000 (20:10 +0100)]
Merge branch 'MDL-49617-master' of git://github.com/jleyva/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
Dan Poltawski [Tue, 31 Mar 2015 18:53:46 +0000 (19:53 +0100)]
Merge branch 'MDL-37864' of https://github.com/serega1394/moodle
Damyon Wiese [Thu, 19 Mar 2015 06:36:03 +0000 (14:36 +0800)]
MDL-49578 TinyMCE: Update to 3.5.11
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
Dan Poltawski [Tue, 31 Mar 2015 18:18:14 +0000 (19:18 +0100)]
Merge branch 'MDL-49666' of git://github.com/timhunt/moodle
Tim Hunt [Tue, 31 Mar 2015 14:23:20 +0000 (15:23 +0100)]
MDL-49666 questions: coding style fixes
Tim Hunt [Wed, 25 Mar 2015 18:27:49 +0000 (18:27 +0000)]
MDL-49666 qbehaviour_informationitem: respect $options->readonly
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
Dan Poltawski [Tue, 31 Mar 2015 13:51:43 +0000 (14:51 +0100)]
Merge branch 'MDL-49595' of https://github.com/rlorenzo/moodle
Rajesh Taneja [Tue, 31 Mar 2015 13:45:23 +0000 (21:45 +0800)]
MDL-48605 unit_test: Only touch real file/dir
Dan Poltawski [Tue, 31 Mar 2015 13:43:48 +0000 (14:43 +0100)]
Merge branch 'MDL-49547' of git://github.com/timhunt/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
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
Dan Poltawski [Tue, 31 Mar 2015 13:21:37 +0000 (14:21 +0100)]
Merge branch 'MDL-49598-master' of git://github.com/andrewnicols/moodle
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.
Dan Poltawski [Tue, 31 Mar 2015 12:59:05 +0000 (13:59 +0100)]
Merge branch 'MDL-49606-master' of git://github.com/jleyva/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
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
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
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
Dan Poltawski [Tue, 31 Mar 2015 09:46:30 +0000 (10:46 +0100)]
Merge branch 'MDL-26689' of git://github.com/jmvedrine/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
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
Dan Poltawski [Tue, 31 Mar 2015 08:24:06 +0000 (09:24 +0100)]
Merge branch 'MDL-49525-master' of git://github.com/xow/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
Rajesh Taneja [Tue, 31 Mar 2015 07:51:47 +0000 (15:51 +0800)]
MDL-48096 scorm: Include section number in cm
David Monllao [Tue, 31 Mar 2015 07:42:11 +0000 (15:42 +0800)]
Merge branch 'MDL-49696-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Mon, 30 Mar 2015 03:50:33 +0000 (11:50 +0800)]
MDL-49696 theme_bootstrapbase: Update thirdpartylibs.xml + readme
David Monllao [Tue, 31 Mar 2015 07:22:03 +0000 (15:22 +0800)]
Merge branch 'MDL-44874-master' of git://github.com/andrewnicols/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
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.
Andrew Nicols [Tue, 31 Mar 2015 06:11:04 +0000 (14:11 +0800)]
MDL-49294 logging: Improve cleanup tests
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.
Andrew Nicols [Tue, 31 Mar 2015 04:56:31 +0000 (12:56 +0800)]
Merge branch 'log_cleanup_29' of https://github.com/tlevi/moodle
Andrew Nicols [Tue, 31 Mar 2015 04:19:05 +0000 (12:19 +0800)]
MDL-49669 badges: Add comment to explain CURLOPT_POSTREDIR
Andrew Nicols [Tue, 31 Mar 2015 04:12:26 +0000 (12:12 +0800)]
Merge branch 'MDL-49669_master' of https://github.com/totara/openbadges
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
David Monllao [Tue, 31 Mar 2015 03:29:16 +0000 (11:29 +0800)]
Merge branch 'MDL-49114-master' of git://github.com/lameze/moodle
Marina Glancy [Tue, 31 Mar 2015 03:05:05 +0000 (11:05 +0800)]
MDL-46960 badges: optimise interaction with completionlib
Marina Glancy [Thu, 26 Mar 2015 05:56:03 +0000 (13:56 +0800)]
MDL-46960 completionlib: adjustments to caching
David Monllao [Tue, 31 Mar 2015 02:14:45 +0000 (10:14 +0800)]
Merge branch 'MDL-49474' of git://github.com/jmvedrine/moodle
Michael Wheeler [Tue, 14 Oct 2014 18:14:47 +0000 (14:14 -0400)]
MDL-46960 completionlib: Move completion cache to MUC.
David Monllao [Tue, 31 Mar 2015 00:44:01 +0000 (08:44 +0800)]
Merge branch 'MDL-6340' of git://github.com/timhunt/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
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.
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.
Eloy Lafuente (stronk7) [Mon, 30 Mar 2015 22:42:27 +0000 (00:42 +0200)]
MDL-49203 webservices: Increment subsystems count in unit tests.
Dan Marsden [Thu, 14 Aug 2014 08:06:27 +0000 (20:06 +1200)]
MDL-46805 SCORM: AICC restricts allowed characters in the username
Matteo Scaramuccia [Wed, 22 Jan 2014 21:26:15 +0000 (22:26 +0100)]
MDL-43818 SCORM: unable to download the Package via URL.
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
Dan Poltawski [Mon, 30 Mar 2015 14:04:45 +0000 (15:04 +0100)]
Merge branch 'MDL-49528-master' of git://github.com/xow/moodle
Dan Poltawski [Mon, 30 Mar 2015 14:03:10 +0000 (15:03 +0100)]
Merge branch 'MDL-18966' of git://github.com/jmvedrine/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
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
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
Jean-Michel Vedrine [Mon, 12 Jan 2015 09:56:04 +0000 (10:56 +0100)]
MDL-18966 mod_lesson: Save attempts of practice lessons
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
Dan Poltawski [Mon, 30 Mar 2015 09:50:44 +0000 (10:50 +0100)]
Merge branch 'MDL-25721_master' of git://github.com/markn86/moodle
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
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
Andrew Nicols [Wed, 25 Mar 2015 02:55:03 +0000 (10:55 +0800)]
MDL-44874 core: Move uuid generation to setuplib
John Okely [Fri, 20 Mar 2015 03:58:13 +0000 (11:58 +0800)]
MDL-49528 libraries: Upgrade 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
David Monllao [Mon, 30 Mar 2015 02:31:44 +0000 (10:31 +0800)]
Merge branch 'mdl36506-master' of git://github.com/tlock/moodle
Simey Lameze [Thu, 26 Mar 2015 08:06:08 +0000 (16:06 +0800)]
MDL-49114 environment: add slasharguments warning message
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
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
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
Mark Nelson [Fri, 27 Mar 2015 23:50:32 +0000 (16:50 -0700)]
MDL-49695 tool_behat: fixed URL
Jean-Michel Vedrine [Wed, 25 Mar 2015 09:32:18 +0000 (10:32 +0100)]
MDL-26689 mod_lesson: deprecate lesson dependency
Juan Leyva [Thu, 26 Mar 2015 21:12:43 +0000 (22:12 +0100)]
MDL-49606 webservices: Minor style fixes
Daniel Ureña [Thu, 26 Mar 2015 15:48:04 +0000 (16:48 +0100)]
MDL-49606 webservices: Improved unit tests for get_users_courses
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.
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.
Marina Glancy [Thu, 15 Jan 2015 07:11:22 +0000 (15:11 +0800)]
MDL-47337 course: merge section options during restore
Mark Nelson [Mon, 23 Mar 2015 23:58:19 +0000 (16:58 -0700)]
MDL-49645 core_backup: fixed 'expirythreshold' setting not being saved
Mark Nelson [Wed, 25 Mar 2015 22:48:38 +0000 (15:48 -0700)]
MDL-25721 core_question: added ability to order questions by dates
Costantino Cito [Tue, 24 Mar 2015 17:09:01 +0000 (18:09 +0100)]
MDL-49606 webservices: Return additional fields in get_users_courses
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>
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.
Tim Hunt [Mon, 9 Mar 2015 18:51:02 +0000 (18:51 +0000)]
MDL-40992 qbehaviour: new type method, can Qs can finish naturally
M Kassaei [Wed, 3 Dec 2014 11:24:46 +0000 (11:24 +0000)]
MDL-40992 quiz: let students to redo questions within an attempt
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.
Rex Lorenzo [Thu, 19 Mar 2015 23:38:22 +0000 (16:38 -0700)]
MDL-49595 backup: Behat tests for importing groups/groupings
* Also fixed a missing required parameter for an Exception and some coding standards issues.
Tim Hunt [Tue, 17 Mar 2015 14:33:38 +0000 (14:33 +0000)]
MDL-49547 question restore: avoid tag-related notices.
Juan Leyva [Mon, 16 Mar 2015 12:14:54 +0000 (13:14 +0100)]
MDL-49203 webservices: Unit tests for the new external function
Juan Leyva [Mon, 16 Mar 2015 11:31:05 +0000 (12:31 +0100)]
MDL-49203 webservices: Add missing component testsuite declaration
Juan Leyva [Mon, 16 Mar 2015 11:31:53 +0000 (12:31 +0100)]
MDL-49203 webservices: Coding style fixes, ws added to the app service
Costantino Cito [Fri, 27 Feb 2015 16:06:27 +0000 (17:06 +0100)]
MDL-49203 webservices: New WS core_comment_get_comments
Juan Leyva [Mon, 23 Mar 2015 11:17:08 +0000 (12:17 +0100)]
MDL-49617 webservices: Additional tests for the new function
Juan Leyva [Mon, 23 Mar 2015 11:16:45 +0000 (12:16 +0100)]
MDL-49617 webservices: Return additional fields in get_assignments WS
David Mudrák [Thu, 26 Mar 2015 11:55:18 +0000 (12:55 +0100)]
MDL-49674 comment: Use correct format when displaying the comment
The plugin callback executed above can eventually change the format. We
need to use that one to have the formatting of the first AJAX response
consistent with following displays.
David Mudrák [Mon, 23 Mar 2015 23:06:03 +0000 (00:06 +0100)]
MDL-49643 navigation: Fix API for extending navigation in local plugins
David Mudrák [Wed, 25 Mar 2015 13:08:40 +0000 (14:08 +0100)]
MDL-49661 pluginfo: Do not consider missing version.php as correct
All plugins are required to contain valid version.php since Moodle 2.5.
It's time to get rid of this TODO.
Eloy Lafuente (stronk7) [Thu, 26 Mar 2015 09:47:44 +0000 (10:47 +0100)]
weekly release 2.9dev
Eloy Lafuente (stronk7) [Thu, 26 Mar 2015 09:47:34 +0000 (10:47 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install