moodle.git
7 years agoMoodle release 3.0 v3.0.0
Eloy Lafuente (stronk7) [Sun, 15 Nov 2015 17:44:55 +0000 (18:44 +0100)]
Moodle release 3.0

7 years agoChange travis.yml to MOODLE_30_STABLE
Eloy Lafuente (stronk7) [Sun, 15 Nov 2015 17:44:55 +0000 (18:44 +0100)]
Change travis.yml to MOODLE_30_STABLE

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Sun, 15 Nov 2015 17:44:47 +0000 (18:44 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoMerge branch 'MDL-52126' of git://github.com/stronk7/moodle
Dan Poltawski [Sun, 15 Nov 2015 16:05:33 +0000 (16:05 +0000)]
Merge branch 'MDL-52126' of git://github.com/stronk7/moodle

7 years agoAutomatically generated installer lang files
AMOS bot [Sun, 15 Nov 2015 16:04:22 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMDL-52126 forum: Verify forum mailout contents
Eloy Lafuente (stronk7) [Sat, 14 Nov 2015 19:06:03 +0000 (20:06 +0100)]
MDL-52126 forum: Verify forum mailout contents

New unit test able to verify mail contents
configured by provider do match all expectations defined.

7 years agoMDL-52126 forum: Correct over-escaping of html-based emails
Eloy Lafuente (stronk7) [Sun, 15 Nov 2015 09:33:19 +0000 (10:33 +0100)]
MDL-52126 forum: Correct over-escaping of html-based emails

7 years agoMDL-52126 forum: Correct over-escaping of text-based emails
Andrew Nicols [Fri, 13 Nov 2015 14:17:20 +0000 (22:17 +0800)]
MDL-52126 forum: Correct over-escaping of text-based emails

7 years agoAutomatically generated installer lang files
AMOS bot [Sat, 14 Nov 2015 16:04:05 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoAutomatically generated installer lang files
AMOS bot [Fri, 13 Nov 2015 16:06:20 +0000 (00:06 +0800)]
Automatically generated installer lang files

7 years agoMoodle release 3.0rc4 v3.0.0-rc4
David Monllao [Fri, 13 Nov 2015 07:28:19 +0000 (15:28 +0800)]
Moodle release 3.0rc4

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Fri, 13 Nov 2015 07:28:16 +0000 (15:28 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoMDL-52071 webservices: Bump version to update services
David Monllao [Thu, 12 Nov 2015 23:49:39 +0000 (07:49 +0800)]
MDL-52071 webservices: Bump version to update services

7 years agoMerge branch 'MDL-52071-master' of git://github.com/jleyva/moodle
David Monllao [Thu, 12 Nov 2015 23:47:58 +0000 (07:47 +0800)]
Merge branch 'MDL-52071-master' of git://github.com/jleyva/moodle

7 years agoMDL-51819 theme: style fix for nested dropdowns
Dan Poltawski [Thu, 12 Nov 2015 21:54:50 +0000 (21:54 +0000)]
MDL-51819 theme: style fix for nested dropdowns

7 years agoMDL-52071 ws: Add core_enrol_get_course_enrolment_methods to service
Juan Leyva [Thu, 12 Nov 2015 12:21:58 +0000 (13:21 +0100)]
MDL-52071 ws: Add core_enrol_get_course_enrolment_methods to service

7 years agoMDL-51819 js: built changes
Dan Poltawski [Thu, 12 Nov 2015 09:00:56 +0000 (09:00 +0000)]
MDL-51819 js: built changes

7 years agoMerge branch 'wip-MDL-51819-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Thu, 12 Nov 2015 08:46:34 +0000 (08:46 +0000)]
Merge branch 'wip-MDL-51819-master' of git://github.com/abgreeve/moodle

7 years agoMDL-51819 themes: Nested navigation dropdowns work on small screens.
Simeon Naydenov [Mon, 9 Nov 2015 05:13:10 +0000 (13:13 +0800)]
MDL-51819 themes: Nested navigation dropdowns work on small screens.

7 years agoMerge branch 'MDL-51515-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Wed, 11 Nov 2015 22:14:47 +0000 (23:14 +0100)]
Merge branch 'MDL-51515-master' of git://github.com/junpataleta/moodle

7 years agoMDL-51515 assign: Fix typo setting url in nav tree.
Damyon Wiese [Fri, 25 Sep 2015 01:41:00 +0000 (09:41 +0800)]
MDL-51515 assign: Fix typo setting url in nav tree.

Thanks to Nelson Moller and Tyler Bannister.

7 years agoMerge branch 'MDL-36109-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Wed, 11 Nov 2015 16:10:11 +0000 (17:10 +0100)]
Merge branch 'MDL-36109-master' of git://github.com/danpoltawski/moodle

7 years agoAutomatically generated installer lang files
AMOS bot [Wed, 11 Nov 2015 16:04:06 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMerge branch 'MDL-51495' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Wed, 11 Nov 2015 15:56:27 +0000 (16:56 +0100)]
Merge branch 'MDL-51495' of https://github.com/NeillM/moodle

7 years agoMerge branch 'MDL-50589-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Wed, 11 Nov 2015 15:53:08 +0000 (16:53 +0100)]
Merge branch 'MDL-50589-master' of git://github.com/jleyva/moodle

7 years agoMDL-51495 calendar: E_WARNING in core_calendar_get_calendar_events
Neill Magill [Tue, 20 Oct 2015 09:05:08 +0000 (10:05 +0100)]
MDL-51495 calendar: E_WARNING in core_calendar_get_calendar_events

If a user does not have the 'moodle/calendar:manageentries' capability then an E_WARNING
can be generated by the core_calendar_external::get_calendar_events() method, that an
expected array is null

This patch creates an array that is missing when a user does not have the capability.

7 years agoMDL-51495 calendar: Unit test to get an individual course event
Neill Magill [Tue, 20 Oct 2015 09:52:07 +0000 (10:52 +0100)]
MDL-51495 calendar: Unit test to get an individual course event

If is user requests a single event on a course via the web service they should be able to retrieve it.

7 years agoMerge branch 'MDL-51913_statistics_dup_1st_column' of git://github.com/barrysspace...
David Monllao [Wed, 11 Nov 2015 04:38:47 +0000 (12:38 +0800)]
Merge branch 'MDL-51913_statistics_dup_1st_column' of git://github.com/barrysspace/moodle

7 years agoMerge branch 'MDL-51922-master' of git://github.com/andrewnicols/moodle
David Monllao [Wed, 11 Nov 2015 02:24:57 +0000 (10:24 +0800)]
Merge branch 'MDL-51922-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-51935-master' of git://github.com/dpalou/moodle
David Monllao [Wed, 11 Nov 2015 01:59:36 +0000 (09:59 +0800)]
Merge branch 'MDL-51935-master' of git://github.com/dpalou/moodle

7 years agoMerge branch 'MDL-51991-master' of git://github.com/ryanwyllie/moodle
David Monllao [Wed, 11 Nov 2015 01:18:52 +0000 (09:18 +0800)]
Merge branch 'MDL-51991-master' of git://github.com/ryanwyllie/moodle

7 years agoMerge branch 'wip-mdl-52077' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 22:44:28 +0000 (23:44 +0100)]
Merge branch 'wip-mdl-52077' of https://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'wip-mdl-52066' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 22:27:50 +0000 (23:27 +0100)]
Merge branch 'wip-mdl-52066' of https://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'MDL-51686-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 19:19:06 +0000 (20:19 +0100)]
Merge branch 'MDL-51686-master' of git://github.com/damyon/moodle

7 years agoMerge branch 'MDL-50781-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 19:13:21 +0000 (20:13 +0100)]
Merge branch 'MDL-50781-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-51720-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 18:28:41 +0000 (19:28 +0100)]
Merge branch 'MDL-51720-master' of git://github.com/damyon/moodle

7 years agoMerge branch 'MDL-51482-lastinvalidation-handling' of https://github.com/mpetrowi...
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 17:27:22 +0000 (18:27 +0100)]
Merge branch 'MDL-51482-lastinvalidation-handling' of https://github.com/mpetrowi/moodle

7 years agoMerge branch 'MDL-52059' of git://github.com/stronk7/moodle
Dan Poltawski [Tue, 10 Nov 2015 14:48:27 +0000 (14:48 +0000)]
Merge branch 'MDL-52059' of git://github.com/stronk7/moodle

7 years agoMerge branch 'MDL-51314-groupmembership' of https://github.com/dmitriim/moodle
Dan Poltawski [Tue, 10 Nov 2015 14:44:22 +0000 (14:44 +0000)]
Merge branch 'MDL-51314-groupmembership' of https://github.com/dmitriim/moodle

7 years agoMDL-52059 versions: main version mini-bump
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 11:35:17 +0000 (12:35 +0100)]
MDL-52059 versions: main version mini-bump

7 years agoMDL-52059 versions: bump all versions and requires near release
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 11:33:52 +0000 (12:33 +0100)]
MDL-52059 versions: bump all versions and requires near release

