- 23 Apr, 2022 1 commit
-
-
Eloy Lafuente authored
-
- 13 Apr, 2022 1 commit
-
-
jun authored
-
- 08 Apr, 2022 3 commits
-
-
Tim Hunt authored
-
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.
-
Tim Hunt authored
-
- 11 Mar, 2022 1 commit
-
-
Sara Arjona authored
Author: Luca Bosch
-
- 05 Mar, 2022 1 commit
-
-
Mahmoud Kassaei authored
when the user is not in any group
-
- 04 Mar, 2022 1 commit
-
-
Marc-Alexandre Ghaly authored
This commit implements a question regrade for the selected version in the quiz for a slot. Co-Authored-By:
Safat Shahin <safatshahin@catalyst-au.net> Co-Authored-By:
Tim Hunt <tim.hunt@open.ac.uk>
-
- 24 Feb, 2022 2 commits
-
-
The tertiary navigation added for quiz module. - Added tertiary nav buttons for the edit, attempt and view page - urlselector is added to the overrides page to access user/groups - The secondary tabs are highlighted when user navigates to each page in quiz. - Updated the behat tests for the changes made. This commit is mostly Sujith's work, with further changes by Tim Hunt <T.J.Hunt@open.ac.uk> so we share the blame/credit.
- 22 Feb, 2022 1 commit
-
-
Safat Shahin authored
This change will resolve Manual grading settings are remembered as user preferences - failed behat test in oracle.
-
- 15 Feb, 2022 1 commit
-
-
Sujith Haridasan authored
This reverts commit 6ba821dc.
-
- 03 Feb, 2022 2 commits
-
-
Marc-Alexandre Ghaly authored
This commit implements versioning and associated features in the previewquestion plugin. There have been some major changes in the random question and version selection for questions. This commit made those changes as well as added some more features in the preview for version selection and adds more behat coverage.
-
Safat Shahin authored
The versioning changes will require some major changes in the backup and restore of question bank and its elements. This change introduces those changes to make it compatible with the new world of versioning in question bank. This commit also removes quiz_slots fields and quiz_slot_tags table. This commit will also introduce the versioning db structure and some major changes to the quiz and quiz attempts for the question, random question and the view. This commit implements the behat changes for versioning in core question and associated locations.
-
- 04 Jan, 2022 1 commit
-
-
Alterations here allowed the removal of renderables, and mustache templates for quiz report navigation. The questionbank was also updated to show injected navigation nodes from third party plugins.
-
- 17 Dec, 2021 2 commits
-
-
Eloy Lafuente authored
As far as now all them have correct privacy level2 namespace: - Move them to "privacy" subdir. - Rename the files to "provider_test.php", this includes old privacy_test.php and privacy_provider_test.php files - Rename the testcase to provider_test too (to match file name) Also, change some relative paths and comments to point to new locations.
-
Eloy Lafuente authored
All privacy_test and privacy_provider_test classes: - Namespaced with component\privacy. - Fixed incorrect use statements with leading backslash. - Changed code to point to global scope when needed. - Renamed a few files to make all be privacy_test or privacy_provider_test.php - All them passing individually. - Complete runs passing too.
-
- 06 Dec, 2021 1 commit
-
-
Sujith Haridasan authored
Update the tertiary navigation for this activity.
-
- 29 Nov, 2021 1 commit
-
-
Mathew May authored
-
- 12 Nov, 2021 1 commit
-
-
Mahmoud Kassaei authored
-
- 10 Aug, 2021 1 commit
-
-
Andrew Nicols authored
-
- 26 Jul, 2021 1 commit
-
-
Andrew Nicols authored
-
- 02 Jul, 2021 1 commit
-
-
David Mudrák authored
-
- 11 Jun, 2021 1 commit
-
-
Paul Holden authored
-
- 02 Jun, 2021 1 commit
-
-
Tim Hunt authored
Should not use get_records when you mean record_exists.
-
- 14 May, 2021 1 commit
-
-
Huong Nguyen authored
Including in this change: - New positiveint regex rule to check if the value is a positive integer
-
- 04 May, 2021 1 commit
-
-
Paul Holden authored
-
- 19 Apr, 2021 1 commit
-
-
Dongsheng Cai authored
-
- 17 Apr, 2021 1 commit
-
-
Luca Bösch authored
AMOS BEGIN CPY [grade,core],[gradenoun,core] CPY [grade,core],[gradeverb,core] AMOS END
-
- 05 Apr, 2021 1 commit
-
-
Paul Holden authored
-
- 31 Mar, 2021 1 commit
-
-
sam marshall authored
This change removes references in code and comments to a few deprecated functions that were accidentally missed in the larger change. The code changes only affect service_users.php. I made it support custom user profile fields in this query, because it was easy enough, rather than adding another TODO to fix later.
-
- 27 Mar, 2021 1 commit
-
-
Dan Marsden authored
-
- 25 Mar, 2021 1 commit
-
-
sam marshall authored
This class would belong more appropriately within the 'user' API (core_user) instead of within the 'core' API, since it is directly related to user data. Since the class has only just been added to Moodle, now is a good time to move it.
-
- 10 Mar, 2021 1 commit
-
-
sam marshall authored
In all cases changes have been kept to a minimum while not making the code completely horrible. For example, there are many instances where it would probably be better to rewrite a query entirely, but I have not done that (in order to reduce the risk of changes).
-
- 03 Mar, 2021 1 commit
-
-
- 15 Feb, 2021 1 commit
-
-
Mahmoud Kassaei authored
-
- 04 Feb, 2021 1 commit
-
-
Tim Hunt authored
-
- 14 Jan, 2021 1 commit
-
-
Eloy Lafuente authored
This just deletes all the upgrade steps previous to 3.6.0. Some small adjustments, like tweaking globals can also be applied when needed. Also includes an upgrade step to prevent upgrading from any version < 2018120300 (v3.6.0) as anti-cheating measure. Note that in this case, there wasn't any case of upgradelib functions being used, hence we haven't to deprecate/remove anything in codebase. When there is such a need, that is done in separate commits (one for each function) and documented here. See MDL-65809 commits for an example removing/deprecating a good number of functions.
-
- 21 Oct, 2020 2 commits
-
-
Eloy Lafuente authored
- Make advanced_testcase old methods to use new ones internally. - Fix advanced_testcase, statslib, mod/quiz and mod/data tests. Originally MDL-64600
-
Eloy Lafuente authored
The optional parameters of assertEquals() and assertNotEquals() are deprecated in PHPUnit 8 (to be removed in PHPUnit 9): - delta => use assertEqualsWithDelta() - canonicalize => use assertEqualsCanonicalizing() - ignoreCase => use assertEqualsIgnoringCase - maxDepth => removed without replacement. More info @ https://github.com/sebastianbergmann/phpunit/issues/3341 Initial search done with: ag 'assert(Not)?Equals\(.*,.*,' --php Then, running tests and fixing remaining cases.
-