28721 Commits

Author SHA1 Message Date
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
Mihail Geshoski
1c017ad8fb MDL-71680 navigation: Update templates/js to force nodes into more menu
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Mihail Geshoski
e3f35a2f22 MDL-71680 navigation: Add unit tests for force_nodes_into_more_menu()
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Mihail Geshoski
73154233e0 MDL-71680 navigation: Add unit tests for set_force_into_more_menu()
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Mihail Geshoski
9b792e814b MDL-71680 navigation: Force secondary navigation nodes into "more" menu
- Part of: MDL-69588
Enables to pre-define nodes which should be added into the "more" menu
by default and also setting a maximum limit of displayed nodes in the
secondary navigation.
2021-08-23 17:46:39 +08:00
Bas Brands
17e9d4a51a MDL-70202 theme_boost: push secondary navigation in admin search page
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Bas Brands
00239bccad MDL-70202 theme_boost: remove accessibility changes for moremenu tabs
- Part of: MDL-69588
- the more menu will be responsive and does not need changed tab styles on small devices
2021-08-23 17:46:39 +08:00
Bas Brands
527562d12f MDL-70202 theme_boost: frontend for secondary navigation
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Bas Brands
da67b468fa MDL-70208 theme_boost: frontend for primary navigation
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Mihail Geshoski
19fd786270 MDL-71680 navigation: Enable forcing navigation_node into "more" menu
- Part of: MDL-69588
Adds new property 'forceintomoremenu' and new setter method in the
navigation_node class to enable forcing a navigation note into a
"more" menu whenever possible.
2021-08-23 17:46:38 +08:00
Adrian Greeve
f28535082c MDL-70196 behat: Add a new step for navigating with the navbar.
- Part of: MDL-69588
A lot of tests work on the basis that you can follow the last item
of the breadcrumb nav bar. This is not the case. This step will first
check to see if the page is already the one requested. If it is then
nothing further needs to happen, otherwise we follow the link in the
navbar.
2021-08-23 17:46:38 +08:00
Peter Dias
5446cadef8 MDL-71148 core_navigation: Unit test for the primary output
- Part of: MDL-69588
2021-08-23 17:46:38 +08:00
Peter Dias
0c76a848ea MDL-71148 core_navigation: Templates to generate user menu
- Part of: MDL-69588
2021-08-23 17:46:36 +08:00
Peter Dias
8782702d34 MDL-71148 core_navigation: Provide user menu as nodes
- Part of: MDL-69588
2021-08-23 17:45:55 +08:00