moodle.git
6 months agoMDL-71200 mod_folder: ensure "Download folder" option is backed up.
Paul Holden [Fri, 26 Mar 2021 11:03:26 +0000 (11:03 +0000)]
MDL-71200 mod_folder: ensure "Download folder" option is backed up.

6 months agoweekly release 4.0dev
Sara Arjona [Tue, 20 Apr 2021 13:51:10 +0000 (15:51 +0200)]
weekly release 4.0dev

6 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Tue, 20 Apr 2021 13:51:07 +0000 (15:51 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 months agoMerge branch 'MDL-71364' of https://github.com/stronk7/moodle
Jun Pataleta [Tue, 20 Apr 2021 01:24:52 +0000 (09:24 +0800)]
Merge branch 'MDL-71364' of https://github.com/stronk7/moodle

6 months agoAutomatically generated installer lang files
AMOS bot [Tue, 20 Apr 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMerge branch 'MDL-71087-master' of https://github.com/NashTechOpenUniversity/moodle
Víctor Déniz [Mon, 19 Apr 2021 22:44:06 +0000 (23:44 +0100)]
Merge branch 'MDL-71087-master' of https://github.com/NashTechOpenUniversity/moodle

6 months agoMerge branch 'MDL-69256-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 19 Apr 2021 22:04:48 +0000 (00:04 +0200)]
Merge branch 'MDL-69256-master' of git://github.com/andrewnicols/moodle

6 months agoMerge branch 'master_fix_gradeimport_csv' of https://github.com/intrajp/moodle
Víctor Déniz [Mon, 19 Apr 2021 21:47:32 +0000 (22:47 +0100)]
Merge branch 'master_fix_gradeimport_csv' of https://github.com/intrajp/moodle

6 months agoMerge branch 'MDL-71118-master' of git://github.com/lucaboesch/moodle
Víctor Déniz [Mon, 19 Apr 2021 18:43:32 +0000 (19:43 +0100)]
Merge branch 'MDL-71118-master' of git://github.com/lucaboesch/moodle

6 months agoMerge branch 'MDL-71181-master' of https://github.com/ettolrah/moodle
Eloy Lafuente (stronk7) [Mon, 19 Apr 2021 16:58:14 +0000 (18:58 +0200)]
Merge branch 'MDL-71181-master' of https://github.com/ettolrah/moodle

6 months agoMerge branch 'master-MDL-71190-backup-lastaccess' of https://github.com/ScottVerbeek...
Eloy Lafuente (stronk7) [Mon, 19 Apr 2021 16:52:18 +0000 (18:52 +0200)]
Merge branch 'master-MDL-71190-backup-lastaccess' of https://github.com/ScottVerbeek/moodle

6 months agoMerge branch 'MDL-71262' of https://github.com/mkassaei/moodle
Sara Arjona [Mon, 19 Apr 2021 15:44:03 +0000 (17:44 +0200)]
Merge branch 'MDL-71262' of https://github.com/mkassaei/moodle

6 months agoMDL-71225 questions: Remove duplicated empty line
Sara Arjona [Mon, 19 Apr 2021 15:27:20 +0000 (17:27 +0200)]
MDL-71225 questions: Remove duplicated empty line

6 months agoMerge branch 'MDL-71225' of https://github.com/mkassaei/moodle
Sara Arjona [Mon, 19 Apr 2021 15:18:33 +0000 (17:18 +0200)]
Merge branch 'MDL-71225' of https://github.com/mkassaei/moodle

6 months agoMerge branch 'MDL-67882-message-config-log' of https://github.com/brendanheywood...
Sara Arjona [Mon, 19 Apr 2021 14:22:48 +0000 (16:22 +0200)]
Merge branch 'MDL-67882-message-config-log' of https://github.com/brendanheywood/moodle

6 months agoMerge branch 'MDL-71367' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 19 Apr 2021 09:12:49 +0000 (11:12 +0200)]
Merge branch 'MDL-71367' of https://github.com/stronk7/moodle

6 months agoMerge branch 'MDL-71365' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 19 Apr 2021 08:18:25 +0000 (10:18 +0200)]
Merge branch 'MDL-71365' of https://github.com/stronk7/moodle

