moodle.git
2 months agoweekly release 4.1dev
Jun Pataleta [Thu, 12 May 2022 14:16:01 +0000 (22:16 +0800)]
weekly release 4.1dev

2 months agoMerge branch 'MDL-74413' of https://github.com/stronk7/moodle
Jun Pataleta [Thu, 12 May 2022 04:09:05 +0000 (12:09 +0800)]
Merge branch 'MDL-74413' of https://github.com/stronk7/moodle

2 months agoMerge branch 'MDL-73971' of https://github.com/stronk7/moodle
Jun Pataleta [Thu, 12 May 2022 03:54:43 +0000 (11:54 +0800)]
Merge branch 'MDL-73971' of https://github.com/stronk7/moodle

2 months agoMerge branch 'MDL-73172-master' of https://github.com/NashTechOpenUniversity/moodle
Jun Pataleta [Thu, 12 May 2022 03:45:05 +0000 (11:45 +0800)]
Merge branch 'MDL-73172-master' of https://github.com/NashTechOpenUniversity/moodle

2 months agoMerge branch 'MDL-70568-cron-debugging-patch' of https://github.com/macgirvin/moodle
Jun Pataleta [Wed, 11 May 2022 02:43:19 +0000 (10:43 +0800)]
Merge branch 'MDL-70568-cron-debugging-patch' of https://github.com/macgirvin/moodle

2 months agoMerge branch 'MDL-74041' of https://github.com/timhunt/moodle
Jun Pataleta [Tue, 10 May 2022 09:59:45 +0000 (17:59 +0800)]
Merge branch 'MDL-74041' of https://github.com/timhunt/moodle

2 months agoMerge branch 'MDL-71202-master' of https://github.com/junpataleta/moodle
Jun Pataleta [Tue, 10 May 2022 04:39:27 +0000 (12:39 +0800)]
Merge branch 'MDL-71202-master' of https://github.com/junpataleta/moodle

2 months agoMDL-71202 webservice: Add index on external_tokens.sid
Pete Whelpton [Fri, 26 Mar 2021 11:54:34 +0000 (11:54 +0000)]
MDL-71202 webservice: Add index on external_tokens.sid

Without this index, a full table scan / table level locking occurs when
logging out of Moodle.  This can result in slow performance in a busy
Moodle site.

3 months agoMDL-74413 phpunit: Move more tests to use correct names and namespaces
Eloy Lafuente (stronk7) [Sat, 2 Apr 2022 19:34:46 +0000 (21:34 +0200)]
MDL-74413 phpunit: Move more tests to use correct names and namespaces

Applied the following changes to various testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to:

- Moved to the level2 "privacy" namespace:
  - \mod_assign\privacy\feedback_legacy_polyfill_test
  - \mod_assign\privacy\submission_legacy_polyfill_test

- Moved to the level2 "task" namespace:
  - \core_message\task\migrate_message_data_test
  - \ltiservice_gradebookservices\task\cleanup_test
  - \message_email\task\send_email_test
  - \mod_lti\task\clean_access_tokens_test
  - \mod_workshop\task\cron_task_test

- Moved to the level2 "event" namespace:
  - \core_h5p\event\deleted_test
  - \core_h5p\event\viewed_test

- Renamed to a better name:
  - backup_forum_activity_task_test.php (missing "task")

3 months agoMDL-73971 phpunit: Move more tests to use correct names and namespaces
Eloy Lafuente (stronk7) [Tue, 29 Mar 2022 18:24:23 +0000 (20:24 +0200)]
MDL-73971 phpunit: Move more tests to use correct names and namespaces

Applied the following changes to various testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to:

- Some fixtures, initially defined in the test files have been
  moved to new files in fixtures subdirectory, leaving the unit
  test files clearer:
  - moodle2_course_format_test.php
- Rename wrong named test:
  - baseoptiogroup_test = baseoptigroup_test

3 months agoweekly release 4.1dev
Eloy Lafuente (stronk7) [Fri, 6 May 2022 13:58:24 +0000 (15:58 +0200)]
weekly release 4.1dev

3 months agoMDL-74602 mod_assign: fix js error with assign grader on classic
Jake Dallimore [Fri, 6 May 2022 08:46:58 +0000 (16:46 +0800)]
MDL-74602 mod_assign: fix js error with assign grader on classic

