Jun Pataleta
7a9235a7bb
Merge branch 'MDL-76857-master' of https://github.com/sarjona/moodle
2023-05-02 15:45:19 +08:00
David Woloszyn
80203e3be1
MDL-77840 lti: Avoid passing nulls to base64_encode
2023-05-02 13:46:41 +10:00
David Woloszyn
e364489007
MDL-77840 backup: Avoid passing nulls to base64_encode
2023-05-02 13:46:41 +10:00
David Woloszyn
b318ce307d
MDL-77840 mnet: Avoid passing nulls to base64_encode
2023-05-02 13:46:41 +10:00
Ilya Tregubov
a7c42e69f4
Merge branch 'MDL-78025' of https://github.com/timhunt/moodle
2023-05-02 11:42:45 +08:00
Huong Nguyen
3ac2f99ca3
MDL-78065 tiny_link: Fix cannot create link for selection text
2023-05-02 10:23:07 +07:00
Eloy Lafuente (stronk7)
e4eb21e0ea
MDL-78002 phpunit: Ensure that all uses of psr streams are closed
...
While the uses here were not causing too much problem with PHPUnit
execution in any OS, better have them explicitly closed to better
serve as reference for other, future uses anywhere in codebase.
Always that a stream is used, better we close it as soon as possible,
not relying on destructors, gc and friends.
2023-04-29 23:05:06 +02:00
Eloy Lafuente (stronk7)
2b61e95a69
MDL-78002 moodlenet: Always close the request stream explicitly
...
And do it as soon as it's not needed any more. Else, only
_destruct() / shutdown / gc will, and that can be problematic
if many streams are open, or, under some environments like
Windows that consider the stream underlying files still busy,
because they have not been closed.
2023-04-29 20:33:57 +02:00
Dan Marsden
3d95fe0bc3
MDL-78057 core_user: Use correct class for context check.
2023-04-28 13:15:56 +12:00
Paul Holden
626a5ddda7
MDL-77810 gradereport_summary: show localised plugin name in report.
2023-04-27 15:19:21 +01:00
Dani Palou
84812c0642
MDL-78054 airnotifier: Fix data encrypted several times
2023-04-27 14:44:43 +02:00
Ilya Tregubov
5252124e35
weekly on-sync release 4.3dev
2023-04-27 19:28:59 +08:00
Sara Arjona
83203eef6f
MDL-78052 lib: Set Moodle files after Font Awesome upgrade
2023-04-27 13:11:58 +02:00
Sara Arjona
46190f1b05
MDL-78052 theme: Update FontAwesome to 6.4.0
...
This version also fixes a regression in 6.3.0 where a number of
icons weren't centered properly in their viewboxes.
2023-04-27 12:52:01 +02:00
Sara Arjona
d61dc39a0a
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:07:08 +02:00
Paul Holden
0969ad81ab
MDL-77320 tool_licensemanager: restrict exposure of user sesskey.
2023-04-27 09:32:29 +01:00
Paul Holden
24885f8084
MDL-77936 grade: omit second cell action divider when not required.
2023-04-27 08:41:30 +01:00
Philipp Memmel
31bad4ffcd
MDL-78049 core_external: Run test_all_external_info in separate process
2023-04-27 08:27:07 +02:00
Jun Pataleta
065d6cc2e5
Merge branch 'MDL-77883-master' of https://github.com/danghieu1407/moodle
2023-04-27 11:08:09 +08:00
Jun Pataleta
70dd7244fd
Merge branch 'MDL-77997' of https://github.com/timhunt/moodle
2023-04-27 10:40:59 +08:00
Paul Holden
cabf27f9e1
MDL-78038 mod_bigbluebuttonbn: observe course format section config.
2023-04-26 16:08:20 +01:00
Mihail Geshoski
c77f996d23
MDL-77546 gradereport_singleview: Fix item order in grade item selector
2023-04-26 23:06:49 +08:00
Tim Hunt
35695831ff
MDL-78025 questions: improve the comment on question_references.version
2023-04-26 15:29:39 +01:00
Tim Hunt
6a4341549d
MDL-78025 questions: fix PHPdoc on question_require_capability_on
2023-04-26 15:29:39 +01:00
Tim Hunt
c71272c3b1
MDL-78025 quiz: fix the quiz_questions_in_use logic
2023-04-26 15:29:39 +01:00
Tim Hunt
25596a50e5
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:29:38 +01:00
Paul Holden
c0594002a8
MDL-78034 mod_bigbluebuttonbn: format instance group names.
2023-04-26 15:25:34 +01:00
Aya Saad
4165fe4489
MDL-76835 theme: Fix unordered lists indentation
2023-04-26 14:04:11 +02:00
Tim Hunt
9775be13e9
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 10:49:35 +01:00
Tim Hunt
37e8115d68
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 10:49:32 +01:00
Ilya Tregubov
dd4a990fe0
Merge branch 'master_MDL-76929' of https://github.com/mattporritt/moodle
2023-04-26 09:27:58 +08:00
David Castro
5d9fec141d
MDL-77791 data: Fix file attachment to search doc
2023-04-25 19:51:44 -05:00
Paul Holden
99daf499c7
MDL-78023 tool_policy: cast timemodified column on table download.
2023-04-25 14:48:38 +01:00
Sara Arjona
49d013efd6
Merge branch 'MDL-77313' of https://github.com/paulholden/moodle
2023-04-25 15:18:26 +02:00
Paul Holden
6312467346
MDL-77614 reportbuilder: throw exception if entity name already exists.
2023-04-25 12:55:09 +01:00
Paul Holden
b495ba0cec
Merge branch 'MDL-78007-master' of https://github.com/HuongNV13/moodle
2023-04-25 12:36:07 +01:00
Paul Holden
ba547f55c8
Merge branch 'MDL-73331_master_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle
2023-04-25 11:54:16 +01:00
Paul Holden
3e581cbd99
Merge branch 'MDL-77766-master-2' of https://github.com/junpataleta/moodle
2023-04-25 09:38:35 +01:00
Paul Holden
de3d17ea93
MDL-77384 check: clarify statistics check name.
2023-04-25 09:04:29 +01:00
Paul Holden
7c7024af31
MDL-76971 reportbuilder: switch remaining classes to external_api.
...
Continues on the work started in a3cc26f8, to remove the last
remnants of usage of previous external API classes.
2023-04-25 08:50:47 +01:00
Paul Holden
d97e0fa4ec
MDL-78011 qbank_managecategories: require library for pagesize const.
2023-04-24 15:34:23 +01:00
Jun Pataleta
35e69b6ae8
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:07:57 +08:00
Jun Pataleta
75984fb226
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:07:38 +08:00
Marina Glancy
a051d3466a
MDL-78006 course: test for adding activity in a new section
2023-04-24 11:40:31 +01:00
Paul Holden
97f5badba5
MDL-78006 course: register activity chooser listeners just once.
2023-04-24 11:40:31 +01:00
Tim Hunt
b181e78c7c
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:22:58 +01:00
Anupama Sarjoshi
55dffbe6cb
MDL-77987 Backup: add progress tracking to some slow steps
2023-04-24 11:09:21 +01:00
Paul Holden
c5c9185801
MDL-77312 files: exclude drafts when determining license usage.
2023-04-24 11:07:32 +01:00
Paul Holden
1dbeca84f6
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:20 +01:00
Paul Holden
8a6065f5fc
MDL-77858 javascript: correct core/notification
exception imports.
2023-04-24 10:44:07 +01:00