6 months agoMerge branch 'MDL-66475' of git://github.com/paulholden/moodle
Sara Arjona [Mon, 19 Apr 2021 07:49:09 +0000 (09:49 +0200)]
Merge branch 'MDL-66475' of git://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-65553-master' of git://github.com/aanabit/moodle
Sara Arjona [Mon, 19 Apr 2021 06:53:33 +0000 (08:53 +0200)]
Merge branch 'MDL-65553-master' of git://github.com/aanabit/moodle

6 months agoMerge branch 'MDL-71324-master' of git://github.com/lucaboesch/moodle
Jun Pataleta [Mon, 19 Apr 2021 04:31:18 +0000 (12:31 +0800)]
Merge branch 'MDL-71324-master' of git://github.com/lucaboesch/moodle

6 months agoMDL-71190 backup: Include users last access to course
ScottVerbeek [Thu, 25 Mar 2021 05:44:08 +0000 (15:44 +1000)]
MDL-71190 backup: Include users last access to course

Backup the table user_lastaccess which holds data for when a user last accessed a course.
And also restore to the table user_lastaccess from the .xml file created in the backup.

6 months agoMerge branch 'MDL_71012_master' of https://github.com/jessansell/moodle
Andrew Nicols [Mon, 19 Apr 2021 00:47:50 +0000 (08:47 +0800)]
Merge branch 'MDL_71012_master' of https://github.com/jessansell/moodle

6 months agoMDL-71367 unit tests: Add missing ->destroy() call to test backups
Eloy Lafuente (stronk7) [Sun, 18 Apr 2021 21:43:13 +0000 (23:43 +0200)]
MDL-71367 unit tests: Add missing ->destroy() call to test backups

As part of the tests preparations, some backups are created, but
the tests aren't calling to their ->destroy() method at the end.

The destroy() method is needed to go cleaning and unsetting various
objects that, only then, will free resources, like memory, open files...

This isn't critical under Unix OSs... but Windows is really sensible
and keeps all open files locked, so any write operation on them fails.

6 months agoMerge branch 'MDL-71031' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Sun, 18 Apr 2021 15:08:43 +0000 (17:08 +0200)]
Merge branch 'MDL-71031' of https://github.com/stronk7/moodle

6 months agoMDL-71031 external: Minor tweaks towards coding style and external rules
Eloy Lafuente (stronk7) [Thu, 15 Apr 2021 22:13:54 +0000 (00:13 +0200)]
MDL-71031 external: Minor tweaks towards coding style and external rules

- Some small namespace/use/MOODLE_INTERNAL/requires reorganization.
- Move file phpdocs to class phpdocs.
- Move external method names to be new "execute" default ones.
- Move unit tests to matching core_grades\external namespace.
- Add missing clean_returnvalue() calls.

6 months agoMDL-71031 webservices: Extended gradecategory creation API
Peter Burnett [Fri, 5 Mar 2021 04:54:31 +0000 (14:54 +1000)]
MDL-71031 webservices: Extended gradecategory creation API

This adds a new webservice that creates gradecategories as a batch,
and deprecates the old single creation call, which is superseded.
It also patches a few small issues in the single WS, for any integrations
currently relying on that webservice.

