Commit graph

104207 commits

Author SHA1 Message Date
Jun Pataleta
ed3d0904ff Merge branch 'MDL-73248-master' of https://github.com/sarjona/moodle 2022-02-16 21:09:52 +08:00
Ilya Tregubov
249bf250fd Merge branch 'MDL-73837' of git://github.com/paulholden/moodle 2022-02-16 13:52:47 +02:00
Ilya Tregubov
08d2c0fb9f Merge branch 'MDL-73868-master' of https://github.com/sarjona/moodle 2022-02-16 13:04:52 +02:00
Ilya Tregubov
bc6416908d Merge branch 'MDL-73370-master' of https://github.com/peterRd/moodle 2022-02-16 12:52:49 +02:00
Sara Arjona
9544b5c4d3 Merge branch 'MDL-72762' of https://github.com/stronk7/moodle 2022-02-16 11:50:03 +01:00
Sara Arjona
780fefe6b1 Merge branch 'MDL-73768-master' of https://github.com/bmbrands/moodle 2022-02-16 11:30:58 +01:00
Mikel Martín
705c0527ab MDL-73875 reportbuilder: Fix inplace editable overflows 2022-02-16 11:05:52 +01:00
Peter Dias
240da1b186 MDL-73370 contentbank: Update behat tests 2022-02-16 17:49:00 +08:00
Peter Dias
57f1bd3a01 MDL-73370 contentbank: Move settings cog to tertiary navigation
* Add headings to subpages
* Update context header based on current context
* Tweak layout.
2022-02-16 17:49:00 +08:00
Jun Pataleta
8c609a715a Merge branch 'MDL-73827-master' of https://github.com/sarjona/moodle 2022-02-16 16:52:08 +08:00
Ilya Tregubov
96f3deeb48 Merge branch 'MDL-73816-master' of https://github.com/bmbrands/moodle 2022-02-16 10:26:59 +02:00
Jun Pataleta
111ec16267 Merge branch 'MDL-73592-master' of git://github.com/rezaies/moodle 2022-02-16 16:21:55 +08:00
Shamim Rezaie
2361e4c9c5 MDL-73592 tool_moodlenet: Enable moodlenet by default 2022-02-16 16:09:28 +11:00
Shamim Rezaie
3e88bfd5b6 Merge branch 'MDL-73721-master' of git://github.com/rezaies/moodle 2022-02-16 14:24:01 +11:00
Peter Dias
2bbc664302 MDL-73373 navigation: Fix breadcrumbs when within a course.
Disable the mycourses node from showing up in the breadcrumbs
if it is set as the default homepage
2022-02-16 10:59:43 +08:00
Peter Dias
9170025088 fixup! MDL-73373 roles: Enable tertiary navigation in module context 2022-02-16 09:28:04 +08:00
Eloy Lafuente (stronk7)
239f3116d5 Merge branch 'MDL-73859-master' of https://github.com/sarjona/moodle 2022-02-15 23:15:39 +01:00
Paul Holden
4ad5dda50d MDL-73822 user: fix Gravatar integration for missing user images. 2022-02-15 20:52:58 +00:00
Sara Arjona
9096a1e1ac MDL-73859 behat: Fix random error highlighting week
The first week is only highlighted if course starts today or
later. So, the course will be created with startdate on
yesterday to guarantee it always passes.
2022-02-15 17:43:12 +01:00
Sara Arjona
c992130786 Merge branch 'MDL-73840-master' of https://github.com/mihailges/moodle 2022-02-15 17:21:42 +01:00
Sara Arjona
ee20a7ae7b Merge branch 'MDL-73834' of https://github.com/stronk7/moodle 2022-02-15 17:18:38 +01:00
Sujith Haridasan
299504281e Revert "MDL-71915 mod_quiz: Update the behat tests"
This reverts commit 1149f255fe.
2022-02-15 15:58:36 +00:00
Sujith Haridasan
24950e283c Revert "MDL-71915 mod_quiz: Update the tertiary nav"
This reverts commit 6ba821dc01.
2022-02-15 15:58:35 +00:00
Sujith Haridasan
c4e411e48b Revert "MDL-71915 question: Update the behat tests"
This reverts commit f000755ba1.
2022-02-15 15:54:00 +00:00
Sujith Haridasan
73aeabab0b Revert "MDL-71915 question: Update the tertiary nav"
This reverts commit 26eabeccf4.
2022-02-15 15:54:00 +00:00
Sujith Haridasan
ae377f6940 Revert "MDL-71915 mod_quiz: Render add question when user can edit the quiz"
This reverts commit 29ebc9f153.
2022-02-15 15:54:00 +00:00
Víctor Déniz
a0aeaca013 Merge branch 'MDL-73368' of https://github.com/call-learning/moodle 2022-02-15 15:38:45 +00:00
Amaia Anabitarte
23cb73b771 MDL-73871 core_course: Fix course index active chevron hover color 2022-02-15 13:47:04 +01:00
Sara Arjona
a708139457 Merge branch 'MDL-73869-master' of https://github.com/dravek/moodle 2022-02-15 13:18:56 +01:00
Ferran Recio
d7d154bd8b MDL-73683 core_courseformat: format section visible logic
Move the section visible logic to the format base class. This way format
plugins can decide whenever a section is visible or not instead of using
format custom settings from core.
2022-02-15 13:15:09 +01:00
Ferran Recio
c7a2e19ee0 MDL-73683 core_courseformat: fix state hasavailability
The course index lock icon depends on the state hasrestrictions
attributes on both section and course module. The lock icon
should be consistent with the content availability information
and it was not. With this patch the hasrestrictions attribute
uses a similar logic than the course content.
2022-02-15 13:15:09 +01:00
Ilya Tregubov
256804d2ed Merge branch 'MDL-73532-master-1' of https://github.com/mihailges/moodle 2022-02-15 13:37:24 +02:00
Ilya Tregubov
f4b1fd8477 Merge branch 'MDL-73312' of https://github.com/call-learning/moodle 2022-02-15 13:34:25 +02:00
Paul Holden
be54872a2c MDL-73887 reportbuilder: make the select filter easier to extend.
Allow custom filters to extend the filter, and override/set the
operators/values fields internally.
2022-02-15 11:21:11 +00:00
Laurent David
749b416473 MDL-73312 mod_bigbluebuttonbn: Fix sort by date for recordings
* Fix sorting for dates in recording table
* Code review and getString usage in JS
2022-02-15 08:07:51 +01:00
Andrew Nicols
0491ccb6c8 MDL-73883 behat: Display actual step during testing
Because of the way in which we check for exceptions, we always show the
following string during behat pretty output:

    behat_hooks::i_look_for_exceptions()

