- 17 May, 2022 1 commit
-
-
Carlos Castillo authored
-
- 10 May, 2022 2 commits
-
-
Without this index, a full table scan / table level locking occurs when logging out of Moodle. This can result in slow performance in a busy Moodle site.
-
-
- 09 May, 2022 1 commit
-
-
- 08 May, 2022 1 commit
-
-
Eloy Lafuente authored
Applied the following changes to various testcase classes: - Namespaced with component[\level2-API] - Moved to level2-API subdirectory when required. - Fixed incorrect use statements with leading backslash. - Remove file phpdoc block - Remove MOODLE_INTERNAL if not needed. - Changed code to point to global scope when needed. - Fix some relative paths and comments here and there. - All them passing individually. - Complete runs passing too. Special mention to: - Moved to the level2 "privacy" namespace: - \mod_assign\privacy\feedback_legacy_polyfill_test - \mod_assign\privacy\submission_legacy_polyfill_test - Moved to the level2 "task" namespace: - \core_message\task\migrate_message_data_test - \ltiservice_gradebookservices\task\cleanup_test - \message_email\task\send_email_test - \mod_lti\task\clean_access_tokens_test - \mod_workshop\task\cron_task_test - Moved to the level2 "event" namespace: - \core_h5p\event\deleted_test - \core_h5p\event\viewed_test - Renamed to a better name: - backup_forum_activity_task_test.php (missing "task")
-
- 04 May, 2022 1 commit
-
-
This patch wraps the login_failed_count logic in a resource lock and forces a user preferences cache reload. Each thread must wait for the lock and must fetch the current count before incrementing it. This ensures that login_failed_count is correct across threads and that the lockout threshold is correctly honoured. Co-Authored-By:
Sujith Haridasan <sujith@moodle.com>
-
- 03 May, 2022 1 commit
-
-
Amaia authored
-
- 02 May, 2022 1 commit
-
-
David Matamoros authored
- Removed validation on the change edit mode WS. Permission should be handled where the edit button is rendered in order to show or not the button.
-
- 29 Apr, 2022 2 commits
-
-
Paul Holden authored
-
Paul Holden authored
Flickr doesn't like user agent that looks like a bot. Effectively the same reasoning/fix as b8ee31a0.
-
- 23 Apr, 2022 1 commit
-
-
Eloy Lafuente authored
-
- 16 Apr, 2022 1 commit
-
-
Andrew Nicols authored
-
- 15 Apr, 2022 1 commit
-
-
Andrew Nicols authored
-
- 14 Apr, 2022 3 commits
-
-
Andrew Nicols authored
-
Peter Dias authored
Perform strict array_search due to conflicting results in versions <php8.0
-
Justus Dieckmann authored
Fixes the resolve_image_location function, which previously returned the 'icon' or 'monologo' icon for modules, no matter the requested image name. Also fixes an incorrect pix_icon() call for the context header, which was hidden by the faulty resolve function.
-
- 13 Apr, 2022 1 commit
-
-
jun authored
-
- 12 Apr, 2022 1 commit
-
-
Paul Holden authored
The admin preset tool shouldn't export badge/calendar salt configuration unless explicitely asked for as changing these values on another site can be potentially destructive.
-
- 08 Apr, 2022 3 commits
-
-
Tim Hunt authored
This fixes lots of stuff like outdated or incomplete PHPdoc comments or test heler functions where the arguments don't have their types declared. A few more significant fixes, like places were a silly method was used to get a context which was readily available.
-
Mihail Geshoski authored
-
Paul Holden authored
We used the import for ensuring collapsible section elements contained an ID attribute (efbe1530). This conflicted with use of Bootstrap tooltips.
-
- 07 Apr, 2022 3 commits
-
-
-
Andrew Nicols authored
-
Andrew Nicols authored
-
- 06 Apr, 2022 2 commits
-
-
Andrew Nicols authored
-
Andrew Nicols authored
The previous upgrade step was both duplicating a lot of code, and also very non-performant as each record was fetched from the DB into PHP and updated there. Most of the operations can be performed straight into the database without requiring any fetch to PHP at all. This change includes unit tests for the new upgrade steps to ensure that only the relevant data is created, updated, or deleted.
-
- 04 Apr, 2022 3 commits
-
-
Mihail Geshoski authored
The following change prevents showing the 'Course' item (dropdown) in the secondary navigation if this dropdown does not contain any items when using the single activity course format.
-
Jake Dallimore authored
This pulls in the latest changes from the moodle-fixes branch of snake/lti-1-3-php-library. This specific change is required so JWKS key parsing works when launching from platforms which omit the 'alg' property in their JWKs.
-
Gareth Barnard authored
-
- 02 Apr, 2022 2 commits
-
-
Paul Holden authored
-
Paul Holden authored
-
- 01 Apr, 2022 6 commits
-
-
victor authored
-
ilya authored
-
Michael Hawkins authored
-
Peter Dias authored
-
Huong Nguyen authored
-
Peter Dias authored
-
- 31 Mar, 2022 2 commits
-
-
Tim Hunt authored
-
Eloy Lafuente authored
Before this change we were setting the month day to 1 unconditionally and that was working ok for enabled by default elements. But in a number or cases we were doing that against disabled elements so the day reset was not happening. Now we wait for the element to be enabled and only then proceed with the day reset. Backed with tests using disabled form elements, so we have now both enabled and disabled fields covered.
-
- 30 Mar, 2022 1 commit
-
-
ilya authored
-