Commit graph

27680 commits

Author SHA1 Message Date
Brendan Heywood
0f89884980 MDL-69265 email: Add admin setting for email headers 2020-08-12 20:51:10 +10:00
Andrew Nicols
08b8b76655 Merge branch 'MDL-69356' of https://github.com/stronk7/moodle 2020-08-12 14:00:44 +08:00
Andrew Nicols
b7146cdff9 Merge branch 'MDL-69353' of https://github.com/paulholden/moodle 2020-08-12 11:21:48 +08:00
Andrew Nicols
452497da41 Merge branch 'MDL-68334-master' of git://github.com/lucaboesch/moodle 2020-08-12 11:05:54 +08:00
Eloy Lafuente (stronk7)
62a7d2b5de Merge branch 'MDL-68729-master' of https://github.com/sammarshallou/moodle into master 2020-08-12 01:28:51 +02:00
Luca Bösch
4994817908 MDL-68334 user: Display name in footer as elsewhere. 2020-08-08 10:38:56 +02:00
Gareth Barnard
da4ded8a16
MDL-64818 blocks: blocks_for_region() is inefficient. 2020-08-07 13:58:35 +01:00
Michael Hawkins
bb32174261 MDL-69241 lib: Reset dynamic tables to page 1 when filtering or sorting
This ensures consistency and that the page will always exist, which may
not be true for later pages if applying filters returns fewer results.
2020-08-07 12:51:49 +08:00
Eloy Lafuente (stronk7)
27738e1c07 MDL-69356 unit tests: make some assertions dir separator agnostic 2020-08-07 02:09:15 +02:00
sam marshall
b58009596f MDL-68729 Admin: Allow validation of admin_setting_configselect
The admin_setting_configselect admin setting did not support validation.
It was possible to validate only by using a subclass.

This change allows validation by a callback function. It also makes it
slightly easier to handle validation in a subclass if you want to do
that.

The main advantage is for cases where a setting is not generic but
is only ever going to be required in one place, and it creates
unnecessary clutter to make a new subclass.
2020-08-06 12:12:01 +01:00
Noel De Martin
b421039a5c MDL-69421 behat: Revert app behat navigation to call session visit 2020-08-06 12:08:43 +02:00
sam marshall
f87597aae3 MDL-68729 Admin: Allow lazy-load of admin_setting_configselect
The admin_setting_configselect admin setting already supported lazy
loading, but this was only available for subclasses. This change
means you can use it directly within the admin setting.