We can easily modify this to only show this value when the
i_look_for_exceptions() test itself fails, but otherwise to show the
actual step that is run.
2022-02-15 14:57:00 +08:00
Huong Nguyen
46bbf6e74b MDL-73854 Calendar: Fix calendar controls cannot be translated
Fix the issue that calendar page and block are showing only English names
of next and previous months despite switching the language
2022-02-15 12:16:32 +07:00
Shamim Rezaie
e70a73cd34 MDL-73384 theme: Full-width header and secondary menu on admin pages 2022-02-15 15:55:58 +11:00
Jun Pataleta
5725b0f950 MDL-73721 enrol: Pre-fill enrolled users node
Add the Enrolled users in the tertiary navigation when the user has
the capability to view enrolled users but not review enrolments but has
other user administration capabilities in the course.
2022-02-15 15:22:09 +11:00
Jun Pataleta
2b9cc9d2ee Merge branch 'MDL-73805-master' of https://github.com/bmbrands/moodle 2022-02-15 12:18:36 +08:00
Jun Pataleta
b503ab169e Merge branch 'MDL-73826' of https://github.com/stronk7/moodle 2022-02-15 11:51:44 +08:00
Peter Dias
bdf4f8a651 MDL-73273 navigation: Add checks to enforce action param types
* Added checks in navigationlib to enforce the data type of the passed in action
* Add nodes with non moodleurls to the end of the secondary nav
2022-02-15 11:30:07 +08:00
Amaia Anabitarte
760747b5dc MDL-73873 enrol_cohort: Fix warning when editing cohort enrolment 2022-02-14 17:59:28 +01:00
Paul Holden
d8158c4532 MDL-73835 reportbuilder: ensure same report instance is exported.
The exported system report should be re-created using all properties
of the persistent, as well as any passed parameters.
2022-02-14 11:51:57 +00:00
David Matamoros
af84b168b6 MDL-73869 reportbuilder: Fix casting to string in report actions 2022-02-14 12:02:22 +01:00
Shamim Rezaie
33c41bf1d4 Merge branch 'MDL-73609-master' of https://github.com/bmbrands/moodle 2022-02-14 21:50:58 +11:00
Sara Arjona
c4e6ac585d MDL-73868 oauth2: Remove multiple slashes in image URL
There is an issue with the current Badgr manifest because the image
URL contains double slash which is causing an error when storing it
in the database (https://api.test.badgr.com/static//images/logo.png).
This issue parses image URL and removes multiple slashes in URL.
2022-02-14 11:30:19 +01:00
Mihail Geshoski
2a920abd5b MDL-73840 mod_feedback: Remove the duplicate navigation selector
The patch removes the duplicate navigation selector which appears in the
'Show non-respondents' page by removing the 'nonrespondents' node from
the module's settings navigation. Additionally, it highlights the
'Responses' item in the secondary navigation and sets it as active in
the module settings navigation.
2022-02-14 17:48:30 +08:00
Eloy Lafuente (stronk7)
a419c7ec12 MDL-73834 mod_lti: Don't load external artifacts, original behaviour
Summary:

- With PHP7, libxml_disable_entity_loader() was making those
  flags futile, and the DTDs were not being requested ever.
- With PHP8, the flags get precedence and requests for the
  DTD have started to happen.
- Those requests are not served by W3C (1 minute time-out).
- Those DTDs aren't used by anything in code (no entity
  replacement, no validation...)

Hence:
- Remove the flags so it will work the same in PHP7 and PHP8.
- Just to double ensure we don't want any remote loading
  to happen ever, add explicitly the LIBXML_NONET flag.
2022-02-14 10:26:45 +01:00
Paul Holden
a6b13214a9 MDL-72734 tool_task: consistent checks for running tasks from web. 2022-02-14 09:22:01 +00:00