108049 Commits

Author SHA1 Message Date
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
Ilya Tregubov
4901ffe1ba weekly release 4.1.3+ 2023-04-27 19:28:38 +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
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
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
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
Paul Holden
f3ae5116d0
MDL-77313 restore: re-add field to indicate course/category search.
When the two restore forms for searching courses and categories were
converted to core templates in eb9935c9 they lost the named submit
button, which broke searching.
2023-04-24 11:04:26 +01:00
Huong Nguyen
4ec5aac734 MDL-78007 tiny_media: Fix wrong condition for the Tiny Media
Including in this commit:
 - Switched to Tiny editor in manually_mark_question.feature
2023-04-24 15:59:32 +07:00
danghieu1407
b04fab1a2a MDL-77883 forms: fix display of client-side validation for textareas 2023-04-24 13:54:37 +07:00
Jun Pataleta
b2d0712748 Moodle release 4.1.3 v4.1.3 2023-04-22 16:22:40 +08:00
Eloy Lafuente (stronk7)
f70a6d32cd weekly release 4.1.2+ 2023-04-21 19:19:12 +02:00
Eloy Lafuente (stronk7)
f691ccf8c6 Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-04-21 19:19:07 +02:00
Jun Pataleta
ceb2f856b0 Merge branch 'MDL-77927-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE 2023-04-21 16:52:21 +08:00
Jun Pataleta
955d89710e Merge branch 'MDL-77229-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE 2023-04-21 16:44:38 +08:00
Jun Pataleta
526e1af88b MDL-77927 core: mod_assignment subplugins environment check 2023-04-21 15:53:32 +08:00
Ilya Tregubov
b142840de1 MDL-77229 mod_lesson: Black list detailed statistics in classic Behat.
The nav element to go to detailed stats page is missing in classic
2023-04-21 15:07:36 +08:00
Ilya Tregubov
8fb9177b74 Merge branch 'MDL-77229-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE 2023-04-21 12:11:40 +08:00
Ilya Tregubov
6e15a26dce MDL-77229 lesson: Add Behat test 2023-04-21 12:04:17 +08:00
Jun Pataleta
b5a65e56fd Merge branch 'MDL-77896-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-21 11:10:39 +08:00
AMOS bot
a6a0e98e53 Automatically generated installer lang files 2023-04-21 00:07:41 +00:00
Paul Holden
c28cd3215b
MDL-77896 editor_tiny: approximate height for non-visible editors.
When an editor is renderer initially invisible to the browser, e.g.
the forum "Add discussion" form, it has a `clientHeight` value of
zero. We can approximate an alternative value based on the number
of rows in the textarea.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-04-20 15:24:34 +01:00
Juan Leyva
39084a098b MDL-77229 lesson: Fix error for empty responses (numerical pagetype) 2023-04-20 12:46:42 +02:00
Jun Pataleta
9290627da9 Merge branch 'MDL-73012-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE 2023-04-20 16:29:14 +08:00
Ilya Tregubov
bb5bd2eed8 Merge branch 'MDL-77436-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE 2023-04-20 16:23:19 +08:00
Jun Pataleta
12195684b4 Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-04-20 16:10:10 +08:00
Ferran Recio
f01ad40145 MDL-73012 core_courseformat: add pending to move section modal 2023-04-20 09:56:10 +02:00
Ferran Recio
1d64897a3c MDL-77922 core_courseformat: add pending to move activity modal 2023-04-20 14:42:30 +08:00
Ilya Tregubov
339dfec420 Merge branch 'MDL-77577-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-04-20 12:33:38 +08:00
Andrew Nicols
1d16c049f3 MDL-77718 editor_tiny: Restrict the revision to int for loaders
The revision should always be an int. I suspect this was missed during
debugging and not corrected.
2023-04-19 13:20:25 +00:00
Paul Holden
4d4635228d MDL-77187 mod_wiki: validate external method sort parameters. 2023-04-19 13:20:25 +00:00
Paul Holden
ce9cb1156c
Merge branch 'MDL-77897-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-04-19 14:13:04 +01:00
Paul Holden
c0429c1c90
Merge branch 'MDL-77960-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-04-19 13:41:32 +01:00
Paul Holden
be8c02fc2c
Merge branch 'MDL-77944-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-04-19 13:06:41 +01:00
Max Larkin
60a2798da7 MDL-73331 tool_brickfield: Update advanced tab display 2023-04-19 12:57:37 +01:00
Paul Holden
99b5e1059d
Merge branch 'MDL-77898-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-04-19 09:03:22 +01:00
Andrew Nicols
ee519b690c MDL-77897 editor_tiny: Save editor content on editor blur 2023-04-19 14:57:26 +08:00
Ilya Tregubov
814c63fcc3 git fetch https://github.com/paulholden/moodle.git MDL-77935 && git merge --no-ff FETCH_HEADMerge branch 'MDL-77935-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-19 13:32:36 +08:00