David Mudrák
b227b6ea45
MDL-70631 files: Fix performance of zip_packer::extract_to_pathname()
...
The original implementation was based on ZipArchive::getStream() which
turns out to be very slow and if the archive contains many files, the
unzipping performance is very slow.
The patch changes the implementation to use ZipArchive::extractTo()
unless the extracted entry path contains a folder name ending with dot
(such as some/path./to/file.txt). There is a known upstream bug in the
PHP ZIP extension #77214 (also #74619 and #69477 ) so that we fall back
to keep using the stream in those cases.
2021-02-03 16:06:39 +01:00
Sara Arjona
407133af76
Merge branch 'MDL-70315' of git://github.com/paulholden/moodle
2021-02-03 16:04:16 +01:00
Sara Arjona
36f4cfc071
Merge branch 'MDL-70705-master' of git://github.com/lucaboesch/moodle
2021-02-03 15:33:02 +01:00
Sara Arjona
1e5a862c93
Merge branch 'MDL-70316-master' of git://github.com/mihailges/moodle
2021-02-03 15:29:23 +01:00
Luca Bösch
0e9680d64a
MDL-70705 block_blog_recent: support multilang blog entry titles
2021-02-03 15:14:46 +01:00
Sara Arjona
655a682794
Merge branch 'MDL-70741' of https://github.com/timhunt/moodle
2021-02-03 14:49:36 +01:00
David Castro
15527bf4a8
MDL-69562 admin: Allow getting IP from all sources.
2021-02-03 07:23:36 -05:00
Eloy Lafuente (stronk7)
3d276111e1
Merge branch 'MDL-70711-master' of git://github.com/kordan/moodle
2021-02-03 13:03:50 +01:00
Sara Arjona
09cfed9186
Merge branch 'MDL-70439-master' of https://github.com/DinhHien0307/moodle
2021-02-03 13:03:02 +01:00
Mahmoud Kassaei
32b645fd03
MDL-70773 Quiz overrides: User links don't point to user profile page
2021-02-03 11:47:23 +00:00
Sara Arjona
3abda98a2d
Merge branch 'MDL-70163' of git://github.com/paulholden/moodle
2021-02-03 12:25:28 +01:00
Sara Arjona
e63081f68d
Merge branch 'MDL-70634-master' of git://github.com/ferranrecio/moodle
2021-02-03 11:34:05 +01:00
Sara Arjona
7fde34ad55
Merge branch 'MDL-70535' of git://github.com/paulholden/moodle
2021-02-03 11:19:14 +01:00
Paul Holden
3f36a7da98
MDL-70632 tool_langimport: search for available language packs.
2021-02-03 10:03:37 +00:00
Sara Arjona
6d0b97a176
Merge branch 'MDL-67959-master-2' of git://github.com/junpataleta/moodle
2021-02-03 10:50:29 +01:00
Mahmoud Kassaei
b297faa4ab
MDL-70755 Quiz overrides: Broken layout for Group overrides
2021-02-03 09:29:11 +00:00
Sara Arjona
a35c197a4a
Merge branch 'MDL-66769-master' of git://github.com/ilyatregubov/moodle
2021-02-03 09:32:30 +01:00
Ilya Tregubov
dde8a5b62c
MDL-66769 core_h5p: Clean up orphaned h5p records task.
2021-02-03 10:10:30 +02:00
Tim Hunt
99778a61a3
MDL-69101 Essay/Moodle XML: recent new settings not imported/exported
2021-02-03 08:09:27 +00:00
Sara Arjona
a50802c68b
Merge branch 'MDL-70621-master' of git://github.com/lucaboesch/moodle
2021-02-03 09:02:45 +01:00
Sara Arjona
4d5c3c3914
Merge branch 'MDL-68970' of https://github.com/timhunt/moodle
2021-02-03 08:51:11 +01:00
Luca Bösch
f37dbcc15b
MDL-70621 mod_glossary: use glossary rsstype string.
2021-02-03 08:33:54 +01:00
Andrew Nicols
f979519ff6
Merge branch 'MDL-56772-master' of git://github.com/peterRd/moodle
2021-02-03 10:26:26 +08:00
Andrew Nicols
5b6063e226
Merge branch 'MDL-66932_master' of https://github.com/nadavkav/moodle
2021-02-03 10:06:32 +08:00
Andrew Nicols
83c148971a
Merge branch 'MDL-68893-master' of git://github.com/lucaboesch/moodle
2021-02-03 09:40:36 +08:00
Andrew Nicols
4364244970
Merge branch 'MDL-68958-master' of git://github.com/peterRd/moodle
2021-02-03 09:30:11 +08:00
Andrew Nicols
71b232e23a
Merge branch 'MDL-70339-master' of git://github.com/peterRd/moodle
2021-02-03 08:54:31 +08:00
Andrew Nicols
a35c7f5dce
Merge branch 'MDL-70583-cli-progress' of https://github.com/brendanheywood/moodle
2021-02-03 08:27:05 +08:00
Brendan Heywood
ded82b7f5b
MDL-70583 cli: Allow progress bars to be rendered in cli scripts
2021-02-02 22:07:14 +11:00
Sara Arjona
a00be13f7d
Merge branch 'MDL-70309-master' of git://github.com/ferranrecio/moodle
2021-02-02 10:44:40 +01:00
Víctor Déniz
35a0bec31a
Merge branch 'MDL-59782-master' of git://github.com/bmbrands/moodle
2021-02-02 09:36:19 +00:00
Andrew Nicols
1432180138
Merge branch 'MDL-70304-master' of git://github.com/ilyatregubov/moodle
2021-02-02 15:31:52 +08:00
Sara Arjona
d0ff6939bb
Merge branch 'MDL-70574' of https://github.com/timhunt/moodle
2021-02-02 08:20:17 +01:00
Sara Arjona
f756d2afbe
Merge branch 'MDL-70288-master-2' of git://github.com/junpataleta/moodle
2021-02-02 07:59:28 +01:00
Ilya Tregubov
e174f19db6
MDL-70304 core: updated adapter.js to 7.4.0
2021-02-02 08:58:30 +02:00
Jun Pataleta
2961feb71c
MDL-70288 qtype: Remove unnecessary empty label string
...
* When a label is passed to an (advanced) checkbox and no text
was provided, the label will be displayed on the right of the the
checkbox element. So there's no point in passing an empty string for
the label just to render the text to the right of the checkbox.
2021-02-02 13:53:05 +08:00
Jun Pataleta
793aa03598
MDL-70288 mod_lti: Remove unnecessary empty label string
...
* When a label is passed to an (advanced) checkbox and no text
was provided, the label will be displayed on the right of the the
checkbox element. So there's no point in passing an empty string for
the label just to render the text to the right of the checkbox.
2021-02-02 13:53:05 +08:00
Sujith Haridasan
a44dbf0894
MDL-52420 mod_assign: Save comment when save buttons are clicked
...
Save comment in the assignment when the Save changes
or Save and show next button are clicked at the bottom
of the page.
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-02-02 10:52:13 +05:30
Jun Pataleta
e3457dc4aa
MDL-70288 core: Remove duplicate labels for checkbox elements
...
* If there's a label, the text will serve as the description of the
element.
2021-02-02 13:11:58 +08:00
Jun Pataleta
da237792ec
MDL-70288 theme_boost: Manage aria-describedby on form validation
...
* The aria-describedby attribute can be a list of element IDs that
describe the element. On form validation, the ID of the error message
container is added to this attribute which may already be containing
another ID. So we need to properly add/remove the error message ID
so that we don't delete any existing ID(s) in the aria-describedby
attribute during form validation.
2021-02-02 13:11:58 +08:00
Eloy Lafuente (stronk7)
43b36f6d68
Merge branch 'MDL-46256' of https://github.com/timhunt/moodle
2021-02-01 23:20:01 +01:00
Eloy Lafuente (stronk7)
cd4d387936
Merge branch 'MDL-70648-master' of git://github.com/lameze/moodle
2021-02-01 19:13:47 +01:00
Sara Arjona
ff1ad4baac
Merge branch 'MDL-70625-master' of git://github.com/rezaies/moodle
2021-02-01 15:36:55 +01:00
Paul Holden
e0d3b4505e
MDL-70643 admin: add summary argument to install database CLI.
...
Show warning for any unrecognised arguments.
2021-02-01 12:33:11 +00:00
Sara Arjona
2a2370f362
Merge branch 'MDL-70734-master' of git://github.com/andrewnicols/moodle
2021-02-01 12:30:07 +01:00
Sara Arjona
10095d8781
Merge branch 'MDL-70740-master' of git://github.com/andrewnicols/moodle
2021-02-01 11:25:04 +01:00
Paul Holden
a01397bdce
MDL-69898 admin: link to config changes report from logged event.
2021-02-01 09:14:06 +00:00
Paul Holden
9e06441ad6
MDL-69898 report_configlog: allow searching settings by page parameter.
2021-02-01 09:14:06 +00:00
Paul Holden
43adc7a333
MDL-70614 user: consistent roles spacing in course profile.
2021-02-01 07:55:04 +00:00
Andrew Nicols
0e01c484e4
Merge branch 'MDL-58673' of git://github.com/paulholden/moodle
2021-02-01 14:02:01 +08:00