101888 Commits

Author SHA1 Message Date
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
Adrian Greeve
c3871a9174 MDL-70196 navigation: Update to pages to add a URL.
- Part of: MDL-69588
Some pages have added an item to the end of the  navbar without a
link for it. This adds the current page as a url to this navigation
node. Doing this brings it in line with all of the other pages
around Moodle and also helps with the new navigation changes in
theme boost.
2021-08-23 17:46:38 +08:00
Adrian Greeve
7d435fb5f2 MDL-70196 navigation: Update to feature files.
- Part of: MDL-69588
A lot of tests rely on the last element of the breadcrumb being
active. This updates feature files to not rely on this anymore.
2021-08-23 17:46:38 +08:00
Adrian Greeve
dbc014b2a6 MDL-70196 theme_boost: New navbar renderer for navbar alterations
- Part of: MDL-69588
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
Peter Dias
6462e651e4 MDL-71148 core_navigation: New renderer to combine nav components
- Part of: MDL-69588
2021-08-23 17:45:55 +08:00
Peter Dias
25e178aa59 MDL-71148 core_navigation: Move unauthenticated user checks to the lib
- Part of: MDL-69588
Added conditional information in user_get_user_navigation_info for
when a user is unauthenticated.
2021-08-23 17:45:55 +08:00
Peter Dias
fe285d5496 MDL-71148 core_navigation: Provide a menu header in a system context.
- Part of: MDL-69588
2021-08-23 17:45:55 +08:00
Ferran Recio
1389487a1c MDL-71209 mod_assign: fix anonymous submission behat 2021-08-23 11:38:07 +02:00
Tien Nguyen
dd6fd520e3 MDL-72137 Quiz: Quiz submission email notification update
Quiz submission notifications: separate out User versus System
2021-08-23 15:38:33 +07:00
Sara Arjona
4a4e452fa9 MDL-67228 tool: Set tool_replace maturity
The tool_replace has been in core for ages and, at this point, it
seems safe to set maturity from ALPHA to STABLE.
2021-08-23 07:49:20 +02:00
Andrew Nicols
891d1bfad3 MDL-71055 behat: Update core settings to use generator
These changes have only been applied to settings which were already
using settings names and values, but which were still using the UI.
2021-08-23 12:23:03 +08:00
Guillermo Gomez
06f192aec9 MDL-71573 qbank_exportquestion: Add plugin to core
This implementation will introduce a qbank plugin "exporquestions"
which will add the export feature in the question bank view
by replacing the core classes. Having this plugin will give users
the flexibility of enabling or disabling the export questions tab.

Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
2021-08-23 12:06:20 +10:00
Safat Shahin
3e93aa780f MDL-71608 qbank_importquestions: Add importquestions to core
This implementation will introduce a qbank plugin "importquestions"
which will allow user to import a bank of questions in the question bank view
by replacing the core class. Having this plugin will give users
the flexibility of enabling or disabling the question import
in the question bank view.

