28736 Commits

Author SHA1 Message Date
Sara Arjona
42f1e5360a Merge branch 'MDL-72289' of git://github.com/paulholden/moodle 2021-08-31 14:11:03 +02:00
Paul Holden
dcc130c7cf MDL-72289 output: allow customised inplace editable icon for editing.
Add optional argument to allow it to be defined by caller, and set
the default icon for `select` type as appropriate.
2021-08-31 11:37:02 +01:00
Sara Arjona
479bd0b9fa Merge branch 'master_MDL-71613-viewcreator' of https://github.com/catalyst/moodle-MDL-70329 2021-08-31 10:22:04 +02:00
Sara Arjona
0976e5ad08 Merge branch 'master_MDL-71575-viewquestiontext' of https://github.com/catalyst/moodle-MDL-70329 2021-08-31 10:05:34 +02:00
Sara Arjona
3156f4184f Merge branch 'master_MDL-71577-viewquestiontype' of https://github.com/catalyst/moodle-MDL-70329 2021-08-31 08:44:49 +02:00
Sara Arjona
bfe57a0ddf Merge branch 'master_MDL-71576-viewquestionname' of https://github.com/catalyst/moodle-MDL-70329 2021-08-31 08:40:13 +02:00
Marc-Alexandre Ghaly
b0067846ef MDL-71613 qbank_viewcreator: Add View creator to core
This implementation will introduce a qbank plugin "viewcreator"
which will view the question creator/modifier column in
the question bank view by replacing the core classes. Having
this plugin will give users the flexibility of enabling
or disabling the question creator and modifier column
in the question bank view.

Co-Authored-By: Marc-Alexandre Ghaly <marc-alexandreghaly@catalyst-ca.net>
2021-08-31 13:53:41 +10:00
Safat Shahin
97880f26b9 MDL-71575 qbank_viewquestiontext: Add View question text plugin to core
This implementation will introduce a qbank plugin "viewquestiontext"
which will view the question text row in the question bank view
by replacing the core class. Having this plugin will give users
the flexibility of enabling or disabling the question text row
in the question view.
2021-08-31 13:39:43 +10:00
Safat Shahin
354b98c86c MDL-71576 qbank_viewquestionname: Add View question name to core
This implementation will introduce a qbank plugin "viewquestionname"
which will view the question name column in the question bank view
by replacing the core classes. Having this plugin will give users
the flexibility of enabling or disabling the question name column.
2021-08-31 12:06:00 +10:00
Safat Shahin
c4eb3bda0a MDL-71577 qbank_viewquestiontype: Add View question type plugin to core
This implementation will introduce a qbank plugin "viewquestiontype"
which will view the question type column in the question bank view
by replacing the core class. Having this plugin will give users
the flexibility of enabling or disabling the question type
in the question bank view.
2021-08-31 11:49:41 +10:00
Eloy Lafuente (stronk7)
457c2026ed Merge branch 'MDL-71627-add-antivirus-check-api-and-notification-levels' of https://github.com/keevan/moodle 2021-08-30 12:39:29 +02:00
abgreeve
a926f529b4 Merge branch 'MDL-72223' of https://github.com/paulholden/moodle 2021-08-30 15:40:44 +08:00
Luca Bösch
aa9a591ecd MDL-70433 grades: prevent double escaping in titles 2021-08-27 10:56:20 +02:00
Andrew Nicols
dd41f234b6 Merge branch 'MDL-72152-master' of https://github.com/sammarshallou/moodle 2021-08-26 11:35:26 +08:00
Andrew Nicols
fceac02bae Merge branch 'MDL-72312' of https://github.com/stronk7/moodle 2021-08-26 11:25:52 +08:00
Andrew Nicols
dc41c2218b Merge branch 'master_MDL-71374-editquestion' of https://github.com/catalyst/moodle-MDL-70329 2021-08-26 11:11:28 +08:00
Andrew Nicols
9ec12d5980 Merge branch 'master_MDL-71573-exportquestions' of https://github.com/catalyst/moodle-MDL-70329 2021-08-26 11:08:57 +08:00
Jun Pataleta
306a778855 MDL-69588 core: Revert user menu dropdown toggle to a link 2021-08-25 17:26:39 +08:00
Eloy Lafuente (stronk7)
24d0983142 Merge branch 'MDL-72163-master' of git://github.com/andrewnicols/moodle 2021-08-25 11:06:04 +02:00
Andrew Nicols
61e4c8ddaa Merge branch 'master_MDL-71608-importquestions' of https://github.com/catalyst/moodle-MDL-70329 2021-08-25 15:09:32 +08:00
Andrew Nicols
617ff7fb83 MDL-72163 admin: Manually include some interfaces
Where the autolodaer is not registered (ABORT_AFTER_CONFIG and
installation), some adminlib classes, traits, and interfaces need to be
manually loaded.
2021-08-25 14:17:40 +08:00
Jun Pataleta
4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Mathew May
89460a50d2 MDL-69588 navigation: Address final point from review 2021-08-25 10:35:23 +08:00
Eloy Lafuente (stronk7)
103027b723 Merge branch 'MDL-72163-master' of git://github.com/andrewnicols/moodle 2021-08-24 20:12:13 +02:00
Mathew May
c1130de5ff MDL-69588 accessibility: Address further review points 2021-08-24 11:56:02 +08:00
Sara Arjona
d91e9ccee8 Merge branch 'MDL-71603-master' of git://github.com/rezaies/moodle 2021-08-23 17:04:26 +02:00
Eloy Lafuente (stronk7)
3417b7123d MDL-72312 environment: Add new optional custom check for igbinary
This optional environmental check will look if:

