- 29 Jun, 2022 3 commits
-
-
Cameron Ball authored
-
Cameron Ball authored
-
Cameron Ball authored
This patch modifies the way copy data is shared in order to mitigate potential race conditions and ensure that the serialised controller stored in the DB is always in a valid state. The restore controller is now considered the "source of truth" for all information about the copy operation. Backup controllers can no longer contain information about course copies. As copy creation is not atomic, it is still possible for copy controllers to become orphaned or exist in an invalid state. To mitigate this the backup cleanup task has been modified to call a new helper method copy_helper::cleanup_orphaned_copy_controllers. Summary of changes in this patch: - Copy data must now be passed through the restore controller's constructor - base_controller::get_copy has been deprecated in favour of restore_controller::get_copy - base_controller::set_copy has been deprecated without replacement - core_backup\copy\copy has been deprecated, use copy_helper.class.php's copy_helper instead - backup_cleanup_task will now clean up orphaned controllers from copy operations that went awry Thanks to Peter Burnett for assiting with testing this patch.
-
- 24 Jun, 2022 2 commits
-
-
jun authored
-
-
- 23 Jun, 2022 5 commits
-
-
https://github.com/TomoTsuyuki/moodlejun authored
-
https://github.com/paulholden/moodlejun authored
-
https://github.com/paulholden/moodlejun authored
-
-
https://github.com/danmarsden/moodlejun authored
-
- 22 Jun, 2022 4 commits
-
-
https://github.com/NeillM/moodlejun authored
-
Neill Magill authored
Most of the fields in the query are not needed and are discarded soon after visibility checks are made.
-
-
-
- 21 Jun, 2022 5 commits
-
-
https://github.com/stronk7/moodlejun authored
-
Eloy Lafuente authored
We are disabling the -v (verbose) option, used by default. Still, now we support a secret (that can be added to everyone's repository) to accept any PHPUnit's command line options and run the tests with them. Some examples: phpunit_options = -v (to keep the verbose option enabled) phpunit_options = --testdox (to print information about every test...) ... (basically anything supported by the CLI). Also, we are raising here the environment from Ubuntu 18.04 to 20.04 (self tested by GHA, heh)
-
https://github.com/aanabit/moodlejun authored
-
Tomo Tsuyuki authored
-
AMOS Bot authored
-
- 20 Jun, 2022 5 commits
-
-
https://github.com/paulholden/moodlejun authored
-
Paul Holden authored
Switch the select element event listener to that provided by custom events helper, for adding report filters and conditions. This improves cross-platform support.
-
https://github.com/stronk7/moodlejun authored
-
https://github.com/aanabit/moodlejun authored
-
Brendan Heywood authored
-
- 17 Jun, 2022 12 commits
-
-
https://github.com/paulholden/moodleilya authored
-
Paul Holden authored
-
Eloy Lafuente authored
-
-
Mikhail Golenkov authored
-
jun authored
-
-
jun authored
-
https://github.com/paulholden/moodlejun authored
-
-
-
-
- 15 Jun, 2022 4 commits
-
-
Michael Milette authored
-
https://github.com/paulholden/moodlejun authored
-
-
https://github.com/paulholden/moodlejun authored
-