moodle.git
2 months agoweekly release 4.0dev
Ilya Tregubov [Wed, 28 Jul 2021 14:48:19 +0000 (16:48 +0200)]
weekly release 4.0dev

2 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ilya Tregubov [Wed, 28 Jul 2021 14:48:17 +0000 (16:48 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 months agoMerge branch 'MDL-72203-master-2' of git://github.com/mickhawkins/moodle
Jun Pataleta [Wed, 28 Jul 2021 03:26:42 +0000 (11:26 +0800)]
Merge branch 'MDL-72203-master-2' of git://github.com/mickhawkins/moodle

2 months agoAutomatically generated installer lang files
AMOS bot [Wed, 28 Jul 2021 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMDL-72203 curl: Improve redirect unit testing and update upgrade.txt
Michael Hawkins [Tue, 27 Jul 2021 14:39:44 +0000 (22:39 +0800)]
MDL-72203 curl: Improve redirect unit testing and update upgrade.txt

lib/upgrade.txt was updated to reflect the fact that all cURL redirects
will be emulated.

2 months agoMDL-72203 curl: Remove duplicate unit tests for emulated redirects
David Mudrák [Thu, 22 Jul 2021 23:04:06 +0000 (01:04 +0200)]
MDL-72203 curl: Remove duplicate unit tests for emulated redirects

Before, we had each redirect test duplicated: one for the native
redirects via native cURL, second for our emulated implementation. Now
all redirects are always emulated so there is no need to have them
tested twice.

2 months agoMDL-72203 curl: Check each URL in redirect chain to see if it is blocked
David Mudrák [Thu, 22 Jul 2021 21:28:23 +0000 (23:28 +0200)]
MDL-72203 curl: Check each URL in redirect chain to see if it is blocked

The security problem here was that only the first and the last URL in
the redirect chain was checked by the security helper. This patch forces
the curl wrapper to always emulate cURL redirects and check every
redirect URL in the chain before actually visiting it.

2 months agoMDL-72203 curl: Warn if someone actually started to use $maxredirects
David Mudrák [Thu, 22 Jul 2021 21:20:14 +0000 (23:20 +0200)]
MDL-72203 curl: Warn if someone actually started to use $maxredirects

The new parameter of curl_security_helper::url_is_blocked() introduced
in MDL-71916 became part of the API. Even if we reverted it quickly,
someone can use a released Moodle version that has that parameter in
place. For that reason and also to avoid potential troubles in the
future (e.g. when yet another argument would be added to this method),
we need to make it clear that the second parameter of this method should
never be used again.

Poor $maxredirects, you did not live long with us. Oh well.

2 months agoMDL-72203 curl: Revert original fix of redirects to blocked URLs
David Mudrák [Thu, 22 Jul 2021 21:10:11 +0000 (23:10 +0200)]
MDL-72203 curl: Revert original fix of redirects to blocked URLs

This reverts the original fix introduced in MDL-71916. It introduced an
extra native cURL call inside curl_security_helper to check if the given
URL triggers a redirect to a blocked URL or not.

Shortly after the release, a couple of regressions were reported as a
result of the integrated solution. It was agreed to revert the fix and
progress with implementing an alternative approach.

2 months agoMerge branch 'MDL-71946-master' of git://github.com/dcai/moodle
Ilya Tregubov [Tue, 27 Jul 2021 11:41:05 +0000 (13:41 +0200)]
Merge branch 'MDL-71946-master' of git://github.com/dcai/moodle

2 months agoMerge branch 'MDL-72179-master' of git://github.com/andrewnicols/moodle
Ilya Tregubov [Tue, 27 Jul 2021 10:36:38 +0000 (12:36 +0200)]
Merge branch 'MDL-72179-master' of git://github.com/andrewnicols/moodle

2 months agoMerge branch 'MDL-71672-master-2' of git://github.com/rezaies/moodle
Ilya Tregubov [Tue, 27 Jul 2021 09:59:15 +0000 (11:59 +0200)]
Merge branch 'MDL-71672-master-2' of git://github.com/rezaies/moodle

2 months agoMDL-72179 behat: Make use of page resolvers
Andrew Nicols [Wed, 21 Jul 2021 03:36:34 +0000 (11:36 +0800)]
MDL-72179 behat: Make use of page resolvers

3 months agoMDL-72179 behat: Add page resolvers for activity roles/perms
Andrew Nicols [Fri, 23 Jul 2021 02:58:00 +0000 (10:58 +0800)]
MDL-72179 behat: Add page resolvers for activity roles/perms

3 months agoMDL-72179 behat: Add page resolver for activity names
Andrew Nicols [Tue, 20 Jul 2021 09:12:05 +0000 (17:12 +0800)]
MDL-72179 behat: Add page resolver for activity names

3 months agoMDL-72179 behat: Add activity editing page resolution
Andrew Nicols [Tue, 20 Jul 2021 06:15:59 +0000 (14:15 +0800)]
MDL-72179 behat: Add activity editing page resolution

3 months agoMDL-72179 behat: Fix page resolvers to remove ambiguity
Andrew Nicols [Tue, 20 Jul 2021 05:09:46 +0000 (13:09 +0800)]
MDL-72179 behat: Fix page resolvers to remove ambiguity

The simple pattern matches were conflicting in some situations. To make
this backwards compatable we need to convert it to a Regex pattern match
instead, and provide the quoted and unquoted variants.

3 months agoMDL-72179 behat: Correct course category page resolving
Andrew Nicols [Tue, 20 Jul 2021 04:49:45 +0000 (12:49 +0800)]
MDL-72179 behat: Correct course category page resolving

There were two issues here:
* I am on the [categoryname] category page page (duplicated page)
* the wrong URL was being used

Since an incorrect URL was used I felt it safe to rename the step from
'category page page' to 'category page'.

3 months agoMDL-72179 behat: Lowercase all page instance resolvers
Andrew Nicols [Tue, 20 Jul 2021 10:25:17 +0000 (18:25 +0800)]
MDL-72179 behat: Lowercase all page instance resolvers

3 months agoMDL-72179 behat: Improve core page resolvers
Andrew Nicols [Mon, 19 Jul 2021 06:06:37 +0000 (14:06 +0800)]
MDL-72179 behat: Improve core page resolvers

This commit makes the following improvements to core page resolverss:
* allows for mixed case naming (course, Course, etc.)
* allows fields other than the idnumber to be specified:
** course: idnumber, shortname, fullname
** course category: idnumber, name

Whilst some of these fields are not unique, they will typically be
unique in most test scenarios. Where they are not then the idnumber
should be used in preference.

3 months agoweekly release 4.0dev
Ilya Tregubov [Fri, 23 Jul 2021 09:30:58 +0000 (11:30 +0200)]
weekly release 4.0dev

3 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ilya Tregubov [Fri, 23 Jul 2021 09:30:56 +0000 (11:30 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 months agoMDL-71817 calendar: Use root node to find the target elements
Jun Pataleta [Thu, 22 Jul 2021 09:25:41 +0000 (17:25 +0800)]
MDL-71817 calendar: Use root node to find the target elements

Instead of passing querying for the root element again by its ID
which changed in this issue, use the already existing root element
at the beginning of this Mustache JS code. It also makes maintenance
simpler in the future.

3 months agoMerge branch 'MDL-71817-master' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 22 Jul 2021 03:27:08 +0000 (11:27 +0800)]
Merge branch 'MDL-71817-master' of git://github.com/lameze/moodle

3 months agoMerge branch 'MDL-70427' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 22 Jul 2021 03:22:13 +0000 (11:22 +0800)]
Merge branch 'MDL-70427' of git://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-72154-master' of git://github.com/mickhawkins/moodle
Jun Pataleta [Thu, 22 Jul 2021 03:11:20 +0000 (11:11 +0800)]
Merge branch 'MDL-72154-master' of git://github.com/mickhawkins/moodle

3 months agoMDL-71817 calendar: Set the calendar view mode properly for month view
Jun Pataleta [Wed, 21 Jul 2021 15:49:23 +0000 (23:49 +0800)]
MDL-71817 calendar: Set the calendar view mode properly for month view

 * Store the view mode of the calendar in the calendar_information
   object.
 * Let the month exporter handle the production of context data by
   moving 'viewingmonth', 'showviewselector', and 'viewinginblock'
   inside it.
 * Set the proper calendar view mode in the core_calendar/month_detailed
   template.
 * Pass the calendar view mode to the
   core_calendar_get_calendar_monthly_view WS function.

3 months agoMDL-71817 calendar: change the calendar heading to h4 in the block
Simey Lameze [Wed, 21 Jul 2021 05:45:31 +0000 (13:45 +0800)]
MDL-71817 calendar: change the calendar heading to h4 in the block

This commit adds the logic that change the size of the calendar
header depending if the user is viewing in the block or in the
full view.

3 months agoMDL-71817 calendar: behat changes for calendar block
Simey Lameze [Mon, 19 Jul 2021 00:28:06 +0000 (08:28 +0800)]
MDL-71817 calendar: behat changes for calendar block

This commit does few things:

1) Remove unnecessary "I hover over today in the calendar"
steps as it's not necessary to hover onto the day to see the events
any more.

2) Replace "I follow This month" steps to "I follow Full calendar"

3) Update i_create_a_calendar_event_with_form_data() to use the new
fullcalendar lang string.

