moodle.git
6 years agoweekly release 2.9.9+ MOODLE_29_STABLE
Dan Poltawski [Tue, 29 Nov 2016 13:32:32 +0000 (13:32 +0000)]
weekly release 2.9.9+

6 years agoMDL-57163 installation: fixed "Call to undefined function curl_version"
Vladimir Zhirov [Sat, 26 Nov 2016 19:42:54 +0000 (23:42 +0400)]
MDL-57163 installation: fixed "Call to undefined function curl_version"

6 years agoAutomatically generated installer lang files
AMOS bot [Sat, 26 Nov 2016 16:06:18 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoweekly release 2.9.9+
David Monllao [Fri, 25 Nov 2016 07:56:35 +0000 (15:56 +0800)]
weekly release 2.9.9+

6 years agoMDL-57100 JS: Exceptions give exceptions
Damyon Wiese [Tue, 22 Nov 2016 13:54:03 +0000 (21:54 +0800)]
MDL-57100 JS: Exceptions give exceptions

Exceptions returned from ajax are not in the format expected by the JS, so
an error occurs and the exception popups are not appearing.

Conflicts:
lib/amd/build/notification.min.js
lib/amd/src/notification.js

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 22 Nov 2016 16:05:44 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Wed, 16 Nov 2016 16:05:26 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMoodle release 2.9.9 v2.9.9
Eloy Lafuente (stronk7) [Sat, 12 Nov 2016 19:21:22 +0000 (20:21 +0100)]
Moodle release 2.9.9

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 11 Nov 2016 16:29:41 +0000 (00:29 +0800)]
Automatically generated installer lang files

6 years agoMDL-55121 environment: check for unsuported php version 7.1
Simey Lameze [Tue, 4 Oct 2016 04:06:10 +0000 (12:06 +0800)]
MDL-55121 environment: check for unsuported php version 7.1

6 years agoMDL-55777 version: bump
Dan Poltawski [Thu, 10 Nov 2016 13:48:39 +0000 (13:48 +0000)]
MDL-55777 version: bump

6 years agoMDL-55777 installation: Check libcurl version on install
Ankit Agarwal [Wed, 2 Nov 2016 10:36:20 +0000 (16:06 +0530)]
MDL-55777 installation: Check libcurl version on install

6 years agoMDL-56268 webservice: Format backtrace to avoid display private datawq
Juan Leyva [Mon, 7 Nov 2016 12:46:11 +0000 (12:46 +0000)]
MDL-56268 webservice: Format backtrace to avoid display private datawq

6 years agoAutomatically generated installer lang files
AMOS bot [Sun, 6 Nov 2016 16:05:18 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 25 Oct 2016 16:04:57 +0000 (00:04 +0800)]
Automatically generated installer lang files

6 years agoMDL-51347 core_notes: check view notes capability by course context
Simey Lameze [Mon, 17 Oct 2016 08:07:16 +0000 (16:07 +0800)]
MDL-51347 core_notes: check view notes capability by course context