6 months agoAutomatically generated installer lang files
AMOS bot [Sun, 18 Apr 2021 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMDL-71365 grunt: fix boost ignores order and missing LF @ EOF
Eloy Lafuente (stronk7) [Sat, 17 Apr 2021 22:10:46 +0000 (00:10 +0200)]
MDL-71365 grunt: fix boost ignores order and missing LF @ EOF

6 months agoMDL-71364 behat: fix randomness causes by "now" advancing
Eloy Lafuente (stronk7) [Fri, 16 Apr 2021 22:45:55 +0000 (00:45 +0200)]
MDL-71364 behat: fix randomness causes by "now" advancing

Some recent tests do set a date time element
to ##now## or tomorrow and, immediately after that
the look if, effectively, ##now## and #tomorrow#
have been set (with minutes resolution).

Problem is that, between the field is set and the field
is verified, it can happen that the time advances to
next minute (from H:M:59 to H:M+1:00) and then the
assertion fails.

To avoid this, we could have lowered the resolution to be
hours... but that doesn't solve the problem just makes it
to happen less often.

So, instead of that... we are setting the 2 now and tomorrow
cases to be "today noon" and "tomorrow noon" (12:00:00) so
we ensure they won't be ever in the risk of jumping of minute.

6 months agoMDL-71324 course: Render hasinfo class only if necessary.
Luca Bösch [Tue, 13 Apr 2021 23:39:21 +0000 (01:39 +0200)]
MDL-71324 course: Render hasinfo class only if necessary.

6 months agoMDL-71118 core: Add grade (verb) string.
Luca Bösch [Tue, 16 Mar 2021 11:03:39 +0000 (12:03 +0100)]
MDL-71118 core: Add grade (verb) string.

AMOS BEGIN
 CPY [grade,core],[gradenoun,core]
 CPY [grade,core],[gradeverb,core]
AMOS END

6 months agoMDL-71118 gradereport_user: Display Grades (plural) in profile page.
Luca Bösch [Tue, 16 Mar 2021 12:11:07 +0000 (13:11 +0100)]
MDL-71118 gradereport_user: Display Grades (plural) in profile page.

6 months agoMerge branch 'MDL-70099' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Sat, 17 Apr 2021 07:40:19 +0000 (09:40 +0200)]
Merge branch 'MDL-70099' of git://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-71334-master' of git://github.com/mickhawkins/moodle
Eloy Lafuente (stronk7) [Fri, 16 Apr 2021 17:59:37 +0000 (19:59 +0200)]
Merge branch 'MDL-71334-master' of git://github.com/mickhawkins/moodle

6 months agoweekly release 4.0dev
Sara Arjona [Fri, 16 Apr 2021 15:03:25 +0000 (17:03 +0200)]
weekly release 4.0dev

