moodle.git
3 days agoweekly release 4.0dev master
Jun Pataleta [Fri, 26 Feb 2021 05:42:40 +0000 (13:42 +0800)]
weekly release 4.0dev

3 days agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 26 Feb 2021 05:42:36 +0000 (13:42 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 days agoMerge branch 'MDL-70169-master' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 25 Feb 2021 04:30:22 +0000 (12:30 +0800)]
Merge branch 'MDL-70169-master' of git://github.com/lameze/moodle

4 days agoMerge branch 'MDL-70768-langpack-admin' of https://github.com/brendanheywood/moodle
Jun Pataleta [Thu, 25 Feb 2021 03:32:36 +0000 (11:32 +0800)]
Merge branch 'MDL-70768-langpack-admin' of https://github.com/brendanheywood/moodle

5 days agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Feb 2021 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 days agoMerge branch 'MDL-51111-muc-reset' of https://github.com/brendanheywood/moodle
Víctor Déniz [Wed, 24 Feb 2021 14:07:33 +0000 (14:07 +0000)]
Merge branch 'MDL-51111-muc-reset' of https://github.com/brendanheywood/moodle

5 days agoMerge branch 'MDL-70828-master' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Wed, 24 Feb 2021 10:14:25 +0000 (11:14 +0100)]
Merge branch 'MDL-70828-master' of git://github.com/abgreeve/moodle

5 days agoMDL-70828 performance: Allow session locking issue to be turned off.
Adrian Greeve [Tue, 9 Feb 2021 01:32:32 +0000 (09:32 +0800)]
MDL-70828 performance: Allow session locking issue to be turned off.

If a developer has debugging on then they will recieve all debugging
messages for locking whether wanted or not. We already have a setting
to display these messages.

6 days agoMerge branch 'MDL-52817' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 23 Feb 2021 18:07:56 +0000 (19:07 +0100)]
Merge branch 'MDL-52817' of git://github.com/paulholden/moodle

6 days agoMDL-70314 lib: Remove a few more hidden files and add instructions
Eloy Lafuente (stronk7) [Tue, 23 Feb 2021 17:39:24 +0000 (18:39 +0100)]
MDL-70314 lib: Remove a few more hidden files and add instructions

6 days agoMerge branch 'MDL-70314' of https://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Tue, 23 Feb 2021 17:33:29 +0000 (18:33 +0100)]
Merge branch 'MDL-70314' of https://github.com/Chocolate-lightning/moodle

6 days agoMerge branch 'MDL-70920-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 23 Feb 2021 16:43:32 +0000 (17:43 +0100)]
Merge branch 'MDL-70920-master' of git://github.com/marinaglancy/moodle

6 days agoMerge branch 'MDL-70038-master' of https://github.com/jpahullo/moodle
Víctor Déniz [Tue, 23 Feb 2021 11:14:14 +0000 (11:14 +0000)]
Merge branch 'MDL-70038-master' of https://github.com/jpahullo/moodle

6 days agoMDL-70038 assign: add suport for pdftoppm tool
Jordi Pujol Ahulló [Mon, 26 Oct 2020 15:57:25 +0000 (16:57 +0100)]
MDL-70038 assign: add suport for pdftoppm tool

pdftoppm (from poppler-utils package) is several orders of
magnitude quicker than ghostscript extracting PNG images
from PDF documents.

We add support for this tool and use it whenever set up,
or using gs as before if missing.

Revisited code with peer review comments. In particular:

1. Make default path for pdftoppm empty string.
2. Fix a typo on the method description for get_gs_command_for_image.
3. Added more information why is useful pdftoppm into string pathtopdftoppm_help.
4. Check that path for pdftoppm is executable to prevent errors. Otherwise, use gs.

7 days agoMerge branch 'MDL-43697-master' of https://github.com/praxisdigital/moodle
Eloy Lafuente (stronk7) [Mon, 22 Feb 2021 22:09:53 +0000 (23:09 +0100)]
Merge branch 'MDL-43697-master' of https://github.com/praxisdigital/moodle

7 days agoMDL-70314 lib: Change XLSX wrapper to no change the default styles
Mathew May [Mon, 22 Feb 2021 03:43:05 +0000 (11:43 +0800)]
MDL-70314 lib: Change XLSX wrapper to no change the default styles

This is required due to changes in the base library see #1712
Summary is that if a column already has styling it can't be overpowered.

