moodle.git
4 years agoMDL-49202 core: Comment broken test. eba1d32c00f9a307c2b4ba8ce13797f615d081a6
Ilya Tregubov [Thu, 19 Aug 2021 15:04:43 +0000 (17:04 +0200)]
MDL-49202 core: Comment broken test.

Should be fixed properly as part of MDL-72377.

4 years agoMerge branch 'MDL-49202_master' of git://github.com/mdjnelson/moodle
Ilya Tregubov [Thu, 19 Aug 2021 14:53:30 +0000 (16:53 +0200)]
Merge branch 'MDL-49202_master' of git://github.com/mdjnelson/moodle

4 years agoMDL-49202 core: fix failing unit tests
Mark Nelson [Thu, 19 Aug 2021 09:06:49 +0000 (17:06 +0800)]
MDL-49202 core: fix failing unit tests

See MDL-72377.

4 years agoMDL-49202 core_grades: add Behat tests
Mark Nelson [Tue, 17 Aug 2021 12:12:53 +0000 (20:12 +0800)]
MDL-49202 core_grades: add Behat tests

4 years agoMDL-71615 qbank_deletequestion: Ensure that the returnurl is qualified
Andrew Nicols [Thu, 19 Aug 2021 08:12:29 +0000 (16:12 +0800)]
MDL-71615 qbank_deletequestion: Ensure that the returnurl is qualified

4 years agoMerge branch 'MDL-72143-master' of git://github.com/jleyva/moodle
Andrew Nicols [Thu, 19 Aug 2021 03:55:33 +0000 (11:55 +0800)]
Merge branch 'MDL-72143-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'MDL-72135-master' of https://github.com/golenkovm/moodle
Andrew Nicols [Thu, 19 Aug 2021 03:27:32 +0000 (11:27 +0800)]
Merge branch 'MDL-72135-master' of https://github.com/golenkovm/moodle

4 years agoMerge branch 'MDL-71709' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 19 Aug 2021 03:24:27 +0000 (11:24 +0800)]
Merge branch 'MDL-71709' of git://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-68639-master' of https://github.com/xcaro/moodle
Andrew Nicols [Thu, 19 Aug 2021 01:50:27 +0000 (09:50 +0800)]
Merge branch 'MDL-68639-master' of https://github.com/xcaro/moodle

4 years agoMerge branch 'MDL-71944' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 19 Aug 2021 01:34:13 +0000 (09:34 +0800)]
Merge branch 'MDL-71944' of git://github.com/paulholden/moodle

4 years agoMDL-66266 core_message: Whitespace fix
Andrew Nicols [Thu, 19 Aug 2021 01:31:16 +0000 (09:31 +0800)]
MDL-66266 core_message: Whitespace fix

4 years agoMerge branch 'MDL-66266-master' of git://github.com/cescobedo/moodle
Andrew Nicols [Thu, 19 Aug 2021 01:27:00 +0000 (09:27 +0800)]
Merge branch 'MDL-66266-master' of git://github.com/cescobedo/moodle

4 years agoMerge branch 'MDL-72186' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 18 Aug 2021 18:35:00 +0000 (20:35 +0200)]
Merge branch 'MDL-72186' of git://github.com/paulholden/moodle

4 years agoMerge branch 'master-MDL-72210' of https://github.com/golenkovm/moodle
Eloy Lafuente (stronk7) [Wed, 18 Aug 2021 17:54:39 +0000 (19:54 +0200)]
Merge branch 'master-MDL-72210' of https://github.com/golenkovm/moodle

4 years agoMerge branch 'MDL-72206-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Wed, 18 Aug 2021 17:30:23 +0000 (19:30 +0200)]
Merge branch 'MDL-72206-master' of git://github.com/junpataleta/moodle

4 years agoMerge branch 'MDL-72097' of git://github.com/danmarsden/moodle
Víctor Déniz [Wed, 18 Aug 2021 16:19:18 +0000 (17:19 +0100)]
Merge branch 'MDL-72097' of git://github.com/danmarsden/moodle

