moodle.git
7 years agoMerge branch 'MDL-48778-master' of git://github.com/lameze/moodle
Dan Poltawski [Mon, 8 Feb 2016 17:13:02 +0000 (17:13 +0000)]
Merge branch 'MDL-48778-master' of git://github.com/lameze/moodle

7 years agoMerge branch 'MDL-52983' of git://github.com/aolley/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 12:05:30 +0000 (13:05 +0100)]
Merge branch 'MDL-52983' of git://github.com/aolley/moodle

7 years agoMerge branch 'MDL-50115-master' of git://github.com/danpoltawski/moodle
David Monllao [Mon, 8 Feb 2016 06:10:39 +0000 (14:10 +0800)]
Merge branch 'MDL-50115-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'm31_MDL-52637_Disable_Automatically_Enabling_TLS_Encryption' of https...
David Monllao [Mon, 8 Feb 2016 05:47:06 +0000 (13:47 +0800)]
Merge branch 'm31_MDL-52637_Disable_Automatically_Enabling_TLS_Encryption' of https://github.com/scara/moodle

7 years agoMDL-48778 mod_assign: behat tests for group submission
Simey Lameze [Mon, 8 Feb 2016 02:22:31 +0000 (10:22 +0800)]
MDL-48778 mod_assign: behat tests for group submission

7 years agoMDL-52983 excel output: avoid single quote on end of sheet name
Adam Olley [Wed, 3 Feb 2016 11:58:44 +0000 (22:28 +1030)]
MDL-52983 excel output: avoid single quote on end of sheet name

This change resolves a problem where a long sheet name, which gets
trimmed down with substr($name, 0, 31), could result in a sheet name
with a single quote on the end because the quote removal was done before
the substr.

7 years agoMerge branch 'MDL-51306' of https://github.com/andrewhancox/moodle
David Monllao [Mon, 8 Feb 2016 03:23:34 +0000 (11:23 +0800)]
Merge branch 'MDL-51306' of https://github.com/andrewhancox/moodle

7 years agoMDL-48778 assign: Use proper latest attempt for quickgrading prechecks
Eric Merrill [Wed, 21 Jan 2015 14:48:15 +0000 (09:48 -0500)]
MDL-48778 assign: Use proper latest attempt for quickgrading prechecks

The code that stored lastmodified in gradingtable used a different
method to produce it than the processor used to generate the check
value. Fix that and also check that the attempt number has not changed.

7 years agoMerge branch 'MDL-51723-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 8 Feb 2016 01:02:41 +0000 (09:02 +0800)]
Merge branch 'MDL-51723-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-44087 mod_forum: Move forum digest to new processor
Andrew Nicols [Fri, 29 Jan 2016 07:16:23 +0000 (15:16 +0800)]
MDL-44087 mod_forum: Move forum digest to new processor

7 years agoMDL-52637 mail: Disabled automatic TLS encryption.
Matteo Scaramuccia [Sat, 16 Jan 2016 20:12:03 +0000 (21:12 +0100)]
MDL-52637 mail: Disabled automatic TLS encryption.

7 years agoMDL-50115 grunt: provide a --root option to set base path
Dan Poltawski [Thu, 28 Jan 2016 14:55:56 +0000 (14:55 +0000)]
MDL-50115 grunt: provide a --root option to set base path

Windows users are not able to run grunt on a subpath due to platform
restrictions. So we provide this option to provide a workaround for that.

Thanks to Ty Delean who proposed this idea.

