Commit graph

101969 commits

Author SHA1 Message Date
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
Andrew Nicols
d5e04cab9a MDL-66266 core_message: Whitespace fix 2021-08-19 09:10:18 +02:00
Andrew Nicols
c0d2f724ef Merge branch 'MDL-66266-master' of git://github.com/cescobedo/moodle 2021-08-19 09:10:18 +02:00
Eloy Lafuente (stronk7)
dd23f8d903 Merge branch 'MDL-72186' of git://github.com/paulholden/moodle 2021-08-19 09:10:17 +02:00
Eloy Lafuente (stronk7)
39d9c8fdd4 Merge branch 'master-MDL-72210' of https://github.com/golenkovm/moodle 2021-08-19 09:10:17 +02:00
Eloy Lafuente (stronk7)
4275de7315 Merge branch 'MDL-72206-master' of git://github.com/junpataleta/moodle 2021-08-19 09:10:17 +02:00
Víctor Déniz
735bd7ffdb Merge branch 'MDL-72097' of git://github.com/danmarsden/moodle 2021-08-19 09:10:17 +02:00
Andrew Nicols
3a0f2d7d0b MDL-71615 qbank_deletequestion: Whitespace fixes 2021-08-19 09:10:17 +02:00
Safat Shahin
38ec802858 MDL-71615 qbank_deletequestion: Add Delete question plugin to core
This implementation will introduce a qbank plugin
"deletequestion" which will implement the delete question
action in the question bank view by replacing the core
class. Having this plugin will give users the
flexibility of enabling or disabling this action.
2021-08-19 09:10:17 +02:00
Andrew Nicols
aebcf8d909 Merge branch 'MDL-69451-shared-temptables' of https://github.com/srdjan-catalyst/moodle 2021-08-19 09:10:17 +02:00
Víctor Déniz
94ca638c4c Merge branch 'master-MDL-72239-v2' of https://github.com/golenkovm/moodle 2021-08-19 09:10:17 +02:00
Víctor Déniz
d078fe1197 Merge branch 'MDL-71685' of https://github.com/paulholden/moodle 2021-08-19 09:10:17 +02:00
Ilya Tregubov
192211b51d Merge branch 'MDL-71954-master' of git://github.com/rezaies/moodle 2021-08-19 09:10:16 +02:00
Víctor Déniz
cff46fe6c1 Merge branch 'MDL-71487' of https://github.com/paulholden/moodle 2021-08-19 09:10:16 +02:00
Ilya Tregubov
c0fc0747a8 Merge branch 'master_MDL-71516-qbank' of https://github.com/catalyst/moodle-MDL-70329 2021-08-19 09:10:16 +02:00
Ilya Tregubov
43ea2271eb Merge branch 'MDL-71814-master' of git://github.com/NashTechOpenUniversity/moodle 2021-08-19 09:10:16 +02:00
Dan Marsden
8aba9d1d34 MDL-72097 mod_assign: pass gradinginfo to disabled check. 2021-08-19 09:10:12 +02:00
Mark Nelson
0e68c5817f MDL-49202 core_grades: perform same action on categories in form
When you click on 'Edit' then 'Hide' on a grade item like a course category
that contains many grade items, the course and the grade items are set to
hidden. However, if you use the 'hidden' option on the 'Edit settings'
page it only hides that item and none of the items (assignment etc)
under that course category. We want them to be consistent.
2021-08-19 14:44:34 +08:00
Mikhail Golenkov
8355a9a018 MDL-72239 phpunit: Assert the number of db queries to be less or equal
The course unit test assumes the number of db call. This assumption
is correct in vanilla moodle only. Once some plugins installed their
observers may do extra db calls. Due to caching the number of actual
db calls in the unit test may be fewer.
2021-08-18 11:01:29 +10:00
AMOS bot
5de4b04f1a Automatically generated installer lang files 2021-08-18 00:07:45 +00:00
Amaia Anabitarte
d45058fd21 MDL-72311 core_course: Go to course content when creating a course 2021-08-17 19:16:37 +02:00
Mark Nelson
25bce5c526 MDL-49202 core_grades: perform same action on items in form
When you click on 'Edit' then 'Hide' on a grade item like an
assignment it also hides the grades. However, If you use the
'hidden' option on the 'Edit settings' page it just hides that
item and doesn't hide grades as well. We want them to be
consistent.
2021-08-17 20:12:27 +08:00
safatshahin
dfed4fd040 MDL-71516 core_question: Qbank api implementation
This commit implements the qbank api so that any plugin
can implement its own question bank. This api currently
works parallely with the moodle core classes and the
added qbank in the core, means the moment a plugin
is installed, that object is replaced with the object
from the plugin instead of core, which means the api
has flexibility till the plugins are integrated and the
plugins can be integrated in any order.

All the old classes are still there and not deprecated
as there is a different tracker for the changes to the
quiz and another tracker for class deprecation and
class renaming. Core question units tests are pointing
to the new api structure but the classes are pointing
to the location related to the plugin availability.

Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>

one more array fix
2021-08-17 18:57:31 +10:00
Frédéric Massart
1273c87cea MDL-72286 editor_atto: Declare type on plugins button groups 2021-08-17 11:58:58 +10:00