4 years agoMDL-71615 qbank_deletequestion: Whitespace fixes
Andrew Nicols [Wed, 18 Aug 2021 14:18:13 +0000 (22:18 +0800)]
MDL-71615 qbank_deletequestion: Whitespace fixes

4 years agoMDL-71615 qbank_deletequestion: Add Delete question plugin to core
Safat Shahin [Thu, 3 Jun 2021 06:17:37 +0000 (16:17 +1000)]
MDL-71615 qbank_deletequestion: Add Delete question plugin to core

This implementation will introduce a qbank plugin
"deletequestion" which will implement the delete question
action in the question bank view by replacing the core
class. Having this plugin will give users the
flexibility of enabling or disabling this action.

4 years agoMerge branch 'MDL-69451-shared-temptables' of https://github.com/srdjan-catalyst...
Andrew Nicols [Wed, 18 Aug 2021 13:39:41 +0000 (21:39 +0800)]
Merge branch 'MDL-69451-shared-temptables' of https://github.com/srdjan-catalyst/moodle

4 years agoMerge branch 'master-MDL-72239-v2' of https://github.com/golenkovm/moodle
Víctor Déniz [Wed, 18 Aug 2021 12:56:46 +0000 (13:56 +0100)]
Merge branch 'master-MDL-72239-v2' of https://github.com/golenkovm/moodle

4 years agoMerge branch 'MDL-71685' of https://github.com/paulholden/moodle
Víctor Déniz [Wed, 18 Aug 2021 12:21:39 +0000 (13:21 +0100)]
Merge branch 'MDL-71685' of https://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-71954-master' of git://github.com/rezaies/moodle
Ilya Tregubov [Wed, 18 Aug 2021 10:14:46 +0000 (12:14 +0200)]
Merge branch 'MDL-71954-master' of git://github.com/rezaies/moodle

4 years agoMerge branch 'MDL-71487' of https://github.com/paulholden/moodle
Víctor Déniz [Wed, 18 Aug 2021 08:54:33 +0000 (09:54 +0100)]
Merge branch 'MDL-71487' of https://github.com/paulholden/moodle

4 years agoMerge branch 'master_MDL-71516-qbank' of https://github.com/catalyst/moodle-MDL-70329
Ilya Tregubov [Tue, 17 Aug 2021 12:13:40 +0000 (14:13 +0200)]
Merge branch 'master_MDL-71516-qbank' of https://github.com/catalyst/moodle-MDL-70329

4 years agoMerge branch 'MDL-71814-master' of git://github.com/NashTechOpenUniversity/moodle
Ilya Tregubov [Mon, 16 Aug 2021 11:53:30 +0000 (13:53 +0200)]
Merge branch 'MDL-71814-master' of git://github.com/NashTechOpenUniversity/moodle

4 years agoMDL-72097 mod_assign: pass gradinginfo to disabled check.
Dan Marsden [Wed, 7 Jul 2021 09:05:16 +0000 (21:05 +1200)]
MDL-72097 mod_assign: pass gradinginfo to disabled check.

4 years agoMDL-49202 core_grades: perform same action on categories in form
Mark Nelson [Tue, 17 Aug 2021 12:13:34 +0000 (20:13 +0800)]
MDL-49202 core_grades: perform same action on categories in form

When you click on 'Edit' then 'Hide' on a grade item like a course category
that contains many grade items, the course and the grade items are set to
hidden. However, if you use the 'hidden' option on the 'Edit settings'
page it only hides that item and none of the items (assignment etc)
under that course category. We want them to be consistent.

4 years agoMDL-72239 phpunit: Assert the number of db queries to be less or equal
Mikhail Golenkov [Wed, 18 Aug 2021 01:01:29 +0000 (11:01 +1000)]
MDL-72239 phpunit: Assert the number of db queries to be less or equal

The course unit test assumes the number of db call. This assumption
is correct in vanilla moodle only. Once some plugins installed their
observers may do extra db calls. Due to caching the number of actual
db calls in the unit test may be fewer.

