moodle.git
3 days agoweekly release 4.1dev master
Ilya Tregubov [Thu, 19 May 2022 13:24:25 +0000 (19:24 +0600)]
weekly release 4.1dev

3 days agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ilya Tregubov [Thu, 19 May 2022 13:24:23 +0000 (19:24 +0600)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 days agoMerge branch 'MDL-73163-master' of https://github.com/lameze/moodle
Jun Pataleta [Thu, 19 May 2022 02:11:48 +0000 (10:11 +0800)]
Merge branch 'MDL-73163-master' of https://github.com/lameze/moodle

4 days agoMerge branch 'MDL-74480' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 19 May 2022 02:05:42 +0000 (08:05 +0600)]
Merge branch 'MDL-74480' of https://github.com/paulholden/moodle

4 days agoMerge branch 'MDL-74165' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 19 May 2022 02:02:17 +0000 (08:02 +0600)]
Merge branch 'MDL-74165' of https://github.com/paulholden/moodle

4 days agoMerge branch 'MDL-74416-master' of https://github.com/lameze/moodle
Jun Pataleta [Thu, 19 May 2022 01:59:54 +0000 (09:59 +0800)]
Merge branch 'MDL-74416-master' of https://github.com/lameze/moodle

4 days agoMerge branch 'MDL-73478-improve-set-config' of https://github.com/keevan/moodle
Jun Pataleta [Wed, 18 May 2022 15:11:06 +0000 (23:11 +0800)]
Merge branch 'MDL-73478-improve-set-config' of https://github.com/keevan/moodle

4 days agoMerge branch 'MDL-74497-fixup' of https://github.com/dravek/moodle
Jun Pataleta [Wed, 18 May 2022 14:04:47 +0000 (22:04 +0800)]
Merge branch 'MDL-74497-fixup' of https://github.com/dravek/moodle

4 days agoMerge branch 'MDL-74377' of https://github.com/roland04/moodle
Jun Pataleta [Wed, 18 May 2022 13:47:54 +0000 (21:47 +0800)]
Merge branch 'MDL-74377' of https://github.com/roland04/moodle

4 days agoMDL-74377 reportbuilder: Fix dimmed text for dropdown items
Mikel Martín [Thu, 12 May 2022 14:39:05 +0000 (16:39 +0200)]
MDL-74377 reportbuilder: Fix dimmed text for dropdown items

To show inactive/unavailable rows '.dimmed_text' class usages have been replaced with '.text-muted'.

4 days agoMDL-74497 reportbuilder: Ensure entity report element order is kept
David Matamoros [Wed, 18 May 2022 11:19:34 +0000 (13:19 +0200)]
MDL-74497 reportbuilder: Ensure entity report element order is kept

5 days agoMDL-72256 enrol_fee: Fix indentaion for Behat.
Ilya Tregubov [Wed, 18 May 2022 07:13:02 +0000 (13:13 +0600)]
MDL-72256 enrol_fee: Fix indentaion for Behat.

5 days agoMerge branch 'MDL-72256' of https://github.com/danmarsden/moodle
Ilya Tregubov [Wed, 18 May 2022 07:04:11 +0000 (13:04 +0600)]
Merge branch 'MDL-72256' of https://github.com/danmarsden/moodle

5 days agoMDL-72256 enrol_fee: add payment information to course/info.php
Dan Marsden [Wed, 18 May 2022 06:55:29 +0000 (18:55 +1200)]
MDL-72256 enrol_fee: add payment information to course/info.php

5 days agoMerge branch 'MDL-74497-master' of https://github.com/dravek/moodle
Jun Pataleta [Wed, 18 May 2022 06:36:17 +0000 (14:36 +0800)]
Merge branch 'MDL-74497-master' of https://github.com/dravek/moodle

5 days agoMerge branch 'MDL22570_master' of https://github.com/tasosb/moodle
Jun Pataleta [Tue, 17 May 2022 15:30:23 +0000 (23:30 +0800)]
Merge branch 'MDL22570_master' of https://github.com/tasosb/moodle

5 days agoMerge branch 'MDL-73184' of https://github.com/roland04/moodle
Jun Pataleta [Tue, 17 May 2022 11:39:44 +0000 (19:39 +0800)]
Merge branch 'MDL-73184' of https://github.com/roland04/moodle

