moodle.git
5 years agoMDL_41126 phpunit: Timestamp should be less than 2038
Rajesh Taneja [Tue, 9 Aug 2016 02:42:28 +0000 (10:42 +0800)]
MDL_41126 phpunit: Timestamp should be less than 2038

http://php.net/manual/en/datetime.gettimestamp.php#114590
In 32-bit system the unix timestamp will overflow if the date goes beyond year 2038
and this method will return false.

5 years agoMerge branch 'MDL-48856' of https://github.com/mr-russ/moodle
Dan Poltawski [Mon, 8 Aug 2016 13:45:06 +0000 (14:45 +0100)]
Merge branch 'MDL-48856' of https://github.com/mr-russ/moodle

5 years agoMerge branch 'MDL-55061' of https://github.com/zanekarl17/moodle
Dan Poltawski [Mon, 8 Aug 2016 13:33:08 +0000 (14:33 +0100)]
Merge branch 'MDL-55061' of https://github.com/zanekarl17/moodle

5 years agoMerge branch 'MDL-55398_m32v1' of https://github.com/sbourget/moodle
Dan Poltawski [Mon, 8 Aug 2016 09:40:42 +0000 (10:40 +0100)]
Merge branch 'MDL-55398_m32v1' of https://github.com/sbourget/moodle

5 years agoMerge branch 'wip-MDL-55418-master' of https://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 8 Aug 2016 09:33:46 +0000 (10:33 +0100)]
Merge branch 'wip-MDL-55418-master' of https://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-55453-master' of https://github.com/mrmark/moodle
Dan Poltawski [Mon, 8 Aug 2016 08:53:22 +0000 (09:53 +0100)]
Merge branch 'MDL-55453-master' of https://github.com/mrmark/moodle

5 years agoMerge branch 'MDL-55292' of https://github.com/mr-russ/moodle
Andrew Nicols [Mon, 8 Aug 2016 07:25:45 +0000 (15:25 +0800)]
Merge branch 'MDL-55292' of https://github.com/mr-russ/moodle

5 years agoMerge branch 'MDL-3782_multichoice_multiple' of git://github.com/davosmith/moodle
Andrew Nicols [Mon, 8 Aug 2016 06:04:53 +0000 (14:04 +0800)]
Merge branch 'MDL-3782_multichoice_multiple' of git://github.com/davosmith/moodle

5 years agoMerge branch 'MDL-41126' of git://github.com/dg711/moodle
Andrew Nicols [Mon, 8 Aug 2016 05:24:25 +0000 (13:24 +0800)]
Merge branch 'MDL-41126' of git://github.com/dg711/moodle

5 years agoMerge branch 'MDL-55454' of git://github.com/timhunt/moodle
Andrew Nicols [Mon, 8 Aug 2016 02:00:30 +0000 (10:00 +0800)]
Merge branch 'MDL-55454' of git://github.com/timhunt/moodle

5 years agoMDL-41126 mod_data: added field and entry generator
Devang Gaur [Thu, 4 Aug 2016 22:38:28 +0000 (04:08 +0530)]
MDL-41126 mod_data: added field and entry generator

5 years agoMDL-55061 Grade_Export: Grade Export Logging
Zane Karl [Wed, 29 Jun 2016 20:20:38 +0000 (13:20 -0700)]
MDL-55061 Grade_Export: Grade Export Logging

5 years agoMDL-55292 performance: Allow Tideways profiler extension.
Russell Smith [Wed, 20 Jul 2016 23:57:18 +0000 (09:57 +1000)]
MDL-55292 performance: Allow Tideways profiler extension.

PHP7 doesn't have any default XHProf support and all other
investigated forks don't have stable PHP7.  Tideways is under
active development and is easy to install.  The data format
is compatible with XHProf so it is a drop-in replacement in that way.

5 years agoweekly release 3.2dev
Andrew Nicols [Thu, 4 Aug 2016 01:58:40 +0000 (09:58 +0800)]
weekly release 3.2dev