version = planned 2015111600 release version
requires= current 2015111000 rc3 version

7 years agoMoodle release 3.0rc3 v3.0.0-rc3
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 09:50:56 +0000 (10:50 +0100)]
Moodle release 3.0rc3

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 09:50:48 +0000 (10:50 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoMDL-52063 forum: Moved notification is not a problem
Dan Poltawski [Tue, 10 Nov 2015 09:38:23 +0000 (09:38 +0000)]
MDL-52063 forum: Moved notification is not a problem

The default behaviour of $OUTPUT->notification() is to indiciate a
problem.

7 years agoMerge branch 'MDL-52054-master-option4' of git://github.com/xow/moodle
Dan Poltawski [Tue, 10 Nov 2015 09:17:51 +0000 (09:17 +0000)]
Merge branch 'MDL-52054-master-option4' of git://github.com/xow/moodle

7 years agoMDL-51935 wiki: Add missing strings in wiki
Dani Palou [Tue, 27 Oct 2015 15:09:55 +0000 (16:09 +0100)]
MDL-51935 wiki: Add missing strings in wiki

7 years agoMDL-52054 forum: Prevent error when clicking move without a destination
John Okely [Mon, 9 Nov 2015 06:02:19 +0000 (14:02 +0800)]
MDL-52054 forum: Prevent error when clicking move without a destination

7 years agoMDL-51991 atto_table: simplify settings
Ryan Wyllie [Tue, 3 Nov 2015 07:50:34 +0000 (07:50 +0000)]
MDL-51991 atto_table: simplify settings

Cleaned up the language strings on the Atto table settings page
and reduced the number of settings options for border styling.

7 years agoMDL-52055 block_online_users: Only show users from current course
John Okely [Tue, 10 Nov 2015 04:03:11 +0000 (12:03 +0800)]
MDL-52055 block_online_users: Only show users from current course

7 years agoMDL-52077 unittest: Fixed string typo
Rajesh Taneja [Tue, 10 Nov 2015 05:08:55 +0000 (13:08 +0800)]
MDL-52077 unittest: Fixed string typo

7 years agoMDL-52066 unittest: Use ics file from external repo
Rajesh Taneja [Tue, 10 Nov 2015 05:27:00 +0000 (13:27 +0800)]
MDL-52066 unittest: Use ics file from external repo

7 years agoMDL-52054 forum: Revert MDL-46321. Add the "move" button back.
John Okely [Mon, 9 Nov 2015 05:03:26 +0000 (13:03 +0800)]
MDL-52054 forum: Revert MDL-46321. Add the "move" button back.

This reverts commit 5a699f25a20f71b8044e952b9b5153733fce952c.

7 years agoMDL-52063 forum: Display message when moving forum
John Okely [Mon, 9 Nov 2015 06:37:45 +0000 (14:37 +0800)]
MDL-52063 forum: Display message when moving forum

7 years agoMerge branch 'MDL-47979-master-blocks-config' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 9 Nov 2015 22:42:26 +0000 (23:42 +0100)]
Merge branch 'MDL-47979-master-blocks-config' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-52045-master-block_tags_settings' of git://github.com/mudrd8mz...
Eloy Lafuente (stronk7) [Mon, 9 Nov 2015 22:39:33 +0000 (23:39 +0100)]
Merge branch 'MDL-52045-master-block_tags_settings' of git://github.com/mudrd8mz/moodle

