108690 Commits

Author SHA1 Message Date
Tim Hunt
bcf0112c36 MDL-78622 quiz: add question query must include contextid
It is logically requried and necessary for the query to use the index
2023-07-03 11:51:19 +01:00
Paul Holden
d88a8851ac
MDL-76661 mod_bigbluebuttonbn: fix meeting attendee role comparison. 2023-07-03 11:41:13 +01:00
Noel De Martin
73fcdb1bf4 MDL-78614 behat: Remove trailing quotes 2023-07-03 11:18:42 +02:00
Andrew Nicols
0830ca48f9
MDL-78391 atto_recordrtc: Improve MacOS codec compatability 2023-07-03 16:52:28 +08:00
Andrew Nicols
ed6054fdf8
MDL-78391 tiny_recordrtc: Set filename according to container 2023-07-03 16:52:26 +08:00
Andrew Nicols
3faf81d578
MDL-78391 tiny_recordrtc: Switch to mp4 container for h264
Theh WebM container does not support H.264 / AVC.

For more information see:
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#webm

General purpose video, preferably in an open format
WebM (ideally with MP4 fallback)
2023-07-03 16:52:07 +08:00
Andrew Nicols
756d9fa18d
MDL-78391 tiny_recordrtc: Improve codec selection
From my experimentation I have discovered that Safari does not properly
respect the standard MediaRecorder mimetype. Instead of using `codecs=`
it uses `codecs:`.

This change copies the codec array to have the list of possible codecs
include both codecs= and codecs: whilst remaining in order.
2023-07-03 16:50:12 +08:00
Andrew Nicols
d73ad3b532
MDL-78391 tiny_recordrtc: Respect codec options
The audio and video plugins were overriding the wrong method, and thus
preventing selection of a relevant codec and breaking playback on some
devices.
2023-07-03 16:50:11 +08:00
Andrew Nicols
9c97536a9f
MDL-76853 editor_tiny: Refactor behat helpers into trait 2023-07-03 09:38:24 +08:00
Karen Holland
1f6fa90a02 MDL-78338 tool_brickfield: Allow link open in new window with warning 2023-07-01 23:14:26 +01:00
Shamim Rezaie
2d8c924d71 MDL-77375 core_grades: set boundary of the dropdowns in grade setup page 2023-07-02 00:40:15 +10:00
Shamim Rezaie
ddb1b56f36 MDL-77375 gradereport_singleview: set boundary of the dropdowns 2023-07-02 00:06:14 +10:00
Shamim Rezaie
f30316be5d MDL-77375 tool_dataprivacy: set boundary of the dropdowns 2023-07-02 00:06:13 +10:00
Shamim Rezaie
2f108b6430 MDL-77375 mod_forum: set boundary of the dropdown
Also removed the unnecessary button role from the <button> element
2023-07-02 00:06:13 +10:00
Shamim Rezaie
ebe8674636 MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns 2023-07-02 00:06:13 +10:00
Shamim Rezaie
88f66617a0 MDL-77375 output: Allow additional options for dropdowns 2023-07-02 00:06:13 +10:00
Shamim Rezaie
ba07bb42e1 MDL-77375 theme: Re-fix the bootstrap scrollbar issue 2023-07-02 00:06:13 +10:00
Paul Holden
315e8dd327
MDL-78564 mod_assign: ensure submission statement is present.
Don't require acceptance of statement, if no such statements exists,
during assignment submission.
2023-06-30 14:20:09 +01:00
Jun Pataleta
14d4f0aed3
MDL-77690 mod_lesson: Lesson accessibility fixes
* Set the heading levels of lesson pages appropriately to avoid skipped
heading issues.
* Add appropriate labels for tertiary navigation select menus.
2023-06-30 17:51:12 +08:00
Jun Pataleta
213223d162
MDL-77690 core: New activity_header method get_heading_level()
Add a new method for activity_header that determines the heading level
depending on whether the theme displays a heading for the activity
header (usually a h2 heading with the activity name).

