Commit graph

106622 commits

Author SHA1 Message Date
Stevani Andolo
5f12bcdc81 MDL-75482 lib: Upgrade codemirror to 5.65.9 2022-10-13 13:57:38 +08:00
Shamim Rezaie
3fa533a2de Merge branch 'MDL-75642-master' of https://github.com/BruceGoodGuy/moodle 2022-10-13 16:28:10 +11:00
Jun Pataleta
f8cfc005a9 Merge branch 'MDL-69655_final-deprecation-of-admin_setting_managelicenses' of https://github.com/ziegenberg/moodle 2022-10-13 13:17:32 +08:00
Stevani Andolo
3339bdb8d4 MDL-75478 lib: Set Moodle files after PHP-JWT upgrade 2022-10-13 12:46:14 +08:00
Jun Pataleta
1b8583082f Merge branch 'MDL-75820-master' of https://github.com/lameze/moodle 2022-10-13 08:34:05 +08:00
Tim Hunt
06c63f7aa1 MDL-75727 question regrading: fix each attempt builds on last
This fixes a regression caused by MDL-74752. If you regraded
a subsequent quiz attempt in a quiz using the 'Each attempt
builds on last' option, then the student's response could get lost.
2022-10-12 11:10:55 +01:00
Paul Holden
abeedec596 MDL-75970 tool_customlang: clarify CLI export target/filename. 2022-10-12 10:13:48 +01:00
Ilya Tregubov
c3d7241ea3 Merge branch 'MDL-74956' of https://github.com/paulholden/moodle 2022-10-12 11:42:04 +03:00
Paul Holden
8822089877 MDL-74956 reportbuilder: external method for retrieving custom report. 2022-10-12 09:36:23 +01:00
Jun Pataleta
36e4ca71c6 Merge branch 'MDL-75034' of https://github.com/paulholden/moodle 2022-10-12 14:24:35 +08:00
David Woloszyn
8f5799109e MDL-75483 atto_html: Upgrade JS Beautify to 1.14.6 2022-10-12 16:29:44 +11:00
Jake Dallimore
9d9a825efe Merge branch 'MDL-75383-master' of https://github.com/call-learning/moodle 2022-10-12 13:14:30 +08:00
Jake Dallimore
8ead046ac3 Merge branch 'MDL-75176' of https://github.com/call-learning/moodle 2022-10-12 12:56:40 +08:00
Jake Dallimore
4576a34bec Merge branch 'MDL-73424-master' of https://github.com/marinaglancy/moodle 2022-10-12 11:51:40 +08:00
Stevani Andolo
b2c095b16b MDL-75478 lib: Upgrade PHP-JWT to 6.3.0 2022-10-12 11:27:12 +08:00
Andrew Nicols
18a4241fee MDL-75962 js: Fix jsdoc violations 2022-10-12 10:06:40 +08:00
Jun Pataleta
8167e6e327 Merge branch 'MDL-75431' of https://github.com/AnupamaSarjoshi/moodle 2022-10-12 09:39:21 +08:00
Jun Pataleta
de5cd36e92 Merge branch 'MDL-75140-master' of https://github.com/aanabit/moodle 2022-10-12 09:38:21 +08:00
Jun Pataleta
be9a0c8f35 Merge branch 'MDL-75887-master' of https://github.com/andrewnicols/moodle 2022-10-12 09:23:32 +08:00
Simey Lameze
baa1e52530 MDL-75887 behat: Add ability to set value regardless of the editor
Prior to this commit, the behat_form_editor integration was hard-coded
to use Atto.

This change allows other editors to be used to set editor values, and
breaks that hard bond. Following this change, any editor is able to
define a behat_editor_[name].php file defining a function which meets
the following signature:

  set_editor_value(string $editorid, string $value): void

Each editor is responsible for checking whether its own API is available
and calling any relevant functions to force the editor to set the
content.

Please note: Behat is unable to determine the current editor in use on
the page automatically.
2022-10-12 06:44:09 +08:00
Andrew Nicols
3286f9ba71 MDL-75959 customfield: Correct inappropriate class import
I suspect this was an incorrect tab completion import by an IDE which
was missed.
2022-10-12 06:39:38 +08:00
Paul Holden
ffea18688c MDL-75955 gradereport_summary: ensure page context is always set.
Remove global course object, and pass via entity constructor.
2022-10-11 21:50:16 +01:00
sam marshall
18dc2a50ab MDL-75736 lib: Course cache can be rebuilt unnecessarily
This change puts back the behaviour that get_fast_modinfo will accept
a cached version of modinfo that is newer than expected (according to
the course cacherev).