- the site is running php72.
- the site has igbinary extension enabled.
- the igbinary extension version is a buggy one >=3.2.2 <= 3.2.4
- the bug is reproducible.

And will warn if all the conditions are met.
2021-08-23 15:11:58 +02:00
abgreeve
56c34d71ef MDL-69588 theme_boost: Use partial templates in boost.
This moves away from using escaped html injected into the template
and uses partial templates instead.
2021-08-23 17:47:24 +08:00
Mathew May
1f6bcd7eae MDL-69588 accessibility: Address review points 2021-08-23 17:47:24 +08:00
Mathew May
1ce2bb0007 MDL-69588 navigation: Show home primary node when required 2021-08-23 17:47:24 +08:00
Bas Brands
eed2498215 MDL-72032 core: Fix aria roles moremenu
- Part of: MDL-69588
2021-08-23 17:47:24 +08:00
Peter Dias
dfefc86393 MDL-72032 core: Add roles to items
- Part of: MDL-69588
2021-08-23 17:47:22 +08:00
Peter Dias
9f40dcae9a MDL-72032 core: Fixup the behat nav
- Part of: MDL-69588
2021-08-23 17:47:02 +08:00
Bas Brands
da33265d73 MDL-72032 core_behat: secondary navigation behat fixes
- Part of: MDL-69588
2021-08-23 17:47:02 +08:00
Peter Dias
3110abec03 MDL-71901 core: Update the secondary nav nodes order
- Part of: MDL-69588
2021-08-23 17:47:02 +08:00
Peter Dias
f4d3606a2e MDL-71901 core: Allow blocks to specify their own nav
- Part of: MDL-69588
2021-08-23 17:47:01 +08:00
Peter Dias
d91183883e MDL-71901 core: Load plugin specific secondary nav
- Part of: MDL-69588
Try to search and load a plugin specific version of secondary nav
2021-08-23 17:46:40 +08:00
abgreeve
42e191cc4d MDL-72005 navigation: Change context header to switch breadcrumbs
- Part of: MDL-69588
This changes the context header to switch the breadcrumbs to the
top in boost. It also changes the context header in the modules
to have the activity name instead of the course name, and adds
an icon for the activity.
2021-08-23 17:46:40 +08:00
Mihail Geshoski
3e30d958b2 MDL-71683 behat: Add step definitions related to the user menu
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
5f998b1249 MDL-71683 navigation: Update the primary nav unit tests
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
68237ac761 MDL-71683 navigation: Implement the lang menu in the main navigation
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
d78dc95d6b MDL-71683 navigation: Add a lang submenu within the user menu
- Part of: MDL-69588
The menu used to select one of the available languages is now
displayed as a submenu within the user menu only when a user is
logged in.
2021-08-23 17:46:40 +08:00
Mihail Geshoski
7318b68b77 MDL-71683 navigation: Enable submenus within the user menu
- Part of: MDL-69588
Adds support for creating collapsible submenus within the user
menu dropdown.
2021-08-23 17:46:40 +08:00
Mathew May
d9016d2fa7 MDL-72006 navigation: Reduce max secondary nav items
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Peter Dias
d677a3b690 MDL-71900 core: Remove the node if only a single node displayed
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Mihail Geshoski
f836887844 MDL-69588 navigation: Utilize showinsecondarynavigation in secondary nav
Utilizes the 'showinsecondarynavigation' property from the
navigation_node object to avoid displaying any unwanted nodes in the
secondary navigation.
2021-08-23 17:46:39 +08:00
Mihail Geshoski
bddc64a39d MDL-69588 navigation: Enable setting node visibility in secondary nav
Adds new property 'showinsecondarynavigation' and a new setter method
in the navigation_node class to enable setting the visibility of the
node in the secondary navigation.
2021-08-23 17:46:39 +08:00
Mihail Geshoski
ee63214306 MDL-71977 navigation: Set default more menu nodes in mod secondary nav
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Adrian Greeve
1a8b11b721 MDL-71877 navigation: Set the correct url for the activity view.
- Part of: MDL-69588
The first tab in the secondary navigation is to show the tab to
navigate to the modules view.php file. This patch sets the url
to view.php and if it matches the pages url, also sets it as
active.
2021-08-23 17:46:39 +08:00
Mihail Geshoski
2748d4e7ee MDL-71680 navigation: Set forceintomoremenu to child nodes recursively
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00