MDL-40515: report_log: List activities in optgroups

Prevents users from generating reports on invalid values

Change-Id: If358fa06c8dadd33bb2875ea54ab4bce97b16aff
MDL-22669 course: Display section number for orphaned activities
MDL-38664 Lesson mod: fixed re-attempt unseen page
MDL-38664 Lesson mod: code improvement for lesson attemps
MDL-41843 Uses OAuthException in moodle\mod\lti namespace
MDL-41843 IMS-LTI: Fixed exception namespace
MDL-34586 assignment: convert default format value during restore
MDL-34612 forum: convert default format value during restore
MDL-37181 backup: stopped setting the status of unscheduled backups to skipped
MDL-41672 Add html2text unit test for multiple occurrences of the same URL
MDL-41672 Fix html2text processing of multiple occurrences of the same URL
MDL-42065 core_grade: Modified some grade_item queries for improved performance

* Modified 2 queries in grade_item::depends_on to improve performance
* Added additional unit tests to cover those queries better
MDL-42167 Update workshop assessment record only when really changed

Under certain conditions there is nothing to actually update here. The
$DB->update_record() would throw an exception here.
MDL-37528 Libraries: Fix gesture + mouse issues with YUI

This addresses issues with devices which support both mouse and gesture
input devices whereby the presence of gesture support on the device causes
mouse interactions to be ignored.

This has the potential to cause issues with multiple events being triggered
for the same action, but we do not have this issue in core, and few
third-party plugins support drag and drop in such a way that this may be an
issue.

This is fixed in the latest version of YUI in a similar way, and the
addition of a new system to only trigger the event from the first action to
be triggered.
MDL-26244 mod_date:added some logic show or hide the file picker button based on repository availability
MDL-42232 Multiple choice question choice alignment issue

The problem was with the alignment of:
* tables inside the choices.
* Lists inside the choices.
* The specific feedback, when it spanned mulitple lines.

The problem was introduced by MDL-39420.
Automatically generated installer lang files
MDL-42110 do not show auth_db password in plaintext
MDL-29441 Chat: Use a valid name for chat popup actions
Merge branch 'MDL-37181_m25' of https://github.com/markn86/moodle into MOODLE_25_STABLE