- 22 Nov, 2021 1 commit
-
-
Safat Shahin authored
This implementation will introduce bulk actions qbank plugins which can grab the selected question and perform actions according to the selected option from dropdown in the base view. Co-Authored-By:
Safat Shahin <safatshahin@catalyst-au.net> Co-Authored-By:
Matt Porritt <mattp@catalyst-au.net>
-
- 20 Nov, 2021 2 commits
-
-
Eloy Lafuente authored
-
-
- 19 Nov, 2021 12 commits
-
-
-
Eloy Lafuente authored
Because of more moodle.css contents, the total size of the privacy exports has grown over the allowed size. Just raise it a little bit more. Note this commit isn't a problem caused exclusively by this issue, but as far as this also contributed to the size increase, assigning the fix to it.
-
-
ilya authored
-
-
https://github.com/stronk7/moodleilya authored
-
-
git://github.com/paulholden/moodlejun authored
-
AMOS Bot authored
-
-
Eloy Lafuente authored
-
-
- 18 Nov, 2021 10 commits
-
-
-
-
-
Michael Milette authored
-
-
-
Mathew May authored
-
AMOS Bot authored
-
Eloy Lafuente authored
It's important to say that this bug apparently (till now) only happens when an *incorrect* instalation of a site happens, reusing the dataroot from another existing site. When that happens, the localcache/bootstrap.php file from the old site is reused, setting siteidentifier and SYSCONTEXTID when it's not time for them to be defined yet. Their existenece leads to reusing some other structures from the old dataroot (that, again, should have been changed or wiped!), ultimately leading to all sort of errors about non-existent tables (course, context...). With this change we ensure that: 1) Whenever any change to the database configuration (prefix, user, type..) happens, it's detected and immediately the information in the localcache/bootstrap.php is discarded and the file removed. This should fix problems like MDL-73098 itself. 2) We only set SYSCONTEXTID if the file is not stale. Main reason for doing that check within the localcache/bootstrap.php file itself is that we cannot "undefine" it @ setup.php. This should prevent errros like MDL-72888 to happen. 3) Finally, little detail, we only define SYSCONTEXTID if it has not been defined earlier. In the past, it was recommended to define it in config.php (exactly to save one DB read) and, sites having them will face "already defined" warnings.
-
Paul Holden authored
Also prefetch all lang strings used by conditions editor.
-
- 17 Nov, 2021 15 commits
-
-
Andrew Madden authored
Allow config toggle for showing first and last button for paging_content_factory.
-
Andrew Madden authored
* Add local function to access subsets of proxies and types direct from DB. * Add local function to access count of proxies and types direct from DB. * Add new external function to get both proxies and types with pagination. * Add new external function to get count of proxies and types. * Implement pagination using page factory in JS. * Added unit tests to cover new external functions. * Add mod_lti behat generators and tests. * Show first and last button in paging bar. * Created helper class to assist with new functions.
-
https://github.com/peterRd/moodleilya authored
-
https://github.com/TomoTsuyuki/moodlejun authored
-
Peter Dias authored
- Clone nodes shared between nav trees before utilising it.
-
Peter Dias authored
- Revert unnecessary primary_active_tab setters - Modify the navigation nodes to never change text based on default homepage - Make sure a tab is set active
-
-
-
Mathew May authored
-
-
-
Andrew Nicols authored
When a third-party AMD module is provided with an included name we must replace it with a name that we are able to use. The structure of an AMD module define function is: [name], [dependencies], [callback] String, Array, Function Each of these is (strangely) optional. We know that the name is the only String and will always be the first, and we can use AST to remove a provided name before adding the Moodle-specific name. This should be a safe change and not lead to any changes in built code, but will make it easier to include third-party code. An additional logging line is also included to inform developers that a change was made.
-
AMOS Bot authored
-
PraiseSatan authored
Quiz completion settings are only validated if they are unlocked. Undefined behaviour in the forms API results in the completion settings 'require passing grade' and 'completion attempts exhausted' not being sent to the process options function if completion settings are locked. This resulted in the completion attempts exhausted setting being disabled whenever the quiz was saved as it did not detect the require passing grade setting. This changes the behaviour so that validation is only performed if the completion settings are unlocked. A behat test is included to ensure the setting does not change.