102834 Commits

Author SHA1 Message Date
Ilya Tregubov
3da8ea4699 Merge branch 'MDL-71902-add-site-level-settings-enforcement-for-browsersecurity-settings' of https://github.com/keevan/moodle 2021-11-11 08:35:32 +02:00
Jun Pataleta
8f9b534ed2 Merge branch 'MDL-72552' of https://github.com/spvickers/moodle 2021-11-11 11:42:14 +08:00
Andrew Nicols
a1d7bfcd50 Merge branch 'MDL-73026-master' of https://github.com/junpataleta/moodle 2021-11-11 10:57:06 +08:00
Andrew Nicols
fb7caf7982 MDL-68913 assign: Address coding style issues 2021-11-11 10:55:39 +08:00
Andrew Nicols
940097de9e Merge branch 'MDL-68913-master' of https://github.com/cameron1729/moodle 2021-11-11 10:49:05 +08:00
Shamim Rezaie
d038fd822d Merge branch 'MDL-72952' of https://github.com/roland04/moodle 2021-11-11 10:38:26 +11:00
Kevin Pham
4141f88361 MDL-71902 mod_quiz: Add locked flag option for quiz options
- Applies locked settings to many other quiz general options.
  For example, allows an admin to lock the browsersecurity level so it
  cannot be changed at an instance level, and will apply the 'default'
  option (which is currently None).
2021-11-11 10:36:14 +11:00
Eloy Lafuente (stronk7)
2b18fad922 Merge branch 'MDL-72696' of https://github.com/paulholden/moodle 2021-11-10 19:20:39 +01:00
Mikel Martín
5a2624c472 MDL-72952 reportbuilder: UX behaviour improvements in audiences
- Show a toast notification when saving an audience
- Add form change checker when adding a new audience to prevent user from navigating away if it is not saved
- Remove expand/collapse animation in audience sidebar to be consistent with editor

Co-authored-By: Paul Holden <paulh@moodle.com>
2021-11-10 17:22:00 +01:00
Eloy Lafuente (stronk7)
d824172077 Merge branch 'MDL-71912-master-v5' of git://github.com/abgreeve/moodle 2021-11-10 16:42:00 +01:00
Eloy Lafuente (stronk7)
0c9f92a317 Merge branch 'MDL-71956-master' of https://github.com/sarjona/moodle 2021-11-10 16:04:14 +01:00
Ilya Tregubov
8cbe01da89 Merge branch 'MDL-71115' of https://github.com/NeillM/moodle 2021-11-10 14:05:52 +02:00
Jun Pataleta
7f781d0b7e Merge branch 'MDL-72992-master' of git://github.com/cameron1729/moodle 2021-11-10 18:38:04 +08:00
Ilya Tregubov
1da9095ccb Merge branch 'MDL-73034-master' of git://github.com/ferranrecio/moodle 2021-11-10 11:45:04 +02:00
Neill Magill
e86bc4921e MDL-71115 search: Only replace course search when equivalent
Not all global search configurations offer the same results as the
default course search does.

The default course search will return courses that the user can see
the details of even if they can see them via a category, even if
they are not enrolled and cannot enrol themselves on it.

The equivalent global search configuration is:

* Global search is enabled
* The course indexing is enabled
* All the name and summary of all courses are included in the results

This patch will only let global search replace the default course
search when those criteria are met.

