108083 Commits

Author SHA1 Message Date
Alex Morris
25498b6b62
MDL-78072 user: Add new update_user_device_public_key webservice
Backport of MDL-76722.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>
2023-05-09 12:25:29 +08:00
Alex Morris
a2179f028c
MDL-78072 lib/db: Add new publickey field to user_devices table
Backport of MDL-76722.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>
2023-05-09 12:25:16 +08:00
Sara Arjona
176a323b4e weekly release 4.1.3+ 2023-05-04 12:42:50 +02:00
Laurent David
9117af48ac MDL-77781 core_completion: Completion view must be deleted too
When resetting a course, completion view entries should also be
deleted

Co-authored-by: Georg Moser <georg@moser.link>
2023-05-03 16:05:28 +02:00
Jun Pataleta
d1c24b02ab Merge branch 'MDL-77398-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 20:36:18 +08:00
Jake Dallimore
79fe493ab4 Merge branch 'MDL-77384-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 16:52:45 +08:00
Jake Dallimore
d66398c356 Merge branch 'MDL-78023-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 16:15:59 +08:00
Sara Arjona
6064ce62f5 Merge branch 'MDL-77312-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 09:59:22 +02:00
Ilya Tregubov
88113fc983 Merge branch 'MDL-77320-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 15:37:00 +08:00
Ilya Tregubov
e19573d6bf Merge branch 'MDL-77810-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 13:08:52 +08:00
Ilya Tregubov
3994ab206b Merge branch 'MDL-77987_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE 2023-05-03 12:40:34 +08:00
Ilya Tregubov
b9d84d03ca Merge branch 'MDL-77546-401' of https://github.com/mihailges/moodle into MOODLE_401_STABLE 2023-05-03 10:57:29 +08:00
Jun Pataleta
f8fdd198a9 Merge branch 'MDL-77394-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 10:31:00 +08:00
Jun Pataleta
394d592fab Merge branch 'MDL-78038-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 10:25:30 +08:00
Jun Pataleta
64c625e590 Merge branch 'MDL-78011-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-03 09:57:56 +08:00
Ilya Tregubov
be0eb4369b Merge branch 'MDL-76835-401' of https://github.com/aya-saad1/moodle into MOODLE_401_STABLE 2023-05-03 09:29:59 +08:00
Sara Arjona
767419571e Merge branch 'MDL-77858-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-05-02 16:49:53 +02:00
Sara Arjona
aa63dca768 Merge branch 'MDL-77791_401' of https://github.com/dvdcastro/moodle into MOODLE_401_STABLE 2023-05-02 12:03:59 +02:00
Jun Pataleta
2dc4853ba5 Merge branch 'MDL-76857-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-05-02 15:44:55 +08:00
Ilya Tregubov
d28386a29d Merge branch 'MDL-78025_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-05-02 11:43:30 +08:00
Jake Dallimore
4fa9ed7956 Merge branch 'MDL-78009-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE 2023-04-28 13:26:02 +08:00
Paul Holden
569a71daea
MDL-77810 gradereport_summary: show localised plugin name in report. 2023-04-27 15:19:33 +01:00
Ilya Tregubov
4901ffe1ba weekly release 4.1.3+ 2023-04-27 19:28:38 +08:00
Sara Arjona
b10f6f5036 MDL-76857 filter_displayh5p: Improve behat tests
Although the screenshots in the failures for some of the scenarios in
filter/displayh5p/tests/behat/h5p_filter.feature, like "Render a local
H5P file as teacher" were displaying the expected result, there were
some javascript errors (probably due to behat is quicker and the
iframes were not always ready).
I've added one extra step before accessing the iframe to give more
time to the H5P player to load and confirm the page is displayed
properly.
2023-04-27 11:21:36 +02:00
Paul Holden
30e419078f
MDL-77320 tool_licensemanager: restrict exposure of user sesskey. 2023-04-27 09:32:37 +01:00
Mihail Geshoski
f90a55979a MDL-77546 gradereport_singleview: Fix item order in grade item selector 2023-04-27 12:01:23 +08:00
Jun Pataleta
013735af51 Merge branch 'MDL-77883-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE 2023-04-27 11:08:54 +08:00
Jun Pataleta
6c890a6330 Merge branch 'MDL-77997_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-04-27 10:40:43 +08:00
Paul Holden
4f7dd1a54b
MDL-78038 mod_bigbluebuttonbn: observe course format section config. 2023-04-26 16:10:52 +01:00
Tim Hunt
de8607067f MDL-78025 questions: improve the comment on question_references.version 2023-04-26 15:45:12 +01:00
Tim Hunt
15ff1352c2 MDL-78025 questions: fix PHPdoc on question_require_capability_on 2023-04-26 15:45:00 +01:00
Tim Hunt
384ab12c55 MDL-78025 quiz: fix the quiz_questions_in_use logic 2023-04-26 15:44:54 +01:00
Tim Hunt
4a9c0b1410 MDL-78025 questions: questions_in_use should check question_references
This avoids the needs for plugins to do separate queries, which is
easier for them, and better performing.
2023-04-26 15:40:41 +01:00
Tim Hunt
d2d9d762ad MDL-78025 question generator: make the behaviour less surprising
* The object returned by update_question is alwasy a new clone
  and the $question passed in will not be modified.