5 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Thu, 4 Aug 2016 01:58:34 +0000 (09:58 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

5 years agoMDL-54656 behat: Skip test if db family is not mysql or postgres
Rajesh Taneja [Thu, 4 Aug 2016 00:21:28 +0000 (08:21 +0800)]
MDL-54656 behat: Skip test if db family is not mysql or postgres

5 years agoMDL-55454 quiz: loses shufflequestion setting restoring old backups
Tim Hunt [Wed, 3 Aug 2016 17:42:51 +0000 (18:42 +0100)]
MDL-55454 quiz: loses shufflequestion setting restoring old backups

5 years agoMDL-55453 core_lib: Fix usage of js_send_uncached
Mark Nielsen [Wed, 3 Aug 2016 17:18:41 +0000 (10:18 -0700)]
MDL-55453 core_lib: Fix usage of js_send_uncached

5 years agoMDL-3782 qtype_multianswer: support 'multiple-answer' subquestions
Davo Smith [Tue, 28 Jun 2016 11:38:23 +0000 (12:38 +0100)]
MDL-3782 qtype_multianswer: support 'multiple-answer' subquestions

5 years agoMerge branch 'MDL-55367-master-fix' of https://github.com/lameze/moodle
Andrew Nicols [Wed, 3 Aug 2016 06:41:47 +0000 (14:41 +0800)]
Merge branch 'MDL-55367-master-fix' of https://github.com/lameze/moodle

5 years agoMerge branch 'MDL-54941-master-fixes' of https://github.com/andrewnicols/moodle
Andrew Nicols [Wed, 3 Aug 2016 06:35:08 +0000 (14:35 +0800)]
Merge branch 'MDL-54941-master-fixes' of https://github.com/andrewnicols/moodle

5 years agoMDL-54941 glossary: Correct variable naming for entry files
Andrew Nicols [Wed, 3 Aug 2016 06:33:52 +0000 (14:33 +0800)]
MDL-54941 glossary: Correct variable naming for entry files

5 years agoMDL-55367 report_log: declare log array indexes to avoid errors
Simey Lameze [Wed, 3 Aug 2016 06:23:44 +0000 (14:23 +0800)]
MDL-55367 report_log: declare log array indexes to avoid errors

5 years agoMerge branch 'MDL-55355-master-fix' of https://github.com/lameze/moodle
Andrew Nicols [Wed, 3 Aug 2016 02:45:15 +0000 (10:45 +0800)]
Merge branch 'MDL-55355-master-fix' of https://github.com/lameze/moodle

5 years agoMDL-55355 mod_feedback: Change show chart data step to avoid errors
Simey Lameze [Wed, 3 Aug 2016 02:22:58 +0000 (10:22 +0800)]
MDL-55355 mod_feedback: Change show chart data step to avoid errors

5 years agoMDL-55355 core: Fix incorrect chart link selector
Simey Lameze [Wed, 3 Aug 2016 01:42:27 +0000 (09:42 +0800)]
MDL-55355 core: Fix incorrect chart link selector

5 years agoMerge branch 'MDL-24343-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 3 Aug 2016 01:22:16 +0000 (03:22 +0200)]
Merge branch 'MDL-24343-master' of git://github.com/andrewnicols/moodle

5 years agoMDL-24343 core: Deprecate unzip_file
Andrew Nicols [Mon, 11 Jul 2016 06:05:47 +0000 (14:05 +0800)]
MDL-24343 core: Deprecate unzip_file

5 years agoMerge branch 'MDL-55276-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 23:01:51 +0000 (01:01 +0200)]
Merge branch 'MDL-55276-master' of git://github.com/junpataleta/moodle

5 years agoMerge branch 'MDL-54656_m32v3' of https://github.com/sbourget/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 22:50:19 +0000 (00:50 +0200)]
Merge branch 'MDL-54656_m32v3' of https://github.com/sbourget/moodle

5 years agoMerge branch 'MDL-55166-master-blocksettings' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 22:33:58 +0000 (00:33 +0200)]
Merge branch 'MDL-55166-master-blocksettings' of git://github.com/mudrd8mz/moodle

5 years agoMerge branch 'MDL-54941-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 22:29:45 +0000 (00:29 +0200)]
Merge branch 'MDL-54941-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-55322-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 22:12:10 +0000 (00:12 +0200)]
Merge branch 'MDL-55322-master' of https://github.com/snake/moodle

5 years agoMerge branch 'MDL-54745_master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 21:13:25 +0000 (23:13 +0200)]
Merge branch 'MDL-54745_master' of https://github.com/snake/moodle

5 years agoMerge branch 'MDL-44369_m32v3' of https://github.com/sbourget/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 19:25:24 +0000 (21:25 +0200)]
Merge branch 'MDL-44369_m32v3' of https://github.com/sbourget/moodle

