104993 Commits

Author SHA1 Message Date
Mihail Geshoski
6588baec97 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.
2022-05-06 13:36:53 +08:00
Mihail Geshoski
4a55d6eb02 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.
2022-05-06 13:36:53 +08:00
Ilya Tregubov
1a744030d6 weekly release 4.1dev 2022-04-29 07:55:26 +06:00
Ilya Tregubov
debcef0903 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-04-29 07:55:23 +06:00
Jun Pataleta
c62fc00125 Merge branch 'MDL-74478-master' of https://github.com/mihailges/moodle 2022-04-28 12:54:33 +08:00
Peter Dias
d27e7e1950 MDL-74478 badges: Check completion_fail when awarding badge
Bring the award_criteria_activity checks in line with the observer checks
2022-04-28 12:14:45 +08:00
Jun Pataleta
44d39bf232 Merge branch 'MDL-74461-master' of https://github.com/HuongNV13/moodle 2022-04-28 11:40:07 +08:00
Ilya Tregubov
4a60e9733d Merge branch 'master-MDL-74427-v4' of https://github.com/golenkovm/moodle 2022-04-28 08:09:37 +06:00
Jun Pataleta
c0466920b3 Merge branch 'MDL-74537-master-enfix' of https://github.com/vmdef/moodle 2022-04-27 15:56:00 +06:00
Ilya Tregubov
af8155036f Merge branch 'MDL-74510' of https://github.com/stronk7/moodle 2022-04-27 15:56:00 +06:00
Ilya Tregubov
9f91cd1ca2 Merge branch 'MDL-74479' of https://github.com/paulholden/moodle 2022-04-27 15:56:00 +06:00
Víctor Déniz
57b300e27f Merge branch 'MDL-74320' of https://github.com/stronk7/moodle 2022-04-27 15:56:00 +06:00
Víctor Déniz
b7a06ebb68 Merge branch 'MDL-74514' of https://github.com/call-learning/moodle 2022-04-27 15:56:00 +06:00
Ilya Tregubov
03c237525c Merge branch 'MDL-74481-LTI13-InstructorRole' of https://github.com/cengage/moodle 2022-04-27 15:56:00 +06:00
Mikhail Golenkov
6a19223290 MDL-74427 question: Re-use get_real_question_ids_in_category() 2022-04-27 12:32:54 +10:00
Mikhail Golenkov
b0e09b34ae MDL-74427 question: Implement get_real_question_ids_in_category() 2022-04-27 12:32:54 +10:00
AMOS bot
bf529d7346 Automatically generated installer lang files 2022-04-27 00:07:42 +00:00
Helen Foster
a1699a58f4 MDL-74537 lang: Import fixed English strings (en_fix) 2022-04-26 11:21:12 +01:00
Huong Nguyen
646a7973b0 MDL-74461 Navigation: Add section anchor to activity breadcrumb 2022-04-25 21:17:30 +07:00
Ilya Tregubov
c6fc13345c Merge branch 'MDL-74477' of https://github.com/paulholden/moodle 2022-04-25 13:38:25 +06:00
Ilya Tregubov
a35ed851ae Merge branch 'MDL-74509' of https://github.com/stronk7/moodle 2022-04-25 09:03:31 +06:00
AMOS bot
6537e014dd Automatically generated installer lang files 2022-04-25 00:07:44 +00:00
Eloy Lafuente (stronk7)
76f5445451 MDL-74510 upgrade: add the 4.0.0 separation line to all upgrade scripts 2022-04-22 18:45:10 +02:00
Eloy Lafuente (stronk7)
3d709bb968 MDL-74509 backup: Bump release to 4.1 2022-04-22 18:45:05 +02:00
Eloy Lafuente (stronk7)
b952441d22 MDL-74320 lesson: Remove tested elsewhere parts of the scenario
The scenario has not only grades related completion conditions
but also timing conditions or reach the end conditions that
shouldn't be tested by a grades feature.

More yet, those completion conditions are already tested by
other feature files, namely:
- reach the end: completion_condition_end_reached.feature
- visit and timing: lesson_activity_completion.feature

So we have removed all those parts that are being tested
by other features.