6 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 16 Apr 2021 15:03:22 +0000 (17:03 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 months agoMerge branch 'MDL-69331-fix' of github.com:sarjona/moodle
Eloy Lafuente (stronk7) [Fri, 16 Apr 2021 11:04:51 +0000 (13:04 +0200)]
Merge branch 'MDL-69331-fix' of github.com:sarjona/moodle

6 months agoMDL-69331 core_h5p: fix behat errors
Sara Arjona [Fri, 16 Apr 2021 08:52:13 +0000 (10:52 +0200)]
MDL-69331 core_h5p: fix behat errors

6 months agoMerge branch 'master_MDL-71233' of https://github.com/golenkovm/moodle
Andrew Nicols [Fri, 16 Apr 2021 04:08:29 +0000 (12:08 +0800)]
Merge branch 'master_MDL-71233' of https://github.com/golenkovm/moodle

6 months agoMerge branch 'MDL-48594-master' of https://github.com/nguyenphuctien/moodle
Jun Pataleta [Fri, 16 Apr 2021 04:02:13 +0000 (12:02 +0800)]
Merge branch 'MDL-48594-master' of https://github.com/nguyenphuctien/moodle

6 months agoMerge branch 'MDL-60490-missing_close_div' of https://github.com/leonstr/moodle
Andrew Nicols [Fri, 16 Apr 2021 03:53:15 +0000 (11:53 +0800)]
Merge branch 'MDL-60490-missing_close_div' of https://github.com/leonstr/moodle

6 months agoMerge branch 'MDL-69415-master' of git://github.com/sarjona/moodle
Andrew Nicols [Fri, 16 Apr 2021 03:25:55 +0000 (11:25 +0800)]
Merge branch 'MDL-69415-master' of git://github.com/sarjona/moodle

6 months agoMerge branch 'master' of git://github.com/paulphillip5/moodle
Jake Dallimore [Fri, 16 Apr 2021 02:16:16 +0000 (10:16 +0800)]
Merge branch 'master' of git://github.com/paulphillip5/moodle

6 months agoMerge branch 'MDL-71342-master-2' of git://github.com/junpataleta/moodle
Jake Dallimore [Fri, 16 Apr 2021 01:19:57 +0000 (09:19 +0800)]
Merge branch 'MDL-71342-master-2' of git://github.com/junpataleta/moodle

6 months agoMerge branch 'master_MDL-71254' of https://github.com/golenkovm/moodle
Andrew Nicols [Fri, 16 Apr 2021 00:18:39 +0000 (08:18 +0800)]
Merge branch 'master_MDL-71254' of https://github.com/golenkovm/moodle

6 months agoMerge branch 'MDL-71186-master' of https://github.com/clransom/moodle
Andrew Nicols [Thu, 15 Apr 2021 23:52:35 +0000 (07:52 +0800)]
Merge branch 'MDL-71186-master' of https://github.com/clransom/moodle

6 months agoMerge branch 'MDL-69331-master' of git://github.com/sarjona/moodle
Víctor Déniz [Thu, 15 Apr 2021 14:15:38 +0000 (15:15 +0100)]
Merge branch 'MDL-69331-master' of git://github.com/sarjona/moodle

6 months agoMerge branch 'MDL-70269' of https://github.com/timhunt/moodle
Sara Arjona [Thu, 15 Apr 2021 13:36:31 +0000 (15:36 +0200)]
Merge branch 'MDL-70269' of https://github.com/timhunt/moodle

6 months agoMDL-71334 mod_lti: Fix manual activity completion behat test
Michael Hawkins [Fri, 16 Apr 2021 06:09:55 +0000 (14:09 +0800)]
MDL-71334 mod_lti: Fix manual activity completion behat test

6 months agoMDL-48594 Report: More filtering options on Activity Completion Report
Tien Nguyen [Fri, 2 Apr 2021 05:06:18 +0000 (12:06 +0700)]
MDL-48594 Report: More filtering options on Activity Completion Report

6 months agoMDL-71342 mod: Conditionally display activity info
Jun Pataleta [Thu, 15 Apr 2021 15:10:03 +0000 (23:10 +0800)]
MDL-71342 mod: Conditionally display activity info

* The activity information output component is still being displayed
even in the case when the activity does not have dates to show and
completion tracking is not enabled.
This also causes a horizontal line to be rendered in activity view pages
below the activity heading which does not serve much purpose when
there's no activity information to be shown.
The activity information output component should only be displayed
if there's completion information to show or if there are activty dates
to show. Otherwise, there's no need to render it.

6 months agoMDL-65553 core_analytics: Don't allow to flag predictions several times
Amaia Anabitarte [Tue, 16 Feb 2021 12:17:51 +0000 (13:17 +0100)]
MDL-65553 core_analytics: Don't allow to flag predictions several times

Even if a prediction is hidden from the report once is flagged,
it can be flagged several times if the user visits detailed view via URL.
We remove the checkbox to select a prediction and flag it
once it has already been flagged.

6 months agoMDL-71186 core_user: show custom user fields in group management screens
Katie Ransom [Mon, 29 Mar 2021 08:38:50 +0000 (09:38 +0100)]
MDL-71186 core_user: show custom user fields in group management screens

6 months agoMerge branch 'MDL-71090' of git://github.com/paulholden/moodle
Sara Arjona [Thu, 15 Apr 2021 09:56:40 +0000 (11:56 +0200)]
Merge branch 'MDL-71090' of git://github.com/paulholden/moodle

6 months agoMDL-69331 core_h5p: Add missing @core_h5p tag
Sara Arjona [Mon, 1 Mar 2021 10:41:26 +0000 (11:41 +0100)]
MDL-69331 core_h5p: Add missing @core_h5p tag

6 months agoMDL-69331 core_h5p: Add missing library files to behat tests
Sara Arjona [Mon, 1 Mar 2021 10:48:55 +0000 (11:48 +0100)]
MDL-69331 core_h5p: Add missing library files to behat tests

Some of the pre-existing behat tests were creating content into the
content bank using the generator but the H5P content-type libraries
weren't uploaded.
Since MDL-69331, libraries need to be deployed previously (so fake
H5P content-type won't be displayed if these libraries don't exist).

6 months agoMDL-69331 core_contentbank: Hide disabled H5P content-types
Sara Arjona [Thu, 25 Feb 2021 16:21:32 +0000 (17:21 +0100)]
MDL-69331 core_contentbank: Hide disabled H5P content-types

If a H5P content-type is disabled:
- The content bank won't display existing contents having it as a
main library.
- The content bank won't allow to create new contents using it.

6 months agoMDL-69331 core_h5p: Only upgrade enabled libraries
Sara Arjona [Thu, 25 Feb 2021 15:21:51 +0000 (16:21 +0100)]
MDL-69331 core_h5p: Only upgrade enabled libraries

The core\task\h5p_get_content_types_task task will only download
content-type for enabled libraries.

6 months agoMDL-69331 core_h5p: Display error when main library is disabled
Sara Arjona [Thu, 25 Feb 2021 14:02:23 +0000 (15:02 +0100)]
MDL-69331 core_h5p: Display error when main library is disabled

H5P contents with the main library disabled won't be deployed; a
message error will be displayed instead of.

6 months agoMDL-69331 core_h5p: Add enabled field to libraries
Sara Arjona [Wed, 24 Feb 2021 15:11:12 +0000 (16:11 +0100)]
MDL-69331 core_h5p: Add enabled field to libraries

The "enabled" field has been added to the H5P libraries to let
admins decide whether a library should be used or not in the site.

6 months agoMerge branch 'MDL-71338' of git://github.com/paulholden/moodle
Jake Dallimore [Thu, 15 Apr 2021 06:42:10 +0000 (14:42 +0800)]
Merge branch 'MDL-71338' of git://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-71337-master' of git://github.com/junpataleta/moodle
Sara Arjona [Thu, 15 Apr 2021 06:30:08 +0000 (08:30 +0200)]
Merge branch 'MDL-71337-master' of git://github.com/junpataleta/moodle

6 months agoMerge branch 'MDL-61768-master-3' of git://github.com/mihailges/moodle
Jake Dallimore [Thu, 15 Apr 2021 06:16:04 +0000 (14:16 +0800)]
Merge branch 'MDL-61768-master-3' of git://github.com/mihailges/moodle

6 months agoMerge branch 'MDL-71007-courseidnumer-grade-ws' of https://github.com/brendanheywood...
abgreeve [Thu, 15 Apr 2021 05:48:39 +0000 (13:48 +0800)]
Merge branch 'MDL-71007-courseidnumer-grade-ws' of https://github.com/brendanheywood/moodle

6 months agoMDL-71337 mod_h5pactivity: Increase window size during test
Jun Pataleta [Thu, 15 Apr 2021 04:43:27 +0000 (12:43 +0800)]
MDL-71337 mod_h5pactivity: Increase window size during test

The addition of the activity information moves the h5p content down
out of the window view on Firefox which causes the Check button to be
unclickable. This patch increases the window size to ensure that the
check button is visible and clickable.

Credits to Eloy <stronk7@moodle.org> for the thorough investigation
of the root cause of this issue :)