E.g. in Boost, the activity name is already being displayed in a
heading. So page headings can be rendered as h2. However, on Classic,
the activity name is being displayed as a h2 heading. So headings need
to be adjusted for the activity pages.
2023-06-30 17:51:12 +08:00
Tim Schroeder
be118c06b3
MDL-78488 question bank: don't load statistics when they are disabled 2023-06-30 11:47:04 +02:00
Jun Pataleta
415de4b23e
MDL-77690 user: Add sr-only heading for the user profile page 2023-06-30 17:46:57 +08:00
Jun Pataleta
2f305e5a10
MDL-78542 mod_url: clicktoopen lang string fix
- Improve the grammatical structure of the lang string.
- Remove the mention of "link", for sighted users, it should already
be obvious that it's a link. For screen reader users, screen readers
already announce links. So it would be confusing for them to hear
something like "Click 'Moodle.org, link' link to open resource"
2023-06-30 17:27:32 +08:00
Jun Pataleta
7ffbc23426
MDL-78542 mod_url: Add a help text for URL resource name field
Add a help text explaining that the URL resource's name field will be
used for the link text. Also add basic guidelines about naming links for
the benefit of screen reader users.
2023-06-30 17:27:32 +08:00
Jun Pataleta
f6c05b8980
MDL-78542 mod_url: Use the module name for the URL resource's link text 2023-06-30 17:27:32 +08:00
Jake Dallimore
32ad202b06
MDL-64152 library: Fix legacy LTI launches when using reverse proxy
LTI 1.1 uses OAuth 1.0, which requires 'hostname', among other things,
as part of signature verification. When Moodle is run behind a reverse
proxy, $_SERVER['SERVER_NAME'] is an unreliable way to fetch hostname.
It isn't always equal to the external hostname but instead can contain
the local host, meaning the signature verification will fail. This
change replaces the use of $_SERVER vars with $FULLME - which already
takes this into account - to fix the signature verification.

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
2023-06-30 16:42:37 +08:00
Jun Pataleta
1d92fd1ed3
Merge branch 'MDL-78068-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-06-30 16:42:31 +08:00
Franziska Hübler
09a97ba0bf MDL-69983 backup: Save async backups in correct area. 2023-06-30 10:13:17 +10:00
AMOS bot
cc4ed8ebb4 Automatically generated installer lang files 2023-06-30 00:08:41 +00:00
Stevani Andolo
322e681c65 MDL-76046 core: Fixed secondary navigation on smaller screen 2023-06-30 06:31:22 +08:00
Luca Bösch
18dfb832d1 MDL-78138 theme_boost: Reliably remove TYPE_CATEGORY breadcrumbs. 2023-06-29 21:48:41 +02:00
Tim Hunt
2a2dd08ff1 MDL-78608 question stats: avoid loading data for missing contexts
It turns out that there are plugins which don't (currently)
clean up their question attempts when a context is deleted.
Therefore, we need to make Moodle core robust to that.
2023-06-29 16:27:01 +01:00
Huong Nguyen
6628845087
weekly release 4.1.4+ 2023-06-29 22:22:22 +07:00
Sara Arjona
9137b58fca
Merge branch 'MDL-78554-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-06-29 17:39:05 +08:00
Andrew Nicols
d949e40268
Merge branch 'MDL-78599-401' of https://github.com/snake/moodle into MOODLE_401_STABLE 2023-06-29 11:33:22 +08:00
Jun Pataleta
648aa897cf
Merge branch 'MDL-77993-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-29 11:28:07 +08:00
Jun Pataleta
d73c514909
Merge branch 'MDL-78432-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-06-29 11:25:12 +08:00
Andrew Nicols
2fd55eddff
Merge branch 'MDL-78018-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-29 11:02:09 +08:00
Ilya Tregubov
76ec26032e
Merge branch 'MDL-77286-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-29 09:44:32 +08:00
Ilya Tregubov
de210a84e7
Merge branch 'MDL-78521-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-29 09:35:06 +08:00
Huong Nguyen
52cd821ac9
Merge branch 'MDL-77679_401' of https://github.com/mkassaei/moodle into MOODLE_401_STABLE 2023-06-28 21:19:10 +07:00
Jake Dallimore
0c0b1ac1d6
MDL-78599 enrol_lti: fix SQL syntax error in course grade sync 2023-06-28 18:13:27 +08:00
Jake Dallimore
07b0f65aac
MDL-78599 enrol_lti: test covering decoupled, course context grade syncs
This covers the case where a course is published and the launch data
doesn't include the 'lineitem' property of the ags claim, meaning the
tool can manage its own line items.
2023-06-28 18:13:26 +08:00
Leon Stringer
fa9705a870 MDL-78596 core_course: Remove divider
With courselistshortnames enabled Moodle 3.11 and earlier showed
"Category | Short name" on the first line of course cards (for example
in block_myoverview).  From Moodle 4.0 the category is moved to the last
line making the first line "Short name |".  This change removes that
stray "|".
2023-06-27 17:40:41 +01:00
Dinesh Durai
201c577a85 MDL-77396 wiki: Fix print without background 2023-06-27 17:59:37 +05:30
Simey Lameze
edf6ad1ee2 MDL-77286 behat: change window size to large to avoid random fails 2023-06-27 17:12:21 +08:00
Laurent David
54e62e6997 MDL-78432 mod_label: Process markdown in label name
* Process markdown and other allowed formats (see FORMAT_XXX) in get_label_name
so it does not display it as a litteral string in the course index menu.
2023-06-27 08:12:57 +02:00
Andrew Nicols
ea900c4def
Merge branch 'MDL-78459-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-27 13:14:50 +08:00
Ilya Tregubov
aa44a1643e
Merge branch 'MDL-78443-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE 2023-06-27 11:01:44 +08:00
Jake Dallimore
8d3fd17313
MDL-78578 enrol_lti: permit launch cache access during launch redirects
This handles things like site policies, which store the current URL,
redirect to the policy agreement, then redirect back the current URL
afterwards. In such cases, we want to redirect back with 'launchid' set
so that we can fetch the id_token from the session cache. This is the
same thing we already do during account binding, so the patch only
makes sure the PAGE->url is properly set before calling require_login.
2023-06-27 10:07:25 +08:00