moodle.git
2 years agoAutomatically generated installer lang files
AMOS bot [Tue, 13 Nov 2018 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoon-demand release 3.6dev+
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 11:53:31 +0000 (12:53 +0100)]
on-demand release 3.6dev+

2 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 11:53:29 +0000 (12:53 +0100)]
NOBUG: Fixed SVG browser compatibility

2 years agoMerge branch 'MDL-63960-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 09:27:35 +0000 (10:27 +0100)]
Merge branch 'MDL-63960-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63960 dataprivacy: Do not perform strict type checks for id
Andrew Nicols [Fri, 9 Nov 2018 23:27:58 +0000 (07:27 +0800)]
MDL-63960 dataprivacy: Do not perform strict type checks for id

When inherit is specified in the data registry it is stored as a
string and we cannot perform a strict comparison with it.

We should still compare strict comparison checks against null, or false,
but not for the NOTSET (0) or INHERIT values (-1).

2 years agoMerge branch 'MDL-63919' of git://github.com/stronk7/moodle
Andrew Nicols [Sat, 10 Nov 2018 02:59:25 +0000 (10:59 +0800)]
Merge branch 'MDL-63919' of git://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-63596-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 02:49:14 +0000 (03:49 +0100)]
Merge branch 'MDL-63596-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63596 backup: Add missing include
Andrew Nicols [Sat, 10 Nov 2018 02:46:38 +0000 (10:46 +0800)]
MDL-63596 backup: Add missing include

2 years agoMDL-63919 tool_dataprivacy: admin & notify fixes
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 01:22:12 +0000 (02:22 +0100)]
MDL-63919 tool_dataprivacy: admin & notify fixes

This includes the following:

1) Replace $ADMIN->id by get_admin()->id. The former doesn't exist.
2) Only change the notify parameter when it has not been specified
   at creation time (null). If specified, observe it.
3) Set the current user in tests to admin, able to create those
   requests.

2 years agoMerge branch 'MDL-63596-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Fri, 9 Nov 2018 18:32:23 +0000 (19:32 +0100)]
Merge branch 'MDL-63596-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63919 tool_dataprivacy: Notify by default
Andrew Nicols [Fri, 9 Nov 2018 10:39:42 +0000 (18:39 +0800)]
MDL-63919 tool_dataprivacy: Notify by default

2 years agoMerge branch 'MDL-63884-master-fix' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Fri, 9 Nov 2018 10:19:02 +0000 (11:19 +0100)]
Merge branch 'MDL-63884-master-fix' of https://github.com/snake/moodle

2 years agoMDL-63884 core_message: fix for get_conversations legacy adapter code
Jake Dallimore [Fri, 9 Nov 2018 09:27:55 +0000 (17:27 +0800)]
MDL-63884 core_message: fix for get_conversations legacy adapter code

This code also tries to adapt other conversation types, but it should
only support individual conversations, where we know members exist.

2 years agoMDL-63884 core_message: fix for groups without images
Jake Dallimore [Fri, 9 Nov 2018 09:27:04 +0000 (17:27 +0800)]
MDL-63884 core_message: fix for groups without images

If we don't have an image for the group, leave this extra field empty.

2 years agoMerge branch 'MDL-62564-master-fix' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Fri, 9 Nov 2018 09:59:04 +0000 (10:59 +0100)]
Merge branch 'MDL-62564-master-fix' of git://github.com/andrewnicols/moodle

2 years agoMDL-63596 backup: Deal with controller types
Damyon Wiese [Fri, 9 Nov 2018 07:22:17 +0000 (15:22 +0800)]
MDL-63596 backup: Deal with controller types

For privacy requests, deal with all 3 controller types.

2 years agoMDL-62564 tool_dataprivacy: Do not delete deleted user
Andrew Nicols [Fri, 9 Nov 2018 09:34:46 +0000 (17:34 +0800)]
MDL-62564 tool_dataprivacy: Do not delete deleted user

This also ensures that we do not call delete_user on an already deleted
user.

2 years agoMDL-63596 core_backup: Add support for removal of context users
Mihail Geshoski [Fri, 9 Nov 2018 08:09:22 +0000 (16:09 +0800)]
MDL-63596 core_backup: Add support for removal of context users

This issue is part of the MDL-62560 Epic.