5 years agoMDL-54847 tests: fix unused var
Dan Poltawski [Tue, 2 Aug 2016 19:11:27 +0000 (20:11 +0100)]
MDL-54847 tests: fix unused var

5 years agoMerge branch 'MDL-54847-master-fix' of git://github.com/cameron1729/moodle
Dan Poltawski [Tue, 2 Aug 2016 19:09:45 +0000 (20:09 +0100)]
Merge branch 'MDL-54847-master-fix' of git://github.com/cameron1729/moodle

5 years agoMDL-54847 weblib: Test media attributes individually
Cameron Ball [Tue, 2 Aug 2016 18:52:12 +0000 (02:52 +0800)]
MDL-54847 weblib: Test media attributes individually

5 years agoMerge branch 'MDL-55167-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 17:54:00 +0000 (19:54 +0200)]
Merge branch 'MDL-55167-master' of git://github.com/danpoltawski/moodle

5 years agoMDL-55167 npm: add stylelint-checkstyle-formatter
Dan Poltawski [Tue, 2 Aug 2016 17:52:41 +0000 (18:52 +0100)]
MDL-55167 npm: add stylelint-checkstyle-formatter

Useful for automations (like the Moodle prechecker)

5 years agoMerge branch 'MDL-55167-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 16:54:49 +0000 (18:54 +0200)]
Merge branch 'MDL-55167-master' of git://github.com/danpoltawski/moodle

5 years agoMerge branch 'MDL-55314-master' of https://github.com/mrmark/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 15:16:07 +0000 (17:16 +0200)]
Merge branch 'MDL-55314-master' of https://github.com/mrmark/moodle

5 years agoMerge branch 'MDL-55315-master' of https://github.com/mrmark/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 15:07:16 +0000 (17:07 +0200)]
Merge branch 'MDL-55315-master' of https://github.com/mrmark/moodle

5 years agoMerge branch 'MDL-55316-master' of https://github.com/mrmark/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 15:01:46 +0000 (17:01 +0200)]
Merge branch 'MDL-55316-master' of https://github.com/mrmark/moodle

5 years agoMerge branch 'MDL-55348-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Tue, 2 Aug 2016 14:48:26 +0000 (16:48 +0200)]
Merge branch 'MDL-55348-master' of git://github.com/dpalou/moodle

5 years agoMerge branch 'wip-MDL-33741-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 2 Aug 2016 11:20:11 +0000 (12:20 +0100)]
Merge branch 'wip-MDL-33741-master' of git://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-45734_m32v4' of https://github.com/sbourget/moodle
Dan Poltawski [Tue, 2 Aug 2016 11:17:03 +0000 (12:17 +0100)]
Merge branch 'MDL-45734_m32v4' of https://github.com/sbourget/moodle

5 years agoMerge branch 'MDL-55357_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Tue, 2 Aug 2016 09:54:28 +0000 (10:54 +0100)]
Merge branch 'MDL-55357_master' of git://github.com/dmonllao/moodle

5 years agoMerge branch 'MDL-54847-master' of git://github.com/cameron1729/moodle
Dan Poltawski [Tue, 2 Aug 2016 09:54:21 +0000 (10:54 +0100)]
Merge branch 'MDL-54847-master' of git://github.com/cameron1729/moodle

5 years agoMDL-55418 behat: correct exception class name
Marina Glancy [Tue, 2 Aug 2016 09:44:55 +0000 (17:44 +0800)]
MDL-55418 behat: correct exception class name

5 years agoMDL-54847 MDL-54847 weblib: Support basic HTML media tags
Cameron Ball [Thu, 21 Jul 2016 08:04:29 +0000 (16:04 +0800)]
MDL-54847 MDL-54847 weblib: Support basic HTML media tags

5 years agoMerge branch 'MDL-55355-master' of git://github.com/lameze/moodle
Andrew Nicols [Tue, 2 Aug 2016 02:29:30 +0000 (10:29 +0800)]
Merge branch 'MDL-55355-master' of git://github.com/lameze/moodle

5 years agoMerge branch 'MDL-55352-master-fix' of https://github.com/lameze/moodle
Andrew Nicols [Tue, 2 Aug 2016 02:10:38 +0000 (10:10 +0800)]
Merge branch 'MDL-55352-master-fix' of https://github.com/lameze/moodle