4 years agoMDL-49202 core_grades: perform same action on items in form
Mark Nelson [Tue, 17 Aug 2021 12:12:27 +0000 (20:12 +0800)]
MDL-49202 core_grades: perform same action on items in form

When you click on 'Edit' then 'Hide' on a grade item like an
assignment it also hides the grades. However, If you use the
'hidden' option on the 'Edit settings' page it just hides that
item and doesn't hide grades as well. We want them to be
consistent.

4 years agoMDL-71516 core_question: Qbank api implementation
safatshahin [Thu, 24 Jun 2021 14:08:16 +0000 (00:08 +1000)]
MDL-71516 core_question: Qbank api implementation

This commit implements the qbank api so that any plugin
can implement its own question bank. This api currently
works parallely with the moodle core classes and the
added qbank in the core, means the moment a plugin
is installed, that object is replaced with the object
from the plugin instead of core, which means the api
has flexibility till the plugins are integrated and the
plugins can be integrated in any order.

All the old classes are still there and not deprecated
as there is a different tracker for the changes to the
quiz and another tracker for class deprecation and
class renaming. Core question units tests are pointing
to the new api structure but the classes are pointing
to the location related to the plugin availability.

Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
one more array fix

4 years agoMDL-68639 HTML Editor (Atto): Invalid HTML for nested lists
Nhan Vo [Tue, 7 Jul 2020 10:08:35 +0000 (17:08 +0700)]
MDL-68639 HTML Editor (Atto): Invalid HTML for nested lists

4 years agoMDL-71814 Atto: File picker – file info panel focus issue
Thach Le Huy [Thu, 3 Jun 2021 00:29:27 +0000 (07:29 +0700)]
MDL-71814 Atto: File picker – file info panel focus issue

4 years agoMDL-71516 core_question: Create new plugin type - qbank
safatshahin [Thu, 24 Jun 2021 12:49:04 +0000 (22:49 +1000)]
MDL-71516 core_question: Create new plugin type - qbank

This commit implements the qbank plugin type which
includes the boilerplate for the qbank plugin, the
qbank plugin management admin page and required core
code addition.

4 years agoMDL-71516 core_question: Class movement for moodle autoloading
safatshahin [Thu, 24 Jun 2021 05:58:09 +0000 (15:58 +1000)]
MDL-71516 core_question: Class movement for moodle autoloading

Movement of classes to classes/local/bank and additional
todo addition to all the existing ones to align with
future tracker for class renaming. This commit does not
contain any class renaming of the old or deprecated
classes. MDL-72004 will be used to rename, remove or
deprecate old classes after integrating all the qbank
plugins.

4 years agoMDL-72135 auth_mnet: Remove rand() from mnet cron task
Mikhail Golenkov [Mon, 12 Jul 2021 09:03:47 +0000 (19:03 +1000)]
MDL-72135 auth_mnet: Remove rand() from mnet cron task

4 years agoMDL-72210 phpunit: Remove excessive curl mock responses
Mikhail Golenkov [Mon, 26 Jul 2021 03:18:21 +0000 (13:18 +1000)]
MDL-72210 phpunit: Remove excessive curl mock responses

4 years agoMerge branch 'MDL-72035-excel_csv_bom' of git://github.com/leonstr/moodle
Ilya Tregubov [Fri, 13 Aug 2021 09:09:27 +0000 (11:09 +0200)]
Merge branch 'MDL-72035-excel_csv_bom' of git://github.com/leonstr/moodle

4 years agoMerge branch 'MDL-72138' of https://github.com/paulholden/moodle
Andrew Nicols [Fri, 13 Aug 2021 02:28:26 +0000 (10:28 +0800)]
Merge branch 'MDL-72138' of https://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-72325-master-tourspolicy' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Fri, 13 Aug 2021 01:58:12 +0000 (09:58 +0800)]
Merge branch 'MDL-72325-master-tourspolicy' of git://github.com/mudrd8mz/moodle