7 years agoAutomatically generated installer lang files
AMOS bot [Mon, 9 Nov 2015 16:04:06 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMDL-47979 blocks: Do not display link to legacy file admin/block.php
David Mudrák [Mon, 9 Nov 2015 12:30:40 +0000 (13:30 +0100)]
MDL-47979 blocks: Do not display link to legacy file admin/block.php

The deprecated file admin/block.php was removed in Moodle 2.6. Since
then, all blocks that declare has_config() must provide a settings.php
file.

7 years agoMerge branch 'MDL-51837-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 9 Nov 2015 11:33:00 +0000 (11:33 +0000)]
Merge branch 'MDL-51837-master' of git://github.com/junpataleta/moodle

7 years agoMerge branch 'MDL-51628-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 9 Nov 2015 11:01:21 +0000 (11:01 +0000)]
Merge branch 'MDL-51628-master' of git://github.com/damyon/moodle

7 years agoMerge branch 'wip-MDL-52039-master' of https://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 9 Nov 2015 08:48:49 +0000 (08:48 +0000)]
Merge branch 'wip-MDL-52039-master' of https://github.com/marinaglancy/moodle

7 years agoMDL-52045 block_tags: Fix invalid has_config() declaration
David Mudrák [Mon, 9 Nov 2015 08:34:53 +0000 (09:34 +0100)]
MDL-52045 block_tags: Fix invalid has_config() declaration

As the settings.php has been removed in MDL-51132, the block should no
longer declare it has global configuration.

7 years agoMerge branch 'MDL-40245_master' of git://github.com/SWiT/moodle
David Monllao [Mon, 9 Nov 2015 08:12:44 +0000 (16:12 +0800)]
Merge branch 'MDL-40245_master' of git://github.com/SWiT/moodle

7 years agoMerge branch 'MDL-49473-master' of git://github.com/danpoltawski/moodle
David Monllao [Mon, 9 Nov 2015 07:12:30 +0000 (15:12 +0800)]
Merge branch 'MDL-49473-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'wip-MDL-52008-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 9 Nov 2015 05:16:06 +0000 (13:16 +0800)]
Merge branch 'wip-MDL-52008-master' of git://github.com/abgreeve/moodle