2 years agoMerge branch 'MDL-63867-master' of git://github.com/mickhawkins/moodle
Jun Pataleta [Fri, 9 Nov 2018 07:31:28 +0000 (15:31 +0800)]
Merge branch 'MDL-63867-master' of git://github.com/mickhawkins/moodle

2 years agoMDL-63867 tool_dataprivacy: Add site purpose checks to tasks
Michael Hawkins [Wed, 7 Nov 2018 14:19:49 +0000 (22:19 +0800)]
MDL-63867 tool_dataprivacy: Add site purpose checks to tasks

If a site purpose is not defined, requests cannot be processed.

2 years agoMDL-63867 tool_dataprivacy: Fix context expired/unprotected user check
Michael Hawkins [Wed, 7 Nov 2018 05:53:52 +0000 (13:53 +0800)]
MDL-63867 tool_dataprivacy: Fix context expired/unprotected user check

It now checks the system context has been defined, since that is
required for data privacy to be set up correctly, and the check
to be valid. This also fixes an error being thrown when checking
pending delete requests in cron.

2 years agoMerge branch 'MDL-63946-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 9 Nov 2018 05:41:44 +0000 (13:41 +0800)]
Merge branch 'MDL-63946-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63946 plagirism: Filename typo fix
Andrew Nicols [Fri, 9 Nov 2018 05:25:33 +0000 (13:25 +0800)]
MDL-63946 plagirism: Filename typo fix

2 years agoMerge branch 'MDL-63830-master' of git://github.com/bmbrands/moodle
Jun Pataleta [Fri, 9 Nov 2018 04:07:05 +0000 (12:07 +0800)]
Merge branch 'MDL-63830-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-63924-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 9 Nov 2018 03:57:38 +0000 (11:57 +0800)]
Merge branch 'MDL-63924-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-63942-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 9 Nov 2018 03:44:02 +0000 (11:44 +0800)]
Merge branch 'MDL-63942-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-63897-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 9 Nov 2018 03:30:28 +0000 (11:30 +0800)]
Merge branch 'MDL-63897-master' of git://github.com/andrewnicols/moodle

2 years agofixup! MDL-63897 dataprivacy: Kill the preprocess stage
Andrew Nicols [Fri, 9 Nov 2018 03:26:21 +0000 (11:26 +0800)]
fixup! MDL-63897 dataprivacy: Kill the preprocess stage

2 years agoMDL-63897 tool_dataprivacy: Send notifications for new requests
Andrew Nicols [Thu, 8 Nov 2018 23:53:08 +0000 (07:53 +0800)]
MDL-63897 tool_dataprivacy: Send notifications for new requests

2 years agoMDL-63897 dataprivacy: Kill the preprocess stage
Andrew Nicols [Wed, 7 Nov 2018 01:37:06 +0000 (09:37 +0800)]
MDL-63897 dataprivacy: Kill the preprocess stage

2 years agoMerge branch 'MDL-62415-master' of git://github.com/peterRd/moodle
Damyon Wiese [Fri, 9 Nov 2018 02:54:35 +0000 (10:54 +0800)]
Merge branch 'MDL-62415-master' of git://github.com/peterRd/moodle

2 years agoMerge branch 'MDL-63919-master' of git://github.com/mihailges/moodle
Andrew Nicols [Fri, 9 Nov 2018 02:51:48 +0000 (10:51 +0800)]
Merge branch 'MDL-63919-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-62589-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 9 Nov 2018 02:36:52 +0000 (10:36 +0800)]
Merge branch 'MDL-62589-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'wip-MDL-63894-master' of https://github.com/kwiliarty/moodle
Damyon Wiese [Fri, 9 Nov 2018 01:48:39 +0000 (09:48 +0800)]
Merge branch 'wip-MDL-63894-master' of https://github.com/kwiliarty/moodle

2 years agoMDL-63942 dataprivacy: Disable deleted user task by default
Andrew Nicols [Fri, 9 Nov 2018 01:29:13 +0000 (09:29 +0800)]
MDL-63942 dataprivacy: Disable deleted user task by default

2 years agoMDL-62415 repo_filepicker: Display search results in tree view
Peter [Tue, 2 Oct 2018 06:00:42 +0000 (14:00 +0800)]
MDL-62415 repo_filepicker: Display search results in tree view