4 years agoweekly release 4.0dev
Ilya Tregubov [Thu, 12 Aug 2021 14:50:14 +0000 (16:50 +0200)]
weekly release 4.0dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ilya Tregubov [Thu, 12 Aug 2021 14:50:12 +0000 (16:50 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-72325 user: Use the core_user::awaiting_action() in existing places
David Mudrák [Thu, 12 Aug 2021 10:44:52 +0000 (12:44 +0200)]
MDL-72325 user: Use the core_user::awaiting_action() in existing places

There were existing places each doing its own checks similar to the ones
covered by the newly added core_user::awaiting_action() method. This
patch replaces those custom checks with this new API call.

4 years agoMDL-72325 user: Do not show user tours without site policy agreed
David Mudrák [Thu, 12 Aug 2021 10:35:48 +0000 (12:35 +0200)]
MDL-72325 user: Do not show user tours without site policy agreed

Fetching user tours used to fail on external_api::validate_context() and
require_login() calls if the user did not have the site policy agreed.

The patch introduces a check to see if the user is fully set up and
ready to use the site before attempting to load the tours.

4 years agoMDL-72325 user: Introduce new core_user::awaiting_action() method
David Mudrák [Thu, 12 Aug 2021 09:49:30 +0000 (11:49 +0200)]
MDL-72325 user: Introduce new core_user::awaiting_action() method

The method allows to check if the user is fully ready to use the site or
whether there is an action (such as filling the missing profile field,
changing password or agreeing to the site policy) needed.

4 years agoMDL-71500 calendar_threemonth: fix wrong behat step
Víctor Déniz [Thu, 12 Aug 2021 10:35:31 +0000 (11:35 +0100)]
MDL-71500 calendar_threemonth: fix wrong behat step

4 years agoMDL-72138 task: allow running core tasks from schedules UI.
Paul Holden [Mon, 12 Jul 2021 11:03:16 +0000 (12:03 +0100)]
MDL-72138 task: allow running core tasks from schedules UI.

Fixes regression from 9c4510a3 that didn't consider tasks belonging
to core, rather than just those belonging to plugins.

4 years agoMerge branch 'MDL-71844' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 12 Aug 2021 02:24:50 +0000 (10:24 +0800)]
Merge branch 'MDL-71844' of https://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-72265' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 11 Aug 2021 21:59:01 +0000 (23:59 +0200)]
Merge branch 'MDL-72265' of https://github.com/timhunt/moodle

4 years agoMerge branch 'MDL-71515-master_improve_test_email' of https://github.com/guillogo...
Eloy Lafuente (stronk7) [Wed, 11 Aug 2021 21:41:34 +0000 (23:41 +0200)]
Merge branch 'MDL-71515-master_improve_test_email' of https://github.com/guillogo/moodle

4 years agoMerge branch 'MDL-71500-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 11 Aug 2021 18:10:40 +0000 (20:10 +0200)]
Merge branch 'MDL-71500-master' of git://github.com/lameze/moodle

4 years agoMerge branch '71992-master-fix-behat-tests-on-https' of https://github.com/DSI-Univer...
Víctor Déniz [Wed, 11 Aug 2021 13:32:20 +0000 (14:32 +0100)]
Merge branch '71992-master-fix-behat-tests-on-https' of https://github.com/DSI-Universite-Rennes2/moodle

4 years agoMerge branch 'MDL-72000' of https://github.com/paulholden/moodle
Víctor Déniz [Wed, 11 Aug 2021 09:59:03 +0000 (10:59 +0100)]
Merge branch 'MDL-72000' of https://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-71945-master' of https://github.com/lucisgit/moodle
Eloy Lafuente (stronk7) [Wed, 11 Aug 2021 09:46:56 +0000 (11:46 +0200)]
Merge branch 'MDL-71945-master' of https://github.com/lucisgit/moodle

4 years agoMerge branch 'MDL-72242-master-svgforcedfilter' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 11 Aug 2021 09:39:52 +0000 (11:39 +0200)]
Merge branch 'MDL-72242-master-svgforcedfilter' of git://github.com/mudrd8mz/moodle