7 days agoMDL-70314 lib: Apply Moodle specific phpspreadsheet changes
Mathew May [Fri, 8 Jan 2021 06:52:48 +0000 (14:52 +0800)]
MDL-70314 lib: Apply Moodle specific phpspreadsheet changes

7 days agoMDL-70314 lib: Upgrade PhpSpreadsheet to 1.16.0
Mathew May [Mon, 18 Jan 2021 03:40:23 +0000 (11:40 +0800)]
MDL-70314 lib: Upgrade PhpSpreadsheet to 1.16.0

7 days agoMDL-69259 h5pactivity: Whitespace fix
Andrew Nicols [Mon, 22 Feb 2021 04:19:18 +0000 (12:19 +0800)]
MDL-69259 h5pactivity: Whitespace fix

7 days agoMerge branch 'MDL-69259-master' of git://github.com/ilyatregubov/moodle
Andrew Nicols [Mon, 22 Feb 2021 04:06:13 +0000 (12:06 +0800)]
Merge branch 'MDL-69259-master' of git://github.com/ilyatregubov/moodle

8 days agoAutomatically generated installer lang files
AMOS bot [Mon, 22 Feb 2021 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files

8 days agoMerge branch 'MDL-70879' of https://github.com/stronk7/moodle
Andrew Nicols [Sun, 21 Feb 2021 23:49:54 +0000 (07:49 +0800)]
Merge branch 'MDL-70879' of https://github.com/stronk7/moodle

8 days agoMDL-70920 core: prevent calls to call_user_fun_array() with assoc array
Marina Glancy [Thu, 18 Feb 2021 10:49:43 +0000 (11:49 +0100)]
MDL-70920 core: prevent calls to call_user_fun_array() with assoc array

8 days agoMDL-70920 backup: call_user_func_array can accept named arguments
Marina Glancy [Tue, 16 Feb 2021 21:52:52 +0000 (22:52 +0100)]
MDL-70920 backup: call_user_func_array can accept named arguments

Because arguments names do not match in associative array, we change it to regular array or arguments

10 days agoMDL-52817 dml: implement driver methods for SQL group concatenation.
Paul Holden [Wed, 11 Nov 2020 22:38:34 +0000 (22:38 +0000)]
MDL-52817 dml: implement driver methods for SQL group concatenation.

10 days agoMDL-43697 backup: Archived badges are restored during course restore
Daniel Kristian Steffensen [Tue, 15 Dec 2020 14:51:31 +0000 (15:51 +0100)]
MDL-43697 backup: Archived badges are restored during course restore

10 days agoMDL-69259 h5pactivity: Add get_user_attempts webservice
Ilya Tregubov [Tue, 24 Nov 2020 08:14:35 +0000 (10:14 +0200)]
MDL-69259 h5pactivity: Add get_user_attempts webservice

10 days agoMDL-70879 behat: Bump to Behat 3.8.x (required for php80)
Eloy Lafuente (stronk7) [Sun, 14 Feb 2021 15:58:09 +0000 (16:58 +0100)]
MDL-70879 behat: Bump to Behat 3.8.x (required for php80)

10 days agoweekly release 4.0dev
Víctor Déniz [Fri, 19 Feb 2021 12:38:56 +0000 (12:38 +0000)]
weekly release 4.0dev

10 days agoNOBUG: Fixed file access permissions
Víctor Déniz [Fri, 19 Feb 2021 12:38:56 +0000 (12:38 +0000)]
NOBUG: Fixed file access permissions

10 days agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Víctor Déniz [Fri, 19 Feb 2021 12:38:51 +0000 (12:38 +0000)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

10 days agoMerge branch 'MDL-64554-master-fix2' of git://github.com/andrewnicols/moodle
Jake Dallimore [Fri, 19 Feb 2021 03:53:18 +0000 (11:53 +0800)]
Merge branch 'MDL-64554-master-fix2' of git://github.com/andrewnicols/moodle

10 days agoMDL-64554 user: Fix use of Private files page on classic
Andrew Nicols [Fri, 19 Feb 2021 00:33:20 +0000 (08:33 +0800)]
MDL-64554 user: Fix use of Private files page on classic

The "Private files" link does not exist in the site navigation when
using the classic theme, so it is not possible to test the dedicated
page via Behat at this time.

11 days agoAutomatically generated installer lang files
AMOS bot [Fri, 19 Feb 2021 00:07:57 +0000 (00:07 +0000)]
Automatically generated installer lang files

11 days agoMDL-64554 form: reset form change checker before triggering submit event
Marina Glancy [Thu, 18 Feb 2021 11:04:58 +0000 (12:04 +0100)]
MDL-64554 form: reset form change checker before triggering submit event

11 days agoMerge branch 'MDL-47410-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 18 Feb 2021 03:21:23 +0000 (11:21 +0800)]
Merge branch 'MDL-47410-master' of git://github.com/andrewnicols/moodle

11 days agoMerge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 18 Feb 2021 03:16:40 +0000 (11:16 +0800)]
Merge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle

11 days agoMDL-64554 core_form: Rename class for dynamic form
Andrew Nicols [Thu, 18 Feb 2021 03:16:21 +0000 (11:16 +0800)]
MDL-64554 core_form: Rename class for dynamic form

11 days agoMerge branch 'MDL-70880' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 18 Feb 2021 02:47:05 +0000 (10:47 +0800)]
Merge branch 'MDL-70880' of git://github.com/paulholden/moodle