3 months agoMerge branch 'MDL-74584-master-v1' of https://github.com/mihailges/moodle
Jun Pataleta [Fri, 6 May 2022 06:47:04 +0000 (14:47 +0800)]
Merge branch 'MDL-74584-master-v1' of https://github.com/mihailges/moodle

3 months agoMDL-74584 mod_bigbluebuttonbn: Update behat tests
Mihail Geshoski [Thu, 5 May 2022 04:42:33 +0000 (12:42 +0800)]
MDL-74584 mod_bigbluebuttonbn: Update behat tests

3 months agoMDL-74584 mod_bigbluebuttonbn: Update unit tests
Mihail Geshoski [Wed, 4 May 2022 08:59:22 +0000 (16:59 +0800)]
MDL-74584 mod_bigbluebuttonbn: Update unit tests

3 months agoMDL-74584 course: New optional parameter in get_module_types_names()
Mihail Geshoski [Thu, 5 May 2022 10:33:20 +0000 (18:33 +0800)]
MDL-74584 course: New optional parameter in get_module_types_names()

Adds new parameter in get_module_types_names() to optionally reset
the $modnames static cache.

3 months agoMDL-74584 mod_bigbluebuttonbn: Add install script and new upgrade step
Mihail Geshoski [Wed, 4 May 2022 02:35:09 +0000 (10:35 +0800)]
MDL-74584 mod_bigbluebuttonbn: Add install script and new upgrade step

Adds a new install script for the BBB module and a new upgrade step.
The BBB module now will be disabled by default for new installations
and also it will be disabled for the existing sites that use the
default BBB server configuration. Admistrators will be required to
confirm the acceptance of the related DPA prior to (re)enabling the
plugin once again.

3 months agoMDL-74584 mod_bigbluebuttonbn: Add DPA info in the general setting page
Mihail Geshoski [Wed, 4 May 2022 02:34:11 +0000 (10:34 +0800)]
MDL-74584 mod_bigbluebuttonbn: Add DPA info in the general setting page

Adds a note in the BBB general settings page to raise awareness about
the legal obligations related to the data processing agreement with the
service provider which is currently configured.

3 months agoMDL-74584 mod_bigbluebuttonbn: Implement 'pre_enable_plugin_actions'
Mihail Geshoski [Wed, 4 May 2022 02:30:07 +0000 (10:30 +0800)]
MDL-74584 mod_bigbluebuttonbn: Implement 'pre_enable_plugin_actions'

Implements a function for the 'pre_enable_plugin_actions' callback.
When the default BBB server settings are used while the administrator
attempts to enable the BBB plugin, the function will prevent this
action and trigger a dynamic form requesting the admin to conifrm
their acceptance of the related data processing agreement. The process
of enabling the plugin will continue as usual in cases where the
admin has already confirmed the acceptance of the dpa or a different
BBB server configuration is used other than the default.

3 months agoMDL-74584 admin: Add callback executed prior to enabling a module
Mihail Geshoski [Wed, 4 May 2022 02:26:13 +0000 (10:26 +0800)]
MDL-74584 admin: Add callback executed prior to enabling a module

Adds a callback xxx_pre_enable_plugin_actions in admin/modules.php
which plugins can use to force additional actions before enabling the
plugin. The return value (bool) from the plugin callback method
specifies whether the process of enabling the plugin should continue
after the added actions or not.

3 months agoMerge branch 'MDL-74511-master' of https://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 6 May 2022 03:57:42 +0000 (11:57 +0800)]
Merge branch 'MDL-74511-master' of https://github.com/andrewnicols/moodle

3 months agoMDL-74511 core: Add phpcs default config
Andrew Nicols [Fri, 6 May 2022 03:30:06 +0000 (11:30 +0800)]
MDL-74511 core: Add phpcs default config

3 months agoMerge branch 'participants_per_page_MDL-41498' of https://github.com/rschrenk/moodle
Ilya Tregubov [Fri, 6 May 2022 01:59:43 +0000 (07:59 +0600)]
Merge branch 'participants_per_page_MDL-41498' of https://github.com/rschrenk/moodle