3 months agoMDL-71817 calendar: Fix duplicate IDs for multiple calendar blocks
Jun Pataleta [Mon, 19 Jul 2021 17:52:25 +0000 (01:52 +0800)]
MDL-71817 calendar: Fix duplicate IDs for multiple calendar blocks

Done by:
* Designating instance IDs for each month_exporter instances and
assigning these instance IDs in templates.
* Adding the instance ID as an optional parameter for the
core_calendar_renderer::course_filter_selector() to generate
course filters with unique element IDs.

3 months agoMDL-71817 calendar: clicking on day link should redirect to day view
Simey Lameze [Thu, 15 Jul 2021 11:53:10 +0000 (19:53 +0800)]
MDL-71817 calendar: clicking on day link should redirect to day view

This patch prevents the full day view to be loaded
in the calendar block as this won't be supported.
When clicking in the day link it will redirect the
user to day view in the full calendar.

3 months agoMDL-71817 calendar: make calendar block look like full calendar
Simey Lameze [Wed, 30 Jun 2021 06:01:11 +0000 (14:01 +0800)]
MDL-71817 calendar: make calendar block look like full calendar

This commit does few things:

1) Removes .path-calendar specificity styles from full view can
work on the Dashboard.

2) The new event button colour has been changed to btn-primary.