Disable overriding call to list all files in tree view and show search results instead

2 years agoMerge branch 'MDL-63671-master-2' of git://github.com/mihailges/moodle
Damyon Wiese [Fri, 9 Nov 2018 01:12:49 +0000 (09:12 +0800)]
Merge branch 'MDL-63671-master-2' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-63836-master' of git://github.com/damyon/moodle
Jun Pataleta [Thu, 8 Nov 2018 16:21:19 +0000 (00:21 +0800)]
Merge branch 'MDL-63836-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-62564-integration-master-1' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Thu, 8 Nov 2018 15:38:38 +0000 (16:38 +0100)]
Merge branch 'MDL-62564-integration-master-1' of git://github.com/mihailges/moodle

2 years agoMDL-63924 privacy: Add shared user providers to subsytsems
Andrew Nicols [Thu, 8 Nov 2018 07:32:39 +0000 (15:32 +0800)]
MDL-63924 privacy: Add shared user providers to subsytsems

2 years agoMDL-63671 tool_cohortroles: Limit data to the system context in provider
Mihail Geshoski [Thu, 8 Nov 2018 08:06:43 +0000 (16:06 +0800)]
MDL-63671 tool_cohortroles: Limit data to the system context in provider

2 years agoMDL-63924 core_privacy: Add shared_userlist provider
Andrew Nicols [Thu, 8 Nov 2018 07:32:20 +0000 (15:32 +0800)]
MDL-63924 core_privacy: Add shared_userlist provider

2 years agoMDL-63919 privacy: Store the creation method of the data request
Mihail Geshoski [Thu, 8 Nov 2018 06:13:31 +0000 (14:13 +0800)]
MDL-63919 privacy: Store the creation method of the data request

2 years agoMDL-63919 privacy: Disable notifications for auto created data requests
Mihail Geshoski [Thu, 8 Nov 2018 06:08:43 +0000 (14:08 +0800)]
MDL-63919 privacy: Disable notifications for auto created data requests

2 years agoMerge branch 'MDL-63903-master' of https://github.com/snake/moodle
Andrew Nicols [Thu, 8 Nov 2018 06:02:10 +0000 (14:02 +0800)]
Merge branch 'MDL-63903-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-63282_master' of git://github.com/markn86/moodle
Damyon Wiese [Thu, 8 Nov 2018 06:00:00 +0000 (14:00 +0800)]
Merge branch 'MDL-63282_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-63902-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 8 Nov 2018 05:39:05 +0000 (13:39 +0800)]
Merge branch 'MDL-63902-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-63282 core_message: Setting messagingallusers = 1 for behat tests
Amaia Anabitarte [Tue, 6 Nov 2018 17:27:18 +0000 (18:27 +0100)]
MDL-63282 core_message: Setting messagingallusers = 1 for behat tests

Default setting value for new instances is 0
Default setting value for existing instances is 1
to get same search results than before this setting exists

Setting messagingallusers = 1 for behat tests to simulate old versions functionality

Followup: MDL-63911

2 years agoMDL-63282 core_message: New Search API function
Amaia Anabitarte [Tue, 23 Oct 2018 13:06:29 +0000 (15:06 +0200)]
MDL-63282 core_message: New Search API function

2 years agoMDL-63894 themes: adds flex-wrap to boost inline date_time_selector
Kevin Wiliarty [Tue, 6 Nov 2018 21:14:51 +0000 (16:14 -0500)]
MDL-63894 themes: adds flex-wrap to boost inline date_time_selector

2 years agoMDL-62589 dataprivacy: Add ability to resubmit a request
Andrew Nicols [Tue, 6 Nov 2018 23:56:31 +0000 (07:56 +0800)]
MDL-62589 dataprivacy: Add ability to resubmit a request

2 years agoMerge branch 'MDL-63840-master' of https://github.com/lucaboesch/moodle
Jun Pataleta [Thu, 8 Nov 2018 03:32:12 +0000 (11:32 +0800)]
Merge branch 'MDL-63840-master' of https://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-63875' of https://github.com/timhunt/moodle
Damyon Wiese [Thu, 8 Nov 2018 01:41:16 +0000 (09:41 +0800)]
Merge branch 'MDL-63875' of https://github.com/timhunt/moodle