7 years agoweekly release 3.1dev
David Monllao [Thu, 4 Feb 2016 06:30:03 +0000 (14:30 +0800)]
weekly release 3.1dev

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Thu, 4 Feb 2016 06:30:00 +0000 (14:30 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoAutomatically generated installer lang files
AMOS bot [Wed, 3 Feb 2016 16:04:08 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMerge branch 'wip-MDL-52715-master-additional' of git://github.com/abgreeve/moodle
Dan Poltawski [Wed, 3 Feb 2016 09:44:27 +0000 (09:44 +0000)]
Merge branch 'wip-MDL-52715-master-additional' of git://github.com/abgreeve/moodle

7 years agoMerge branch 'MDL-52899' of git://github.com/timhunt/moodle
David Monllao [Wed, 3 Feb 2016 05:44:41 +0000 (13:44 +0800)]
Merge branch 'MDL-52899' of git://github.com/timhunt/moodle

7 years agoMDL-52715 lib: Clean up of comments and variable names.
Adrian Greeve [Thu, 21 Jan 2016 02:43:26 +0000 (10:43 +0800)]
MDL-52715 lib: Clean up of comments and variable names.

7 years agoMDL-51306 mod_folder: Add button to download entire folder.
Andrew Hancox [Wed, 7 Oct 2015 10:46:45 +0000 (11:46 +0100)]
MDL-51306 mod_folder: Add button to download entire folder.

7 years agoMerge branch 'wip-MDL-51283-master' of git://github.com/marinaglancy/moodle
David Monllao [Tue, 2 Feb 2016 09:40:39 +0000 (17:40 +0800)]
Merge branch 'wip-MDL-51283-master' of git://github.com/marinaglancy/moodle

7 years agoMDL-51283 core_tag: Allow each tag area to set 'showstandard'
Marina Glancy [Thu, 14 Jan 2016 07:20:57 +0000 (15:20 +0800)]
MDL-51283 core_tag: Allow each tag area to set 'showstandard'

7 years agoMDL-51283 core_tag: change tagtype to isstandard
Marina Glancy [Sun, 10 Jan 2016 07:28:36 +0000 (15:28 +0800)]
MDL-51283 core_tag: change tagtype to isstandard

Change 'official' to 'standard' in UI

7 years agoMerge branch 'wip-mdl-42395' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 2 Feb 2016 08:18:06 +0000 (08:18 +0000)]
Merge branch 'wip-mdl-42395' of https://github.com/rajeshtaneja/moodle

7 years agoMDL-42395 mod_assign: Single feedback is always visible
Rajesh Taneja [Tue, 2 Feb 2016 07:58:48 +0000 (15:58 +0800)]
MDL-42395 mod_assign: Single feedback is always visible

Single feedback is always visible, so no need to click to expand

7 years agoMerge branch 'MDL-49817-master' of git://github.com/danpoltawski/moodle
David Monllao [Tue, 2 Feb 2016 05:57:43 +0000 (13:57 +0800)]
Merge branch 'MDL-49817-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-52873-master-modgradeid' of git://github.com/mudrd8mz/moodle
David Monllao [Tue, 2 Feb 2016 04:12:03 +0000 (12:12 +0800)]
Merge branch 'MDL-52873-master-modgradeid' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-52137-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 2 Feb 2016 02:55:59 +0000 (10:55 +0800)]
Merge branch 'MDL-52137-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-42395_master' of git://github.com/markn86/moodle
Dan Poltawski [Mon, 1 Feb 2016 11:17:02 +0000 (11:17 +0000)]
Merge branch 'MDL-42395_master' of git://github.com/markn86/moodle

7 years agoMDL-45740 choice: version bump
Dan Poltawski [Mon, 1 Feb 2016 11:09:42 +0000 (11:09 +0000)]
MDL-45740 choice: version bump

7 years agoMerge branch 'MDL-45740_master' of git://github.com/markn86/moodle
Dan Poltawski [Mon, 1 Feb 2016 11:02:22 +0000 (11:02 +0000)]
Merge branch 'MDL-45740_master' of git://github.com/markn86/moodle

7 years agoMDL-45740 mod_choice: fixed remaining issues
Mark Nelson [Fri, 29 Jan 2016 08:05:54 +0000 (16:05 +0800)]
MDL-45740 mod_choice: fixed remaining issues