6 months agoMDL-61768 repository_googledocs: Deprecate unused methods
Mihail Geshoski [Thu, 18 Mar 2021 06:03:20 +0000 (14:03 +0800)]
MDL-61768 repository_googledocs: Deprecate unused methods

Deprecates methods from the repository_googledocs class which are
no longer used.

6 months agoMDL-61768 repository_googledocs: Add unit tests
Mihail Geshoski [Thu, 18 Mar 2021 01:39:30 +0000 (09:39 +0800)]
MDL-61768 repository_googledocs: Add unit tests

Adds unit tests for the newly introduced methods related to the content
browsing and searching functionallity across drives.

6 months agoMDL-61768 repository_googledocs: Support shared drives
Mihail Geshoski [Thu, 18 Mar 2021 01:38:43 +0000 (09:38 +0800)]
MDL-61768 repository_googledocs: Support shared drives

Enables the Google Drive repository to support browsing and searching
for content from the existing shared drives.

6 months agoMDL-61768 repository_googledocs: Rest API function to list shared drives
Mihail Geshoski [Wed, 3 Mar 2021 08:49:24 +0000 (16:49 +0800)]
MDL-61768 repository_googledocs: Rest API function to list shared drives

Adds a new rest API function in the googledocs repository which would
return the existing shared drives.

6 months agoMerge branch 'MDL-70142' of git://github.com/paulholden/moodle
Jake Dallimore [Thu, 15 Apr 2021 02:35:33 +0000 (10:35 +0800)]
Merge branch 'MDL-70142' of git://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-70311-master' of git://github.com/ilyatregubov/moodle
Andrew Nicols [Thu, 15 Apr 2021 01:19:24 +0000 (09:19 +0800)]
Merge branch 'MDL-70311-master' of git://github.com/ilyatregubov/moodle