2 years agoMDL-62564 privacy: Create request for deleted users when setting enabled
Mihail Geshoski [Tue, 6 Nov 2018 05:11:34 +0000 (13:11 +0800)]
MDL-62564 privacy: Create request for deleted users when setting enabled

2 years agoMDL-62564 privacy: Improve bulk deletion
Mihail Geshoski [Thu, 8 Nov 2018 01:28:36 +0000 (09:28 +0800)]
MDL-62564 privacy: Improve bulk deletion

2 years agoMDL-63902 dataprivacy: Check course children not the course
Andrew Nicols [Wed, 7 Nov 2018 05:59:22 +0000 (13:59 +0800)]
MDL-63902 dataprivacy: Check course children not the course

When checking the expiry and protected state of a context, we need to do
so knowing what kind of use that context has.

If it is used in the user context, then only the user context matters.
If it is used within a course, then that child context must be checked
in relation to the course.

2 years agoMDL-63836 course: No course header images
Damyon Wiese [Thu, 1 Nov 2018 06:04:27 +0000 (14:04 +0800)]
MDL-63836 course: No course header images

This feature may be added in future, but for now we are not going to include it.

2 years agoMDL-62564 privacy: Add unit tests
Mihail Geshoski [Tue, 6 Nov 2018 03:10:20 +0000 (11:10 +0800)]
MDL-62564 privacy: Add unit tests

2 years agoMDL-63840 theme: block menu cog size.
Luca Bösch [Thu, 1 Nov 2018 18:22:51 +0000 (19:22 +0100)]
MDL-63840 theme: block menu cog size.

2 years agoMDL-62294 lib: Take note of cherry-picked upstream commit
Jun Pataleta [Wed, 12 Sep 2018 07:21:11 +0000 (15:21 +0800)]
MDL-62294 lib: Take note of cherry-picked upstream commit

* Make a note of the applied upstream patch in
  lib/lessphp/moodle_readme.txt which fixes the PHP 7.2 compatibility
  issue when counting ruleset rules.

* Amended on integration to put together all the local modifications.

2 years agoMDL-62294 lessphp: Fix for PHP 7.2 compatibility
Michaël Marinetti [Wed, 12 Sep 2018 07:16:38 +0000 (15:16 +0800)]
MDL-62294 lessphp: Fix for PHP 7.2 compatibility

From upstream commit:
https://github.com/oyejorge/less.php/commit/669acc51817a8da162b5f1b7137e79f0e4acc636

2 years agoMerge branch 'MDL-63888-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 7 Nov 2018 12:03:34 +0000 (13:03 +0100)]
Merge branch 'MDL-63888-master' of git://github.com/jleyva/moodle

2 years agoMerge branch 'MDL-63740-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 7 Nov 2018 11:56:10 +0000 (12:56 +0100)]
Merge branch 'MDL-63740-master' of git://github.com/jleyva/moodle

2 years agoMDL-63740 webservice: Add new dashboard functions to mobile service
Juan Leyva [Tue, 6 Nov 2018 10:30:14 +0000 (11:30 +0100)]
MDL-63740 webservice: Add new dashboard functions to mobile service

- core_course_get_enrolled_courses_by_timeline_classification
- core_course_get_recent_courses
- core_course_set_favourite_courses
- block_starredcourses_get_starred_courses

2 years agoMDL-63888 webservice: Return new global setting "messagingallusers"
Juan Leyva [Tue, 6 Nov 2018 11:08:41 +0000 (12:08 +0100)]
MDL-63888 webservice: Return new global setting "messagingallusers"

2 years agoMDL-62589 dataprivacy: Correct not in sql
Andrew Nicols [Tue, 6 Nov 2018 23:51:27 +0000 (07:51 +0800)]
MDL-62589 dataprivacy: Correct not in sql

2 years agoMDL-63830 block_myoverview: shorten card titles
Bas Brands [Mon, 5 Nov 2018 16:20:18 +0000 (17:20 +0100)]
MDL-63830 block_myoverview: shorten card titles

2 years agoMDL-63830 block_myoverview: menu icon position summary
Bas Brands [Mon, 5 Nov 2018 15:21:33 +0000 (16:21 +0100)]
MDL-63830 block_myoverview: menu icon position summary

