moodle.git
9 years agoMoodle release 2.8.12 MOODLE_28_STABLE v2.8.12
Eloy Lafuente (stronk7) [Sat, 7 May 2016 22:23:44 +0000 (00:23 +0200)]
Moodle release 2.8.12

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Eloy Lafuente (stronk7) [Sat, 7 May 2016 22:23:39 +0000 (00:23 +0200)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 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

9 years agoMDL-53589 badges: Correct context
Andrew Nicols [Wed, 4 May 2016 09:05:42 +0000 (17:05 +0800)]
MDL-53589 badges: Correct context

9 years agoMDL-54018 timezones: Updated to 2016d
Eloy Lafuente (stronk7) [Mon, 2 May 2016 10:40:14 +0000 (12:40 +0200)]
MDL-54018 timezones: Updated to 2016d

9 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

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

9 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

9 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

9 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

9 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

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

9 years agoMDL-54008 tz: Avoid using Caracas tz
David Monllao [Mon, 2 May 2016 08:37:29 +0000 (16:37 +0800)]
MDL-54008 tz: Avoid using Caracas tz

Changed in May 2016.

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

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

9 years agoweekly release 2.8.11+
Dan Poltawski [Fri, 29 Apr 2016 14:38:05 +0000 (15:38 +0100)]
weekly release 2.8.11+

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Dan Poltawski [Fri, 29 Apr 2016 14:38:03 +0000 (15:38 +0100)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 years agoMDL-53928 environment: add xmlreader requirement for 3.1
Eloy Lafuente (stronk7) [Sat, 23 Apr 2016 23:34:38 +0000 (01:34 +0200)]
MDL-53928 environment: add xmlreader requirement for 3.1

9 years agoAutomatically generated installer lang files
AMOS bot [Tue, 12 Apr 2016 16:04:44 +0000 (00:04 +0800)]
Automatically generated installer lang files

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

9 years agoAutomatically generated installer lang files
AMOS bot [Thu, 31 Mar 2016 16:05:19 +0000 (00:05 +0800)]
Automatically generated installer lang files

9 years agoweekly release 2.8.11+
Dan Poltawski [Thu, 31 Mar 2016 06:06:48 +0000 (14:06 +0800)]
weekly release 2.8.11+

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Dan Poltawski [Thu, 31 Mar 2016 06:06:45 +0000 (14:06 +0800)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 years agoAutomatically generated installer lang files
AMOS bot [Tue, 29 Mar 2016 16:04:45 +0000 (00:04 +0800)]
Automatically generated installer lang files

9 years agoAutomatically generated installer lang files
AMOS bot [Mon, 28 Mar 2016 16:04:45 +0000 (00:04 +0800)]
Automatically generated installer lang files

9 years agoAutomatically generated installer lang files
AMOS bot [Thu, 24 Mar 2016 16:05:00 +0000 (00:05 +0800)]
Automatically generated installer lang files

9 years agoMDL-53585 timezones: Updated to 2016b
Eloy Lafuente (stronk7) [Wed, 23 Mar 2016 12:20:59 +0000 (13:20 +0100)]
MDL-53585 timezones: Updated to 2016b

9 years agoMoodle release 2.8.11 v2.8.11
Eloy Lafuente (stronk7) [Fri, 11 Mar 2016 23:37:54 +0000 (00:37 +0100)]
Moodle release 2.8.11

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Eloy Lafuente (stronk7) [Fri, 11 Mar 2016 23:37:50 +0000 (00:37 +0100)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 years agoMDL-51167 tool_monitor: fix too strict condition
Eloy Lafuente (stronk7) [Wed, 9 Mar 2016 23:14:11 +0000 (00:14 +0100)]
MDL-51167 tool_monitor: fix too strict condition

9 years agoMDL-50705 auth_db: apply standard cleaning to all fields
Simey Lameze [Mon, 18 Jan 2016 02:00:56 +0000 (10:00 +0800)]
MDL-50705 auth_db: apply standard cleaning to all fields

    Also unit tests were added to cover the new clean_data() method.

9 years agoMDL-50705 core_user: introduce new fill_properties_cache()
Simey Lameze [Mon, 18 Jan 2016 02:01:54 +0000 (10:01 +0800)]
MDL-50705 core_user: introduce new fill_properties_cache()

    Also the get_property_definition() was created to get the property without retrieve the whole definition cache and
    unit tests were created to tests those new methods.

9 years agoMDL-53031 mod_assign: add session check on assignment plugins management
Simey Lameze [Tue, 8 Mar 2016 08:06:16 +0000 (16:06 +0800)]
MDL-53031 mod_assign: add session check on assignment plugins management

9 years agoMDL-52433 user: Remove unnecessary capability check
Jun Pataleta [Mon, 11 Jan 2016 03:05:51 +0000 (11:05 +0800)]
MDL-52433 user: Remove unnecessary capability check

9 years agoMDL-51167 tool_monitor: check course visibility and user
Simey Lameze [Tue, 1 Mar 2016 07:19:05 +0000 (15:19 +0800)]
MDL-51167 tool_monitor: check course visibility and user

9 years agoMDL-52651 htmlpurifier: Append rel=noreferrer to links.
Cameron Ball [Thu, 11 Feb 2016 03:25:53 +0000 (11:25 +0800)]
MDL-52651 htmlpurifier: Append rel=noreferrer to links.

Thank you to Zachary Durber for originally working on this issue.

9 years agoMDL-52774 ajax: Require authentication when getting nav branch
Krista Koivisto [Thu, 4 Feb 2016 05:51:06 +0000 (13:51 +0800)]
MDL-52774 ajax: Require authentication when getting nav branch

When getting the navigation branch data through AJAX, require
login if forcelogin is set.

9 years agoMDL-52901 mod_assign: Check due dates in external save_submission
Juan Leyva [Wed, 27 Jan 2016 10:10:24 +0000 (11:10 +0100)]
MDL-52901 mod_assign: Check due dates in external save_submission

9 years agoMDL-52378 singleview: Using is_disabled instead of is_locked
David Monllao [Thu, 4 Feb 2016 08:17:40 +0000 (16:17 +0800)]
MDL-52378 singleview: Using is_disabled instead of is_locked

9 years agoMDL-52378 Singleview: Exclude Grade Attribute Permissions
Travis Noll [Wed, 2 Dec 2015 19:54:54 +0000 (13:54 -0600)]
MDL-52378 Singleview: Exclude Grade Attribute Permissions

Singleview users must have Manage Grade permission to modify the
Exclude grade attribute.

9 years agoMDL-52808 calendar: Do not return events for hidden activities
Juan Leyva [Mon, 18 Jan 2016 14:06:36 +0000 (15:06 +0100)]
MDL-52808 calendar: Do not return events for hidden activities

9 years agoMDL-52727 mod_data: Improve output of the form fields values
David Mudrák [Mon, 18 Jan 2016 13:26:31 +0000 (14:26 +0100)]
MDL-52727 mod_data: Improve output of the form fields values

This issue mostly affects the search form fields. Submitted values for
these fields are typically obtained via optional_param() with
PARAM_NOTAGS specified as the parameter type - see parse_search_field()
methods. Such values themselves are not safe enough to be printed back
directly into the HTML as they might contain malicious code.

While working on the patch, some other places with weak protection were
detected and fixed.

In case of the itemid parameters, the s() seems to be unnecessary but it
was added anyway as an extra protection (just in case the code flow
changes or the parts of the code are re-used elsewhere).

9 years agoAutomatically generated installer lang files
AMOS bot [Thu, 3 Mar 2016 14:24:34 +0000 (22:24 +0800)]
Automatically generated installer lang files

9 years agoAutomatically generated installer lang files
AMOS bot [Thu, 3 Mar 2016 14:24:33 +0000 (22:24 +0800)]
Automatically generated installer lang files

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

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

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

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

9 years agoweekly release 2.8.10+
Dan Poltawski [Mon, 22 Feb 2016 09:10:51 +0000 (09:10 +0000)]
weekly release 2.8.10+

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Dan Poltawski [Mon, 22 Feb 2016 09:10:48 +0000 (09:10 +0000)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

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

9 years agoMDL-51580 environment: 3.1 requirements added
Eloy Lafuente (stronk7) [Sat, 6 Feb 2016 11:12:35 +0000 (12:12 +0100)]
MDL-51580 environment: 3.1 requirements added

Only important change is that Moodle 2.7 installed is
required to be able to upgrade to 3.1. See the issue
for opinions, votes and agreed outcomes.

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

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

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

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

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

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

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

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

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

9 years agoMoodle release 2.8.10 v2.8.10
Eloy Lafuente (stronk7) [Fri, 8 Jan 2016 23:49:45 +0000 (00:49 +0100)]
Moodle release 2.8.10

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Eloy Lafuente (stronk7) [Fri, 8 Jan 2016 23:49:41 +0000 (00:49 +0100)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

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

9 years agoMDL-52072 enrol: Fix course visibility checks in external functions
Juan Leyva [Mon, 16 Nov 2015 15:01:53 +0000 (16:01 +0100)]
MDL-52072 enrol: Fix course visibility checks in external functions

9 years agoMDL-52552 course management: insufficient cleaning of search output
Dan Poltawski [Fri, 18 Dec 2015 11:34:13 +0000 (11:34 +0000)]
MDL-52552 course management: insufficient cleaning of search output

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

9 years agoAutomatically generated installer lang files
AMOS bot [Thu, 24 Dec 2015 16:04:31 +0000 (00:04 +0800)]
Automatically generated installer lang files

9 years agoAutomatically generated installer lang files
AMOS bot [Sat, 19 Dec 2015 16:05:42 +0000 (00:05 +0800)]
Automatically generated installer lang files

9 years agoweekly release 2.8.9+
Dan Poltawski [Fri, 18 Dec 2015 12:27:29 +0000 (12:27 +0000)]
weekly release 2.8.9+

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Dan Poltawski [Fri, 18 Dec 2015 12:27:27 +0000 (12:27 +0000)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 years agoMDL-52438 core: allow Moodle 3.0 to be used with PHP7
Marina Glancy [Tue, 8 Dec 2015 04:54:32 +0000 (12:54 +0800)]
MDL-52438 core: allow Moodle 3.0 to be used with PHP7

9 years agoAutomatically generated installer lang files
AMOS bot [Fri, 4 Dec 2015 16:04:59 +0000 (00:04 +0800)]
Automatically generated installer lang files

9 years agoweekly release 2.8.9+
Eloy Lafuente (stronk7) [Thu, 3 Dec 2015 18:41:02 +0000 (19:41 +0100)]
weekly release 2.8.9+

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Eloy Lafuente (stronk7) [Thu, 3 Dec 2015 18:40:54 +0000 (19:40 +0100)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 years agoAutomatically generated installer lang files
AMOS bot [Thu, 3 Dec 2015 16:04:59 +0000 (00:04 +0800)]
Automatically generated installer lang files

9 years agoAutomatically generated installer lang files
AMOS bot [Fri, 27 Nov 2015 16:05:17 +0000 (00:05 +0800)]
Automatically generated installer lang files

9 years agoMDL-52260 user: Fix error when saving profile with locked field
John Okely [Tue, 24 Nov 2015 04:25:21 +0000 (12:25 +0800)]
MDL-52260 user: Fix error when saving profile with locked field

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

9 years agoweekly release 2.8.9+
Dan Poltawski [Thu, 19 Nov 2015 09:20:36 +0000 (09:20 +0000)]
weekly release 2.8.9+

9 years agoMerge branch 'wip-MDL-52194-m28' of https://github.com/marinaglancy/moodle into MOODL...
Dan Poltawski [Thu, 19 Nov 2015 06:49:55 +0000 (06:49 +0000)]
Merge branch 'wip-MDL-52194-m28' of https://github.com/marinaglancy/moodle into MOODLE_28_STABLE

9 years agoMDL-52194 flowplayer: do not check request
Marina Glancy [Wed, 18 Nov 2015 07:26:18 +0000 (15:26 +0800)]
MDL-52194 flowplayer: do not check request

$_REQUEST variable may contain cookies in some php configurations. See also MDL-48085

9 years agoweekly release 2.8.9+
David Monllao [Fri, 13 Nov 2015 07:27:46 +0000 (15:27 +0800)]
weekly release 2.8.9+

9 years agoMerge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
David Monllao [Fri, 13 Nov 2015 07:27:44 +0000 (15:27 +0800)]
Merge branch 'install_28_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_28_STABLE

9 years agoMerge branch 'MDL-51495-m28' of https://github.com/NeillM/moodle into MOODLE_28_STABLE
Eloy Lafuente (stronk7) [Wed, 11 Nov 2015 15:58:40 +0000 (16:58 +0100)]
Merge branch 'MDL-51495-m28' of https://github.com/NeillM/moodle into MOODLE_28_STABLE

9 years agoMerge branch 'MDL-51913_statistics_dup_1st_column_MDL28' of git://github.com/barryssp...
David Monllao [Wed, 11 Nov 2015 04:39:22 +0000 (12:39 +0800)]
Merge branch 'MDL-51913_statistics_dup_1st_column_MDL28' of git://github.com/barrysspace/moodle into MOODLE_28_STABLE

9 years agoMerge branch 'MDL-51935-28' of git://github.com/dpalou/moodle into MOODLE_28_STABLE
David Monllao [Wed, 11 Nov 2015 02:01:54 +0000 (10:01 +0800)]
Merge branch 'MDL-51935-28' of git://github.com/dpalou/moodle into MOODLE_28_STABLE

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

9 years agoMerge branch 'wip-mdl-52066-m28' of https://github.com/rajeshtaneja/moodle into MOODL...
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 22:37:14 +0000 (23:37 +0100)]
Merge branch 'wip-mdl-52066-m28' of https://github.com/rajeshtaneja/moodle into MOODLE_28_STABLE

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

9 years agoMerge branch 'MDL-50781-28' of git://github.com/danpoltawski/moodle into MOODLE_28_STABLE
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 19:14:49 +0000 (20:14 +0100)]
Merge branch 'MDL-50781-28' of git://github.com/danpoltawski/moodle into MOODLE_28_STABLE

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

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

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

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

9 years agoweekly release 2.8.9+
Eloy Lafuente (stronk7) [Tue, 10 Nov 2015 09:49:58 +0000 (10:49 +0100)]
weekly release 2.8.9+

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

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

9 years agoMerge branch 'MDL-52063-28' of git://github.com/xow/moodle into MOODLE_28_STABLE
Dan Poltawski [Tue, 10 Nov 2015 09:21:33 +0000 (09:21 +0000)]
Merge branch 'MDL-52063-28' of git://github.com/xow/moodle into MOODLE_28_STABLE

9 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