6 months agoMerge branch 'MDL-70649-alternative-security-helper' of https://github.com/xuangui201...
Jake Dallimore [Thu, 15 Apr 2021 00:38:48 +0000 (08:38 +0800)]
Merge branch 'MDL-70649-alternative-security-helper' of https://github.com/xuangui2018/moodle

6 months agoMerge branch 'MDL-71119-master' of git://github.com/sarjona/moodle
Jake Dallimore [Thu, 15 Apr 2021 00:31:47 +0000 (08:31 +0800)]
Merge branch 'MDL-71119-master' of git://github.com/sarjona/moodle

6 months agoAutomatically generated installer lang files
AMOS bot [Thu, 15 Apr 2021 00:08:03 +0000 (00:08 +0000)]
Automatically generated installer lang files

6 months agoMDL-71338 tool_usertours: correct Content-Type on tour export.
Paul Holden [Wed, 14 Apr 2021 20:07:43 +0000 (21:07 +0100)]
MDL-71338 tool_usertours: correct Content-Type on tour export.

Replace existing code with standard file serving mechanism, in
turn correcting the previously incorrect Content-Type header.

6 months agoMerge branch 'MDL-67999-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 14 Apr 2021 17:17:19 +0000 (19:17 +0200)]
Merge branch 'MDL-67999-master' of git://github.com/sarjona/moodle

6 months agoMDL-71225 Questions: Default options for
Mahmoud Kassaei [Thu, 1 Apr 2021 07:55:38 +0000 (08:55 +0100)]
MDL-71225 Questions: Default options for

ddimageortext, ddmarker and match qtypes

6 months agoMDL-71262 Questions: Default options for qtype_essay
Mahmoud Kassaei [Fri, 2 Apr 2021 09:28:48 +0000 (10:28 +0100)]
MDL-71262 Questions: Default options for qtype_essay

6 months agoMDL-67999 contentbank: Remove contentbank/upload.php
Sara Arjona [Thu, 18 Mar 2021 15:30:02 +0000 (16:30 +0100)]
MDL-67999 contentbank: Remove contentbank/upload.php

As the form to upload files to the content bank has been moved to
modal, this file is not required any more, so it has been removed.

6 months agoMDL-67999 contentbank: Make upload/replace files modal form
Sara Arjona [Thu, 18 Mar 2021 11:51:03 +0000 (12:51 +0100)]
MDL-67999 contentbank: Make upload/replace files modal form

Once MDL-64554 landed, content bank can implement the original
proposal, using a modal form when uploading files.

6 months agoMDL-67999 core_contentbank: Add namespace to upload form
Sara Arjona [Thu, 18 Mar 2021 11:40:32 +0000 (12:40 +0100)]
MDL-67999 core_contentbank: Add namespace to upload form