7 years agoMerge branch 'wip-mdl-52932-m' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Mon, 1 Feb 2016 10:27:28 +0000 (10:27 +0000)]
Merge branch 'wip-mdl-52932-m' of https://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'MDL-52940_master' of git://github.com/markn86/moodle
Dan Poltawski [Mon, 1 Feb 2016 09:49:20 +0000 (09:49 +0000)]
Merge branch 'MDL-52940_master' of git://github.com/markn86/moodle

7 years agoMerge branch 'MDL-51704-master' of git://github.com/dpalou/moodle
David Monllao [Mon, 1 Feb 2016 09:19:59 +0000 (17:19 +0800)]
Merge branch 'MDL-51704-master' of git://github.com/dpalou/moodle

7 years agoMDL-52715 js: Merge M.str and clean memory
David Monllao [Tue, 19 Jan 2016 08:15:37 +0000 (16:15 +0800)]
MDL-52715 js: Merge M.str and clean memory

7 years agoMDL-52715 ws: Fragments WS using fragment requires properly.
David Monllao [Tue, 19 Jan 2016 02:21:46 +0000 (10:21 +0800)]
MDL-52715 ws: Fragments WS using fragment requires properly.

7 years agoMDL-52715 lib: Addition of new requirements class.
Adrian Greeve [Mon, 11 Jan 2016 07:54:43 +0000 (15:54 +0800)]
MDL-52715 lib: Addition of new requirements class.

This adds a fragment requirements class to allow plugins
to register JavaScript to be used in an mform.

7 years agoMerge branch 'MDL-52261_master_file_not_found' of git://github.com/BenKelada/moodle
David Monllao [Mon, 1 Feb 2016 05:55:57 +0000 (13:55 +0800)]
Merge branch 'MDL-52261_master_file_not_found' of git://github.com/BenKelada/moodle

7 years agoMerge branch 'MDL-52913_master' of git://github.com/marxjohnson/moodle
David Monllao [Mon, 1 Feb 2016 05:46:18 +0000 (13:46 +0800)]
Merge branch 'MDL-52913_master' of git://github.com/marxjohnson/moodle

7 years agoMDL-52940 core_backup: prevent always displaying logs
Mark Nelson [Mon, 1 Feb 2016 04:37:27 +0000 (12:37 +0800)]
MDL-52940 core_backup: prevent always displaying logs

7 years agoMerge branch 'MDL-52831-master-emptynames' of git://github.com/mudrd8mz/moodle
David Monllao [Mon, 1 Feb 2016 03:28:40 +0000 (11:28 +0800)]
Merge branch 'MDL-52831-master-emptynames' of git://github.com/mudrd8mz/moodle

7 years agoMDL-51723 ldap: Normalise the user objectclass
Andrew Nicols [Thu, 28 Jan 2016 06:32:19 +0000 (14:32 +0800)]
MDL-51723 ldap: Normalise the user objectclass

7 years agoMDL-52913 behat: Abort database transactions on exception.
Mark Johnson [Thu, 28 Jan 2016 09:52:27 +0000 (09:52 +0000)]
MDL-52913 behat: Abort database transactions on exception.

7 years agoMDL-42395 mod_assign: build YUI module and fixed lint errors
Mark Nelson [Fri, 29 Jan 2016 09:55:21 +0000 (17:55 +0800)]
MDL-42395 mod_assign: build YUI module and fixed lint errors

7 years agoMDL-42395 mod_assign: Showing the most recent feedback
Rushikesh [Sat, 16 Jan 2016 09:26:10 +0000 (14:56 +0530)]
MDL-42395 mod_assign: Showing the most recent feedback