3) CSS fix to make the calendar controls inline on small block.

3 months agoMDL-71817 calendar: remove year from prev/next links
Simey Lameze [Thu, 1 Jul 2021 03:17:54 +0000 (11:17 +0800)]
MDL-71817 calendar: remove year from prev/next links

3 months agoMDL-71817 calendar: only update url on full view
Simey Lameze [Wed, 30 Jun 2021 05:59:25 +0000 (13:59 +0800)]
MDL-71817 calendar: only update url on full view

This patch prevents the URL from being updated on the calendar
block. It only updates the url if viewing the full calendar.

3 months agoMDL-71817 block_calendar_month: load month view in the block
Simey Lameze [Thu, 1 Jul 2021 02:56:52 +0000 (10:56 +0800)]
MDL-71817 block_calendar_month: load month view in the block

3 months agoAutomatically generated installer lang files
AMOS bot [Thu, 22 Jul 2021 00:07:56 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 months agoMerge branch 'MDL-72001-master' of git://github.com/roland04/moodle
Víctor Déniz [Wed, 21 Jul 2021 22:04:51 +0000 (23:04 +0100)]
Merge branch 'MDL-72001-master' of git://github.com/roland04/moodle

3 months agoMerge branch 'MDL-72108-master' of git://github.com/andrewnicols/moodle
Víctor Déniz [Wed, 21 Jul 2021 18:25:54 +0000 (19:25 +0100)]
Merge branch 'MDL-72108-master' of git://github.com/andrewnicols/moodle

3 months agoMDL-72154 calendar: Add manage subscription to export page breadcrumbs
Michael Hawkins [Thu, 15 Jul 2021 06:50:07 +0000 (14:50 +0800)]
MDL-72154 calendar: Add manage subscription to export page breadcrumbs

3 months agoMDL-72154 calendar: Remove unnecessary strings/link from import page
Michael Hawkins [Thu, 15 Jul 2021 06:13:17 +0000 (14:13 +0800)]
MDL-72154 calendar: Remove unnecessary strings/link from import page

3 months agoMerge branch 'MDL-71604-master' of git://github.com/rezaies/moodle
Ilya Tregubov [Tue, 20 Jul 2021 12:09:11 +0000 (14:09 +0200)]
Merge branch 'MDL-71604-master' of git://github.com/rezaies/moodle

3 months agoMerge branch 'MDL-72125-master' of git://github.com/andrewnicols/moodle
Ilya Tregubov [Mon, 19 Jul 2021 11:03:46 +0000 (13:03 +0200)]
Merge branch 'MDL-72125-master' of git://github.com/andrewnicols/moodle

3 months agoMDL-72125 mod_assign: Use assign submission data generators
Andrew Nicols [Thu, 8 Jul 2021 05:05:57 +0000 (13:05 +0800)]
MDL-72125 mod_assign: Use assign submission data generators

3 months agoMDL-72125 mod_assign: Add data generator for assign submissions
Andrew Nicols [Thu, 8 Jul 2021 04:29:28 +0000 (12:29 +0800)]
MDL-72125 mod_assign: Add data generator for assign submissions

3 months agoMDL-72125 testing: Make global $CFG available when including generators
Andrew Nicols [Mon, 19 Jul 2021 08:42:21 +0000 (16:42 +0800)]
MDL-72125 testing: Make global $CFG available when including generators

This will remove the requirement to add the global $CFG call to the top
of generator scripts.

3 months agoMerge branch 'MDL-72078-master' of git://github.com/rezaies/moodle
Ilya Tregubov [Mon, 19 Jul 2021 08:28:51 +0000 (10:28 +0200)]
Merge branch 'MDL-72078-master' of git://github.com/rezaies/moodle

3 months agoMDL-72078 editor_atto: Use role=application and aria-describedby in Atto
Shamim Rezaie [Thu, 1 Jul 2021 09:34:27 +0000 (19:34 +1000)]
MDL-72078 editor_atto: Use role=application and aria-describedby in Atto

According to https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Application_Role
WYSIWYG web editors are proper use of the application role.

3 months agoMDL-71604 editor_atto: Move accessibility buttons to the first row
Shamim Rezaie [Wed, 23 Jun 2021 15:02:13 +0000 (01:02 +1000)]
MDL-71604 editor_atto: Move accessibility buttons to the first row

3 months agoMDL-71672 javascript: Fix the markup in the header of YUI dialogs
Shamim Rezaie [Mon, 14 Jun 2021 11:58:12 +0000 (21:58 +1000)]
MDL-71672 javascript: Fix the markup in the header of YUI dialogs

Move the close button out of the element that is set as the
aria-labelledby for the dialog.
Also used h5 for the dialog titles so they are consistent with
AMD modals.

3 months agoMDL-71672 atto_equation: Fix the markup and the initial focused element
Shamim Rezaie [Fri, 18 Jun 2021 20:59:45 +0000 (06:59 +1000)]
MDL-71672 atto_equation: Fix the markup and the initial focused element

The initial focused element should be the first operator button.
This commit also fixes the accessibility issues that previously were
wrongly fixed by a redundant click on the first tab using javascript.

3 months agoMDL-71672 atto_managefiles: Focus the first file manager button
Shamim Rezaie [Mon, 7 Jun 2021 02:37:11 +0000 (12:37 +1000)]
MDL-71672 atto_managefiles: Focus the first file manager button

3 months agoMDL-71672 atto_emojipicker: Focus the search bar initially
Shamim Rezaie [Sun, 6 Jun 2021 21:55:08 +0000 (07:55 +1000)]
MDL-71672 atto_emojipicker: Focus the search bar initially

3 months agoMDL-71672 atto_recordrtc: focus Atto button after hide
Shamim Rezaie [Wed, 2 Jun 2021 10:11:58 +0000 (20:11 +1000)]
MDL-71672 atto_recordrtc: focus Atto button after hide

3 months agoMDL-71672 javascript: Fix the issue of focusOnShowSelector being ignored
Shamim Rezaie [Wed, 2 Jun 2021 07:59:04 +0000 (17:59 +1000)]
MDL-71672 javascript: Fix the issue of focusOnShowSelector being ignored

When focusOnShowSelector is not present, as a fallback, focus the first
focusable element in YUI dialogues
Ref:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role

3 months agoMDL-72001 my: Add '__default' name check when retrieving default page
Mikel Martín [Wed, 23 Jun 2021 14:51:46 +0000 (16:51 +0200)]
MDL-72001 my: Add '__default' name check when retrieving default page

3 months agoMDL-72125 behat: Add get_activity_id() behat generators helper
Andrew Nicols [Fri, 9 Jul 2021 01:27:03 +0000 (09:27 +0800)]
MDL-72125 behat: Add get_activity_id() behat generators helper

3 months agoMDL-72125 testing: Set a default idnumber when creating activities
Andrew Nicols [Thu, 8 Jul 2021 03:50:17 +0000 (11:50 +0800)]
MDL-72125 testing: Set a default idnumber when creating activities

The activity generator currently requires an idnumber when creating
activities, but this is not a requirement when creating the same
activity through the UI. The requirement comes because we want to
provide a way to refer to activities in subsequent steps.

This commit modifies the behaviour such that the generator uses the name
of the activity as the default idnumber.

This has two  main benefits:
1. it simplfies generation of activities; and
2. it makes the language used when writing behat tests much more natural.

With this change, steps will refer to the activity by its idnumber/title
in all cases, rather than sometimes by an idnumber which bears no
relevance to the title.

3 months agoMDL-72125 testing: Add helper to run generators as a user
Andrew Nicols [Thu, 8 Jul 2021 04:20:50 +0000 (12:20 +0800)]
MDL-72125 testing: Add helper to run generators as a user

3 months agoweekly release 4.0dev
abgreeve [Fri, 16 Jul 2021 02:16:35 +0000 (10:16 +0800)]
weekly release 4.0dev

3 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
abgreeve [Fri, 16 Jul 2021 02:16:34 +0000 (10:16 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 months agoAutomatically generated installer lang files
AMOS bot [Fri, 16 Jul 2021 00:07:50 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 months agoMerge branch 'MDL-71788-master-fix' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Thu, 15 Jul 2021 07:39:31 +0000 (09:39 +0200)]
Merge branch 'MDL-71788-master-fix' of git://github.com/junpataleta/moodle

3 months agoMerge branch 'MDL-63770-master' of /home/jun/moodles/stable_master/moodle
Jun Pataleta [Thu, 15 Jul 2021 03:40:25 +0000 (11:40 +0800)]
Merge branch 'MDL-63770-master' of /home/jun/moodles/stable_master/moodle

3 months agoMerge branch 'MDL-71456-master' of /home/jun/moodles/stable_master/moodle
Jun Pataleta [Thu, 15 Jul 2021 03:09:39 +0000 (11:09 +0800)]
Merge branch 'MDL-71456-master' of /home/jun/moodles/stable_master/moodle

3 months agoMerge branch 'MDL-71775-master' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 15 Jul 2021 02:23:27 +0000 (10:23 +0800)]
Merge branch 'MDL-71775-master' of git://github.com/lameze/moodle

3 months agoMDL-71788 calendar: Remove ready state listener
Jun Pataleta [Thu, 15 Jul 2021 06:49:07 +0000 (14:49 +0800)]
MDL-71788 calendar: Remove ready state listener

Adding a document ready state change listener might be too late by the
time this AMD module gets loaded. So there's really no point listening
for it. It's better to enable the Copy URL button by the time this
the calendar export module gets loaded since at this point, the
copy to clipboard JS module would have been loaded as well.

3 months agoMDL-63770 core: 'port' should be an integer like in parse_url()
Matteo Scaramuccia [Sun, 3 May 2020 21:46:18 +0000 (23:46 +0200)]
MDL-63770 core: 'port' should be an integer like in parse_url()

Plus trivial comment cleanup.

3 months agoMDL-71775 block_calendar_month: add footer options
Simey Lameze [Tue, 13 Jul 2021 06:14:33 +0000 (14:14 +0800)]
MDL-71775 block_calendar_month: add footer options

3 months agoMerge branch 'MDL-71788-master-7' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Thu, 15 Jul 2021 00:56:58 +0000 (02:56 +0200)]
Merge branch 'MDL-71788-master-7' of git://github.com/junpataleta/moodle

3 months agoMerge branch 'MDL-67338' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 14 Jul 2021 22:33:57 +0000 (00:33 +0200)]
Merge branch 'MDL-67338' of git://github.com/paulholden/moodle

