101709 Commits

Author SHA1 Message Date
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
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
Nhan Vo
7bcd58783f
MDL-68639 HTML Editor (Atto): Invalid HTML for nested lists 2021-08-17 02:51:14 +07:00
Thach Le Huy
b3be2bbb67 MDL-71814 Atto: File picker – file info panel focus issue 2021-08-16 16:52:08 +07:00
safatshahin
351176bb71 MDL-71516 core_question: Create new plugin type - qbank
This commit implements the qbank plugin type which
includes the boilerplate for the qbank plugin, the
qbank plugin management admin page and required core
code addition.
2021-08-16 09:59:11 +10:00
safatshahin
86bdf87966 MDL-71516 core_question: Class movement for moodle autoloading
Movement of classes to classes/local/bank and additional
todo addition to all the existing ones to align with
future tracker for class renaming. This commit does not
contain any class renaming of the old or deprecated
classes. MDL-72004 will be used to rename, remove or
deprecate old classes after integrating all the qbank
plugins.
2021-08-16 09:59:11 +10:00
Mikhail Golenkov
bdba9f695d MDL-72135 auth_mnet: Remove rand() from mnet cron task 2021-08-14 10:54:00 +10:00
Mikhail Golenkov
227a831aa1 MDL-72210 phpunit: Remove excessive curl mock responses 2021-08-14 10:38:55 +10:00
AMOS bot
a52007cbe8 Automatically generated installer lang files 2021-08-14 00:07:46 +00:00
Ilya Tregubov
6973d2c88a Merge branch 'MDL-72035-excel_csv_bom' of git://github.com/leonstr/moodle 2021-08-13 11:09:27 +02:00
Andrew Nicols
3ea604baf4 Merge branch 'MDL-72138' of https://github.com/paulholden/moodle 2021-08-13 10:28:26 +08:00
Andrew Nicols
f06ef721f7 Merge branch 'MDL-72325-master-tourspolicy' of git://github.com/mudrd8mz/moodle 2021-08-13 09:58:12 +08:00
Ilya Tregubov
036800d99d weekly release 4.0dev 2021-08-12 16:50:14 +02:00
Ilya Tregubov
72d8d10ef1 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-08-12 16:50:12 +02:00
David Mudrák
f9ee118e94 MDL-72325 user: Use the core_user::awaiting_action() in existing places
There were existing places each doing its own checks similar to the ones
covered by the newly added core_user::awaiting_action() method. This
patch replaces those custom checks with this new API call.
2021-08-12 13:05:38 +02:00
David Mudrák
124b82831b MDL-72325 user: Do not show user tours without site policy agreed
Fetching user tours used to fail on external_api::validate_context() and
require_login() calls if the user did not have the site policy agreed.

The patch introduces a check to see if the user is fully set up and
ready to use the site before attempting to load the tours.
2021-08-12 13:05:38 +02:00
David Mudrák
7a8eae027f MDL-72325 user: Introduce new core_user::awaiting_action() method
The method allows to check if the user is fully ready to use the site or
whether there is an action (such as filling the missing profile field,
changing password or agreeing to the site policy) needed.
2021-08-12 13:05:38 +02:00
Víctor Déniz
1e9118f4d6 MDL-71500 calendar_threemonth: fix wrong behat step 2021-08-12 11:35:31 +01:00
Paul Holden
58c6afb94d MDL-72138 task: allow running core tasks from schedules UI.
Fixes regression from 9c4510a3 that didn't consider tasks belonging
to core, rather than just those belonging to plugins.
2021-08-12 09:49:10 +01:00
Andrew Nicols
7b7b42b643 Merge branch 'MDL-71844' of https://github.com/paulholden/moodle 2021-08-12 10:24:50 +08:00
Eloy Lafuente (stronk7)
ee468d201d Merge branch 'MDL-72265' of https://github.com/timhunt/moodle 2021-08-11 23:59:01 +02:00
Eloy Lafuente (stronk7)
401a79a79e Merge branch 'MDL-71515-master_improve_test_email' of https://github.com/guillogo/moodle 2021-08-11 23:41:34 +02:00
Eloy Lafuente (stronk7)
962b7f56a8 Merge branch 'MDL-71500-master' of git://github.com/lameze/moodle 2021-08-11 20:10:40 +02:00
Víctor Déniz
5f0690f5db Merge branch '71992-master-fix-behat-tests-on-https' of https://github.com/DSI-Universite-Rennes2/moodle 2021-08-11 14:32:20 +01:00
Víctor Déniz
eda5b689fd Merge branch 'MDL-72000' of https://github.com/paulholden/moodle 2021-08-11 10:59:03 +01:00
Eloy Lafuente (stronk7)
615eb63ca4 Merge branch 'MDL-71945-master' of https://github.com/lucisgit/moodle 2021-08-11 11:46:56 +02:00
Eloy Lafuente (stronk7)
5307bd2930 Merge branch 'MDL-72242-master-svgforcedfilter' of git://github.com/mudrd8mz/moodle 2021-08-11 11:39:52 +02:00
Víctor Déniz
21909b59fb Merge branch 'MDL-69918-master' of git://github.com/andrewnicols/moodle 2021-08-10 19:15:22 +01:00
Eloy Lafuente (stronk7)
b3c47da570 Merge branch 'MDL-72254' of https://github.com/timhunt/moodle 2021-08-10 19:28:13 +02:00
Eloy Lafuente (stronk7)
537c909680 Merge branch 'MDL-71656-master' of git://github.com/HuongNV13/moodle 2021-08-10 19:09:33 +02:00
Eloy Lafuente (stronk7)
08850538b4 Merge branch 'MDL-70165' of git://github.com/paulholden/moodle 2021-08-10 18:51:02 +02:00
Andrew Nicols
530322e2ce MDL-69918 core: Update uses of legacy form change checker 2021-08-10 23:54:01 +08:00