The form to upload/replace files has been moved to classes/form
(it's where it should have been added when it was created).
Besides, this class has been renamed because now, with the
namespace, contentbank and form don't need to be in the name ;-)

6 months agoMDL-70649 files: Alternative security helper
Xuan Gui [Tue, 2 Feb 2021 23:54:54 +0000 (09:54 +1000)]
MDL-70649 files: Alternative security helper

Augument all installed plugin's security helper if there is any.
Plugins function has to be defined as plugintype_pluginname_security_helper in pluginname/lib.php file.

6 months agoMerge branch 'MDL-70616-master' of https://github.com/izendegi/moodle
Eloy Lafuente (stronk7) [Wed, 14 Apr 2021 10:45:00 +0000 (12:45 +0200)]
Merge branch 'MDL-70616-master' of https://github.com/izendegi/moodle

6 months agoMDL-70616 gradingform_rubric: Filters not applied to rubric name
Iñigo Zendegi [Wed, 14 Apr 2021 09:04:54 +0000 (11:04 +0200)]
MDL-70616 gradingform_rubric: Filters not applied to rubric name

6 months agoMDL-71119 core_badges: Add more information to errors
Sara Arjona [Wed, 14 Apr 2021 08:52:34 +0000 (10:52 +0200)]
MDL-71119 core_badges: Add more information to errors

Some errors raised when calling external services were ignored.
Displaying this information helps to debug and find the real reasons
why some action, like connecting to an external backpack, can't be
done.

6 months agoMerge branch 'MDL-71315-master' of git://github.com/sarjona/moodle
Jun Pataleta [Wed, 14 Apr 2021 08:50:42 +0000 (16:50 +0800)]
Merge branch 'MDL-71315-master' of git://github.com/sarjona/moodle

6 months agoMDL-71119 core_badges: Use basicauth and remove urlencode
Sara Arjona [Tue, 16 Mar 2021 11:43:39 +0000 (12:43 +0100)]
MDL-71119 core_badges: Use basicauth and remove urlencode

Basic authorization header is required to get token. Besides, client
id and secret shouldn't call urlencode.

6 months agoMDL-71119 core_badges: Initialise scopes param in backpack-connect.php
Sara Arjona [Tue, 16 Mar 2021 11:32:20 +0000 (12:32 +0100)]
MDL-71119 core_badges: Initialise scopes param in backpack-connect.php

The scopes parameter should be passed when creating the OAuth2 badges
client. As it is an optional parameter, when it's empty, it will
be initilised with the supported scopes for the backpack issuer.

It will happen, for instance, when a call is done to oauth2callback.php
because, as defined in RFC6749, OAuth2 authorization response only
supports code and state.

6 months agoMDL-71315 core_badges: Fix warning when rendering badges
Sara Arjona [Tue, 13 Apr 2021 07:06:55 +0000 (09:06 +0200)]
MDL-71315 core_badges: Fix warning when rendering badges

6 months agoMerge branch 'MDL-71154' of https://github.com/stronk7/moodle
Andrew Nicols [Wed, 14 Apr 2021 04:09:01 +0000 (12:09 +0800)]
Merge branch 'MDL-71154' of https://github.com/stronk7/moodle

6 months agoMerge branch 'MDL-70207-master' of git://github.com/peterRd/moodle
Jake Dallimore [Wed, 14 Apr 2021 01:07:21 +0000 (09:07 +0800)]
Merge branch 'MDL-70207-master' of git://github.com/peterRd/moodle

6 months agoMerge branch 'MDL-71169-master-execute' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Wed, 14 Apr 2021 00:35:07 +0000 (08:35 +0800)]
Merge branch 'MDL-71169-master-execute' of git://github.com/mudrd8mz/moodle

6 months agoAutomatically generated installer lang files
AMOS bot [Wed, 14 Apr 2021 00:07:59 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMerge branch 'MDL-69874-master' of git://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Tue, 13 Apr 2021 21:08:45 +0000 (23:08 +0200)]
Merge branch 'MDL-69874-master' of git://github.com/lucaboesch/moodle

6 months agoMerge branch 'MDL-70722-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 13 Apr 2021 20:39:27 +0000 (22:39 +0200)]
Merge branch 'MDL-70722-master' of git://github.com/sarjona/moodle

6 months agoMerge branch 'MDL-71089-master' of git://github.com/roland04/moodle
Víctor Déniz [Tue, 13 Apr 2021 18:45:03 +0000 (19:45 +0100)]
Merge branch 'MDL-71089-master' of git://github.com/roland04/moodle

6 months agoMDL-71154 ci: Prevent upstream branches and tags to be built
Eloy Lafuente (stronk7) [Sun, 21 Mar 2021 18:05:22 +0000 (19:05 +0100)]
MDL-71154 ci: Prevent upstream branches and tags to be built

Both for travis and GHA:

- master and MOODLE_XXX_STABLE branches
- any vX.Y.Z tag

won't lead to a build anymore.

6 months agoMDL-71089 core: Add different Toast notification styling 'types'
Mikel Martín [Tue, 16 Mar 2021 11:45:35 +0000 (12:45 +0100)]
MDL-71089 core: Add different Toast notification styling 'types'

6 months agoMDL-71089 theme_boost: Add styles for different toast types
Mikel Martín [Thu, 11 Mar 2021 15:07:17 +0000 (16:07 +0100)]
MDL-71089 theme_boost: Add styles for different toast types

6 months agoMerge branch 'MDL-71011' of https://github.com/stronk7/moodle
Sara Arjona [Tue, 13 Apr 2021 10:26:57 +0000 (12:26 +0200)]
Merge branch 'MDL-71011' of https://github.com/stronk7/moodle