11 days agoMerge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 18 Feb 2021 02:21:55 +0000 (10:21 +0800)]
Merge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle

11 days agoMDL-64554 core_form: CI fixes
Andrew Nicols [Thu, 18 Feb 2021 02:10:08 +0000 (10:10 +0800)]
MDL-64554 core_form: CI fixes

11 days agoMDL-47410 behat: Perform exact match for date_time selectors
Andrew Nicols [Thu, 18 Feb 2021 00:02:54 +0000 (08:02 +0800)]
MDL-47410 behat: Perform exact match for date_time selectors

12 days agoMerge branch 'MDL-70536-reset-page-cli' of https://github.com/brendanheywood/moodle
Víctor Déniz [Thu, 18 Feb 2021 00:28:30 +0000 (00:28 +0000)]
Merge branch 'MDL-70536-reset-page-cli' of https://github.com/brendanheywood/moodle

12 days agoMDL-64554 core_form: Move strings to outputrequirements.lib
Marina Glancy [Wed, 10 Feb 2021 14:38:19 +0000 (15:38 +0100)]
MDL-64554 core_form: Move strings to outputrequirements.lib

12 days agoMDL-64554 user: make private files editor modal/ajax form
Marina Glancy [Thu, 19 Nov 2020 16:46:28 +0000 (17:46 +0100)]
MDL-64554 user: make private files editor modal/ajax form

12 days agoMDL-64554 core_customfield: use modal forms for fields
Marina Glancy [Tue, 2 Apr 2019 12:48:20 +0000 (14:48 +0200)]
MDL-64554 core_customfield: use modal forms for fields

12 days agoMDL-64554 core_form: new API for modal forms
Marina Glancy [Thu, 19 Nov 2020 13:09:45 +0000 (14:09 +0100)]
MDL-64554 core_form: new API for modal forms

12 days agoMerge branch 'master-MDL-70752' of https://github.com/golenkovm/moodle
Víctor Déniz [Wed, 17 Feb 2021 16:56:48 +0000 (16:56 +0000)]
Merge branch 'master-MDL-70752' of https://github.com/golenkovm/moodle

12 days agoMerge branch 'MDL-70552-master' of git://github.com/ilyatregubov/moodle
Eloy Lafuente (stronk7) [Wed, 17 Feb 2021 09:26:20 +0000 (10:26 +0100)]
Merge branch 'MDL-70552-master' of git://github.com/ilyatregubov/moodle

12 days agoMDL-70552 core_message: Show popup for teachers when anonymous
Ilya Tregubov [Wed, 13 Jan 2021 07:38:45 +0000 (09:38 +0200)]
MDL-70552 core_message: Show popup for teachers when anonymous

user completed feedback.

12 days agoMDL-68853 mod_h5pactivity: Whitespace fix
Andrew Nicols [Wed, 17 Feb 2021 04:02:53 +0000 (12:02 +0800)]
MDL-68853 mod_h5pactivity: Whitespace fix

12 days agoMerge branch 'MDL-68853-master' of git://github.com/ilyatregubov/moodle
Andrew Nicols [Wed, 17 Feb 2021 03:47:27 +0000 (11:47 +0800)]
Merge branch 'MDL-68853-master' of git://github.com/ilyatregubov/moodle

12 days agoMerge branch 'MDL-47410-master' of git://github.com/mihailges/moodle
Andrew Nicols [Wed, 17 Feb 2021 01:34:22 +0000 (09:34 +0800)]
Merge branch 'MDL-47410-master' of git://github.com/mihailges/moodle