3 months agoMDL-67338 message: re-implement block page type patterns.
Paul Holden [Thu, 8 Apr 2021 21:37:53 +0000 (22:37 +0100)]
MDL-67338 message: re-implement block page type patterns.

The `page_type_list` method for the message component was deprecated
in 5b0769db as part of MDL-54744. However it is still required when
trying to configure blocks on any messaging pages.

3 months agoMerge branch 'MDL-71790-master' of git://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Wed, 14 Jul 2021 17:25:47 +0000 (19:25 +0200)]
Merge branch 'MDL-71790-master' of git://github.com/HuongNV13/moodle

3 months agoMerge branch 'MDL-72139-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Wed, 14 Jul 2021 11:59:50 +0000 (13:59 +0200)]
Merge branch 'MDL-72139-master' of git://github.com/cescobedo/moodle

3 months agoMDL-71456 core: fix behats with new drawers
Bas Brands [Thu, 8 Jul 2021 08:01:10 +0000 (10:01 +0200)]
MDL-71456 core: fix behats with new drawers

The new drawers structure shows that some elements
are dependant from the page structure and broke some
behats. This commit fixes those components and tests.

3 months agoMDL-71456 theme_boost: usertour fixes for pages with drawers
Bas Brands [Thu, 20 May 2021 14:22:24 +0000 (16:22 +0200)]
MDL-71456 theme_boost: usertour fixes for pages with drawers