3 months agoMerge branch 'MDL-74612' of https://github.com/paulholden/moodle
Víctor Déniz [Thu, 5 May 2022 12:20:20 +0000 (13:20 +0100)]
Merge branch 'MDL-74612' of https://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-74128' of https://github.com/paulholden/moodle
Víctor Déniz [Thu, 5 May 2022 11:09:33 +0000 (12:09 +0100)]
Merge branch 'MDL-74128' of https://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-74567' of https://github.com/paulholden/moodle
Víctor Déniz [Thu, 5 May 2022 08:37:28 +0000 (09:37 +0100)]
Merge branch 'MDL-74567' of https://github.com/paulholden/moodle

3 months agoMDL-73172 course: COMPLETE_PASS status cannot enhance in custom theme
Hien Dinh [Fri, 3 Dec 2021 08:56:55 +0000 (15:56 +0700)]
MDL-73172 course: COMPLETE_PASS status cannot enhance in custom theme

3 months agoMDL-74317 blocks: Revert checking of block usage against page format
Jun Pataleta [Wed, 4 May 2022 17:37:04 +0000 (01:37 +0800)]
MDL-74317 blocks: Revert checking of block usage against page format

3 months agoMerge branch 'MDL-74576-master' of https://github.com/snake/moodle
Jun Pataleta [Thu, 5 May 2022 01:55:37 +0000 (09:55 +0800)]
Merge branch 'MDL-74576-master' of https://github.com/snake/moodle

3 months agoMerge branch 'MDL-73981-master' of https://github.com/ilyatregubov/moodle
Jun Pataleta [Thu, 5 May 2022 01:48:59 +0000 (09:48 +0800)]
Merge branch 'MDL-73981-master' of https://github.com/ilyatregubov/moodle

3 months agoMerge branch 'MDL-74602-master' of https://github.com/snake/moodle
Ilya Tregubov [Thu, 5 May 2022 01:46:33 +0000 (07:46 +0600)]
Merge branch 'MDL-74602-master' of https://github.com/snake/moodle

3 months agoMerge branch 'MDL-74546-master' of https://github.com/snake/moodle
Jun Pataleta [Thu, 5 May 2022 01:41:28 +0000 (09:41 +0800)]
Merge branch 'MDL-74546-master' of https://github.com/snake/moodle

3 months agoMDL-73981 tool_uploadcourse: Validate enrolment role from csv.
Ilya Tregubov [Fri, 25 Feb 2022 08:10:43 +0000 (10:10 +0200)]
MDL-73981 tool_uploadcourse: Validate enrolment role from csv.

3 months agoMerge branch 'MDL-74511-master' of https://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 5 May 2022 01:37:26 +0000 (09:37 +0800)]
Merge branch 'MDL-74511-master' of https://github.com/andrewnicols/moodle

3 months agoMDL-74041 quiz: use own size for paging the question bank
Tim Hunt [Thu, 3 Mar 2022 12:33:03 +0000 (12:33 +0000)]
MDL-74041 quiz: use own size for paging the question bank

3 months agoMDL-74041 question bank: page size should be 100
Tim Hunt [Tue, 1 Mar 2022 11:25:34 +0000 (11:25 +0000)]
MDL-74041 question bank: page size should be 100

3 months agoMDL-73736 core_auth: Fix concurrency issue in login_attempt_failed()
Jake Dallimore [Tue, 26 Apr 2022 08:52:20 +0000 (16:52 +0800)]
MDL-73736 core_auth: Fix concurrency issue in login_attempt_failed()

This patch wraps the login_failed_count logic in a resource lock and
forces a user preferences cache reload. Each thread must wait for the
lock and must fetch the current count before incrementing it. This
ensures that login_failed_count is correct across threads and that the
lockout threshold is correctly honoured.

Co-Authored-By: Sujith Haridasan <sujith@moodle.com>
3 months agoMDL-74333 badges: Check profile criteria valid when reviewing
Michael Hawkins [Thu, 31 Mar 2022 10:17:31 +0000 (18:17 +0800)]
MDL-74333 badges: Check profile criteria valid when reviewing

3 months agoMerge branch 'MDL-74563' of https://github.com/paulholden/moodle
Ilya Tregubov [Wed, 4 May 2022 03:25:08 +0000 (09:25 +0600)]
Merge branch 'MDL-74563' of https://github.com/paulholden/moodle

3 months agoMDL-71623 core_search: fix user document visibility
Ferran Recio [Thu, 21 Apr 2022 11:43:34 +0000 (13:43 +0200)]
MDL-71623 core_search: fix user document visibility