7 years agoweekly release 3.1dev
David Monllao [Fri, 29 Jan 2016 06:36:50 +0000 (14:36 +0800)]
weekly release 3.1dev

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Fri, 29 Jan 2016 06:36:47 +0000 (14:36 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoMDL-45740 choice: add new events
Stephen Bourget [Mon, 4 Jan 2016 23:33:12 +0000 (18:33 -0500)]
MDL-45740 choice: add new events

7 years agoMDL-35590 block_navigation: Set attribute on node creation
David Monllao [Fri, 29 Jan 2016 04:28:51 +0000 (12:28 +0800)]
MDL-35590 block_navigation: Set attribute on node creation

Otherwise we would need to unescape href and title.

7 years agoMDL-52932 behat: Restart session if it fails because of some reason
Rajesh Taneja [Fri, 29 Jan 2016 03:35:45 +0000 (11:35 +0800)]
MDL-52932 behat: Restart session if it fails because of some reason

7 years agoMDL-35590 navigation: Remove link from admin node if you have javascript
John Okely [Fri, 29 Jan 2016 02:43:57 +0000 (02:43 +0000)]
MDL-35590 navigation: Remove link from admin node if you have javascript

Also:
* In behat, ensure nav node exists before checking attribute (Credit to
  Rajesh Taneja)
* Remove some unused JS constants
* Fix debugging notice for users without settings block

7 years agoMDL-46553 admin: Version bump after history rewrite
David Monllao [Fri, 29 Jan 2016 02:22:12 +0000 (10:22 +0800)]
MDL-46553 admin: Version bump after history rewrite

7 years agoMDL-50620 mod_scorm: Preventive (on rewrite) version bump to current.
Eloy Lafuente (stronk7) [Thu, 28 Jan 2016 10:21:15 +0000 (11:21 +0100)]
MDL-50620 mod_scorm: Preventive (on rewrite) version bump to current.

7 years agoMerge branch 'MDL-35590-fixes' of git://github.com/ryanwyllie/moodle
David Monllao [Thu, 28 Jan 2016 05:13:43 +0000 (13:13 +0800)]
Merge branch 'MDL-35590-fixes' of git://github.com/ryanwyllie/moodle

7 years agoMerge branch 'MDL-52825_master-fix' of git://github.com/dmonllao/moodle
Andrew Nicols [Thu, 28 Jan 2016 04:01:31 +0000 (12:01 +0800)]
Merge branch 'MDL-52825_master-fix' of git://github.com/dmonllao/moodle

7 years agoMDL-35590 block_navigation: fix keyboard nav
Ryan Wyllie [Thu, 28 Jan 2016 04:03:21 +0000 (04:03 +0000)]
MDL-35590 block_navigation: fix keyboard nav

Fixed up the left/right keyboard navigation to match
the aria specification. Also stopped the root node from
being collapsible.

7 years agoMDL-52825 atto: Listen to gesturemovestart to discard some events
David Monllao [Thu, 28 Jan 2016 03:31:33 +0000 (11:31 +0800)]
MDL-52825 atto: Listen to gesturemovestart to discard some events

7 years agoMerge branch 'MDL-52826_master-fix' of git://github.com/dmonllao/moodle
Andrew Nicols [Thu, 28 Jan 2016 03:59:27 +0000 (11:59 +0800)]
Merge branch 'MDL-52826_master-fix' of git://github.com/dmonllao/moodle

7 years agoMDL-35590 behat: Data-loaded is on li node
Rajesh Taneja [Wed, 27 Jan 2016 02:38:39 +0000 (10:38 +0800)]
MDL-35590 behat: Data-loaded is on li node

7 years agoMDL-52826 forms: Using id attr
David Monllao [Thu, 28 Jan 2016 00:54:10 +0000 (08:54 +0800)]
MDL-52826 forms: Using id attr

Switch from custom id references to the element's id attribute.

Extra fix to get rid of an unnecessary call to getValidationScript().

7 years agoMerge branch 'MDL-29817' of https://github.com/rushi963/moodle
Eloy Lafuente (stronk7) [Tue, 26 Jan 2016 23:51:06 +0000 (00:51 +0100)]
Merge branch 'MDL-29817' of https://github.com/rushi963/moodle

7 years agoMDL-52567 Core: amend existing test to new counting rules
Eloy Lafuente (stronk7) [Tue, 26 Jan 2016 23:36:32 +0000 (00:36 +0100)]
MDL-52567 Core: amend existing test to new counting rules

7 years agoMerge branch 'MDL-52567_master' of https://github.com/nadavkav/moodle
Eloy Lafuente (stronk7) [Tue, 26 Jan 2016 23:22:00 +0000 (00:22 +0100)]
Merge branch 'MDL-52567_master' of https://github.com/nadavkav/moodle

7 years agoMDL-37739 mod_wiki: test headings being wikilinks (toc and content)
Eloy Lafuente (stronk7) [Tue, 26 Jan 2016 23:11:22 +0000 (00:11 +0100)]
MDL-37739 mod_wiki: test headings being wikilinks (toc and content)

7 years agoMerge branch 'MDL-37739-malformed-wiki-toc-links' of https://github.com/lucaboesch...
Eloy Lafuente (stronk7) [Tue, 26 Jan 2016 22:13:54 +0000 (23:13 +0100)]
Merge branch 'MDL-37739-malformed-wiki-toc-links' of https://github.com/lucaboesch/moodle

7 years agoMerge branch 'MDL-48953_m31v4' of https://github.com/sbourget/moodle
Dan Poltawski [Tue, 26 Jan 2016 11:10:14 +0000 (11:10 +0000)]
Merge branch 'MDL-48953_m31v4' of https://github.com/sbourget/moodle

7 years agoMerge branch 'MDL-25864' of https://github.com/rushi963/moodle
Dan Poltawski [Tue, 26 Jan 2016 10:54:50 +0000 (10:54 +0000)]
Merge branch 'MDL-25864' of https://github.com/rushi963/moodle

7 years agoMerge branch 'MDL-42190-master-workshopdelsub' of git://github.com/mudrd8mz/moodle
David Monllao [Tue, 26 Jan 2016 10:32:34 +0000 (18:32 +0800)]
Merge branch 'MDL-42190-master-workshopdelsub' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-52459-master' of git://github.com/jleyva/moodle
David Monllao [Tue, 26 Jan 2016 10:22:39 +0000 (18:22 +0800)]
Merge branch 'MDL-52459-master' of git://github.com/jleyva/moodle

7 years agoMerge branch 'MDL-52780-mailoriginscript' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Tue, 26 Jan 2016 00:01:12 +0000 (01:01 +0100)]
Merge branch 'MDL-52780-mailoriginscript' of https://github.com/brendanheywood/moodle

