MDL-35530 Lesson Module: Add question text to facilitate grading
MDL-29733 grade: Query for Identifying Grade Grades to Precreate is SLOW
MDL-29733 grade: SQL and comment cleanup
MDL-36162 core_message: removed the unnecessary and confusing course URL parameter as well as fixing the broken breadcrumb
MDL-36025 qtype calculated: Fix handling of "-0"
MDL-36640 Logging: Correct testing of log->info.

log->info sometimes contains additional information which can be looked up
from other tables. This should only be attempted if the field is numeric,
but the CSV, XLS, and ODS outputs were not making this check.

There is an additional case for the print_mnet_log function which has not
been covered - this is because the mnet logging is currently broken beyond
the scope of this bug rendering this section untestable. These issues are
raised in MDL-36642.
MDL-33125: core_backup: Prevent import/activity duplication from duplicating manual grade items
MDL-27619: Prevent teachers from turning course Outcomes into site-wide ones

Similar to the issue which allowed teachers to create site-wide scales by editing a course-specific scale (MDL-24682), teachers could also promote a course-specific scale to a site-wide (standard) by editing it.  As with MDL-24682, removing the course ID check (leaving just the capability check) prevents this unauthorised creation of site-wide (standard) outcomes.
MDL-30899 moodle-enrol-notification Replacing Y.Overlay for Y.Panel

References to lightbox are still there to maintain the same
external API but are converted to a modal attribute internally,
same with closeButton, not it uses the Y.Panel close button
MDL-30899 block_community Changing from overlay to panel references
MDL-30899 moodle-enrol-notification Adding H1 to notifications headers
MDL-36906 - mod_data: Latitude and Logitude error fix.

Thanks to Marcus Boon for providing a patch for this issue.

mod/data/field/latlong/kml.php was missing a context variable.
This was causing an error when trying to download a kml file for
google earth. This variable has now been included.
MDL-36601 Ensure that reports remember all days setting

All Days was set as the nothing value, but this nothing value was used.
Additionally, an insufficient comparison meant that the selecteddate then
became Today.
MDL-35221 mod_feedback: replace checkbox with advcheckbox for all requirable feedback question types
MDL-36915 - mod/data: A database with no entries no longer displays the export to portfolio button.
MDL-36773 timezone inconsistency => some number support decimal other don\'t - Original patch author: Nathan Mares
MDL-36761 core_grade:shifted a call to count() out of a loop
MDL-36778 course - prevent undefined index warnings

When logged in as a guest the mform didn't set userid.
MDL-30961 get_course_contents: returned activity name should not be check against PARAM_TEXT, it could be anything
MDL-35404 question export: make it work with slasharguments off.

Thanks to Brian King for working out the problem and how to fix it. I am
just committing his patch.