3 months agoMDL-74318 core_user: Description field as hidden on profile
Amaia Anabitarte [Thu, 24 Mar 2022 16:40:10 +0000 (17:40 +0100)]
MDL-74318 core_user: Description field as hidden on profile

3 months agoMDL-74204 mod_assign: escape identity fields in allocate marker form.
Paul Holden [Tue, 15 Mar 2022 00:10:25 +0000 (00:10 +0000)]
MDL-74204 mod_assign: escape identity fields in allocate marker form.

3 months agoMerge branch 'MDL-73878-master' of https://github.com/aanabit/moodle
Jun Pataleta [Wed, 4 May 2022 01:42:30 +0000 (09:42 +0800)]
Merge branch 'MDL-73878-master' of https://github.com/aanabit/moodle

3 months agoMDL-73878 core_user: Creating a new category for social fields
Amaia Anabitarte [Thu, 21 Apr 2022 12:07:54 +0000 (14:07 +0200)]
MDL-73878 core_user: Creating a new category for social fields

3 months agoMDL-73878 core_user: Fixing social fields upgrading issue
Amaia Anabitarte [Thu, 21 Apr 2022 11:25:43 +0000 (13:25 +0200)]
MDL-73878 core_user: Fixing social fields upgrading issue

3 months agoMerge branch 'MDL-74543' of https://github.com/timhunt/moodle
Jun Pataleta [Tue, 3 May 2022 14:22:39 +0000 (22:22 +0800)]
Merge branch 'MDL-74543' of https://github.com/timhunt/moodle

3 months agoMDL-74543 quiz attemptlib: covert string comparison to ===
Tim Hunt [Tue, 3 May 2022 12:45:39 +0000 (13:45 +0100)]
MDL-74543 quiz attemptlib: covert string comparison to ===

Where obviously safe.

3 months agoMDL-74543 quiz: correctly record time when overdue attempt submitted
Tim Hunt [Thu, 21 Apr 2022 17:23:36 +0000 (18:23 +0100)]
MDL-74543 quiz: correctly record time when overdue attempt submitted

3 months agoMerge branch 'MDL-74611' of https://github.com/timhunt/moodle
Víctor Déniz [Tue, 3 May 2022 12:00:23 +0000 (13:00 +0100)]
Merge branch 'MDL-74611' of https://github.com/timhunt/moodle

3 months agoMerge branch 'mdl65478-fix-master' of https://github.com/matthewhilton/moodle
Ilya Tregubov [Tue, 3 May 2022 09:43:53 +0000 (15:43 +0600)]
Merge branch 'mdl65478-fix-master' of https://github.com/matthewhilton/moodle

3 months agoMerge branch 'MDL-74441-master' of https://github.com/cameron1729/moodle
Jake Dallimore [Tue, 3 May 2022 08:54:35 +0000 (16:54 +0800)]
Merge branch 'MDL-74441-master' of https://github.com/cameron1729/moodle

3 months agoMerge branch 'MDL-74598-master' of https://github.com/roland04/moodle
Ilya Tregubov [Tue, 3 May 2022 05:55:47 +0000 (11:55 +0600)]
Merge branch 'MDL-74598-master' of https://github.com/roland04/moodle

3 months agoMDL-65478 backup, course format: Handle editor elements in course format
Jason den Dulk [Wed, 13 Oct 2021 06:23:40 +0000 (17:23 +1100)]
MDL-65478 backup, course format: Handle editor elements in course format

Modified course format options reading and writing to be able to handle Editor elements by enabling them to split array values into
multiple values before inserting into database, and combining multiple values into an array when reading from the database.
Modified backup and restore code to use backup_nested_elements, and to interact directly with the database.

Co-authored-by: Jason den Dulk <jasondendulk@catalyst-au.net>
Co-authored-by: Matthew Hilton <matthewhilton@catalyst-au.net>
3 months agoMerge branch 'MDL-74450-master' of https://github.com/mihailges/moodle
Ilya Tregubov [Tue, 3 May 2022 03:47:29 +0000 (09:47 +0600)]
Merge branch 'MDL-74450-master' of https://github.com/mihailges/moodle

3 months agoMDL-74602 mod_wiki: disable activity header in wiki print view
Jake Dallimore [Tue, 3 May 2022 01:58:01 +0000 (09:58 +0800)]
MDL-74602 mod_wiki: disable activity header in wiki print view