5 years agoMDL-55352 mod_feedback: Change series labels on multi choice rated
Simey Lameze [Tue, 2 Aug 2016 01:23:18 +0000 (09:23 +0800)]
MDL-55352 mod_feedback: Change series labels on multi choice rated

5 years agoMerge branch 'MDL-54879-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Tue, 2 Aug 2016 01:10:19 +0000 (09:10 +0800)]
Merge branch 'MDL-54879-master' of git://github.com/junpataleta/moodle

5 years agoMDL-55398 mod_feedback: prevent direct script access to lib files.
Stephen Bourget [Tue, 2 Aug 2016 00:53:46 +0000 (20:53 -0400)]
MDL-55398 mod_feedback: prevent direct script access to lib files.

5 years agoMerge branch 'MDL-55140_m32v2' of https://github.com/sbourget/moodle
Andrew Nicols [Tue, 2 Aug 2016 00:48:36 +0000 (08:48 +0800)]
Merge branch 'MDL-55140_m32v2' of https://github.com/sbourget/moodle

5 years agoMerge branch 'MDL-55360-master-workshopgradepass' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Mon, 1 Aug 2016 17:57:00 +0000 (18:57 +0100)]
Merge branch 'MDL-55360-master-workshopgradepass' of git://github.com/mudrd8mz/moodle

5 years agoAutomatically generated installer lang files
AMOS bot [Mon, 1 Aug 2016 16:04:17 +0000 (00:04 +0800)]
Automatically generated installer lang files

5 years agoMDL-55376 assign: trailing whitespace
Dan Poltawski [Mon, 1 Aug 2016 15:07:43 +0000 (16:07 +0100)]
MDL-55376 assign: trailing whitespace

5 years agoMerge branch 'MDL-55376-master' of git://github.com/cameron1729/moodle
Dan Poltawski [Mon, 1 Aug 2016 15:07:00 +0000 (16:07 +0100)]
Merge branch 'MDL-55376-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-55367-master' of git://github.com/lameze/moodle
Dan Poltawski [Mon, 1 Aug 2016 13:25:38 +0000 (14:25 +0100)]
Merge branch 'MDL-55367-master' of git://github.com/lameze/moodle

5 years agoMerge branch 'MDL-55323-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 1 Aug 2016 12:58:20 +0000 (13:58 +0100)]
Merge branch 'MDL-55323-master' of git://github.com/junpataleta/moodle

5 years agoMerge branch 'MDL-55374-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 1 Aug 2016 12:50:37 +0000 (13:50 +0100)]
Merge branch 'MDL-55374-master' of git://github.com/damyon/moodle

5 years agoMerge branch 'MDL-55352-master' of git://github.com/lameze/moodle
Dan Poltawski [Mon, 1 Aug 2016 08:30:33 +0000 (09:30 +0100)]
Merge branch 'MDL-55352-master' of git://github.com/lameze/moodle

5 years agoMerge branch 'MDL-53152-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Mon, 1 Aug 2016 07:04:17 +0000 (15:04 +0800)]
Merge branch 'MDL-53152-master' of git://github.com/junpataleta/moodle

5 years agoMDL-53152 theme: Add parentheses to variable calculations
Jun Pataleta [Mon, 18 Jul 2016 05:31:30 +0000 (13:31 +0800)]
MDL-53152 theme: Add parentheses to variable calculations

5 years agoMDL-55367 report_log: Prevent invalid time to be passed to Charts API
Simey Lameze [Thu, 28 Jul 2016 07:58:14 +0000 (15:58 +0800)]
MDL-55367 report_log: Prevent invalid time to be passed to Charts API

5 years agoMDL-54745 mod_assign: Remove leftover changegradewarning string and js
Jake Dallimore [Fri, 27 May 2016 03:22:55 +0000 (11:22 +0800)]
MDL-54745 mod_assign: Remove leftover changegradewarning string and js

5 years agoMerge branch 'MDL-55266-master' of git://github.com/jleyva/moodle
Andrew Nicols [Mon, 1 Aug 2016 02:49:15 +0000 (10:49 +0800)]
Merge branch 'MDL-55266-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-50286_m32v3' of https://github.com/sbourget/moodle
Andrew Nicols [Mon, 1 Aug 2016 01:54:06 +0000 (09:54 +0800)]
Merge branch 'MDL-50286_m32v3' of https://github.com/sbourget/moodle