* The returned object has the fields like questionbankentryid and
  the ones related to versionning, so it is more like the data
  returned by question_bank::load_question_data.
2023-04-26 15:40:36 +01:00
Tim Hunt
a9fa52295a MDL-78025 question: move hiding logic into question_delete_question
This logic belongs in the API, so it is applied consistently.

Also this avoids calling the expensive function questions_in_use
twice per question.
2023-04-26 15:38:57 +01:00
Aya Saad
bba6cc2f02 MDL-76835 theme: Fix unordered lists indentation 2023-04-26 13:57:49 +02:00
David Castro
e5c89630af MDL-77791 data: Fix file attachment to search doc 2023-04-25 19:49:33 -05:00
Paul Holden
491ee67cd9
MDL-78023 tool_policy: cast timemodified column on table download. 2023-04-25 14:51:13 +01:00
Sara Arjona
9a3430f3fe Merge branch 'MDL-77313-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-25 15:18:42 +02:00
Paul Holden
79982a82a4
Merge branch 'MDL-78007-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE 2023-04-25 12:36:09 +01:00
Paul Holden
4ee0bdfda6
Merge branch 'MDL-73331_401_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle into MOODLE_401_STABLE 2023-04-25 11:54:17 +01:00
Paul Holden
d10d553890
Merge branch 'MDL-77766-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-04-25 09:38:37 +01:00
Paul Holden
22b481f73c
MDL-77384 check: clarify statistics check name. 2023-04-25 09:04:41 +01:00
Paul Holden
b867e4db40
MDL-78011 qbank_managecategories: require library for pagesize const. 2023-04-24 15:35:54 +01:00
Marina Glancy
ccdaef7a68 MDL-78009 auth: require necessary files 2023-04-24 13:38:58 +01:00
Jun Pataleta
952c8770b6 MDL-77766 qtype_truefalse: Respect showstandardinstruction
* When showstandardinstruction is set to no, replace the standard
instruction with the generic "Answer" text for the answer options
fieldset's legend.
2023-04-24 20:11:20 +08:00
Jun Pataleta
132ac7486d MDL-77766 qtype_multichoice: Respect showstandardinstruction
* When showstandardinstruction is set to no, replace the standard
instruction with the generic "Answer" text for the answer options
fieldset's legend.
2023-04-24 20:11:20 +08:00
Tim Hunt
a9f629fbf9 MDL-77997 questions: add back Export as XML to the preview screen
The used the exist in Moodle up to 3.11, but then was removed with
insufficient thought in 4.0 (because we had grander long-term plans
which still have not happened). Until those plans happen, this
commit adds the simple link back on the preview screen.
2023-04-24 11:23:47 +01:00
Anupama Sarjoshi
c6708db889 MDL-77987 Backup: add progress tracking to some slow steps 2023-04-24 11:17:34 +01:00
Paul Holden
0d7393c7ee
MDL-77312 files: exclude drafts when determining license usage. 2023-04-24 11:07:38 +01:00