4 years agoMerge branch 'MDL-69918-master' of git://github.com/andrewnicols/moodle
Víctor Déniz [Tue, 10 Aug 2021 17:37:42 +0000 (18:37 +0100)]
Merge branch 'MDL-69918-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'MDL-72254' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 10 Aug 2021 17:28:13 +0000 (19:28 +0200)]
Merge branch 'MDL-72254' of https://github.com/timhunt/moodle

4 years agoMerge branch 'MDL-71656-master' of git://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Tue, 10 Aug 2021 17:09:33 +0000 (19:09 +0200)]
Merge branch 'MDL-71656-master' of git://github.com/HuongNV13/moodle

4 years agoMerge branch 'MDL-70165' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 10 Aug 2021 16:51:02 +0000 (18:51 +0200)]
Merge branch 'MDL-70165' of git://github.com/paulholden/moodle

4 years agoMDL-69918 core: Update uses of legacy form change checker
Andrew Nicols [Fri, 12 Feb 2021 08:28:44 +0000 (16:28 +0800)]
MDL-69918 core: Update uses of legacy form change checker

4 years agoMDL-69918 core: Rewrite Form Change Checker a ES6
Andrew Nicols [Mon, 12 Oct 2020 06:35:06 +0000 (14:35 +0800)]
MDL-69918 core: Rewrite Form Change Checker a ES6

4 years agoMerge branch 'MDL-71937-master' of git://github.com/sarjona/moodle
Ilya Tregubov [Tue, 10 Aug 2021 14:24:51 +0000 (16:24 +0200)]
Merge branch 'MDL-71937-master' of git://github.com/sarjona/moodle

4 years agoMerge branch 'MDL-72033-master' of git://github.com/NashTechOpenUniversity/moodle
Ilya Tregubov [Tue, 10 Aug 2021 13:59:37 +0000 (15:59 +0200)]
Merge branch 'MDL-72033-master' of git://github.com/NashTechOpenUniversity/moodle

4 years agoMDL-71937 badges: simplify badges page
Sara Arjona [Mon, 5 Jul 2021 15:45:34 +0000 (17:45 +0200)]
MDL-71937 badges: simplify badges page

Apart from reorganising the information displayed in the badges page,
this information has been moved to a template in order to make it
easier to modify and maintain.

4 years agoMDL-71945 mod_assign: Remove unneccesary call to assign_update_grades()
Tony Butler [Thu, 17 Jun 2021 16:43:36 +0000 (17:43 +0100)]
MDL-71945 mod_assign: Remove unneccesary call to assign_update_grades()

The update_grade() call achieves the same thing with additional checks.

4 years agoMDL-71709 libraries: upgrade to version 1.10.1 of MaxMind.
Paul Holden [Mon, 19 Jul 2021 16:32:09 +0000 (17:32 +0100)]
MDL-71709 libraries: upgrade to version 1.10.1 of MaxMind.

4 years agoMDL-71844 tool_task: preserve navigation when executing task.
Paul Holden [Wed, 2 Jun 2021 21:41:49 +0000 (22:41 +0100)]
MDL-71844 tool_task: preserve navigation when executing task.

4 years agoMDL-71944 mod_wiki: use confirm output API for comment deletion.
Paul Holden [Wed, 16 Jun 2021 10:47:59 +0000 (11:47 +0100)]
MDL-71944 mod_wiki: use confirm output API for comment deletion.

4 years agoMDL-71685 dataformat_json: include column names in exported file.
Paul Holden [Wed, 19 May 2021 08:59:05 +0000 (09:59 +0100)]
MDL-71685 dataformat_json: include column names in exported file.

4 years agoMDL-71487 admin: ensure filesize settings don't overflow integer.
Paul Holden [Wed, 28 Apr 2021 19:05:16 +0000 (20:05 +0100)]
MDL-71487 admin: ensure filesize settings don't overflow integer.

4 years agoMDL-72000 user: support custom user fields in participants export.
Paul Holden [Fri, 18 Jun 2021 09:43:09 +0000 (10:43 +0100)]
MDL-72000 user: support custom user fields in participants export.