7 years agoAutomatically generated installer lang files
AMOS bot [Sat, 7 Nov 2015 16:04:45 +0000 (00:04 +0800)]
Automatically generated installer lang files

7 years agoMDL-52039 block_tags: remove unused setting
Marina Glancy [Sat, 7 Nov 2015 04:32:38 +0000 (12:32 +0800)]
MDL-52039 block_tags: remove unused setting

7 years agoMDL-50426 behat: Update non-contacts feature naming
Dan Poltawski [Fri, 6 Nov 2015 18:35:43 +0000 (18:35 +0000)]
MDL-50426 behat: Update non-contacts feature naming

7 years agoMoodle release 3.0rc2 v3.0.0-rc2
Dan Poltawski [Fri, 6 Nov 2015 11:57:10 +0000 (11:57 +0000)]
Moodle release 3.0rc2

7 years agoMDL-51685 unittest: Test functionality individually
Rajesh Taneja [Fri, 6 Nov 2015 09:37:12 +0000 (17:37 +0800)]
MDL-51685 unittest: Test functionality individually

7 years agoMerge branch 'MDL-51861' of https://github.com/stronk7/moodle
Dan Poltawski [Fri, 6 Nov 2015 10:04:02 +0000 (10:04 +0000)]
Merge branch 'MDL-51861' of https://github.com/stronk7/moodle

7 years agoMDL-51861 enrol: added missing external cleanup for formal compliance
Eloy Lafuente (stronk7) [Fri, 6 Nov 2015 09:58:28 +0000 (10:58 +0100)]
MDL-51861 enrol: added missing external cleanup for formal compliance

7 years agoMDL-51569 mod_choice: Fix use of hardcoded ids
Dan Poltawski [Fri, 6 Nov 2015 08:09:47 +0000 (08:09 +0000)]
MDL-51569 mod_choice: Fix use of hardcoded ids

(Previous approach of making up ids longer works now we are validating
them..)

7 years agoMDL-51861 enrol: Don't get all parts in get_enrolled_users with groups
Dani Palou [Mon, 26 Oct 2015 10:02:26 +0000 (11:02 +0100)]
MDL-51861 enrol: Don't get all parts in get_enrolled_users with groups