13 days agoAutomatically generated installer lang files
AMOS bot [Wed, 17 Feb 2021 00:07:52 +0000 (00:07 +0000)]
Automatically generated installer lang files

13 days agoMerge branch 'MDL-70264-master' of git://github.com/sarjona/moodle
Andrew Nicols [Tue, 16 Feb 2021 23:26:15 +0000 (07:26 +0800)]
Merge branch 'MDL-70264-master' of git://github.com/sarjona/moodle

13 days agoMerge branch 'MDL-69562_master' of https://github.com/dvdcastro/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2021 21:32:56 +0000 (22:32 +0100)]
Merge branch 'MDL-69562_master' of https://github.com/dvdcastro/moodle

13 days agoMerge branch 'MDL-66600' of https://github.com/mkassaei/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2021 21:11:55 +0000 (22:11 +0100)]
Merge branch 'MDL-66600' of https://github.com/mkassaei/moodle

13 days agoMerge branch 'MDL-70525_master' of https://github.com/TomoTsuyuki/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2021 18:56:09 +0000 (19:56 +0100)]
Merge branch 'MDL-70525_master' of https://github.com/TomoTsuyuki/moodle

13 days agoMerge branch 'MDL-48269-master-4' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2021 18:45:44 +0000 (19:45 +0100)]
Merge branch 'MDL-48269-master-4' of git://github.com/junpataleta/moodle

13 days agoMerge branch 'MDL-69762_master' of https://github.com/grillonbleu/moodle
Sara Arjona [Tue, 16 Feb 2021 14:29:34 +0000 (15:29 +0100)]
Merge branch 'MDL-69762_master' of https://github.com/grillonbleu/moodle

13 days agoMDL-48269 core_backup: Prevent unwanted group icons from being restored
Jun Pataleta [Fri, 29 Jan 2021 09:15:40 +0000 (17:15 +0800)]
MDL-48269 core_backup: Prevent unwanted group icons from being restored

* Old backups might have hidepicture defined and set to 1 in which case
we must make sure to exclude the group picture for these groups from
being restored.

13 days agoMDL-48269 mod_forum: Remove occurrences of hidepicture
Jun Pataleta [Thu, 28 Jan 2021 06:09:49 +0000 (14:09 +0800)]
MDL-48269 mod_forum: Remove occurrences of hidepicture

13 days agoMDL-48269 messageoutput_email: Remove occurrences of hidepicture
Jun Pataleta [Thu, 28 Jan 2021 06:09:23 +0000 (14:09 +0800)]
MDL-48269 messageoutput_email: Remove occurrences of hidepicture

13 days agoMDL-48269 group: Remove additional occurrences of hidepicture
Jun Pataleta [Thu, 28 Jan 2021 06:08:45 +0000 (14:08 +0800)]
MDL-48269 group: Remove additional occurrences of hidepicture

13 days agoMDL-48269 language: Deprecating 'hidepicture' string
Frederic Massart [Fri, 7 Nov 2014 06:30:12 +0000 (14:30 +0800)]
MDL-48269 language: Deprecating 'hidepicture' string

13 days agoMDL-48269 group: Remove the option to hide the picture of a group
Frederic Massart [Thu, 6 Nov 2014 08:46:50 +0000 (16:46 +0800)]
MDL-48269 group: Remove the option to hide the picture of a group

Plus additional amendments to Fred's original commit:
1. Updating the version numbers
2. Merging the original two-step upgrade below into one for simplicity:
   1. Deleting the pictures for groups with hidepicture set to 1; and
   2. Dropping the hidepicture field itself.
3. Converted array() usages to the short syntax [].