5 years agoMDL-50286 report_log: Allow filtering by event origin.
Stephen Bourget [Mon, 1 Aug 2016 01:45:27 +0000 (21:45 -0400)]
MDL-50286 report_log: Allow filtering by event origin.

5 years agoMDL-55322 assignfeedback_editpdf: Prevent scroll when moving comments
Jake Dallimore [Mon, 25 Jul 2016 03:56:43 +0000 (11:56 +0800)]
MDL-55322 assignfeedback_editpdf: Prevent scroll when moving comments

Prevent the default scroll behaviour when using gestures to move
comments on the mobile site.

5 years agoMDL-55355 core: Change chart link text when status change
Simey Lameze [Fri, 29 Jul 2016 02:13:37 +0000 (10:13 +0800)]
MDL-55355 core: Change chart link text when status change

5 years agoMDL-33741 file_info: show courses in hidden categories
Marina Glancy [Thu, 28 Jul 2016 03:42:40 +0000 (11:42 +0800)]
MDL-33741 file_info: show courses in hidden categories

This also has a couple of bugfixes:
- file_info_context_system::get_children() was looking for courses with parent=0, it is impossible, block removed;
- file_info_context_coursecat::get_area_coursecat_description() was checking the wrong capability to view files in description

5 years agoMDL-33741 file_info: check capability when serving file in coursecat description
Marina Glancy [Fri, 19 Jul 2013 07:02:33 +0000 (17:02 +1000)]
MDL-33741 file_info: check capability when serving file in coursecat description

5 years agoMerge branch 'MDL-55289-master-exsubmission' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Mon, 1 Aug 2016 00:46:54 +0000 (08:46 +0800)]
Merge branch 'MDL-55289-master-exsubmission' of git://github.com/mudrd8mz/moodle

5 years agoMDL-55167 stylelint: disable some rules in grunt
Dan Poltawski [Fri, 8 Jul 2016 16:26:11 +0000 (17:26 +0100)]
MDL-55167 stylelint: disable some rules in grunt

These will be fixed in a later issue

5 years agoMDL-55167 less: Add some stylelint exceptions to deal with later
Dan Poltawski [Wed, 6 Jul 2016 20:01:24 +0000 (21:01 +0100)]
MDL-55167 less: Add some stylelint exceptions to deal with later

1) Use of REM units in course.less
2) CSS hacks (MDL-55142)

5 years agoMDL-55167 less: fix line over length
Dan Poltawski [Wed, 6 Jul 2016 19:58:13 +0000 (20:58 +0100)]
MDL-55167 less: fix line over length

5 years agoMDL-55167 less: remove empty blocks
Dan Poltawski [Wed, 6 Jul 2016 14:29:41 +0000 (15:29 +0100)]
MDL-55167 less: remove empty blocks

5 years agoMDL-55167 less: reformat one line statemets into multiple lines
Dan Poltawski [Tue, 5 Jul 2016 21:36:24 +0000 (22:36 +0100)]
MDL-55167 less: reformat one line statemets into multiple lines

5 years agoMDL-55167 less: add missing linebreak seperators
Dan Poltawski [Tue, 5 Jul 2016 21:59:19 +0000 (22:59 +0100)]
MDL-55167 less: add missing linebreak seperators

Detected by
http://stylelint.io/user-guide/rules/at-rule-empty-line-before/

5 years agoMDL-55167 less: fix spacing of selectors
Dan Poltawski [Tue, 5 Jul 2016 21:22:06 +0000 (22:22 +0100)]
MDL-55167 less: fix spacing of selectors

Detected by
http://stylelint.io/user-guide/rules/block-opening-brace-space-before/
http://stylelint.io/user-guide/rules/selector-combinator-space-after/
http://stylelint.io/user-guide/rules/at-rule-name-space-after/
http://stylelint.io/user-guide/rules/selector-list-comma-space-before/
http://stylelint.io/user-guide/rules/media-feature-colon-space-before/
http://stylelint.io/user-guide/rules/selector-list-comma-newline-after/

5 years agoMDL-55167 less: fix missing semi colons
Dan Poltawski [Tue, 5 Jul 2016 21:03:56 +0000 (22:03 +0100)]
MDL-55167 less: fix missing semi colons

Detected by:
http://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon/

5 years agoMDL-55167 less: fix spacing on properties
Dan Poltawski [Tue, 5 Jul 2016 20:18:36 +0000 (21:18 +0100)]
MDL-55167 less: fix spacing on properties