Specially the visit and timing ones, because they lead to
random failures in slow environments and they have been
fixed in the lesson_activity_completion.feature scenarios
by MDL-72698.
2022-04-22 18:45:00 +02:00
Eloy Lafuente (stronk7)
998c632b5d weekly on-sync release 4.1dev 2022-04-22 18:04:09 +02:00
Ilya Tregubov
427de94fa5 Merge branch 'MDL-74394' of https://github.com/aolley/moodle 2022-04-22 08:00:30 +06:00
Laurent David
7c0b2d4f90 MDL-74514 mod_bigbluebuttonbn: BBB server is polled too often
* Fix issue with the roomupdater that should not force the updatecache flag
for get_meeting_info API
* Fix issue when meeting is not started (and does not exist) and bigbluebutton_proxy::get_meeting_info
throws an exception, skipping the cache and then polling the server every second.
2022-04-21 20:22:16 +02:00
Víctor Déniz
b359ba8562 Merge branch 'MDL-74312-master' of https://github.com/snake/moodle 2022-04-21 16:31:22 +01:00
Jake Dallimore
9343f94131 MDL-74312 enrol_lti: fix copytoclipboard trigger element
This should be a button given it's an action, and making it a button
means it can be activated using either the space or enter keys, instead
of just enter.
2022-04-20 09:31:48 +08:00
Sara Arjona
4714ee36ff Merge branch 'MDL-74512' of https://github.com/stronk7/moodle 2022-04-19 12:55:21 +02:00
Eloy Lafuente (stronk7)
95c8cb7582 MDL-74512 behat: Skip tests requiring lang install/upgrade
By adding the step:

Given remote langimport tests are enabled

We make the execution of scenarios requiring to install /
upgrade lang packs optional, based in the existence of the constant:

TOOL_LANGIMPORT_REMOTE_TESTS

That way, when we are skipping language upgrades with the CFG var:

$CFG->skiplangupgrade = true

We can decide not not execute those tests.

With other words, putting something like this in the config.php
file we will be controlling when to execute or no the behat tests:

    // Disable lang updates on upgrade.
    $CFG->skiplangupgrade = true;
    if (empty($CFG->skiplangupgrade)) {
        // Define it only if we aren't skipping lang upgrades.
        define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
    }
2022-04-17 20:27:57 +02:00
Jun Pataleta
e161f1d774 weekly back-to-dev release 4.1dev 2022-04-17 15:14:27 +08:00
Jun Pataleta
21cfd8b216 NOBUG: Change travis.yml back to master 2022-04-17 14:59:55 +08:00
Jun Pataleta
8b359ad7a6 Moodle release 4.0 v4.0.0 2022-04-17 14:59:54 +08:00
Jun Pataleta
68445c923e NOBUG: Change travis.yml to MOODLE_400_STABLE 2022-04-17 14:59:54 +08:00
Eloy Lafuente (stronk7)
f801189795 Moodle release 4.0rc4 v4.0.0-rc4 2022-04-16 16:31:59 +02:00
Jun Pataleta
e25d806abc Merge branch 'MDL-74506-master' of https://github.com/andrewnicols/moodle 2022-04-16 19:14:01 +08:00
Andrew Nicols
fb0b57f4ab MDL-74506 block: Correct parentcontextid for blocks in dashboard 2022-04-16 17:49:18 +08:00
Andrew Nicols
ed56f9a976 MDL-74506 block: Fix block upgrade to use correct parentcontextid 2022-04-15 20:39:55 +08:00
Ilya Tregubov
4ca5665aa0 Moodle release 4.0rc3 v4.0.0-rc3 2022-04-15 16:03:34 +06:00
Ilya Tregubov
edede57172 Merge branch 'MDL-74407-master' of https://github.com/peterRd/moodle 2022-04-15 07:24:08 +06:00
Sara Arjona
d54fa7abd8 Merge branch 'MDL-74447' of https://github.com/Chocolate-lightning/moodle 2022-04-14 12:10:31 +02:00
Ilya Tregubov
5c3563e3a2 Merge branch 'MDL-74064-master' of https://github.com/HuongNV13/moodle 2022-04-14 13:35:11 +06:00
Huong Nguyen
3956dd856b MDL-74064 mod_assign: Behat test for Assignment with time limit 2022-04-14 12:49:55 +07:00
Andrew Nicols
e9335eb448 MDL-74447 core: Restrict block drag/drop to container 2022-04-14 17:22:29 +12:00
Peter Dias
40ad488405 MDL-74407 navigation: Perform a strict array_search for node keys
Perform strict array_search due to conflicting results in versions <php8.0
2022-04-14 12:25:15 +08:00
Jun Pataleta
80709ba72d Merge branch 'MDL-74493-master' of https://github.com/snake/moodle 2022-04-14 12:02:10 +08:00
Shamim Rezaie
7252fef24b MDL-74064 mod_assign: Notify submission removal does not reset timelimit 2022-04-14 10:48:45 +07:00
Shamim Rezaie
6ac1477e98 MDL-74064 mod_assign: Use core_user::get_user instead of querying DB 2022-04-14 10:48:37 +07:00