7 years agoMerge branch 'wip-mdl-52839' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Mon, 25 Jan 2016 23:40:12 +0000 (00:40 +0100)]
Merge branch 'wip-mdl-52839' of https://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'MDL-52843-master-paramsignup' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 25 Jan 2016 23:38:08 +0000 (00:38 +0100)]
Merge branch 'MDL-52843-master-paramsignup' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-52791' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 25 Jan 2016 14:26:59 +0000 (14:26 +0000)]
Merge branch 'MDL-52791' of git://github.com/timhunt/moodle

7 years agoMerge branch 'MDL-52835-master' of git://github.com/deraadt/moodle
Dan Poltawski [Mon, 25 Jan 2016 14:14:45 +0000 (14:14 +0000)]
Merge branch 'MDL-52835-master' of git://github.com/deraadt/moodle

7 years agoMerge branch 'MDL-52826_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 25 Jan 2016 10:38:14 +0000 (10:38 +0000)]
Merge branch 'MDL-52826_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'MDL-51702_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 25 Jan 2016 10:30:04 +0000 (10:30 +0000)]
Merge branch 'MDL-51702_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'MDL-52825_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 25 Jan 2016 10:25:54 +0000 (10:25 +0000)]
Merge branch 'MDL-52825_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'MDL-52682-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 25 Jan 2016 07:38:29 +0000 (15:38 +0800)]
Merge branch 'MDL-52682-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-52683 mod_scorm: Test for scorm_get_last_completed_attempt
David Monllao [Mon, 25 Jan 2016 07:31:37 +0000 (15:31 +0800)]
MDL-52683 mod_scorm: Test for scorm_get_last_completed_attempt

