- 04 Oct, 2021 2 commits
-
-
Peter Dias authored
-
Peter Dias authored
AMOS BEGIN MOV [completionpass,mod_quiz],[completionpassgrade,core_completion] MOV [completionpassdesc,mod_quiz],[completionpassgrade_desc,core_completion] MOV [completionpass_help,mod_quiz],[completionpassgrade_help,core_completion] AMOS END
-
- 04 May, 2021 1 commit
-
-
Huong Nguyen authored
-
- 27 Apr, 2021 2 commits
-
-
Shamim Rezaie authored
We update the dates with user/group overrides. The calculation of the override in the quiz module is different from the assignment module as the quiz_overrides table des not have a sortorder column. See quiz_update_effective_access().
-
Shamim Rezaie authored
-
- 22 Apr, 2021 1 commit
-
-
Shamim Rezaie authored
-
- 17 Apr, 2021 1 commit
-
-
Luca Bösch authored
AMOS BEGIN CPY [grade,core],[gradenoun,core] CPY [grade,core],[gradeverb,core] AMOS END
-
- 07 Apr, 2021 2 commits
-
-
Custom rules are combined using the AND operator. However, the 'completionpass' and 'completionattemptsexhausted' rules are exceptions because they are combined together with OR, and form a single new rule that then will be combined with the rest of the rules using AND. This commit combines the mentioned rules into a single rule named 'completionpassorattemptsexhausted'.
-
The mod_quiz_get_completion_active_rule_descriptions() function was not returning the description for the 'completionminattempts' rule. Added that.
-
- 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.
-
- 24 Mar, 2021 1 commit
-
-
git://github.com/lameze/moodleSimey Lameze authored
This reverts commit 9d58d4de, reversing changes made to 535c0277.
-
- 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
-
-
Simey Lameze authored
-
- 16 Dec, 2020 1 commit
-
-
Tim Hunt authored
-
- 12 Dec, 2020 1 commit
-
-
Tim Hunt authored
-
- 23 Oct, 2020 1 commit
-
-
Amaia authored
-
- 04 Aug, 2020 1 commit
-
-
Josh Ebarvia authored
-
- 24 Jul, 2020 1 commit
-
-
Amaia authored
-
- 15 Jul, 2020 1 commit
-
-
François Moreau authored
-
- 13 May, 2020 1 commit
-
-
David Mudrák authored
Applying filters on an activity module description when using it as a new calendar event's description is bad m'kay? We need to store the raw text and apply the filters only when we actually display the text. That way, filters (such as multi-language content) may actually fully work and we do not initialise the theme and output machinery. Additionally, we need to explicitly set the format of the description text to HTML (because we have converted it to it already). Otherwise it defaults to the current user's preferred editor format. This is still a pragmatic hot-fix solution. The proper solution would be to pass the raw text, format and embedded files.
-
- 25 Oct, 2019 1 commit
-
-
Eloy Lafuente authored
Replace it for correct property_exists() when the element being inspected is a property of object/class. Amended and squased changes: - keep mongo unmodified. The information is array, hence correct. - fix a couple of messaging phpdocs that were incorrect. Amended take#2: - As far as mongo resturns BSONDocument that is ArrayObject, aka implements ArrayAccess, we have decided to explicitly cast results to array so existing array_key_exists() and other accesses will continue working the same.
-
- 20 Sep, 2019 1 commit
-
-
Andrew Nicols authored
-
- 12 Jul, 2019 1 commit
-
-
John Yao authored
When some activities are manually completed by students, some are still showing in students' timeline. This commit fix that for module assign,chat,choice,feedback,lesson,quiz,scorm and workshop.
-
- 25 Jun, 2019 1 commit
-
-
Arto Nieminen authored
-
- 14 Jun, 2019 1 commit
-
-
Sara Arjona authored
-
- 05 Mar, 2019 1 commit
-
-
Shamim Rezaie authored
-
- 27 Feb, 2019 1 commit
-
-
Damyon Wiese authored
When grades are deleted, it needs to know the context so any files in the gradebook can be deleted. This means module delete_instance functions must delete the grade_item before they delete the module record.
-
- 23 Feb, 2019 1 commit
-
-
Michael Hughes authored
-
- 08 Feb, 2019 1 commit
-
-
Peter Dias authored
* Updated unit tests to account for participants
-
- 06 Dec, 2018 1 commit
-
-
Tim Hunt authored
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to 'contextlevel' => CONTEXT_MODULE) are: * moodle/site:accessallgroups * moodle/site:viewfullnames * moodle/site:trustcontent * moodle/site:viewuseridentity This list came from reviewing the _get_extra_capabilities functions in all core activities. They were all somewhat inconsistent, but I think it makes sense that these capabilities are consistently overridable in all activities. E.g. moodle/site:accessallgroups affects conditional availability even if there is no other user of groups, and moodle/site:viewuseridentity and moodle/site:viewfullnames affect the logs report, if nothing else. As a result of this, several _get_extra_capabilities functions are no longer needed, and all the rest have been simplified.
-
- 31 Oct, 2018 1 commit
-
-
Eloy Lafuente authored
This commit reviews all continue uses in core happening within a loop / switch / case hierarchy. This does not cover: - Changes to libraries. Will be handled in another issue / commit. - Uses out from loops, will be reviewed by other commit. The policy followed has been: - When possible, take rid of the continue. - When clearly the intention was to jump to next element in loop change to continue 2 - When it was not clear, keep old behavior switching to break, no matter how weird the behavior may be.
-
- 31 Aug, 2018 1 commit
-
-
Neill Magill authored
Activities should not require the user manipulating them to have calendar capabilities for their events to be added to the Moodle calendar
-
- 30 Jul, 2018 1 commit
-
-
Adrian Greeve authored
-
- 03 May, 2018 1 commit
-
-
Andrew Nicols authored
-
- 18 Apr, 2018 2 commits
-
-
Ryan Wyllie authored
-
Shamim Rezaie authored
-
- 13 Feb, 2018 1 commit
-
-
Simey Lameze authored
-
- 08 Feb, 2018 1 commit
-
-
Ryan Wyllie authored
-
- 23 Nov, 2017 1 commit
-
-
Luca Bösch authored
-