7 years agoMerge branch 'MDL-51861' of git://github.com/stronk7/moodle
Andrew Nicols [Fri, 6 Nov 2015 07:01:20 +0000 (15:01 +0800)]
Merge branch 'MDL-51861' of git://github.com/stronk7/moodle

7 years agoMDL-51569 mod_choice: Prevent users from updating choices with curl
John Okely [Fri, 6 Nov 2015 05:42:10 +0000 (13:42 +0800)]
MDL-51569 mod_choice: Prevent users from updating choices with curl

And fix unit tests.

7 years agoMDL-51314 mod_assign: cache group membership in can_edit_submission
Dmitrii Metelkin [Fri, 6 Nov 2015 04:21:01 +0000 (15:21 +1100)]
MDL-51314 mod_assign: cache group membership in can_edit_submission

7 years agoMDL-51685-master Fix unit tests following change
Andrew Nicols [Thu, 5 Nov 2015 07:51:56 +0000 (15:51 +0800)]
MDL-51685-master Fix unit tests following change

These unit tests were modifying the PAGE and other globals in the middle of
tests and were failing as a result.

Broke the tests up into separate tests where the functionality is now
tested individually.

7 years agoMDL-52008 accessibility: Skip link works with chrome vox.
Adrian Greeve [Thu, 5 Nov 2015 08:49:24 +0000 (16:49 +0800)]
MDL-52008 accessibility: Skip link works with chrome vox.

7 years agoMDL-51861 enrol: new unit test to verify all conditions and filters
Eloy Lafuente (stronk7) [Fri, 6 Nov 2015 00:03:02 +0000 (01:03 +0100)]
MDL-51861 enrol: new unit test to verify all conditions and filters

This unit test does not verify contents, details, but only
that the returned users for every group mode, for every
filtering (active, groupid and withcapability) together
with permissions are correct.

7 years agoMDL-51569 mod_choice: Validate the submitted optionid
Damyon Wiese [Thu, 5 Nov 2015 08:26:46 +0000 (16:26 +0800)]
MDL-51569 mod_choice: Validate the submitted optionid

Make sure any submitted choice options actually belong to the current choice
module.

7 years agoMerge branch 'MDL-52036-master-resettable' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Thu, 5 Nov 2015 09:03:20 +0000 (09:03 +0000)]
Merge branch 'MDL-52036-master-resettable' of git://github.com/mudrd8mz/moodle

7 years agoMDL-50589 gradereport_user: Force regrade in external function
Juan Leyva [Thu, 5 Nov 2015 08:40:38 +0000 (09:40 +0100)]
MDL-50589 gradereport_user: Force regrade in external function

7 years agoMDL-50426 message: post_message capability tests
Ryan Wyllie [Wed, 14 Oct 2015 05:47:36 +0000 (05:47 +0000)]
MDL-50426 message: post_message capability tests

Behat and unit tests to confirm the behaviour of the
messaging lib after the capability checks were added
to the post message function.

7 years agoMDL-50426 message: optional permission check on message
Ryan Wyllie [Tue, 13 Oct 2015 03:45:24 +0000 (03:45 +0000)]
MDL-50426 message: optional permission check on message

Changed the messaging API to allow you to provide a parameter
that will cause the code to check if the sender of the message
has the correct permissions before the message is sent.

The ajax messaging (message button on profile page) has been
updated to perform these permission checks. This brings it
inline with the existing private message page.

7 years agoMDL-50426 behat: fix behat field manager
Ryan Wyllie [Mon, 21 Sep 2015 06:30:07 +0000 (06:30 +0000)]
MDL-50426 behat: fix behat field manager

Thanks to Raj for the patch.

7 years agoMDL-51720 assign: Always fallback on userid as a default sort
Damyon Wiese [Wed, 14 Oct 2015 06:01:28 +0000 (14:01 +0800)]
MDL-51720 assign: Always fallback on userid as a default sort

Even when the table has no userid column (this is normally the edit column).

7 years agoMerge branch 'MDL-51395-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Thu, 5 Nov 2015 05:57:22 +0000 (13:57 +0800)]
Merge branch 'MDL-51395-master' of git://github.com/junpataleta/moodle