7 years agoMerge branch 'MDL-52683-master' of git://github.com/s-cenni/moodle
David Monllao [Mon, 25 Jan 2016 07:32:26 +0000 (15:32 +0800)]
Merge branch 'MDL-52683-master' of git://github.com/s-cenni/moodle

7 years agoMerge branch 'wip-mdl-52799' of git://github.com/rajeshtaneja/moodle
David Monllao [Mon, 25 Jan 2016 06:39:33 +0000 (14:39 +0800)]
Merge branch 'wip-mdl-52799' of git://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'MDL-35590-master' of git://github.com/lameze/moodle
David Monllao [Mon, 25 Jan 2016 05:33:55 +0000 (13:33 +0800)]
Merge branch 'MDL-35590-master' of git://github.com/lameze/moodle

7 years agoMerge branch 'MDL-31635-master' of git://github.com/marinaglancy/moodle
David Monllao [Mon, 25 Jan 2016 04:24:59 +0000 (12:24 +0800)]
Merge branch 'MDL-31635-master' of git://github.com/marinaglancy/moodle

7 years agoMDL-49817 grunt: handle multiple watched files changed at once
Dan Poltawski [Thu, 21 Jan 2016 14:21:13 +0000 (14:21 +0000)]
MDL-49817 grunt: handle multiple watched files changed at once

Includes multiple changes to the shifter task to simplify and
support this:
* Use grunt.file for shifter yui 'module' detection rather than our own
  70 line function
* Use grunt.util.spawn rather than our own exec for shifter
* Improve behaviour on various yui subdirectories

We have to add the 'async' depndency to npm because we are running
multiple async operations in the single task. We use async.eachSeries to
run each shifter job sequentally (else the output would be unreadable
when running async).

We also run shifter in non-recursive mode on the module directory so its
not building everything (thanks to Ryan for pointing this out!)

7 years agoMDL-49817 grunt: make shifter work watch on right place
Dan Poltawski [Thu, 14 Jan 2016 16:42:44 +0000 (16:42 +0000)]
MDL-49817 grunt: make shifter work watch on right place

We mess around with the cwd to find a shifter path, not ideal but avoids
having to refactor the shifter task.

Also fix jshint errors..

1) The gruntfile runs in a nodejs environment and not a browser
environment.

2) There was an uninitialised variable

7 years agoMDL-49817 grunt: add watch task
Dan Poltawski [Thu, 14 Jan 2016 13:22:28 +0000 (13:22 +0000)]
MDL-49817 grunt: add watch task

This allows files to be watched and automatically build when changed.

Thanks to David Monllaó for the initial basis for this patch.

7 years agoMDL-49817 grunt: Refactor the uglify task
Dan Poltawski [Thu, 14 Jan 2016 12:10:02 +0000 (12:10 +0000)]
MDL-49817 grunt: Refactor the uglify task

This is in preperation for the watch task and doing a few things:

1) Switch away from 'grunt.file.expandMapping' to the declarative syntax
   for doing the same thing, as recommended in docs:
   http://gruntjs.com/api/grunt.file#grunt.file.expandmapping

2) Factor the renaming function into shared function so it can be used
   from the watch task too.

3) Shared the file glob'ing pattern for match AMD js files between
   jshint and uglify task (this removes the node_modules exception..
   we should add it to both if we need it).

4) Rename the task configuration - I am just doing this because it looks
   like 'dynamic_mappings' is some how magic config option when you
   look at the manual:
   http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically

   But in fact, it's just a task confguration name.