3 months agoMDL-74602 mod_chat: disable activity header in ajax chat interface
Jake Dallimore [Tue, 3 May 2022 01:57:19 +0000 (09:57 +0800)]
MDL-74602 mod_chat: disable activity header in ajax chat interface

3 months agoMDL-74602 mod_book: disable activity header on book print page
Jake Dallimore [Tue, 3 May 2022 01:56:56 +0000 (09:56 +0800)]
MDL-74602 mod_book: disable activity header on book print page

3 months agoMDL-74602 mod_assign: disable activity header on embedded grader page
Jake Dallimore [Tue, 3 May 2022 01:55:22 +0000 (09:55 +0800)]
MDL-74602 mod_assign: disable activity header on embedded grader page

3 months agoMDL-74602 theme_boost: fix missing activity header in embedded layout
Jake Dallimore [Tue, 3 May 2022 01:53:57 +0000 (09:53 +0800)]
MDL-74602 theme_boost: fix missing activity header in embedded layout

The activity header, which includes things like dates and completion
information, was moved out of the page $OUTPUT and into a separate
template context variable in 4.0, meaning it was missing from any layout
which didn't actively add it back to the page output. This fixes this
problem for the embedded layout only by adding support for the activity
header in the embedded template.

3 months agoMerge branch 'MDL-74317-2' of https://github.com/dravek/moodle
Jun Pataleta [Mon, 2 May 2022 09:24:29 +0000 (17:24 +0800)]
Merge branch 'MDL-74317-2' of https://github.com/dravek/moodle

3 months agoMDL-74317 blocks: Blocks can be added to profile pages
David Matamoros [Thu, 21 Apr 2022 07:04:36 +0000 (09:04 +0200)]
MDL-74317 blocks: Blocks can be added to profile pages

- Fixed method user_can_addto to take into account that
blocks can also be added to user profile pages

3 months agoMDL-74317 output: Remove capability checks in edit mode WS
David Matamoros [Tue, 5 Apr 2022 12:57:03 +0000 (14:57 +0200)]
MDL-74317 output: Remove capability checks in edit mode WS

- Removed validation on the change edit mode WS. Permission should
be handled where the edit button is rendered in order to show or not
the button.

3 months agoMerge branch 'MDL-74436' of https://github.com/paulholden/moodle
Jun Pataleta [Mon, 2 May 2022 08:30:00 +0000 (16:30 +0800)]
Merge branch 'MDL-74436' of https://github.com/paulholden/moodle

3 months agoMDL-74576 enrol_lti: allow unsupported scopes in ags_info
Jake Dallimore [Mon, 2 May 2022 04:13:49 +0000 (12:13 +0800)]
MDL-74576 enrol_lti: allow unsupported scopes in ags_info

Instead of hard blocking launches with extension scopes, just ignore
the unsupported scopes and continue.

3 months agoMDL-74128 reportbuilder: Behat helper for navigating to view page.
Paul Holden [Tue, 8 Mar 2022 09:46:04 +0000 (09:46 +0000)]
MDL-74128 reportbuilder: Behat helper for navigating to view page.

3 months agoMDL-74612 cohort: use data generator for populating cohort members.
Paul Holden [Fri, 29 Apr 2022 15:09:35 +0000 (16:09 +0100)]
MDL-74612 cohort: use data generator for populating cohort members.

3 months agoMDL-74567 core: re-factor flickr libraries to use shared user-agent.
Paul Holden [Fri, 29 Apr 2022 12:31:55 +0000 (13:31 +0100)]
MDL-74567 core: re-factor flickr libraries to use shared user-agent.

3 months agoMDL-74611 course settigns: re-order Common module settings
Tim Hunt [Fri, 29 Apr 2022 12:23:41 +0000 (13:23 +0100)]
MDL-74611 course settigns: re-order Common module settings

All the group-related settings should be next to each other.

3 months agoMDL-74567 repository_flickr: replace user-agent value for API calls.
Paul Holden [Tue, 26 Apr 2022 13:10:18 +0000 (14:10 +0100)]
MDL-74567 repository_flickr: replace user-agent value for API calls.

Flickr doesn't like user agent that looks like a bot. Effectively the
same reasoning/fix as b8ee31a0.