Detected by stylelint rules:
http://stylelint.io/user-guide/rules/declaration-colon-space-after/
http://stylelint.io/user-guide/rules/declaration-colon-space-before/
http://stylelint.io/user-guide/rules/function-comma-space-after/
http://stylelint.io/user-guide/rules/declaration-bang-space-before/

5 years agoMDL-55167 grunt: add stylelint css linting
Dan Poltawski [Tue, 5 Jul 2016 14:56:53 +0000 (15:56 +0100)]
MDL-55167 grunt: add stylelint css linting

5 years agoMDL-45734 Badges: Add additional events
Stephen Bourget [Sat, 30 Jul 2016 01:51:05 +0000 (21:51 -0400)]
MDL-45734 Badges: Add additional events

5 years agoMDL-44369 Calendar: add events for subscriptions
Stephen Bourget [Fri, 29 Jul 2016 12:56:20 +0000 (08:56 -0400)]
MDL-44369 Calendar: add events for subscriptions

5 years agoMDL-55376 mod_assign: Fix bug stopping admin from editing submissions
Cameron Ball [Fri, 29 Jul 2016 09:39:10 +0000 (17:39 +0800)]
MDL-55376 mod_assign: Fix bug stopping admin from editing submissions

5 years agoMDL-55357 search: Contents include UTF8 characters, adding u modifier
David Monllao [Fri, 29 Jul 2016 05:59:32 +0000 (13:59 +0800)]
MDL-55357 search: Contents include UTF8 characters, adding u modifier

5 years agoMDL-55352 core: Label values series should override tooltip
Simey Lameze [Fri, 29 Jul 2016 04:42:24 +0000 (12:42 +0800)]
MDL-55352 core: Label values series should override tooltip

5 years agoMDL-55374 mod_assign: Force utf-8 for DOMDocument
Damyon Wiese [Fri, 29 Jul 2016 02:43:25 +0000 (10:43 +0800)]
MDL-55374 mod_assign: Force utf-8 for DOMDocument

This prevents charset issues on some sites.

5 years agoMDL-24343 core: Deprecate zip_files
Andrew Nicols [Mon, 11 Jul 2016 05:14:44 +0000 (13:14 +0800)]
MDL-24343 core: Deprecate zip_files

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 28 Jul 2016 16:05:37 +0000 (00:05 +0800)]
Automatically generated installer lang files

5 years agoMDL-55266 user: New WS core_user_get_user_preferences
Juan Leyva [Thu, 21 Jul 2016 14:42:58 +0000 (15:42 +0100)]
MDL-55266 user: New WS core_user_get_user_preferences

5 years agoMDL-54941 webservice: Refactor file handling in WS
Juan Leyva [Tue, 12 Jul 2016 15:38:38 +0000 (16:38 +0100)]
MDL-54941 webservice: Refactor file handling in WS

This commit reduces boilerplate code.
It also forces WS returning files to always return the following
fields: filename, filepath, mimetype, filesize, timemodified and
fileurl.

5 years agoMDL-55348 wiki: Convert 'section' WS params to PARAM_RAW
Dani Palou [Wed, 27 Jul 2016 07:05:58 +0000 (09:05 +0200)]
MDL-55348 wiki: Convert 'section' WS params to PARAM_RAW

5 years agoMDL-55360 workshop: Add tests for setting grades to pass via mod form
David Mudrák [Wed, 27 Jul 2016 15:11:39 +0000 (17:11 +0200)]
MDL-55360 workshop: Add tests for setting grades to pass via mod form

These scenarios should cover common cases of defining the grades to pass
pass via the workshop settings form. Note that behaviour of the fields
in terms of locale-specific decimals input (MDL-51806) is not covered
with these tests as I want to avoid installation of additional language
pack. Instead, I assume that functionality of unformat_float() is tested
separately in the core.

5 years agoMDL-55360 workshop: Emptying grades to pass should set them to zero
David Mudrák [Wed, 27 Jul 2016 14:22:12 +0000 (16:22 +0200)]
MDL-55360 workshop: Emptying grades to pass should set them to zero

When editing existing workshop with a grade to pass defined, when the
field is emptied, it should be interpreted as setting it to zero. This
was not happening because unformat_float replaces the field with null,
therefore effectively unsetting it.

By casting to float, we interpret all empty values (including null) as
zeros. This behaviour is consistent with how gradebook setup UI works.