6 years agoAutomatically generated installer lang files
AMOS bot [Sun, 16 Oct 2016 16:07:17 +0000 (00:07 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 14 Oct 2016 16:05:17 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 11 Oct 2016 16:05:27 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMDL-53744 question file access: fix access checks
Tim Hunt [Mon, 26 Sep 2016 18:46:22 +0000 (19:46 +0100)]
MDL-53744 question file access: fix access checks

6 years agoAutomatically generated installer lang files
AMOS bot [Sat, 8 Oct 2016 16:06:56 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 7 Oct 2016 16:05:18 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 4 Oct 2016 16:06:51 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 27 Sep 2016 16:05:12 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMDL-56065 user: Fix update_users Web Service
Juan Leyva [Thu, 22 Sep 2016 09:52:11 +0000 (10:52 +0100)]
MDL-56065 user: Fix update_users Web Service

Users won’t be updated if:
- They are admins and the user updating is not
- They are the guest user
- They are mnet users
- They are deleted users

6 years agoAutomatically generated installer lang files
AMOS bot [Thu, 22 Sep 2016 16:05:13 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 19 Sep 2016 16:05:01 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 16 Sep 2016 16:05:16 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Thu, 15 Sep 2016 16:05:36 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoweekly release 2.9.8+
Dan Poltawski [Thu, 15 Sep 2016 10:15:18 +0000 (11:15 +0100)]
weekly release 2.9.8+

6 years agoMDL-55945 login: fix https support for forgot_password.php
Jake Dallimore [Tue, 13 Sep 2016 04:21:11 +0000 (12:21 +0800)]
MDL-55945 login: fix https support for forgot_password.php

6 years agoMoodle release 2.9.8 v2.9.8
Eloy Lafuente (stronk7) [Sat, 10 Sep 2016 20:50:11 +0000 (22:50 +0200)]
Moodle release 2.9.8

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 29 Aug 2016 16:05:23 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 26 Aug 2016 16:05:17 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Wed, 24 Aug 2016 16:05:53 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMDL-50803 login: Remove token from URL in forgot password process
Jake Dallimore [Fri, 5 Aug 2016 02:34:22 +0000 (10:34 +0800)]
MDL-50803 login: Remove token from URL in forgot password process

Store the token value in the session and redirect to self, thus
removing the token from the URL and eliminating the problem where
the token is exposed via the http referer header.

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 9 Aug 2016 16:05:20 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 5 Aug 2016 16:05:31 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMDL-49026 webservice: Remove tokens on password change
Juan Leyva [Mon, 11 Jul 2016 11:06:40 +0000 (12:06 +0100)]
MDL-49026 webservice: Remove tokens on password change

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

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

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 19 Jul 2016 16:05:48 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 15 Jul 2016 16:06:08 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 12 Jul 2016 16:05:16 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Sun, 10 Jul 2016 16:06:26 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoMoodle release 2.9.7 v2.9.7
Eloy Lafuente (stronk7) [Sat, 9 Jul 2016 22:29:12 +0000 (00:29 +0200)]
Moodle release 2.9.7

6 years agoMDL-53431 tool_monitor: Access control for tool monitor subscriptions
Jake Dallimore [Wed, 25 May 2016 06:50:29 +0000 (14:50 +0800)]
MDL-53431 tool_monitor: Access control for tool monitor subscriptions

6 years agoMDL-55069 core: escape special characters in email headers
Marina Glancy [Mon, 4 Jul 2016 02:32:20 +0000 (10:32 +0800)]
MDL-55069 core: escape special characters in email headers

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 1 Jul 2016 16:05:34 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMDL-53019 environment: 3.2 requirements added
Eloy Lafuente (stronk7) [Fri, 1 Jul 2016 11:44:36 +0000 (13:44 +0200)]
MDL-53019 environment: 3.2 requirements added

Changes:
 - PHP 5.6.5 required

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 27 Jun 2016 16:06:26 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 21 Jun 2016 16:06:50 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 20 Jun 2016 16:06:10 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 20 Jun 2016 16:06:09 +0000 (00:06 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Sun, 19 Jun 2016 16:05:26 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 3 Jun 2016 16:04:54 +0000 (00:04 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Wed, 1 Jun 2016 16:04:42 +0000 (00:04 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 24 May 2016 16:05:08 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 23 May 2016 16:04:48 +0000 (00:04 +0800)]
Automatically generated installer lang files

6 years agoweekly release 2.9.6+
Dan Poltawski [Fri, 20 May 2016 09:15:27 +0000 (10:15 +0100)]
weekly release 2.9.6+

6 years agoMDL-54620 rating: Add tests for get_aggregate_string
Andrew Nicols [Wed, 18 May 2016 04:04:44 +0000 (12:04 +0800)]
MDL-54620 rating: Add tests for get_aggregate_string

6 years agoMDL-54564 behat: Wait after hover, to ensure page is ready
Rajesh Taneja [Fri, 13 May 2016 01:43:44 +0000 (09:43 +0800)]
MDL-54564 behat: Wait after hover, to ensure page is ready

6 years agoMDL-54620 ratings: display '0' when aggregate = 0
Kevin Wiliarty [Tue, 26 Apr 2016 17:18:43 +0000 (13:18 -0400)]
MDL-54620 ratings: display '0' when aggregate = 0

6 years agoAutomatically generated installer lang files
AMOS bot [Sat, 14 May 2016 16:05:13 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoAutomatically generated installer lang files
AMOS bot [Mon, 9 May 2016 16:05:03 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMoodle release 2.9.6 v2.9.6
Eloy Lafuente (stronk7) [Sat, 7 May 2016 22:23:51 +0000 (00:23 +0200)]
Moodle release 2.9.6

6 years agoMDL-54042 user: Add unit test to cover change
Damyon Wiese [Thu, 5 May 2016 08:27:53 +0000 (16:27 +0800)]
MDL-54042 user: Add unit test to cover change

6 years agoMDL-54042 user: Fix debugging in core_user_get_users_by_field
Damyon Wiese [Thu, 5 May 2016 07:15:58 +0000 (15:15 +0800)]
MDL-54042 user: Fix debugging in core_user_get_users_by_field

The course object returned by enrol_get_all_users_courses does not include the defaultgroupingid.

This course object is passed to user_get_user_details - which does need
the defaultgroupingid.

All the other group info is returned (groupmode) etc - so it makes sense to also return this extra field.

6 years agoweekly release 2.9.5+
David Monllao [Fri, 6 May 2016 08:14:59 +0000 (16:14 +0800)]
weekly release 2.9.5+

6 years agoMDL-54062 bootstrapbase: remove unused less file
Dan Poltawski [Thu, 5 May 2016 11:24:43 +0000 (12:24 +0100)]
MDL-54062 bootstrapbase: remove unused less file

This file has never been included in our CSS.

6 years agoMDL-53944 dml: make char2real() for mysql to support decimals
Eloy Lafuente (stronk7) [Fri, 29 Apr 2016 01:42:59 +0000 (03:42 +0200)]
MDL-53944 dml: make char2real() for mysql to support decimals

- With the patch, 6 positions of scale accuracy are guaranteed
  per individual casted value.
- Backed with unit tests, both for varchar and clob.
- Added 2 missing tests about uses of the method with params
  and values.

Note: 6 was picked because looking to all databases implementation
postgres was found to be casting to real, aka, 6.

6 years agoMDL-54007 mod_assign: Limit unit tests to core plugins
Adam Olley [Mon, 2 May 2016 04:11:35 +0000 (13:41 +0930)]
MDL-54007 mod_assign: Limit unit tests to core plugins

Without this change, the unit tests make assumptions for the output of
mod_assign functions/webservices that do not hold true when 3rd party
submission and feedback plugins are installed.

6 years agoMDL-53913 core_user: make parameters consistent across versions
Simey Lameze [Tue, 3 May 2016 08:50:09 +0000 (16:50 +0800)]
MDL-53913 core_user: make parameters consistent across versions

6 years agoMDL-53713 core: account for session_start returning false
Fred Woolard [Tue, 5 Apr 2016 20:29:32 +0000 (16:29 -0400)]
MDL-53713 core: account for session_start returning false

6 years agoMDL-53750 shibboleth: Passing a var to empty for PHP 5.4
David Monllao [Tue, 3 May 2016 23:52:26 +0000 (07:52 +0800)]
MDL-53750 shibboleth: Passing a var to empty for PHP 5.4

6 years agoMDL-53750 auth: fix logout bug in shibboleth
John Okely [Fri, 8 Apr 2016 01:58:34 +0000 (09:58 +0800)]
MDL-53750 auth: fix logout bug in shibboleth

Original patch by Dr. Michael Schneider

6 years agoMDL-51369 course: Adding tests to cover restoring course info
Frederic Massart [Thu, 21 Apr 2016 08:38:57 +0000 (16:38 +0800)]
MDL-51369 course: Adding tests to cover restoring course info

6 years agoMDL-51369 backup: Respect capabilities when restoring course info
Frederic Massart [Thu, 21 Apr 2016 08:37:39 +0000 (16:37 +0800)]
MDL-51369 backup: Respect capabilities when restoring course info

In short, when a user is creating a new course they can set
the ID number, shortname, fullname and summary. However, when
they merge a backup into a course they need the permissions to do so.

6 years agoMDL-53954 user: Prevent locked profile fields from being edited
Frederic Massart [Thu, 28 Apr 2016 09:59:53 +0000 (17:59 +0800)]
MDL-53954 user: Prevent locked profile fields from being edited

6 years agoMDL-53755 forum: Check session when marking posts
Andrew Nicols [Fri, 8 Apr 2016 01:57:15 +0000 (09:57 +0800)]
MDL-53755 forum: Check session when marking posts

6 years agoMDL-53696 forum: Check discussion in forum
Andrew Nicols [Fri, 8 Apr 2016 01:11:02 +0000 (09:11 +0800)]
MDL-53696 forum: Check discussion in forum

6 years agoMDL-53589 badges: fix capability check
Tim Hunt [Tue, 22 Mar 2016 17:22:18 +0000 (17:22 +0000)]
MDL-53589 badges: fix capability check

6 years agoMDL-53546 SCORM: Set window.opener to null
Dan Marsden [Tue, 29 Mar 2016 21:03:25 +0000 (10:03 +1300)]
MDL-53546 SCORM: Set window.opener to null

6 years agoMDL-53701 core_lib: use date_format_string for utf8
Rajesh Taneja [Thu, 5 May 2016 08:34:27 +0000 (16:34 +0800)]
MDL-53701 core_lib: use date_format_string for utf8

So when language is different say Hebrew then
it would pic codepage-1255. As  is json_encoded
we need to ensure we get utf8 string. so use
date_format_string instead

6 years agoAutomatically generated installer lang files
AMOS bot [Wed, 4 May 2016 16:04:50 +0000 (00:04 +0800)]
Automatically generated installer lang files

6 years agoweekly release 2.9.5+
Dan Poltawski [Tue, 3 May 2016 19:38:05 +0000 (20:38 +0100)]
weekly release 2.9.5+

6 years agoMDL-54008 tests: clarify comment in tz test
Dan Poltawski [Tue, 3 May 2016 08:08:00 +0000 (09:08 +0100)]
MDL-54008 tests: clarify comment in tz test

6 years agoMDL-53402 mod_data: field values of 0 are now displayed.
Adrian Greeve [Tue, 3 May 2016 06:22:16 +0000 (14:22 +0800)]
MDL-53402 mod_data: field values of 0 are now displayed.

6 years agoMDL-54008 tz: Unexisting tz with decimals fallback to rounded down integer
David Monllao [Tue, 3 May 2016 05:59:29 +0000 (13:59 +0800)]
MDL-54008 tz: Unexisting tz with decimals fallback to rounded down integer

6 years agoMDL-53402 mod_data: Added custom validation code for data fields.
Adrian Greeve [Tue, 3 May 2016 04:48:00 +0000 (12:48 +0800)]
MDL-53402 mod_data: Added custom validation code for data fields.

Added custom validation to radiobutton, menu, and checkbox.

6 years agoMDL-54019 core_behat: fixed typo
Mark Nelson [Mon, 2 May 2016 10:09:39 +0000 (18:09 +0800)]
MDL-54019 core_behat: fixed typo

6 years agoMDL-51142 assign: Fix for group assignments with NEW status
Damyon Wiese [Mon, 2 May 2016 08:41:10 +0000 (16:41 +0800)]
MDL-51142 assign: Fix for group assignments with NEW status

6 years agoMDL-51142 mod/assign: Fix erroneous submission status display
Clement Smith [Mon, 15 Feb 2016 13:28:04 +0000 (07:28 -0600)]
MDL-51142 mod/assign: Fix erroneous submission status display

This prevents display of submission time/date when the assignment
submission record is in a new state. It also keeps the display of
overdue assignments identical for those students who have viewed
the assignment yet not submitted, for those students who have
not viewed the assignment, and for those students who have not
viewed the assignment yet the instructor has accessed the grading
page.

6 years agoMDL-53861 behat: o/p buffer is not used in Behat 2.5.x
Rajesh Taneja [Mon, 2 May 2016 07:54:00 +0000 (15:54 +0800)]
MDL-53861 behat: o/p buffer is not used in Behat 2.5.x

Don't need ob_flush() as o/p is not buffered
in behat 2.5.x

6 years agoMDL-53635 message_airnotifier: Remove tags from notifications
Juan Leyva [Mon, 25 Apr 2016 09:32:39 +0000 (11:32 +0200)]
MDL-53635 message_airnotifier: Remove tags from notifications

6 years agoMDL-54008 timezone: Updating references to Caracas tz.
David Monllao [Mon, 2 May 2016 04:37:32 +0000 (12:37 +0800)]
MDL-54008 timezone: Updating references to Caracas tz.

I've removed Caracas direct references because it would fail on
some systems, it would depend on how updated is the olson version
PHP is using.

6 years agoMDL-53402 mod_data: Behat test for entering zero in required fields.
Adrian Greeve [Fri, 1 Apr 2016 05:50:53 +0000 (13:50 +0800)]
MDL-53402 mod_data: Behat test for entering zero in required fields.

6 years agoMDL-53402 mod_data: Required fields can contain 0.
Adrian Greeve [Thu, 31 Mar 2016 07:26:21 +0000 (15:26 +0800)]
MDL-53402 mod_data: Required fields can contain 0.

The number and text field would not accept 0 as a
valid response.

6 years agoMDL-53901 login: Redirect to https if loginhttps is enabled
Damyon Wiese [Mon, 2 May 2016 02:52:02 +0000 (10:52 +0800)]
MDL-53901 login: Redirect to https if loginhttps is enabled

This just prevents a double redirect.

6 years agoAutomatically generated installer lang files
AMOS bot [Sun, 1 May 2016 16:04:37 +0000 (00:04 +0800)]
Automatically generated installer lang files