Commit graph

101582 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
197775a6bb MDL-70314 lib: Remove a few more hidden files and add instructions 2021-02-23 18:39:24 +01:00
Eloy Lafuente (stronk7)
954212adf8 Merge branch 'MDL-70314-311' of https://github.com/Chocolate-lightning/moodle into MOODLE_311_STABLE 2021-02-23 18:34:07 +01:00
Eloy Lafuente (stronk7)
6e9c9f7f87 Merge branch 'MDL-70920-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-02-23 17:43:39 +01:00
Sara Arjona
2ac767233a MDL-67974 core_badges: Recovered expired stamp
Expired stamp icon displayed over the badge images has been added
again to CSS (it was lost at any point).
2021-02-23 15:32:41 +01:00
Sara Arjona
0e63ad9f4c MDL-67974 core_badges: Badge expiry date when hover
Text displayed for expired badges when the user hovers over the
warning (!) icon has been fixed in the "Issued badge information"
page.
2021-02-23 15:32:41 +01:00
Víctor Déniz
fb8e9abd70 Merge branch 'MDL-70038-311' of https://github.com/jpahullo/moodle into MOODLE_311_STABLE 2021-02-23 12:23:14 +00:00
Jordi Pujol Ahulló
0846a76c68 MDL-70038 assign: add suport for pdftoppm tool
pdftoppm (from poppler-utils package) is several orders of
magnitude quicker than ghostscript extracting PNG images
from PDF documents.

We add support for this tool and use it whenever set up,
or using gs as before if missing.

Revisited code with peer review comments. In particular:

1. Make default path for pdftoppm empty string.
2. Fix a typo on the method description for get_gs_command_for_image.
3. Added more information why is useful pdftoppm into string pathtopdftoppm_help.
4. Check that path for pdftoppm is executable to prevent errors. Otherwise, use gs.
2021-02-23 08:08:23 +01:00
Brendan Heywood
e4f011cf78 MDL-70424 auth: Avoid random changes to $CFG->auth 2021-02-23 11:41:34 +11:00
Eloy Lafuente (stronk7)
8a620aa0e9 Merge branch 'MDL-43697-311' of https://github.com/praxisdigital/moodle into MOODLE_311_STABLE 2021-02-22 23:10:03 +01:00
Marina Glancy
e334bd9921 MDL-70967 enrol_meta: fix error in unittest 2021-02-22 18:06:38 +01:00
Marina Glancy
681c70017c MDL-70901 core: @ no longer masks errors in PHP 8.0 2021-02-22 16:19:37 +01:00
Marina Glancy
920331e74e MDL-70901 cache: @ no longer masks errors in unlink in php 8 2021-02-22 16:19:37 +01:00
Marina Glancy
03b198f45d MDL-70901 core_files: @ does no mask errors in php8 anymore 2021-02-22 16:19:37 +01:00
Marina Glancy
8b5bd4fb00 MDL-70901 backup: check handle before calling fclose()
@fclose no longer catches error in PHP 8.0 when handle is null
2021-02-22 16:19:37 +01:00
Sara Arjona
172dc36b46 MDL-63961 core_badges: Use high-resolution image
High-resolution image for a badge (f3) should be sent to external
backpacks through JSON and WS methods.
Besides, when a badge is cloned, the high-resolution image should be
used to avoid the copied looks blurry.
2021-02-22 12:52:04 +01:00
Mark Nelson
0f33c1b820 MDL-70125 core_grade: do not change overridden status during regrading 2021-02-22 17:35:53 +08:00
Mathew May
e7268eff4b MDL-70314 lib: Change XLSX wrapper to no change the default styles
This is required due to changes in the base library see #1712
Summary is that if a column already has styling it can't be overpowered.
2021-02-22 15:33:56 +08:00
Mathew May
f079df4ce2 MDL-70314 lib: Apply Moodle specific phpspreadsheet changes 2021-02-22 15:33:21 +08:00
Mathew May
8ff625ed61 MDL-70314 lib: Upgrade PhpSpreadsheet to 1.16.0 2021-02-22 15:33:21 +08:00
Andrew Nicols
daaf5f372d MDL-69259 h5pactivity: Whitespace fix 2021-02-22 12:21:12 +08:00
Andrew Nicols
f14b74138c Merge branch 'MDL-69259-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE 2021-02-22 12:19:33 +08:00
AMOS bot
542bfd1cb7 Automatically generated installer lang files 2021-02-22 00:07:26 +00:00
Andrew Nicols
3340e11074 Merge branch 'MDL-70879_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-02-22 07:50:15 +08:00
Marina Glancy
267fe07d4a MDL-70920 core: prevent calls to call_user_fun_array() with assoc array 2021-02-21 22:22:56 +01:00
Marina Glancy
acc72a1f00 MDL-70920 backup: call_user_func_array can accept named arguments
Because arguments names do not match in associative array, we change it to regular array or arguments
2021-02-21 22:22:56 +01:00
Marina Glancy
19d1a2ee61 MDL-70891 core: fix the lang_string::__set_state()
The function must be static and actually has to do what it is supposed to. It also breaks PHP 8.0
2021-02-21 22:09:29 +01:00
Paul Holden
b81f03d1da MDL-52817 dml: implement driver methods for SQL group concatenation. 2021-02-19 15:30:54 +00:00
David Mudrák
d83ceadf07 MDL-70608 lang: Recommend running the scheduled task to update packs 2021-02-19 15:55:41 +01:00
David Mudrák
b21d428307 MDL-70608 lang: Install langpacks asynchronously via ad hoc task
When multiple language packs are selected for installation, perform the
installation asynchronously in the background via ad hoc task.
2021-02-19 15:55:41 +01:00
Daniel Kristian Steffensen
94f2284bdb MDL-43697 backup: Archived badges are restored during course restore 2021-02-19 15:50:42 +01:00
Ilya Tregubov
b263d9b720 MDL-69259 h5pactivity: Add get_user_attempts webservice 2021-02-19 16:09:23 +02:00
Eloy Lafuente (stronk7)
03df3f1c51 MDL-70879 behat: Bump to Behat 3.8.x (required for php80) 2021-02-19 14:49:15 +01:00
Víctor Déniz
af0040445a weekly release 3.11dev 2021-02-19 12:39:06 +00:00
Víctor Déniz
6b4a466e16 NOBUG: Fixed file access permissions 2021-02-19 12:39:06 +00:00
Víctor Déniz
25d8c845e2 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-02-19 12:39:00 +00:00
Jake Dallimore
f1feceffe4 Merge branch 'MDL-64554-311-fix2' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-02-19 11:53:40 +08:00
Andrew Nicols
ba42ad4aa1 MDL-64554 user: Fix use of Private files page on classic
The "Private files" link does not exist in the site navigation when
using the classic theme, so it is not possible to test the dedicated
page via Behat at this time.
2021-02-19 09:34:40 +08:00
AMOS bot
e2f1086226 Automatically generated installer lang files 2021-02-19 00:07:34 +00:00
Marina Glancy
5e343e277b MDL-64554 form: reset form change checker before triggering submit event 2021-02-18 13:08:33 +01:00
Jun Pataleta
7f23a739ed Merge branch 'MDL-47410-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-02-18 11:23:45 +08:00
Andrew Nicols
319a5f42af Merge branch 'MDL-64554-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-02-18 11:16:58 +08:00
Andrew Nicols
f5e4e9cdbc MDL-64554 core_form: Rename class for dynamic form 2021-02-18 11:16:21 +08:00
Andrew Nicols
c71876c818 Merge branch 'MDL-70880-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-18 10:48:05 +08:00
Andrew Nicols
0b09c2556f Merge branch 'MDL-64554-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-02-18 10:22:45 +08:00
Andrew Nicols
aac6ad5f93 MDL-64554 core_form: CI fixes 2021-02-18 10:10:43 +08:00
Andrew Nicols
6b8b548779 MDL-47410 behat: Perform exact match for date_time selectors 2021-02-18 09:34:59 +08:00
Víctor Déniz
dc054248ed Merge branch 'MDL-70536-reset-page-cli-MOODLE_311_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_311_STABLE 2021-02-18 00:34:45 +00:00
David Mudrák
e2f81e4a8e MDL-70931 xmldb: Generate install.xml files with EOL and EOF
As discussed in MDLSITE-6397, all Moodle code files should end with
single Unix-style end of line character. Files created and edited
through the XMLDB editor should follow this rule, too.
2021-02-17 21:05:53 +01:00
Marina Glancy
d58581358f MDL-64554 core_form: Move strings to outputrequirements.lib 2021-02-17 18:09:42 +01:00
Marina Glancy
4868d7b93e MDL-64554 user: make private files editor modal/ajax form 2021-02-17 18:09:42 +01:00