3 months agoMDL-71456 theme_boost: drawers for blocks and the course index
Bas Brands [Thu, 29 Apr 2021 10:03:06 +0000 (12:03 +0200)]
MDL-71456 theme_boost: drawers for blocks and the course index

3 months agoMDL-72139 core_message: Fix encoding UTF-8 in prevent unclosed tags
cescobedo [Tue, 13 Jul 2021 09:05:32 +0000 (11:05 +0200)]
MDL-72139 core_message: Fix encoding UTF-8 in prevent unclosed tags

3 months agoMerge branch 'MDL-71984-master' of https://github.com/nguyenphuctien/moodle
Eloy Lafuente (stronk7) [Tue, 13 Jul 2021 21:46:54 +0000 (23:46 +0200)]
Merge branch 'MDL-71984-master' of https://github.com/nguyenphuctien/moodle

3 months agoMerge branch 'MDL-71874-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 13 Jul 2021 18:38:01 +0000 (20:38 +0200)]
Merge branch 'MDL-71874-master' of git://github.com/andrewnicols/moodle

3 months agoMerge branch 'MDL-71931-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 13 Jul 2021 16:41:58 +0000 (00:41 +0800)]
Merge branch 'MDL-71931-master' of git://github.com/andrewnicols/moodle

3 months agoMerge branch 'MDL-71782' of https://github.com/stronk7/moodle
Sara Arjona [Tue, 13 Jul 2021 14:44:34 +0000 (16:44 +0200)]
Merge branch 'MDL-71782' of https://github.com/stronk7/moodle