6 days agoMerge branch 'MDL-74150' of https://github.com/lostrogit/moodle
Jun Pataleta [Tue, 17 May 2022 03:54:57 +0000 (11:54 +0800)]
Merge branch 'MDL-74150' of https://github.com/lostrogit/moodle

6 days agoAutomatically generated installer lang files
AMOS bot [Tue, 17 May 2022 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 days agoMDL-74150 tool_componentlibrary: Add title attribute to core/toggle
Carlos Castillo [Thu, 10 Mar 2022 15:13:08 +0000 (10:13 -0500)]
MDL-74150 tool_componentlibrary: Add title attribute to core/toggle

6 days agoMDL-73184 reportbuilder: preserve pagesize property between requests.
Paul Holden [Tue, 7 Dec 2021 17:38:31 +0000 (17:38 +0000)]
MDL-73184 reportbuilder: preserve pagesize property between requests.

Given that custom reports can now have defined pagesize properties, we
need to preserve that value in the table filterset so that it's always
available after AJAX requests.

6 days agoMDL-73184 reportbuilder: Add default page size setting
Mikel Martín [Tue, 7 Dec 2021 15:01:41 +0000 (16:01 +0100)]
MDL-73184 reportbuilder: Add default page size setting

10 days agoMDL-74497 reportbuilder: Use new methods in existing datasources
David Matamoros [Tue, 19 Apr 2022 13:43:54 +0000 (15:43 +0200)]
MDL-74497 reportbuilder: Use new methods in existing datasources

- Replace all individual calls to add all columns, filters and
conditions on the cohorts datasource with the new
method add_all_from_entities().

- Replace all individual calls to add all columns, filters and
conditions on the courses datasource with the new
method add_all_from_entities().

- Replace all individual calls to add all columns, filters and
conditions on the users datasource with the new
method add_all_from_entity().

10 days agoMDL-74497 reportbuilder: Add all columns/filters/conditions at once
David Matamoros [Tue, 19 Apr 2022 13:33:52 +0000 (15:33 +0200)]
MDL-74497 reportbuilder: Add all columns/filters/conditions at once

10 days agoAutomatically generated installer lang files
AMOS bot [Fri, 13 May 2022 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files

10 days agoweekly release 4.1dev
Jun Pataleta [Thu, 12 May 2022 14:16:01 +0000 (22:16 +0800)]
weekly release 4.1dev

11 days 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

11 days 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

11 days 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

12 days 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

12 days agoMDL-22570 group: Export groups/groupings to ods/xls/txt
Anastasios Bithas [Tue, 14 Dec 2021 12:02:53 +0000 (14:02 +0200)]
MDL-22570 group: Export groups/groupings to ods/xls/txt

A new feature that enables teachers to export groups and
groupings through the groups overview page, making use of the dataformat api.

13 days 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

13 days 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

13 days 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.

13 days agoMDL-74416 phpunit: fix generator counters reset
Petr Skoda [Sun, 3 Apr 2022 08:22:42 +0000 (10:22 +0200)]
MDL-74416 phpunit: fix generator counters reset

13 days agoMDL-73163 behat: Changed most to must
Kordan [Thu, 25 Nov 2021 06:00:49 +0000 (07:00 +0100)]
MDL-73163 behat: Changed most to must

2 weeks 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")

2 weeks 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

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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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.

2 weeks 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

2 weeks agoMDL-74480 reportbuilder: new user entity description column/filter.
Paul Holden [Mon, 11 Apr 2022 16:01:06 +0000 (17:01 +0100)]
MDL-74480 reportbuilder: new user entity description column/filter.

2 weeks agoMDL-74165 reportbuilder: helpers to create multiple params/aliases.
Paul Holden [Thu, 10 Mar 2022 17:24:45 +0000 (17:24 +0000)]
MDL-74165 reportbuilder: helpers to create multiple params/aliases.

2 weeks 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

2 weeks 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

2 weeks 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>
2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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.

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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.

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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>
2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks agoweekly release 4.1dev
Ilya Tregubov [Fri, 29 Apr 2022 01:55:26 +0000 (07:55 +0600)]
weekly release 4.1dev