Co-Authored-By: Marc-Alexandre <marc-alexandreghaly@catalyst-ca.net>
2021-08-23 11:47:05 +10:00
Safat Shahin
47478d6b59 MDL-71574 qbank_editquestion: Add Edit question plugin to core
This implementation will introduce a qbank plugin "editquestion"
which will implement the edit question, add question and copy
question actions in the question bank view by replacing the
core classes. Having this plugin will give users the
flexibility of enabling or disabling these actions.
2021-08-23 11:00:16 +10:00
Eloy Lafuente (stronk7)
19b1f2f3d4 Merge branch 'MDL-71973' of https://github.com/mohalisad/moodle 2021-08-20 19:07:25 +02:00
Víctor Déniz
a651a21912 Merge branch 'MDL-71209-master' of git://github.com/aanabit/moodle 2021-08-20 15:50:15 +01:00
Andrew Nicols
c79d58a50b MDL-71209 behat: Fix behat for new changes
Co-authored-by: Ilya Tregubov <ilya@moodle.com>
2021-08-20 16:49:06 +02:00
Ferran Recio
ef745009ed MDL-71209 courseformat: add state suport to legacy action
Adapt the current course editing libraries to modify also
the course state data. This way, any UI component that
watches the course structure can react to the changes.
2021-08-20 16:49:06 +02:00
Ferran Recio
830c3eb907 MDL-71209 courseformat: add course index modules
The course index is the first UI component that implements the new
drawers and the reactive components. The course index uses the course
state to present the current course structure and changes whenever
that structure change.
2021-08-20 16:49:06 +02:00
Ferran Recio
804e138cb2 MDL-71209 core: reactive parent registration and updates
Now a reactive component could inherit the reactive instance from the
parent DOM element. This way components are more reusable. Apart, some
new state updates have been added. To the previous create, update and
delete, now the update message could provide also put and override,
making the state update message more REST alike and simplifying the
backend returns processing.
2021-08-20 16:49:06 +02:00
Eloy Lafuente (stronk7)
4162b92af9 MDL-72014 nodejs: audit fix to solve some security reports
Simply run npm audit fix that updates these main packages:

- xmldom 0.6.0
- grunt 1.4.1
- gherkin-lint 4.2.2

(and also a bunch of dependencies)
2021-08-20 13:49:46 +02:00
Ilya Tregubov
1464843a25 weekly release 4.0dev 2021-08-20 13:24:29 +02:00
Ilya Tregubov
c6ac30c0ee Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-08-20 13:24:27 +02:00
Tomo Tsuyuki
0646a40b20 MDL-70176 mod_forum: Grading respects separate groups filter 2021-08-20 13:27:50 +10:00
Michael Milette
de91d620f2 MDL-58395 auth_ldap: User sync now brings problem details and continue
Co-authored-by: Iñaki Arenaza <iarenaza@mondragon.edu>
2021-08-19 19:53:22 +02:00
Ilya Tregubov
9937593420 MDL-71516 core_question: Fix url not being composed correctly. 2021-08-19 17:48:00 +02:00
Ilya Tregubov
eba1d32c00 MDL-49202 core: Comment broken test.
Should be fixed properly as part of MDL-72377.
2021-08-19 17:04:43 +02:00
Ilya Tregubov
b8e4235160 Merge branch 'MDL-49202_master' of git://github.com/mdjnelson/moodle 2021-08-19 16:53:30 +02:00
Mark Nelson
9a0d63383a MDL-49202 core: fix failing unit tests
See MDL-72377.
2021-08-19 20:16:29 +08:00
Mark Nelson
757f872b72 MDL-49202 core_grades: add Behat tests 2021-08-19 20:16:29 +08:00
Juan Leyva
5784c39341 MDL-72207 assign: Support all participants in get_submission_status WS 2021-08-19 14:11:33 +02:00
Andrew Nicols
6f36b0998d MDL-71615 qbank_deletequestion: Ensure that the returnurl is qualified 2021-08-19 16:12:29 +08:00
Bas Brands
2092500f8a MDL-72361 theme_boost: page scroll issue on drawer close 2021-08-19 09:27:23 +02:00
Andrew Nicols
73754b8c39 Merge branch 'MDL-72143-master' of git://github.com/jleyva/moodle 2021-08-19 09:10:18 +02:00
Andrew Nicols
c65ea81183 Merge branch 'MDL-72135-master' of https://github.com/golenkovm/moodle 2021-08-19 09:10:18 +02:00
Andrew Nicols
70a2975041 Merge branch 'MDL-71709' of git://github.com/paulholden/moodle 2021-08-19 09:10:18 +02:00
Andrew Nicols
517fe298c3 Merge branch 'MDL-68639-master' of https://github.com/xcaro/moodle 2021-08-19 09:10:18 +02:00
Andrew Nicols
84077e5263 Merge branch 'MDL-71944' of git://github.com/paulholden/moodle 2021-08-19 09:10:18 +02:00