It will also display on the global search configuration page if global
search will replace the legacy course search.
2021-11-10 09:11:19 +00:00
abgreeve
e5b0be3192 MDL-71912 mod_book: Restore hastily removed editing setting. 2021-11-10 16:26:57 +08:00
abgreeve
7b935ca87b MDL-71912 behat: Assignment navigation related behat fixes. 2021-11-10 16:26:57 +08:00
abgreeve
05e6cdfd26 MDL-71912 mod_assign: Behat fixes for overrides. 2021-11-10 16:26:57 +08:00
abgreeve
85fded1a95 MDL-71912 mod_lesson: New step definitions for behat. 2021-11-10 16:26:56 +08:00
Shamim Rezaie
201f5034f9 Merge branch 'MDL-65799' of https://github.com/Chocolate-lightning/moodle 2021-11-10 18:35:34 +11:00
Mathew May
bdffbe3e48 MDL-65799 enrol: Final deprecations 2021-11-10 15:22:43 +08:00
Mathew May
072311e9f4 MDL-65799 forum: Final deprecations 2021-11-10 15:22:43 +08:00
Mathew May
573c50bde8 MDL-65799 calendar: Final removal of constant 2021-11-10 15:14:05 +08:00
Mathew May
b98d5c1614 MDL-65799 core: Final deprecation of 3.8 functions 2021-11-10 15:14:05 +08:00
Matt Porritt
eaa1f56704 MDL-68913 Assign: Per attempt timing
This patch provides functionality to allow the
assign activity to have timed attempts for submissions.
It includes the logic, UI and adminstration changes
fot timed submissions.
2021-11-10 12:07:35 +08:00
Sara Arjona
e871e800f1 Merge branch 'MDL-71912' of https://github.com/stronk7/moodle 2021-11-09 17:01:24 +01:00
Sara Arjona
03af737f21 MDL-71956 filter_h5p: Display the edit content button
The H5P filter will display now the "Edit content" button if the
user can edit the file.
2021-11-09 16:47:19 +01:00
Sara Arjona
eb4e36400e MDL-71956 core_h5p: Add more scenarios to can_edit_content
The method can_edit_content() now supports more scenarios where the
H5P content can be edited:
- Instead of supporting only mod_h5pactivity, now it supports any
mod or block when the user has the addinstance capability.
- If the component implements the can_edit_content method in the
h5p\canedit class and it returns true. For instance, the mod_forum
implements it and return true when filearea is post, if the user
can edit the post where the H5P is.
2021-11-09 16:47:18 +01:00
Eloy Lafuente (stronk7)
19576e54b3 MDL-71912 behat: Temporarily skip some troubled scenarios - js
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 16:08:48 +01:00
Ilya Tregubov
90b40b99fd Merge branch 'MDL-73001-master' of https://github.com/dravek/moodle 2021-11-09 14:55:30 +02:00
Eloy Lafuente (stronk7)
11eb9f9465 MDL-71912 behat: Temporarily skip some troubled scenarios - nonjs
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 12:47:34 +01:00
Ferran Recio
b6a0b3a668 MDL-73034 js: add textarea and input check to dragdrop 2021-11-09 11:57:56 +01:00
Jake Dallimore
c5a2e2db6c Merge branch 'MDL-71912-master-V4' of git://github.com/abgreeve/moodle 2021-11-09 11:47:55 +08:00
Sujith Haridasan
0b66b88bb2 MDL-71912 core: Fix behat tests for blocks
Fix the behat tests for blocks
2021-11-09 11:24:08 +08:00
Sujith Haridasan
4d2bfb38df MDL-71912 core_grading: Fix behat test
Fix behat test failure.
2021-11-09 11:24:08 +08:00
Mihail Geshoski
d06da2d1a0 MDL-71912 core_grading: Update behat step definitions 2021-11-09 11:24:08 +08:00
Mihail Geshoski
93b3bf6ed3 MDL-71912 media_videojs: Update behat tests 2021-11-09 11:24:08 +08:00
Adrian Greeve
7520614e26 MDL-71912 course modules: Toggle heading depending on navigation.
If the secondary navigation is on then the activity header does
not need to be displayed twice.
2021-11-09 11:24:08 +08:00
Adrian Greeve
c4c00f4e69 MDL-71912 mod_choice: Small alteration to show responses.
Depending on whether the secondary navigation is shown or not will
determine if the link to the responses is shown on the view.php
page.

Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
Adrian Greeve
b72fa5fbae MDL-71912 behat: Updating various tests using assign steps. 2021-11-09 11:24:08 +08:00
abgreeve
e75eb8481d MDL-71912 mod_assign: Updating the activity to use the actionmenu.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
abgreeve
1fa136a9b4 MDL-71912 mod_lesson: Add tertiary navigation to the lesson module.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
abgreeve
0c5e1bff21 MDL-71912 mod_book: Update book to implement the action menu.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
Jun Pataleta
76db9b294f Merge branch 'MDL-72896-master' of git://github.com/HuongNV13/moodle 2021-11-09 10:45:08 +08:00
Huong Nguyen
ffca35b805 MDL-72896 Accessibility: Make html_table responsive
The tables are generated by html_table will responsive across viewports
2021-11-09 09:41:27 +07:00
Eloy Lafuente (stronk7)
553d56bca9 Merge branch 'MDL-73025-master' of https://github.com/dravek/moodle 2021-11-08 16:53:05 +01:00
Sara Arjona
ecc7c74270 Merge branch 'MDL-72994-master' of https://github.com/lucaboesch/moodle 2021-11-08 16:37:56 +01:00
Sara Arjona
2a22d5b077 Merge branch 'MDL-72950' of https://github.com/stronk7/moodle 2021-11-08 15:33:46 +01:00
Jun Pataleta
2fcf41dcee MDL-73026 theme: Override Bootstrap modal styles for close button
* Adjust the margins to accommodate the button outline so that it
doesn't look clipped.
* Inherit the opacity when the button receives focus to improve the
focus outline's contrast.
2021-11-08 21:43:17 +08:00
Paul Holden
7a7375df4d MDL-72696 behat: support inplace editable fields of type select.
If an inplace editable field is using the "select" type, we should
treat it as a select field when setting it's value during scenarios.
2021-11-08 13:09:05 +00:00