2 years agoMDL-63830 block_myoverview: reuse css for dashboard blocks
Bas Brands [Mon, 5 Nov 2018 15:16:18 +0000 (16:16 +0100)]
MDL-63830 block_myoverview: reuse css for dashboard blocks

target block content only
use same html accross blocks
add one-row class for scrolling cards

2 years agoMDL-63830 block_myoverview: rounded images for summary view
Bas Brands [Mon, 5 Nov 2018 15:07:59 +0000 (16:07 +0100)]
MDL-63830 block_myoverview: rounded images for summary view

2 years agoMDL-63830 block_myoverview: text colour course names
Bas Brands [Mon, 5 Nov 2018 15:03:54 +0000 (16:03 +0100)]
MDL-63830 block_myoverview: text colour course names

Using same card HTMl for recently accessed courses

2 years agoMDL-63830 block_myoverview: move course menu button up
Bas Brands [Mon, 5 Nov 2018 14:52:26 +0000 (15:52 +0100)]
MDL-63830 block_myoverview: move course menu button up

2 years agoMDL-63830 block_myoverview: remove margin card title
Bas Brands [Mon, 5 Nov 2018 14:46:33 +0000 (15:46 +0100)]
MDL-63830 block_myoverview: remove margin card title

2 years agoMDL-63903 core_message: fix bug with shim code in index.php
Jake Dallimore [Wed, 7 Nov 2018 10:17:51 +0000 (18:17 +0800)]
MDL-63903 core_message: fix bug with shim code in index.php

On backend render (not via js loading), the following bugs were
introduced:
- Message ordering was wrong
- Message blocktimes were wrong
This patches the above to restore legacy behaviour.

2 years agoMerge branch 'MDL-63883-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 7 Nov 2018 09:48:12 +0000 (10:48 +0100)]
Merge branch 'MDL-63883-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-63675-master' of git://github.com/bmbrands/moodle
David Monllao [Wed, 7 Nov 2018 09:44:57 +0000 (10:44 +0100)]
Merge branch 'MDL-63675-master' of git://github.com/bmbrands/moodle

2 years agoMDL-63830 block_myoverview: star icon updates
Bas Brands [Mon, 5 Nov 2018 14:44:14 +0000 (15:44 +0100)]
MDL-63830 block_myoverview: star icon updates

Change the star icon from being in a button and allow it to be
inline using spans instead of divs.
Add the option to passes css classed to the template.

2 years agoMDL-63830 block_myoverview: card footer styles
Bas Brands [Mon, 5 Nov 2018 14:25:04 +0000 (15:25 +0100)]
MDL-63830 block_myoverview: card footer styles

2 years agoMDL-63830 block_myoverview: progressbar styles boost
Bas Brands [Mon, 5 Nov 2018 14:17:35 +0000 (15:17 +0100)]
MDL-63830 block_myoverview: progressbar styles boost

using bg-white and border
allow collapsing of list view content
removed obsolete styles for old progress circles bootstrapbase

2 years agoMerge branch 'MDL-63898-master' of https://github.com/snake/moodle
Damyon Wiese [Wed, 7 Nov 2018 07:30:52 +0000 (15:30 +0800)]
Merge branch 'MDL-63898-master' of https://github.com/snake/moodle

2 years agoMerge branch 'master_MDL-63800' of https://github.com/danmarsden/moodle
Jun Pataleta [Wed, 7 Nov 2018 07:27:27 +0000 (15:27 +0800)]
Merge branch 'master_MDL-63800' of https://github.com/danmarsden/moodle

2 years agoMerge branch 'MDL-63839_master' of git://github.com/markn86/moodle
Damyon Wiese [Wed, 7 Nov 2018 06:29:02 +0000 (14:29 +0800)]
Merge branch 'MDL-63839_master' of git://github.com/markn86/moodle

2 years agoMDL-63898 core_message: fix for get_conversations message formatting
Jake Dallimore [Wed, 7 Nov 2018 05:58:04 +0000 (13:58 +0800)]
MDL-63898 core_message: fix for get_conversations message formatting

This used to return a text version of the message, but needs to return
the message formatted with message_format_message_text().