2 weeks agoAutomatically generated installer lang files
AMOS bot [Tue, 16 Feb 2021 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMerge branch 'MDL-70806-master' of git://github.com/ferranrecio/moodle
Eloy Lafuente (stronk7) [Mon, 15 Feb 2021 21:29:31 +0000 (22:29 +0100)]
Merge branch 'MDL-70806-master' of git://github.com/ferranrecio/moodle

2 weeks agoMerge branch 'MDL-70882-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 15 Feb 2021 21:22:15 +0000 (22:22 +0100)]
Merge branch 'MDL-70882-master' of git://github.com/andrewnicols/moodle

2 weeks agoMDL-69762 core_contentbank: let users hide their content
François Moreau [Wed, 23 Sep 2020 17:49:57 +0000 (13:49 -0400)]
MDL-69762 core_contentbank: let users hide their content

2 weeks agoMDL-66600 quiz manual grading: show any automated grading and feedback
Mahmoud Kassaei [Fri, 12 Feb 2021 09:03:32 +0000 (09:03 +0000)]
MDL-66600 quiz manual grading: show any automated grading and feedback

2 weeks agoMerge branch 'MDL-70735-pdf-metadata' of https://github.com/brendanheywood/moodle
Adrian Greeve [Mon, 15 Feb 2021 01:09:40 +0000 (09:09 +0800)]
Merge branch 'MDL-70735-pdf-metadata' of https://github.com/brendanheywood/moodle

2 weeks agoMDL-70882 performance: Revert "MDL-47456 core: Remove redundant DB call during bootstrap"
Andrew Nicols [Mon, 15 Feb 2021 00:07:18 +0000 (08:07 +0800)]
MDL-70882 performance: Revert "MDL-47456 core: Remove redundant DB call during bootstrap"

This reverts commit 522e4c6c767b31efd3ba015db549fe65687b2b22.

The DB calls are not redundant and have an impact in a number of edge
cases.

2 weeks agoMDL-70880 message: preserve window scroll when close message drawer.
Paul Holden [Fri, 12 Feb 2021 21:59:53 +0000 (21:59 +0000)]
MDL-70880 message: preserve window scroll when close message drawer.

2 weeks agoAutomatically generated installer lang files
AMOS bot [Sat, 13 Feb 2021 00:07:57 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-68853 h5pactivity: Add a websevice to trigger report_viewed event.
Ilya Tregubov [Mon, 11 Jan 2021 12:34:45 +0000 (14:34 +0200)]
MDL-68853 h5pactivity: Add a websevice to trigger report_viewed event.

2 weeks agoMDL-70735 tcpdf: Reduce information disclosure from TCPDF
Brendan Heywood [Fri, 29 Jan 2021 01:33:17 +0000 (12:33 +1100)]
MDL-70735 tcpdf: Reduce information disclosure from TCPDF

2 weeks agoMDL-70169 login: fix accessibility issues
Simey Lameze [Tue, 9 Feb 2021 08:22:05 +0000 (16:22 +0800)]
MDL-70169 login: fix accessibility issues

2 weeks agoMDL-70264 badges: remove badges/oauth2callback.php
Sara Arjona [Thu, 28 Jan 2021 10:28:17 +0000 (11:28 +0100)]
MDL-70264 badges: remove badges/oauth2callback.php

File badges/oauth2callback.php has been removed and now badges
API will use admin/oauth2callback.php because it makes no sense having
it twice.

Credits go to Andrew Nicols for raising it!

2 weeks agoweekly release 4.0dev
Sara Arjona [Thu, 11 Feb 2021 13:54:37 +0000 (14:54 +0100)]
weekly release 4.0dev

2 weeks agoNOBUG: Fixed file access permissions
Sara Arjona [Thu, 11 Feb 2021 13:54:37 +0000 (14:54 +0100)]
NOBUG: Fixed file access permissions

2 weeks agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 11 Feb 2021 13:54:35 +0000 (14:54 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 weeks agoMDL-70806 h5p: fix resize glitch
Ferran Recio [Thu, 11 Feb 2021 10:49:21 +0000 (11:49 +0100)]
MDL-70806 h5p: fix resize glitch

2 weeks agoMDL-47410 mod_assign: Update mod_assign behat tests
Mihail Geshoski [Thu, 11 Feb 2021 04:05:58 +0000 (12:05 +0800)]
MDL-47410 mod_assign: Update mod_assign behat tests

Updates the mod_assign behat tests to utilize the ability to
conviniently populate the datetime selector fields.

2 weeks agoMDL-47410 behat: Support selection from the datetime selector element
Mihail Geshoski [Thu, 11 Feb 2021 04:04:46 +0000 (12:04 +0800)]
MDL-47410 behat: Support selection from the datetime selector element

Adds behat support for selecting date and time from a datetime selector
element. The passed values should represent a textual date and time
description wrapped in '##' (e.g. '##first day of January 2020 08:00##',
'##1 Jan 2020 10:30##'). Also, the value 'disabled' is valid and can be
used to disable the datetime selector element.

2 weeks agoMDL-47410 tool_licensemanager: Update tool_licensemanager behat tests
Mihail Geshoski [Thu, 11 Feb 2021 04:01:09 +0000 (12:01 +0800)]
MDL-47410 tool_licensemanager: Update tool_licensemanager behat tests

Updates the tool_licensemanager behat tests to utilize the ability to
conviniently populate the date selector fields.

2 weeks agoMDL-47410 behat: Support date selection from the date selector element
Mihail Geshoski [Thu, 11 Feb 2021 03:58:44 +0000 (11:58 +0800)]
MDL-47410 behat: Support date selection from the date selector element

Adds behat support for selecting a date from the date selector element.
The passed values should represent a textual date description wrapped
in '##' (e.g. '##first day of January 2020##', '##1 Jan 2020##'). Also,
the value 'disabled' is valid and can be used to disable the date
selector element.

2 weeks agoMDL-47410 behat: Create custom selector for the date and datetime fields
Mihail Geshoski [Thu, 11 Feb 2021 03:49:18 +0000 (11:49 +0800)]
MDL-47410 behat: Create custom selector for the date and datetime fields

Creates a custom field selector to locate the requested date or datetime
form fields.

2 weeks agoMDL-47410 behat: Move logic from guess_type() to a separate method
Mihail Geshoski [Thu, 11 Feb 2021 03:40:30 +0000 (11:40 +0800)]
MDL-47410 behat: Move logic from guess_type() to a separate method

Moves the logic from guess_type() to a separate protected method
get_field_instance_for_element(). This would be quite useful for
form field classes as they can now use this method when there is
a need to determine the type of a given node element.

2 weeks agoMDL-47410 behat: Use data-fieldtype attribute to guess the field type
Mihail Geshoski [Thu, 11 Feb 2021 03:38:00 +0000 (11:38 +0800)]
MDL-47410 behat: Use data-fieldtype attribute to guess the field type

The data-fieldtype attribute (if present) should be also utilized in
guess_field_type() and match the behavior in get_field_node_type().

2 weeks agoMDL-47410 form: Add data-fieldtype attribute to checkbox inline element
Mihail Geshoski [Thu, 11 Feb 2021 03:36:27 +0000 (11:36 +0800)]
MDL-47410 form: Add data-fieldtype attribute to checkbox inline element

Includes the data-fieldtype attribute to the checkbox inline form
element. This element does not extend the parent inline element
template due to its specific nature and therefore this attribute was
missing.

2 weeks agoMDL-70124 course: Activity names are now trimmed.
Tuan.Dinh [Thu, 12 Nov 2020 03:18:43 +0000 (10:18 +0700)]
MDL-70124 course: Activity names are now trimmed.

2 weeks agoMerge branch 'MDL-70755' of https://github.com/mkassaei/moodle
Adrian Greeve [Thu, 11 Feb 2021 02:54:38 +0000 (10:54 +0800)]
Merge branch 'MDL-70755' of https://github.com/mkassaei/moodle

2 weeks agoMerge branch 'MDL-70773' of https://github.com/mkassaei/moodle
Adrian Greeve [Thu, 11 Feb 2021 02:19:39 +0000 (10:19 +0800)]
Merge branch 'MDL-70773' of https://github.com/mkassaei/moodle

2 weeks agoMerge branch 'MDL-70513' of https://github.com/timhunt/moodle
Adrian Greeve [Thu, 11 Feb 2021 02:06:50 +0000 (10:06 +0800)]
Merge branch 'MDL-70513' of https://github.com/timhunt/moodle

2 weeks agoMDL-70627 filters: aarch64 mimetex type support for filter tex notation
John Yao [Thu, 14 Jan 2021 06:19:08 +0000 (17:19 +1100)]
MDL-70627 filters: aarch64 mimetex type support for filter tex notation

Amended to correct permissions.

2 weeks agoMerge branch 'MDL-69867-master_display_grade_with_scale' of git://github.com/moffe42...
Adrian Greeve [Thu, 11 Feb 2021 01:23:50 +0000 (09:23 +0800)]
Merge branch 'MDL-69867-master_display_grade_with_scale' of git://github.com/moffe42/moodle

2 weeks agoAutomatically generated installer lang files
AMOS bot [Thu, 11 Feb 2021 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-51111 cache: Don't lock and write the config file if unchanged
Brendan Heywood [Sat, 7 Nov 2020 06:27:46 +0000 (17:27 +1100)]
MDL-51111 cache: Don't lock and write the config file if unchanged

2 weeks agoMDL-70768 tool_langimport: Make installed admin UI more consistent
Brendan Heywood [Tue, 2 Feb 2021 09:58:04 +0000 (20:58 +1100)]
MDL-70768 tool_langimport: Make installed admin UI more consistent