Commit graph

99925 commits

Author SHA1 Message Date
Andrew Nicols
69165b6516 Merge branch 'MDL-70632-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-04 09:26:40 +08:00
AMOS bot
c87420a59f Automatically generated installer lang files 2021-02-04 00:07:32 +00:00
Eloy Lafuente (stronk7)
30cc70ec2c MDL-70741 capability overview: missing whitespace after placeholder 2021-02-04 00:01:22 +01:00
Tim Hunt
f143531c76 MDL-70513 quiz manual grading: use formchangechecker to avoid dataloss 2021-02-03 16:07:32 +00:00
David Mudrák
6d9412853c MDL-70631 files: Replace hard-coded value with FL_ENC_RAW constant
This is not related to the issue but I noticed it while trying to debug
it.

Back when this line was introduced in 9c140a681e, the ZipArchive had
not yet exposed this flag as a constant. It was added later with PHP
7.0.8 and we can switch to using it now.
2021-02-03 16:09:57 +01:00
David Mudrák
db74c9f6fa 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:09:57 +01:00
Sara Arjona
1605bb60f1 Merge branch 'MDL-70315-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-03 16:04:25 +01:00
Sara Arjona
66e33a14cc Merge branch 'MDL-70705-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-02-03 15:33:14 +01:00
Sara Arjona
d5923517e8 Merge branch 'MDL-70316-311' of git://github.com/mihailges/moodle into MOODLE_311_STABLE 2021-02-03 15:29:33 +01:00
Luca Bösch
ad04c622d8 MDL-70705 block_blog_recent: support multilang blog entry titles 2021-02-03 15:15:12 +01:00
Sara Arjona
ac8130d0a4 Merge branch 'MDL-70741_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-03 14:49:43 +01:00
Eloy Lafuente (stronk7)
e912f3bb7a Merge branch 'MDL-70711-M311' of git://github.com/kordan/moodle into MOODLE_311_STABLE 2021-02-03 13:06:20 +01:00
Sara Arjona
6331fb14f0 Merge branch 'MDL-70439-311' of https://github.com/DinhHien0307/moodle into MOODLE_311_STABLE 2021-02-03 13:03:10 +01:00
Mahmoud Kassaei
963eaa3453 MDL-70773 Quiz overrides: User links don't point to user profile page 2021-02-03 11:45:07 +00:00
Sara Arjona
6e42f0380a Merge branch 'MDL-70163-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-03 12:25:35 +01:00
Sara Arjona
44c3d4354b Merge branch 'MDL-70634-311' of git://github.com/ferranrecio/moodle into MOODLE_311_STABLE 2021-02-03 11:34:18 +01:00
Sara Arjona
a05c39c117 Merge branch 'MDL-70535-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-03 11:19:26 +01:00
Paul Holden
21e728c7a4 MDL-70632 tool_langimport: search for available language packs. 2021-02-03 10:03:33 +00:00
Sara Arjona
48174f38b9 Merge branch 'MDL-67959-311-2' of git://github.com/junpataleta/moodle into MOODLE_311_STABLE 2021-02-03 10:50:38 +01:00
Mahmoud Kassaei
90de909f53 MDL-70755 Quiz overrides: Broken layout for Group overrides 2021-02-03 09:26:07 +00:00
Sara Arjona
c1dc87c2ed Merge branch 'MDL-66769-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE 2021-02-03 09:33:02 +01:00
Tim Hunt
1550b2a3e9 MDL-69101 Essay/Moodle XML: recent new settings not imported/exported 2021-02-03 08:10:55 +00:00
Sara Arjona
6085fa0604 Merge branch 'MDL-70621-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-02-03 09:02:51 +01:00
Sara Arjona
74dde403d6 Merge branch 'MDL-68970_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-03 08:51:18 +01:00
Luca Bösch
2cb1bdf427 MDL-70621 mod_glossary: use glossary rsstype string. 2021-02-03 08:35:14 +01:00
Luca Bösch
cd6180b0d2 MDL-70621 mod_forum: use forum rsstype string. 2021-02-03 08:35:14 +01:00
Ilya Tregubov
8f52651988 MDL-66769 core_h5p: Clean up orphaned h5p records task. 2021-02-03 09:33:17 +02:00
Andrew Nicols
eeec65dbb5 Merge branch 'MDL-56772-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-02-03 10:57:35 +08:00
Andrew Nicols
803b2374aa Merge branch 'MDL-66932_M311' of https://github.com/nadavkav/moodle into MOODLE_311_STABLE 2021-02-03 10:21:44 +08:00
Andrew Nicols
a78d00b18c Merge branch 'MDL-68893-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-02-03 09:40:51 +08:00
Andrew Nicols
d1157ec971 Merge branch 'MDL-68958-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-02-03 09:35:11 +08:00
Andrew Nicols
4a14262695 Merge branch 'MDL-70339-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-02-03 09:08:49 +08:00
Andrew Nicols
fb537d0c39 Merge branch 'MDL-70583-cli-progress-MOODLE_311_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_311_STABLE 2021-02-03 08:28:17 +08:00
Brendan Heywood
52aac97590 MDL-70583 cli: Allow progress bars to be rendered in cli scripts 2021-02-02 22:07:53 +11:00
Sara Arjona
b6ea9f0d8c Merge branch 'MDL-70309-311' of git://github.com/ferranrecio/moodle into MOODLE_311_STABLE 2021-02-02 10:44:54 +01:00
Víctor Déniz
91cfc3ce08 Merge branch 'MDL-59782-311' of git://github.com/bmbrands/moodle into MOODLE_311_STABLE 2021-02-02 09:36:02 +00:00
Andrew Nicols
654a25c22f Merge branch 'MDL-70304-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE 2021-02-02 15:32:13 +08:00
Sara Arjona
82a6dc6dd1 Merge branch 'MDL-70574_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-02 08:20:25 +01:00
Sara Arjona
a5304827cc Merge branch 'MDL-70288-311-2' of git://github.com/junpataleta/moodle into MOODLE_311_STABLE 2021-02-02 07:59:36 +01:00
Ilya Tregubov
e1f6c22780 MDL-70304 core: updated adapter.js to 7.4.0 2021-02-02 08:59:09 +02:00
Jun Pataleta
868af1cb0b 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 14:22:15 +08:00
Jun Pataleta
c7b0a60a3c 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 14:22:15 +08:00
Jun Pataleta
9730348163 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 14:22:15 +08:00
Jun Pataleta
03d6acbb57 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 14:22:15 +08:00
Sujith Haridasan
889d449265 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:48 +05:30
Eloy Lafuente (stronk7)
de5a304746 Merge branch 'MDL-46256_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-01 23:20:11 +01:00
Eloy Lafuente (stronk7)
80cf455e48 Merge branch 'MDL-70648-311' of git://github.com/lameze/moodle into MOODLE_311_STABLE 2021-02-01 19:17:45 +01:00
Sara Arjona
7eab65170c Merge branch 'MDL-70625-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-02-01 15:37:02 +01:00
Paul Holden
da9f213b3a MDL-70643 admin: add summary argument to install database CLI.
Show warning for any unrecognised arguments.
2021-02-01 12:33:22 +00:00
Sara Arjona
1706d90d02 Merge branch 'MDL-70734-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-02-01 12:30:13 +01:00