7 years agoMDL-51395 blog: Fix output of strings for blog comments
Jun Pataleta [Mon, 12 Oct 2015 20:47:57 +0000 (15:47 -0500)]
MDL-51395 blog: Fix output of strings for blog comments

7 years agoMerge branch 'MDL-26429-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Thu, 5 Nov 2015 04:12:43 +0000 (12:12 +0800)]
Merge branch 'MDL-26429-master' of git://github.com/cameron1729/moodle

7 years agoMDL-51899 mod_forum: Add test for allowing 0 grades
Andrew Nicols [Thu, 5 Nov 2015 04:07:27 +0000 (12:07 +0800)]
MDL-51899 mod_forum: Add test for allowing 0 grades

7 years agoMDL-26429 usability: Add course completion icons.
Cameron Ball [Thu, 5 Nov 2015 03:40:58 +0000 (11:40 +0800)]
MDL-26429 usability: Add course completion icons.

This patch adds a method to the course completion criteria classes
which allows them to specify an icon for display in the course
completion report table.

There is a default implementation which simply looks for an icon
in pix/i with a name matching the completion criteria type.

7 years agoMerge branch 'MDL-51899_master' of git://github.com/jacac/moodle
Andrew Nicols [Thu, 5 Nov 2015 03:24:43 +0000 (11:24 +0800)]
Merge branch 'MDL-51899_master' of git://github.com/jacac/moodle

7 years agoMerge branch 'MDL-51685-master' of git://github.com/dpalou/moodle
Andrew Nicols [Thu, 5 Nov 2015 02:41:43 +0000 (10:41 +0800)]
Merge branch 'MDL-51685-master' of git://github.com/dpalou/moodle

7 years agoMDL-50837 mod_scorm: include locallib to access function
rajesh Taneja [Thu, 5 Nov 2015 02:02:45 +0000 (10:02 +0800)]
MDL-50837 mod_scorm: include locallib to access function

7 years agoMDL-51918 behat: Key press should be down-press-up
rajesh Taneja [Thu, 5 Nov 2015 01:15:41 +0000 (09:15 +0800)]
MDL-51918 behat: Key press should be down-press-up

As we simulate real user key press event, the
event should down followed by press and then up key

7 years agoMDL-40245 assignment: download all submissions raise time limit
Matt Switlik [Mon, 12 Oct 2015 18:42:07 +0000 (14:42 -0400)]
MDL-40245 assignment: download all submissions raise time limit

7 years agoMDL-51899 mod/assign: Allow 0.00 grades while editing a grade.
Jakob [Tue, 3 Nov 2015 18:41:03 +0000 (10:41 -0800)]
MDL-51899 mod/assign: Allow 0.00 grades while editing a grade.

The function unformat_float can return 0 and false.
We need to do strict comparison for the return value on line 92 to accept grades 0.00.

7 years agoMDL-52036 tablelib: Fix the behaviour of resetting table preferences
David Mudrák [Wed, 4 Nov 2015 14:07:17 +0000 (15:07 +0100)]
MDL-52036 tablelib: Fix the behaviour of resetting table preferences

The problem with the previous implementation was that the table's
$this->prefs can contain valid non-empty value in its default state -
the default column to sort by. On resetting, we must not throw away
these default prefs.

This patch simplifies the TABLE_VAR_RESET interpretation. If such an
HTTP parameter is passed via the request, the table simply behaves as if
there were no previously stored preferences (does not matter if coming
from the current session, or from the persistent cross-session storage).

The logic that decides on whether or not the reset widget should be
displayed is put into a new method can_be_reset() with unit tests
attached.

Finally, the previously private method render_reset_button() is now
protected and the reset widget is given a new semantic CSS class.

7 years agoMDL-51684 badges: Make sure 'moodle/badges:viewbadges' is respected
David Monllao [Thu, 22 Oct 2015 02:01:57 +0000 (10:01 +0800)]
MDL-51684 badges: Make sure 'moodle/badges:viewbadges' is respected

7 years agoMDL-51684 badges: Make sure 'moodle/badges:viewbadges' is respected
Yuliya Bozhko [Thu, 8 Oct 2015 08:29:14 +0000 (09:29 +0100)]
MDL-51684 badges: Make sure 'moodle/badges:viewbadges' is respected

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>