2 years agoMerge branch 'MDL-63451' of https://github.com/peterspicer-catalyst/moodle
Damyon Wiese [Wed, 7 Nov 2018 04:05:27 +0000 (12:05 +0800)]
Merge branch 'MDL-63451' of https://github.com/peterspicer-catalyst/moodle

2 years agoMerge branch 'MDL-63884-master' of https://github.com/snake/moodle
Damyon Wiese [Wed, 7 Nov 2018 03:00:41 +0000 (11:00 +0800)]
Merge branch 'MDL-63884-master' of https://github.com/snake/moodle

2 years agoMDL-63708 tool_mobile: Add options for disabling blocks
Juan Leyva [Fri, 19 Oct 2018 09:27:57 +0000 (11:27 +0200)]
MDL-63708 tool_mobile: Add options for disabling blocks

Now that we are supporting the new dashboard and site home blocks on the mobile app,
we need options to allow admin to forbid certain blocks to be displayed on the app.

2 years agoMDL-63183 auth_shibboleth: Don't render page when already logged in
Jun Pataleta [Wed, 24 Oct 2018 04:36:56 +0000 (12:36 +0800)]
MDL-63183 auth_shibboleth: Don't render page when already logged in

2 years agoMDL-63183 auth_shibboleth: Add hidden login token in guest login form
Jun Pataleta [Wed, 24 Oct 2018 02:44:55 +0000 (10:44 +0800)]
MDL-63183 auth_shibboleth: Add hidden login token in guest login form

2 years agoMDL-63183 auth: Login protection
Damyon Wiese [Wed, 29 Aug 2018 01:38:46 +0000 (09:38 +0800)]
MDL-63183 auth: Login protection

CSRF protection for the login form. The authenticate_user_login function was
extended to validate the token (in \core\session\manager) but by default it
does not perform the extra validation. Existing uses of this function from
auth plugins and features like "change password" will continue to work without
changes. New config value $CFG->disablelogintoken can bypass this check.

2 years agoMerge branch 'm36_MDL-63789_Search_SOLR_Fixes_Proxy_Auth' of https://github.com/scara...
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 23:08:12 +0000 (00:08 +0100)]
Merge branch 'm36_MDL-63789_Search_SOLR_Fixes_Proxy_Auth' of https://github.com/scara/moodle

2 years agoon-demand release 3.6dev+
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 18:06:54 +0000 (19:06 +0100)]
on-demand release 3.6dev+

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 18:06:52 +0000 (19:06 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-58454-master-fix' of git://github.com/junpataleta/moodle
Damyon Wiese [Tue, 6 Nov 2018 08:45:48 +0000 (16:45 +0800)]
Merge branch 'MDL-58454-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-58454 badges: Use correct function for fetching badge issuer
Jun Pataleta [Tue, 6 Nov 2018 08:31:27 +0000 (16:31 +0800)]
MDL-58454 badges: Use correct function for fetching badge issuer

2 years agoMerge branch 'MDL-63711-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Tue, 6 Nov 2018 06:20:24 +0000 (14:20 +0800)]
Merge branch 'MDL-63711-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-58454 core: Fix savepoint in upgrade.php
Jun Pataleta [Tue, 6 Nov 2018 03:57:09 +0000 (11:57 +0800)]
MDL-58454 core: Fix savepoint in upgrade.php

2 years agoMDL-63711 core_grade: Use canonicalize for checking userlist IDs
Jun Pataleta [Tue, 6 Nov 2018 06:15:04 +0000 (14:15 +0800)]
MDL-63711 core_grade: Use canonicalize for checking userlist IDs

2 years agoMerge branch 'MDL-58454-master' of git://github.com/junpataleta/moodle
David Monllao [Tue, 6 Nov 2018 14:48:23 +0000 (15:48 +0100)]
Merge branch 'MDL-58454-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-63297' of https://github.com/timhunt/moodle
Damyon Wiese [Tue, 6 Nov 2018 03:39:09 +0000 (11:39 +0800)]
Merge branch 'MDL-63297' of https://github.com/timhunt/moodle

2 years agoMDL-63884 core_message: add imageurl support for linked conversations
Jake Dallimore [Tue, 6 Nov 2018 07:00:35 +0000 (15:00 +0800)]
MDL-63884 core_message: add imageurl support for linked conversations

This is an extra field specific to linked conversations, so the helper
method has been extended to encompass this alongside the subname field.