7 years agoAutomatically generated installer lang files
AMOS bot [Wed, 27 Jan 2016 16:04:19 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMDL-51704 survey: Fix display problems in report page
Dani Palou [Tue, 26 Jan 2016 10:53:21 +0000 (11:53 +0100)]
MDL-51704 survey: Fix display problems in report page

7 years agoMDL-52899 behat: make PAGE_READY_JS more robust
Tim Hunt [Tue, 26 Jan 2016 11:23:26 +0000 (11:23 +0000)]
MDL-52899 behat: make PAGE_READY_JS more robust

7 years agoMDL-42190 workshop: Add behat tests for the submissions removal feature
David Mudrák [Thu, 21 Jan 2016 20:18:45 +0000 (21:18 +0100)]
MDL-42190 workshop: Add behat tests for the submissions removal feature

7 years agoMDL-42190 workshop: Improve the confirmation of submission removal
David Mudrák [Thu, 21 Jan 2016 13:22:53 +0000 (14:22 +0100)]
MDL-42190 workshop: Improve the confirmation of submission removal

I noticed we do not need to list the names of potentially affected
reviewers. If the user (teacher) has the capability to see other
assessments (which they do in 99%), the list of assessments is displayed
at the confirmation page anyway. If for some reason they do not have the
capability, we should not list the names.

The second fix is that the action buttons (such as Delete or Edit) are
not displayed on the removal confirmation page.

And finally, as the output->confirm() wraps the message with implicit
<p>, it is not valid to pass HTML with any block elements. So instead of
concatenating the two messages, we simply define a new string for this
situation.

7 years agoMDL-42190 workshop: Fix the coding style of the patch
David Mudrák [Thu, 21 Jan 2016 11:14:42 +0000 (12:14 +0100)]
MDL-42190 workshop: Fix the coding style of the patch

7 years agoMDL-42190 workshop: Add "sumbission_deleted" event
Paul Nicholls [Tue, 10 Nov 2015 20:43:51 +0000 (09:43 +1300)]
MDL-42190 workshop: Add "sumbission_deleted" event

Add (and trigger) an event for deletion of submissions, so that deletions
are logged.

7 years agoMDL-42190 workshop: Add the ability to delete submissions
Paul Nicholls [Mon, 21 Sep 2015 04:21:53 +0000 (16:21 +1200)]
MDL-42190 workshop: Add the ability to delete submissions

A new capability is introduced to control this, granted to teacher/admin
roles by default: mod/workshop:deletesubmissions.  Additionally, students
can delete their own submissions if they are currently able to edit them.

7 years agoMDL-31635 completion: do not show % for the grade
Marina Glancy [Wed, 20 Jan 2016 02:15:01 +0000 (10:15 +0800)]
MDL-31635 completion: do not show % for the grade

Also show grades with the configured number of decimal points

7 years agoAutomatically generated installer lang files
AMOS bot [Sun, 24 Jan 2016 16:04:02 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMDL-52567 Core: remove quotation marks, for proper word count
Nadav Kavalerchik [Sat, 23 Jan 2016 22:47:13 +0000 (00:47 +0200)]
MDL-52567 Core: remove quotation marks, for proper word count

7 years agoAutomatically generated installer lang files
AMOS bot [Fri, 22 Jan 2016 16:04:07 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMDL-52873 forms: Generate unique id attributes for modgrade elements
David Mudrák [Fri, 22 Jan 2016 12:43:42 +0000 (13:43 +0100)]
MDL-52873 forms: Generate unique id attributes for modgrade elements

The previous method of generating the id attribute of the elements
within the modgrade group did not take the name of the modgrade field
into account. So if there were multiple fields of the modgrade type
added into a form (not a common case yet still valid), elements created
within the group were assigned same id attributes.

The patch introduces a new method for generating the id attribute of
modgrade elements. The new method takes the name of the modgrade group
into account and returns the id in the format similar to the default one
returned by HTML_QuickForm_element::_generateId().

The patch changes the generated id attribute. Apart from the
block_activity_results' behat feature files, not other places seem to
rely on the exact value.