3 months agoMerge branch 'MDL-32103-master' of git://github.com/ilyatregubov/moodle
Sara Arjona [Tue, 13 Jul 2021 14:28:36 +0000 (16:28 +0200)]
Merge branch 'MDL-32103-master' of git://github.com/ilyatregubov/moodle

3 months agoMDL-32103 completion: Fix CiBoT errors.
Ilya Tregubov [Thu, 8 Apr 2021 09:39:04 +0000 (11:39 +0200)]
MDL-32103 completion: Fix CiBoT errors.

Old code still uses underscores in variable names, so CiBoT is
not happy. Making it constistant with Moodle code style.

3 months agoMDL-32103 completion: Allow instant completion updates.
Ilya Tregubov [Wed, 10 Mar 2021 13:27:00 +0000 (15:27 +0200)]
MDL-32103 completion: Allow instant completion updates.

For activity based course completion criteria allow instant
course completion updates if the activity completion state was changed
for a single user.

3 months agoMDL-71931 tool_usertours: Emit real events on step/tour transitions
Andrew Nicols [Tue, 15 Jun 2021 07:37:52 +0000 (15:37 +0800)]
MDL-71931 tool_usertours: Emit real events on step/tour transitions

3 months agoMDL-71931 tool_usertours: Update to ES format
Andrew Nicols [Tue, 15 Jun 2021 07:35:47 +0000 (15:35 +0800)]
MDL-71931 tool_usertours: Update to ES format

