Andrew Nicols
2bb8497e1c
Merge branch 'MDL-72014' of https://github.com/stronk7/moodle
2021-08-24 09:15:12 +08:00
Andrew Nicols
12d6a8c3d9
Merge branch 'MDL-72207-master' of git://github.com/jleyva/moodle
2021-08-24 09:06:07 +08:00
Heena Agheda
735a0fd5fd
MDL-72187 logstore: record log store's visibility change
2021-08-24 09:53:57 +10:00
Eloy Lafuente (stronk7)
c25fe3a183
Merge branch 'MDL-71055-master' of git://github.com/andrewnicols/moodle
2021-08-23 23:22:15 +02:00
Eloy Lafuente (stronk7)
a65c0bbc0a
MDL-71847 course: small tests fixes.
...
1) Namespace must match the one being covered.
2) the @covers annotation was wrong, missing class name(s). At the
end I've used the coversDefaultClass annotation that allows to
specify a whole namespace, useful in this case to get the 3
existing (course, section, cm) classes covered.
2021-08-23 20:14:51 +02:00
Eloy Lafuente (stronk7)
101355638b
Merge branch 'MDL-71847-master' of git://github.com/ilyatregubov/moodle
2021-08-23 18:48:25 +02:00
Eloy Lafuente (stronk7)
9438f0714b
Merge branch 'MDL-72045-master' of git://github.com/lameze/moodle
2021-08-23 18:33:27 +02:00
Sara Arjona
c14c308fbb
Merge branch 'MDL-72257' of git://github.com/paulholden/moodle
2021-08-23 17:52:20 +02: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
Sara Arjona
d5faaf5d6c
Merge branch 'MDL-71209-master-fixup' of github.com:ferranrecio/moodle
2021-08-23 13:03:25 +02:00
Ferran Recio
0b18d478a2
MDL-71209 courseformat: disable course index in mod
2021-08-23 12:49:22 +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
Adrian Greeve
2d548e7433
MDL-69588 theme_boost: Change renderer to use templates.
...
This changes the existing context_header code copied from the
outputrenderers file and makes it use templates.
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
f99a9eb117
MDL-71901 mod_assign: Custom secondary nav for assign
...
- Part of: MDL-69588
2021-08-23 17:46:40 +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
e565850e50
MDL-71683 boost: Add behat tests related to the language selector
...
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
7d739e9902
MDL-71683 behat: Add step definitions related to the lang menu in boost
...
- Part of: MDL-69588
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
Adrian Greeve
c8422f4576
MDL-70196 mod_assign: Allow the last navbar item to have a link.
...
- Part of: MDL-69588
This updates a method to allow the last item in the breadcrumb
navbar to have a URL.
2021-08-23 17:46:38 +08:00