3 months agoweekly release 4.1dev
Ilya Tregubov [Fri, 29 Apr 2022 01:55:26 +0000 (07:55 +0600)]
weekly release 4.1dev

3 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ilya Tregubov [Fri, 29 Apr 2022 01:55:23 +0000 (07:55 +0600)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 months agoMDL-74598 reportbuilder: Fix action menus alignment to the right
Mikel Martín [Thu, 28 Apr 2022 14:29:48 +0000 (16:29 +0200)]
MDL-74598 reportbuilder: Fix action menus alignment to the right

3 months agoMDL-74441 mod_forum: Fix overflow in unified grader
Cameron Ball [Thu, 28 Apr 2022 07:08:48 +0000 (15:08 +0800)]
MDL-74441 mod_forum: Fix overflow in unified grader

3 months agoMerge branch 'MDL-74478-master' of https://github.com/mihailges/moodle
Jun Pataleta [Thu, 28 Apr 2022 04:54:33 +0000 (12:54 +0800)]
Merge branch 'MDL-74478-master' of https://github.com/mihailges/moodle

3 months agoMDL-74478 badges: Check completion_fail when awarding badge
Peter Dias [Wed, 13 Apr 2022 03:31:09 +0000 (11:31 +0800)]
MDL-74478 badges: Check completion_fail when awarding badge

Bring the award_criteria_activity checks in line with the observer checks

3 months agoMerge branch 'MDL-74461-master' of https://github.com/HuongNV13/moodle
Jun Pataleta [Thu, 28 Apr 2022 03:40:07 +0000 (11:40 +0800)]
Merge branch 'MDL-74461-master' of https://github.com/HuongNV13/moodle

3 months agoMerge branch 'master-MDL-74427-v4' of https://github.com/golenkovm/moodle
Ilya Tregubov [Thu, 28 Apr 2022 02:09:37 +0000 (08:09 +0600)]
Merge branch 'master-MDL-74427-v4' of https://github.com/golenkovm/moodle

3 months agoMerge branch 'MDL-74537-master-enfix' of https://github.com/vmdef/moodle
Jun Pataleta [Wed, 27 Apr 2022 06:35:07 +0000 (14:35 +0800)]
Merge branch 'MDL-74537-master-enfix' of https://github.com/vmdef/moodle

3 months agoMerge branch 'MDL-74510' of https://github.com/stronk7/moodle
Ilya Tregubov [Wed, 27 Apr 2022 03:28:43 +0000 (09:28 +0600)]
Merge branch 'MDL-74510' of https://github.com/stronk7/moodle

3 months agoMerge branch 'MDL-74479' of https://github.com/paulholden/moodle
Ilya Tregubov [Tue, 26 Apr 2022 02:42:25 +0000 (08:42 +0600)]
Merge branch 'MDL-74479' of https://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-74320' of https://github.com/stronk7/moodle
Víctor Déniz [Mon, 25 Apr 2022 12:51:23 +0000 (13:51 +0100)]
Merge branch 'MDL-74320' of https://github.com/stronk7/moodle

3 months agoMerge branch 'MDL-74514' of https://github.com/call-learning/moodle
Víctor Déniz [Mon, 25 Apr 2022 10:33:04 +0000 (11:33 +0100)]
Merge branch 'MDL-74514' of https://github.com/call-learning/moodle

3 months agoMerge branch 'MDL-74481-LTI13-InstructorRole' of https://github.com/cengage/moodle
Ilya Tregubov [Mon, 25 Apr 2022 08:12:02 +0000 (14:12 +0600)]
Merge branch 'MDL-74481-LTI13-InstructorRole' of https://github.com/cengage/moodle

3 months agoMDL-74427 question: Re-use get_real_question_ids_in_category()
Mikhail Golenkov [Tue, 12 Apr 2022 02:47:46 +0000 (12:47 +1000)]
MDL-74427 question: Re-use get_real_question_ids_in_category()

3 months agoMDL-74427 question: Implement get_real_question_ids_in_category()
Mikhail Golenkov [Wed, 13 Apr 2022 10:03:16 +0000 (20:03 +1000)]
MDL-74427 question: Implement get_real_question_ids_in_category()

3 months agoAutomatically generated installer lang files
AMOS bot [Wed, 27 Apr 2022 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 months agoMDL-74537 lang: Import fixed English strings (en_fix)
Helen Foster [Tue, 26 Apr 2022 10:21:12 +0000 (11:21 +0100)]
MDL-74537 lang: Import fixed English strings (en_fix)

3 months agoMDL-74450 admin: Use the context from admin_settingpage as page context
Mihail Geshoski [Thu, 21 Apr 2022 08:21:21 +0000 (16:21 +0800)]
MDL-74450 admin: Use the context from admin_settingpage as page context

The defined context in admin_settingpage does not always relate to the
system context. One example is the 'frontpagesettings' admin setting
page which specifies front page as it's default context. Therefore, the
page context in admin/settings.php should be consisent with the defined
context in the related admin_settingpage object to make sure that the
expected navigation menus are being displayed and properly highlighted.
Additionally, the code in admin/settings.php related to the breadcrumb
structure specific to 'frontpagesettings' has been removed as it is no
longer relevant.

3 months agoMDL-74563 reportbuilder: cast operator parameter in number filter.
Paul Holden [Mon, 25 Apr 2022 13:42:39 +0000 (14:42 +0100)]
MDL-74563 reportbuilder: cast operator parameter in number filter.

Add missing form labels, too.

3 months agoMDL-74436 calendar: validate course/category field during import.
Paul Holden [Thu, 7 Apr 2022 12:50:38 +0000 (13:50 +0100)]
MDL-74436 calendar: validate course/category field during import.

3 months agoMDL-74461 Navigation: Add section anchor to activity breadcrumb
Huong Nguyen [Mon, 25 Apr 2022 02:50:39 +0000 (09:50 +0700)]
MDL-74461 Navigation: Add section anchor to activity breadcrumb

3 months agoMerge branch 'MDL-74477' of https://github.com/paulholden/moodle
Ilya Tregubov [Mon, 25 Apr 2022 07:38:25 +0000 (13:38 +0600)]
Merge branch 'MDL-74477' of https://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-74509' of https://github.com/stronk7/moodle
Ilya Tregubov [Mon, 25 Apr 2022 03:03:31 +0000 (09:03 +0600)]
Merge branch 'MDL-74509' of https://github.com/stronk7/moodle

3 months agoAutomatically generated installer lang files
AMOS bot [Mon, 25 Apr 2022 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 months agoMDL-74510 upgrade: add the 4.0.0 separation line to all upgrade scripts
Eloy Lafuente (stronk7) [Sun, 17 Apr 2022 16:35:25 +0000 (18:35 +0200)]
MDL-74510 upgrade: add the 4.0.0 separation line to all upgrade scripts

3 months agoMDL-74509 backup: Bump release to 4.1
Eloy Lafuente (stronk7) [Sun, 17 Apr 2022 16:16:46 +0000 (18:16 +0200)]
MDL-74509 backup: Bump release to 4.1

3 months agoMDL-74320 lesson: Remove tested elsewhere parts of the scenario
Eloy Lafuente (stronk7) [Thu, 24 Mar 2022 19:02:23 +0000 (20:02 +0100)]
MDL-74320 lesson: Remove tested elsewhere parts of the scenario

The scenario has not only grades related completion conditions
but also timing conditions or reach the end conditions that
shouldn't be tested by a grades feature.

More yet, those completion conditions are already tested by
other feature files, namely:
- reach the end: completion_condition_end_reached.feature
- visit and timing: lesson_activity_completion.feature

So we have removed all those parts that are being tested
by other features.

Specially the visit and timing ones, because they lead to
random failures in slow environments and they have been
fixed in the lesson_activity_completion.feature scenarios
by MDL-72698.

3 months agoweekly on-sync release 4.1dev
Eloy Lafuente (stronk7) [Fri, 22 Apr 2022 16:04:09 +0000 (18:04 +0200)]
weekly on-sync release 4.1dev

3 months agoMDL-74546 enrol_lti: add missing d-flex to table to fix safari layout
Jake Dallimore [Fri, 22 Apr 2022 02:17:13 +0000 (10:17 +0800)]
MDL-74546 enrol_lti: add missing d-flex to table to fix safari layout

3 months agoMerge branch 'MDL-74394' of https://github.com/aolley/moodle
Ilya Tregubov [Fri, 22 Apr 2022 02:00:30 +0000 (08:00 +0600)]
Merge branch 'MDL-74394' of https://github.com/aolley/moodle