Not accepting newer versions can lead to poor performance in cases
where multiple requests take place at once, or using a clustered
database.
2022-10-11 16:56:21 +01:00
Jun Pataleta
e4c5a12a1c on-demand release 4.1dev+ 2022-10-11 23:17:05 +08:00
Jun Pataleta
b2f9c22692 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-10-11 23:17:03 +08:00
Andrew Nicols
60a343fcfd Merge branch 'MDL-75156-master-fix' of https://github.com/junpataleta/moodle 2022-10-11 22:02:14 +08:00
Jun Pataleta
f96a0feb6b MDL-75156 gradereport: Use large window size for aggregation tests 2022-10-11 21:08:25 +08:00
Luca Bösch
eec8a50406 MDL-74789 course: category full width 2022-10-11 11:40:14 +02:00
Daniel Ziegenberg
5e57b0322b
MDL-69655 tool_licenses: Final deprecation admin_setting_managelicenses
Following MDL-45184 this now finally deprecates and removes the class
\admin_setting_managelicenses. Please use \tool_licensemanager\manager
instead.

Following MDL-45184 this now finally deprecates and removes the
function license_manager::add(). Please use license_manager::save()
instead.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-10-11 11:09:51 +02:00
Amaia Anabitarte
80a627294a MDL-75140 mod_data: Tests to cover skipping mapping workflow 2022-10-11 11:00:26 +02:00
Amaia Anabitarte
bc7caa3ac8 MDL-75140 mod_data: Skip mapping form if there is no field created 2022-10-11 11:00:26 +02:00
Laurent David
bcc18e2439 MDL-55580 core: Process for deprecating a capability
* Add a $deprecatedcapabilities variable to deal with deprecated
capabilities

Change-Id: I14f44d331e8a1c4bd9abe9566c78d911c0205583
Co-authored-by: Mark Johnson <mark.johnson@catalyst-eu.net>
2022-10-11 08:48:17 +01:00
Jun Pataleta
4563dc24d5 Merge branch 'MDL-75156-fix' of https://github.com/ilyatregubov/moodle 2022-10-11 13:49:09 +08:00
Ilya Tregubov
10570acfde MDL-75156 gradebook: Fix grade handling. 2022-10-11 09:32:58 +04:00
Jun Pataleta
5ed4ea149a Merge branch 'MDL-74913' of https://github.com/lostrogit/moodle 2022-10-11 12:18:46 +08:00
David Woloszyn
c65ae9ffd8 MDL-75470 lib: Upgraded PHP Markdown to version 2.0.0 2022-10-11 11:52:28 +11:00
Simey Lameze
5737ad319f MDL-75820 blocks: switch window size to large 2022-10-11 08:47:13 +08:00
AMOS bot
db0b31a40a Automatically generated installer lang files 2022-10-11 00:07:36 +00:00
Rodrigo Mady da Silva
9526610c64 MDL-75099 tool_mobile: Contact site support option in disabledfeatures 2022-10-10 16:25:48 -03:00
Paul Holden
045eb42c9d MDL-75931 reportbuilder: use datasource for custom report exporters.
Make the related data property of the custom report exporters expect
an actual custom report instance, rather than the root base type.
2022-10-10 17:41:00 +01:00
sam marshall
d6b4506a8b MDL-75751 upgradelib: Improve upgrade/install performance logging
* Adds time logging (number of seconds for each success) on install,
  which was previously only shown in upgrades. Useful when installing
  a new plugin as part of an upgrade, or if anyone wants to optimise
  Moodle installation.

* In developer debug mode, upgrade savepoint time was already logged
  but now it also logs time for lots of 'details' of the process in
  case time is taken in other Moodle function calls.
2022-10-10 17:09:14 +01:00
sam marshall
2280ea18f6 MDL-75751 upgradelib: Refactor out duplicated component update code
There are many places (install/upgrade for core, modules, blocks,
and plugins) where we need to call the same, or very similar,
sequence of Moodle functions to ensure the item is updated properly.

This change moves that sequence into a function so that it can be
held consistently in one place.
2022-10-10 17:09:14 +01:00
sam marshall
8e35bb415d MDL-75834 lib: Focus lock JS bug when focus area removed 2022-10-10 16:24:30 +01:00
Juan Leyva
afc85e6bd5 MDL-75894 bigbluebuttonbn: Return instance features info 2022-10-10 17:01:59 +02:00
Marina Glancy
44aac31980 MDL-73424 general: specify return type where possible 2022-10-10 16:46:26 +02:00
Marina Glancy
41b93bd7e5 MDL-73424 general: Internal methods must have same type as parent
Otherwise the error is thrown in PHP8.1
2022-10-10 16:46:13 +02:00
Sara Arjona
fd14173a88 Merge branch 'MDL-75656' of https://github.com/paulholden/moodle 2022-10-10 16:16:20 +02:00
Stevani Andolo
abaa38eebe MDL-75465 lib: Upgrade minify to 1.3.69 2022-10-10 19:41:24 +08:00
Jun Pataleta
00e28f5495 Merge branch 'MDL-75923-master' of https://github.com/andrewnicols/moodle 2022-10-10 18:24:06 +08:00
Jun Pataleta
99bb6d0bfe Merge branch 'MDL-75909-master' of https://github.com/andrewnicols/moodle 2022-10-10 18:08:31 +08:00