4 years agoMDL-70165 course: always import inplace editable module.
Paul Holden [Fri, 13 Nov 2020 08:35:06 +0000 (08:35 +0000)]
MDL-70165 course: always import inplace editable module.

It's required on the course participants table for the roles/groups
columns, but isn't always loaded after adding the first participant.

4 years agoMDL-71656 atto: Add meaningful labels to colour items
Huong Nguyen [Wed, 7 Jul 2021 02:27:35 +0000 (09:27 +0700)]
MDL-71656 atto: Add meaningful labels to colour items

Colour chooser supported:
 - atto_fontcolor
 - atto_backcolor

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 6 Aug 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-69451 dml: use same temptables for both rw and ro database handle
Srdjan [Thu, 6 Aug 2020 04:35:27 +0000 (14:35 +1000)]
MDL-69451 dml: use same temptables for both rw and ro database handle

moodle_read_slave_trait: when creating another handle, restore temptables
property that is clobbered by raw_connect().

Also a better condition for temptable related queries detection in
pgsql_native_moodle_database.

dml_pgsql_read_slave_test::test_temp_table(): use real db connection
if possible, otherwise skip the test.

4 years agoweekly release 4.0dev
Víctor Déniz [Thu, 5 Aug 2021 15:27:17 +0000 (16:27 +0100)]
weekly release 4.0dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Víctor Déniz [Thu, 5 Aug 2021 15:27:11 +0000 (16:27 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-72265 backup: fix checking of override capabilites on restore
Tim Hunt [Mon, 2 Aug 2021 16:38:53 +0000 (17:38 +0100)]
MDL-72265 backup: fix checking of override capabilites on restore

Thanks to Peter Dias <peter@moodle.com> for his help with the unit test.

4 years agoMerge branch 'MDL-71835' of git://github.com/paulholden/moodle
Víctor Déniz [Wed, 4 Aug 2021 22:22:40 +0000 (23:22 +0100)]
Merge branch 'MDL-71835' of git://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-71152-master' of git://github.com/roland04/moodle
Víctor Déniz [Wed, 4 Aug 2021 19:37:33 +0000 (20:37 +0100)]
Merge branch 'MDL-71152-master' of git://github.com/roland04/moodle

4 years agoMerge branch 'MDL-72262-master' of git://github.com/ilyatregubov/moodle
Víctor Déniz [Wed, 4 Aug 2021 11:08:22 +0000 (12:08 +0100)]
Merge branch 'MDL-72262-master' of git://github.com/ilyatregubov/moodle

4 years agoMerge branch 'MDL-71050' of https://github.com/paulholden/moodle
abgreeve [Wed, 4 Aug 2021 07:54:08 +0000 (15:54 +0800)]
Merge branch 'MDL-71050' of https://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-71070' of git://github.com/paulholden/moodle
abgreeve [Wed, 4 Aug 2021 02:14:18 +0000 (10:14 +0800)]
Merge branch 'MDL-71070' of git://github.com/paulholden/moodle

4 years agoMDL-71070 report_configlog: convert report to system report.
Paul Holden [Wed, 16 Dec 2020 14:30:40 +0000 (14:30 +0000)]
MDL-71070 report_configlog: convert report to system report.

Convert to system report API provided by Report builder. The entity
defines the columns and filters, which are used by the system
report class we have created.

4 years agoMDL-71070 reportbuilder: consistent user fullname columns sorting.
Paul Holden [Tue, 3 Aug 2021 10:59:40 +0000 (11:59 +0100)]
MDL-71070 reportbuilder: consistent user fullname columns sorting.

Report columns that display the fullname of users should behave
in a consistent manner with current functionality of tables, in
regards to sorting by each individual component of a name (first
name, middle name, surname, etc).

To facilitate this, instead of a hard-coded assumption that such
columns are always named 'fullname', table classes can now define
additional columns containing a users name.

4 years agoMerge branch 'MDL-67412-master' of https://github.com/sharidas/moodle
abgreeve [Tue, 3 Aug 2021 04:37:08 +0000 (12:37 +0800)]
Merge branch 'MDL-67412-master' of https://github.com/sharidas/moodle

4 years agoMDL-67412 setuplib: Final deprecation of generate_uuid
Sujith Haridasan [Tue, 3 Aug 2021 03:02:01 +0000 (08:32 +0530)]
MDL-67412 setuplib: Final deprecation of generate_uuid

Final deprecation of generate_uuid function.

4 years agoMerge branch 'MDL-67833' of https://github.com/paulholden/moodle
abgreeve [Tue, 3 Aug 2021 02:27:39 +0000 (10:27 +0800)]
Merge branch 'MDL-67833' of https://github.com/paulholden/moodle

4 years agoMDL-72242 files: Do not force text filtering of SVG files
David Mudrák [Mon, 2 Aug 2021 12:43:21 +0000 (14:43 +0200)]
MDL-72242 files: Do not force text filtering of SVG files

It was a mistake to force filtering of SVG files in MDL-55243. It can
easily lead to corrupted SVG files.

The patch removes that forced filtering and clarifies the inline comment
of what and why we need to do.

4 years agoMerge branch 'MDL-71323' of git://github.com/paulholden/moodle
Jake Dallimore [Mon, 2 Aug 2021 08:22:30 +0000 (16:22 +0800)]
Merge branch 'MDL-71323' of git://github.com/paulholden/moodle

4 years agoMDL-71153 task: convert task logs table to a system report. 53ed7abf4c3f04231fdd0947da7a7e6404e4b00d
David Matamoros [Tue, 23 Mar 2021 14:09:20 +0000 (15:09 +0100)]
MDL-71153 task: convert task logs table to a system report.

Convert to system report API provided by Report builder. The entity
defined the column and filters, which are used by the system
report class we have created.

Report actions are also defined in the system report.

4 years agoMDL-72262 behat: Make alias shorter to fix Oracle failures.
Ilya Tregubov [Mon, 2 Aug 2021 06:24:59 +0000 (08:24 +0200)]
MDL-72262 behat: Make alias shorter to fix Oracle failures.

4 years agoMerge branch 'MDL-70794' of git://github.com/paulholden/moodle
abgreeve [Mon, 2 Aug 2021 04:39:32 +0000 (12:39 +0800)]
Merge branch 'MDL-70794' of git://github.com/paulholden/moodle

4 years agoMerge branch 'MDL-71621-master' of git://github.com/aanabit/moodle
abgreeve [Mon, 2 Aug 2021 02:11:15 +0000 (10:11 +0800)]
Merge branch 'MDL-71621-master' of git://github.com/aanabit/moodle

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 1 Aug 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 31 Jul 2021 00:07:50 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMerge branch 'MDL-72070-master' of git://github.com/lucaboesch/moodle
Ilya Tregubov [Fri, 30 Jul 2021 12:34:16 +0000 (14:34 +0200)]
Merge branch 'MDL-72070-master' of git://github.com/lucaboesch/moodle

4 years agoMerge branch 'MDL-70271-master' of git://github.com/peterRd/moodle
Ilya Tregubov [Fri, 30 Jul 2021 10:24:35 +0000 (12:24 +0200)]
Merge branch 'MDL-70271-master' of git://github.com/peterRd/moodle

4 years agoMerge branch 'MDL-72085-master' of https://github.com/dmitriim/moodle
Víctor Déniz [Fri, 30 Jul 2021 07:51:47 +0000 (08:51 +0100)]
Merge branch 'MDL-72085-master' of https://github.com/dmitriim/moodle

4 years agoMDL-72254 filesapi: reject itemid=false in file_save_draft_area_files
Tim Hunt [Thu, 29 Jul 2021 11:02:31 +0000 (12:02 +0100)]
MDL-72254 filesapi: reject itemid=false in file_save_draft_area_files

This should never happen, and if it does, it causes many files to be deleted.

4 years agoMerge branch 'MDL-72052' of git://github.com/danmarsden/moodle
Jun Pataleta [Thu, 29 Jul 2021 08:24:19 +0000 (16:24 +0800)]
Merge branch 'MDL-72052' of git://github.com/danmarsden/moodle