3 months agoMerge branch 'MDL-72036-master' of git://github.com/sarjona/moodle
Jun Pataleta [Tue, 13 Jul 2021 08:05:45 +0000 (16:05 +0800)]
Merge branch 'MDL-72036-master' of git://github.com/sarjona/moodle

3 months agoMDL-72036 atto_h5p: Random error with external URL
Sara Arjona [Fri, 2 Jul 2021 06:42:57 +0000 (08:42 +0200)]
MDL-72036 atto_h5p: Random error with external URL

After a major upgrade was done in h5p.com, some random errors appeared
in the "H5P options are ignored for H5P URLs" scenario.
They have been fixed replacing the URL for different (which should
load quicker). As we're checking external content, no other improvement
can be done on the Moodle site.

3 months agoMDL-71790 calendar: Revamp the manage subscriptions page
Huong Nguyen [Wed, 7 Jul 2021 07:53:01 +0000 (14:53 +0700)]
MDL-71790 calendar: Revamp the manage subscriptions page

3 months agoMDL-71790 calendar: Create a new calendar import page
Dongsheng Cai [Tue, 22 Jun 2021 09:33:33 +0000 (19:33 +1000)]
MDL-71790 calendar: Create a new calendar import page

The commit was originally from MDL-71808

3 months agoMDL-70427 task: correct missing component when queuing adhoc task.
Paul Holden [Wed, 9 Jun 2021 22:53:22 +0000 (23:53 +0100)]
MDL-70427 task: correct missing component when queuing adhoc task.

If the task belongs to a component, and doesn't have it's own
component property set then we can lazy-load it based on class
namespace.

3 months agoMDL-70427 admin: remove plugin adhoc tasks during uninstall.
Paul Holden [Wed, 24 Mar 2021 21:18:34 +0000 (21:18 +0000)]
MDL-70427 admin: remove plugin adhoc tasks during uninstall.

3 months agoMDL-63770 core: Fix a false-positive in `reverseproxyabused` check
Dmitri Pisarev [Tue, 22 Jan 2019 08:09:26 +0000 (11:09 +0300)]
MDL-63770 core: Fix a false-positive in `reverseproxyabused` check

A `reverseproxyabused` error is wrongly triggered when external port number doesn't equal internal.

3 months agoAutomatically generated installer lang files
AMOS bot [Sun, 11 Jul 2021 00:07:47 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 months agoMDL-71782 behat: Ensure page after saving changes is there
Eloy Lafuente (stronk7) [Fri, 9 Jul 2021 16:07:22 +0000 (18:07 +0200)]
MDL-71782 behat: Ensure page after saving changes is there

A similar approach was followed @ MDL-67935, although the
case doesn't seem to be the same.

In any case, it's curious that all local execution are
100% passing and only CIs fail so often. Just guessing if,
maybe, there is some Chrome version factor around (we
are running older, sticky, versions @ CIs.

3 months agoAutomatically generated installer lang files
AMOS bot [Fri, 9 Jul 2021 00:07:56 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Thu, 8 Jul 2021 21:43:55 +0000 (23:43 +0200)]
weekly release 4.0dev

3 months agoMerge branch 'MDL-65252-master-fix' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 8 Jul 2021 08:38:39 +0000 (16:38 +0800)]
Merge branch 'MDL-65252-master-fix' of git://github.com/lameze/moodle

3 months agoMerge branch 'MDL-71919-master-fix' of https://github.com/cescobedo/moodle
Jun Pataleta [Thu, 8 Jul 2021 08:31:19 +0000 (16:31 +0800)]
Merge branch 'MDL-71919-master-fix' of https://github.com/cescobedo/moodle

3 months agoMDL-61460 tool_componentlibrary: Additional whitespace removal.
Adrian Greeve [Thu, 8 Jul 2021 07:33:24 +0000 (15:33 +0800)]
MDL-61460 tool_componentlibrary: Additional whitespace removal.