The main advantage is for cases where a setting is not generic but
is only ever going to be required in one place, and it creates
unnecessary clutter to make a new subclass.
2020-08-06 10:52:13 +01:00
Jun Pataleta
0a94e31cf9 Merge branch 'MDL-60501-h4_close_tag' of https://github.com/leonstr/moodle 2020-08-06 12:11:26 +08:00
Adrian Greeve
8a5f125ad7 Merge branch 'MDL-69311' of https://github.com/paulholden/moodle 2020-08-06 09:47:48 +08:00
Jordan Tomkinson
ef8dff0565 MDL-69207 core_h5p: Add muc cache support for h5p library files 2020-08-06 02:40:24 +01:00
Eloy Lafuente (stronk7)
d55f2b787c Merge branch 'MDL-67687-master-2' of git://github.com/andrewnicols/moodle into master 2020-08-06 00:59:15 +02:00
Shamim Rezaie
1e21a0b3d5 MDL-68932 core: showhidesettings to work with multiple hideIf()s 2020-08-05 19:06:08 +10:00
Jun Pataleta
acf199345a Merge branch 'MDL-60574_master' of https://github.com/t-schroeder/moodle 2020-08-04 19:51:50 +08:00
Andrew Nicols
41eaa09bbe MDL-67687 behat: Make axe tests optional 2020-08-04 18:56:57 +08:00
Andrew Nicols
9d47a69094 MDL-67687 behat: Add axe web accessibility tool integration 2020-08-04 18:56:06 +08:00
Andrew Nicols
06d486d9a3 MDL-67687 behat: Add axe-core 3.5.5 2020-08-04 18:48:11 +08:00
Andrew Nicols
b0e096d870 MDL-67687 cli: Make boolean CLI args negatable 2020-08-04 18:48:11 +08:00
Tim Schroeder
95fc9d9399
MDL-60574 atto_undo: fixed redo erasing content
When you'd hit ctrl-y with nothing on the redo stack the entire
content of Atto would get deleted with no way of getting it back.
2020-08-04 09:24:15 +02:00
Michael Hawkins
bd40419f2f MDL-69336 lib: Correctly return promises when table show/hide columns
Previously showColumn and HideColumn were returning nothing, so
attempts to catch exceptions were themselves throwing errors in the
browser console.
2020-08-04 15:18:39 +08:00
Michael Hawkins
c2f188311e MDL-69336 lib: Reinstating tablelib column show/hide functionality
Also added behat testing for hide/show columns in participants table.
2020-08-04 15:18:39 +08:00
Paul Holden
42fcf7d5da MDL-67394 dml: improve thrown exception when Oracle can't parse query. 2020-07-30 16:21:01 +01:00
Jun Pataleta
adcd69e11f Merge branch 'MDL-65923-40-core_grades_add_gradeitem_deleted_event' of https://github.com/tomdickman/moodle 2020-07-30 09:57:57 +08:00
Tom Dickman
68049ac848 MDL-65923 core grades: Add a new event for when a grade item is deleted 2020-07-30 08:18:59 +10:00
Victor Deniz Falcon
0bafd769ec Merge branch 'MDL-68968-master' of git://github.com/lameze/moodle 2020-07-29 22:01:06 +01:00
Eloy Lafuente (stronk7)
f8666013b3 Merge branch 'MDL-68390-master' of git://github.com/andrewnicols/moodle into master 2020-07-29 19:34:45 +02:00
Jun Pataleta
6d685cef62 Merge branch 'MDL-69238-master' of git://github.com/mihailges/moodle 2020-07-29 17:44:12 +08:00
Jun Pataleta
954de4f651 Merge branch 'MDL-69252-close_tag' of https://github.com/leonstr/moodle 2020-07-29 11:17:47 +08:00
Eloy Lafuente (stronk7)
24ccd6e908 Merge branch 'MDL-68107-master' of git://github.com/bmbrands/moodle 2020-07-28 12:40:04 +02:00
C4ne
4144e278a6 MDL-68107 editor_atto: responsive images for drag and drop 2020-07-27 09:55:33 +02:00
Mihail Geshoski
c4296f77e0 MDL-69238 core: Remove coursecat_sortable_records class 2020-07-27 09:43:16 +08:00
Paul Holden
15af3240b3 MDL-69353 admin: set page title when prompting for upgrade key. 2020-07-24 13:24:13 +01:00
Mihail Geshoski
d6ec2d3e44 MDL-69079 core: Restore and set missing guest user 2020-07-24 11:08:25 +08:00
Simey Lameze
e3c28dffa3 MDL-68968 core: fix wrong phpdoc on admin_externalpage 2020-07-24 07:42:45 +08:00
Jun Pataleta
a03e9e0d9d Merge branch 'MDL-68874-db-sql-instrumentation' of https://github.com/brendanheywood/moodle 2020-07-22 18:10:46 +08:00
Paul Holden
c1c57e816c MDL-69311 dataformat: correct license docblock.
When this class was implemented in 8844cb82, it incorrectly set the
license to Moodle Workplace.
2020-07-22 10:44:35 +01:00
Andrew Nicols
b284293402 MDL-69138 behat: Update session->visit() to use visit step 2020-07-22 16:43:08 +08:00
Andrew Nicols
d61fa24239 MDL-69138 behat: Add "I visit :localurl" step 2020-07-22 16:43:08 +08:00
Eloy Lafuente (stronk7)
8e44da5653 Merge branch 'MDL-69160-master' of git://github.com/andrewnicols/moodle 2020-07-21 23:29:29 +02:00
Adrian Greeve
17e99314a2 Merge branch 'MDL-67657-master' of git://github.com/andrewnicols/moodle 2020-07-21 14:47:14 +08:00
Leon Stringer
6b03aebf27 MDL-60501 themes: Fix closing <h4> in template
In site admin pages (/admin/search.php) <h4> elements were generated
with an incorrect second opening <h4> instead of a closing </h4>.
2020-07-20 15:51:14 +01:00
Eloy Lafuente (stronk7)
a16ab5697d Merge branch 'MDL-69278-master' of git://github.com/andrewnicols/moodle 2020-07-18 11:55:48 +02:00
Jake Dallimore
988d0d4c50 Merge branch 'MDL-69215-master-2' of git://github.com/andrewnicols/moodle 2020-07-16 16:25:55 +02:00
Eloy Lafuente (stronk7)
9e28ba2b65 Merge branch 'MDL-69074-master' of https://github.com/mackensen/moodle 2020-07-16 16:21:27 +02:00
Andrew Nicols
083604ea09 MDL-67657 behat: Open course with editing using URL
This is a huge performance improvement for behat.

The current set of steps loads the page
It then looks for the Classic/Clean version of the settings menu
If it fails to find it looks for the Boost Cog
Then it clicks the "Turn editing on" button

This can take a substantial period.

We do not actually need to run these steps as we are able to jump
straight to the URL. We already have access to the sesskey value
required to do this.

There is not loss in testing functionality because the actual testing of
the Turn editing functionality is tested in other places sufficiently.
2020-07-16 11:06:43 +08:00
Andrew Nicols
cd6eadd407 MDL-67657 behat: Convert existing uses of executeScript 2020-07-16 11:06:31 +08:00