moodle.git
9 years agoMDL-49146 single-activity course format: key activity must be visible
Tim Hunt [Sat, 6 Feb 2016 14:55:46 +0000 (14:55 +0000)]
MDL-49146 single-activity course format: key activity must be visible

With a single-activity course, visibility to students is controlled by
course visibility. There is no sense in having the key activity not
visible to students, and, if you did, the symptoms were almost
incomprehensible. It was very hard to work out what you had done wrong.

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

9 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

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

9 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

9 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

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

9 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

9 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'

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

9 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

9 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

9 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

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

9 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

9 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

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

9 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

9 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

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

9 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

9 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

9 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

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

9 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

9 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

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

9 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

9 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

9 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

9 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().

9 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

9 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

9 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

9 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)

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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!)

9 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

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

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

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

9 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

9 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

9 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

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

9 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

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

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

9 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

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

9 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

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

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

9 years agoMDL-35590 block_navigation: fix remaining issues
Simey Lameze [Fri, 22 Jan 2016 09:54:38 +0000 (17:54 +0800)]
MDL-35590 block_navigation: fix remaining issues

9 years agoMDL-35590 behat: Fixed navigation steps to support aria attributes
Rajesh Taneja [Fri, 22 Jan 2016 09:53:44 +0000 (17:53 +0800)]
MDL-35590 behat: Fixed navigation steps to support aria attributes

9 years agoMDL-52683 mod_scorm: Fix for Last completed attempt error with Oracle
Sara Cenni [Fri, 22 Jan 2016 09:16:05 +0000 (10:16 +0100)]
MDL-52683 mod_scorm: Fix for Last completed attempt error with Oracle

9 years agoMDL-52826 forms: Move global functions to self-contained
David Monllao [Wed, 13 Jan 2016 06:20:05 +0000 (14:20 +0800)]
MDL-52826 forms: Move global functions to self-contained

9 years agoMDL-52137 mod_forum: Move digest body to shared template
Andrew Nicols [Fri, 22 Jan 2016 01:49:33 +0000 (09:49 +0800)]
MDL-52137 mod_forum: Move digest body to shared template

9 years agoMDL-52682 mod_forum: Correct redirect URL when marking posts as read
Andrew Nicols [Thu, 21 Jan 2016 07:31:51 +0000 (15:31 +0800)]
MDL-52682 mod_forum: Correct redirect URL when marking posts as read

9 years agoMDL-52835 mod_data: Correct MIME type for JS template
Michael de Raadt [Wed, 20 Jan 2016 00:40:39 +0000 (11:40 +1100)]
MDL-52835 mod_data: Correct MIME type for JS template

9 years agoMDL-29817 Form : advcheckbox allows attributes even without group key
Rushikesh [Thu, 21 Jan 2016 17:07:43 +0000 (22:37 +0530)]
MDL-29817 Form : advcheckbox allows attributes even without group key

9 years agoMDL-49817 grunt: jslint rename task config and make explict src
Dan Poltawski [Thu, 14 Jan 2016 12:07:32 +0000 (12:07 +0000)]
MDL-49817 grunt: jslint rename task config and make explict src

Two reasons for this change:
1) The configuration here is confusing, it seems like we are setting the
   'files' option, but in fact we are just generating a task configuration
    called 'files'. Lets try and avoid confusion.

2) It makes it possible for 'watch' to override the src

9 years agoMDL-25864 Blog: Confirmation dialog before unregistering
Rushikesh [Thu, 21 Jan 2016 13:54:47 +0000 (19:24 +0530)]
MDL-25864 Blog: Confirmation dialog before unregistering

9 years agoMDL-52839 behat: Fixed xpath and wait to ensure element is visible
Rajesh Taneja [Thu, 21 Jan 2016 05:44:58 +0000 (13:44 +0800)]
MDL-52839 behat: Fixed xpath and wait to ensure element is visible

9 years agoweekly release 3.1dev
Andrew Nicols [Thu, 21 Jan 2016 05:43:35 +0000 (13:43 +0800)]
weekly release 3.1dev

9 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Thu, 21 Jan 2016 05:43:32 +0000 (13:43 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install