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-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.
MDL-36650 don't change question timecreated or timemodified on restore.
MDL-36732 Cloze qtype: review marks should not depend on feedback.

The various review options should be independent.
MDL-36742 question bank: get rid of flicker during page load.

Thanks to Frédéric Massart for working out the fix to this.
MDL-36845 excel export: don't output invalid sheet names.

We should clean any proposed worksheet name, to remove the characters
that Excel does not allow.
MDL-36897 quiz: redirect teachers from summary to review page.

There is already logic like this at the top of attempt.php. If the
teacher arrives at one of these pages for a student's attempt, for
example by clicking a link in the logs, then they should be redirected
to the review page to see the students attempt in its current state.
MDL-36942 xml question import: don't add spaces.

They are not necessary anyway, there is a \n character at the end of
each line.

Thanks to Richard Lobb for fining the problem and how to fix it.