Commit graph

99925 commits

Author SHA1 Message Date
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
Sara Arjona
a2fda1289f weekly release 3.11dev 2021-02-11 14:54:40 +01:00
Sara Arjona
a61d1821b5 NOBUG: Fixed file access permissions 2021-02-11 14:54:40 +01:00
Sara Arjona
43aa3e828a Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-02-11 14:54:38 +01:00
Tuan.Dinh
8aab39c1d2 MDL-70124 course: Activity names are now trimmed. 2021-02-11 11:11:12 +08:00
Adrian Greeve
1d44395512 Merge branch 'MDL-70755_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-11 10:53:35 +08:00
Adrian Greeve
3153941092 Merge branch 'MDL-70773_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-11 10:18:30 +08:00
Adrian Greeve
bbb937067e Merge branch 'MDL-70513_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-11 10:06:15 +08:00
John Yao
4f998e5004 MDL-70627 filters: aarch64 mimetex type support for filter tex notation
Amended to correct permissions.
2021-02-11 02:41:05 +01:00
Adrian Greeve
e2e91b493d Merge branch 'MDL-69867-311_display_grade_with_scale' of git://github.com/moffe42/moodle into MOODLE_311_STABLE 2021-02-11 09:24:15 +08:00
AMOS bot
8701806622 Automatically generated installer lang files 2021-02-11 00:07:27 +00:00
Sara Arjona
d4868df65e Merge branch 'MDL-70732-311' of git://github.com/aanabit/moodle into MOODLE_311_STABLE 2021-02-10 17:20:29 +01:00
Sara Arjona
4611cf3b9f Merge branch 'MDL-70796_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-10 16:50:09 +01:00
Sara Arjona
ea1407452c Merge branch 'MDL-69101_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-10 15:11:58 +01:00
Sara Arjona
8da0d08c22 Merge branch 'MDL-70631-311-unzip' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-02-10 12:38:11 +01:00
Sara Arjona
cfc4b194db Merge branch 'MDL-70736_MOODLE_311_STABLE' of https://github.com/TomoTsuyuki/moodle into MOODLE_311_STABLE 2021-02-10 08:28:15 +01:00
Jacob Christiansen
78b1da0d74 MDL-69867 mod_assign: Display current grade with scale value
When using workflow we show the current grade with its scale value
instead of the internal index
2021-02-10 07:58:12 +01:00
Adrian Greeve
e1e6547241 Merge branch 'MDL-70643-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-10 14:04:37 +08:00
Adrian Greeve
171be5c788 Merge branch 'MDL-52420-311' of https://github.com/sharidas/moodle into MOODLE_311_STABLE 2021-02-10 12:58:25 +08:00
Sara Arjona
878aaf5d7c Merge branch 'MOODLE_311_STABLE-MDL-65390' of https://github.com/yao9394/moodle into MOODLE_311_STABLE 2021-02-09 15:10:50 +01:00
Sara Arjona
578b4156c2 Merge branch 'MDL-68736-311' of git://github.com/ferranrecio/moodle into MOODLE_311_STABLE 2021-02-09 15:05:34 +01:00
Sara Arjona
d5b8ef98c2 Merge branch 'MDL-70282-oauth2_improve_error-311' of https://github.com/leonstr/moodle into MOODLE_311_STABLE 2021-02-09 11:05:05 +01:00
Sara Arjona
b54bf76664 Merge branch 'MDL-70173-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-02-09 08:29:20 +01:00
Sara Arjona
4cd7f621ed Merge branch 'MDL-70377_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-09 08:23:30 +01:00
Shamim Rezaie
cebee49bf7 MDL-70173 core: Use a meaningful first level header 2021-02-09 16:16:00 +11:00
Shamim Rezaie
1ac3fb7e0e MDL-70173 theme_boost: Fix empty link issue on the "Go to top" button
On behat, we have to use a more specific test step if we are looking
for a "Go" button on a modal. The reason is that the html of the modal
content is put after the html of the "Go to top" button, so behat
may find the "Go to top" button if we just look for "Go".
2021-02-09 16:16:00 +11:00
Shamim Rezaie
a53037f5c6 MDL-70173 theme_boost: Increase the size of notification counter
WAVE considers any text with the size of 10px or below really small.
Increasing the font size of the navbar counter by 1px should not make a
big negative impact on the design, but improves accessibility.
2021-02-09 16:16:00 +11:00
Shamim Rezaie
ca6a8dfb22 MDL-70173 output: All pages should have a heading
In MDL-63040, it was decided that the page header for the dashboad page
should be removed.
However, Based on Success Criteria 1.3.1 and 2.4.6 from the WebAIM's
WCAG 2 Checklist, all pages should have an <h1> element.
So I put an sr-only heading on the dashboard and all other pages, where
no page header is shown.
2021-02-09 16:16:00 +11:00
Shamim Rezaie
3fcb116eea MDL-70173 dashboard: ARIA role presentation conflicted the empty alt
The markup <img role="presentation" alt="alt text"> is contradictory.

According to https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/presentation/PresentationRoleExamples.html
 It is recommended that authors instead use empty alt text (alt="")
 where they use role="presentation".
2021-02-09 16:16:00 +11:00
Shamim Rezaie
d97a43417d MDL-70173 message: Fix empty link 2021-02-09 16:16:00 +11:00
Shamim Rezaie
766f52afb9 MDL-70173 output: use an empty alt to hide user pic from screen readers
There is no need to use WAI-ARIA to hide images from screen readers.
See https://www.w3.org/WAI/tutorials/images/decorative/
2021-02-09 16:16:00 +11:00
Mahmoud Kassaei
dcb319c441 MDL-70377 qtype_essay: When reviewing an attempt as a teacher
In the Response history table, Action Saved: does not display the value
of $a in the language string.
2021-02-08 17:05:03 +00:00
Sara Arjona
82de03b116 Merge branch 'MDL-51287-311' of https://github.com/SangNguyenAnh/moodle into MOODLE_311_STABLE 2021-02-08 11:29:08 +01:00
Andrew Nicols
ee74321fa5 Merge branch 'MDL-70429-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-02-08 12:27:31 +08:00
Andrew Nicols
f00b196906 Merge branch 'MDL-69898-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-08 10:53:45 +08:00
Andrew Nicols
c012235654 Merge branch 'MDL-70614-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-08 10:35:54 +08:00
Andrew Nicols
92546105b9 Merge branch 'MDL-70725-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-02-08 10:30:17 +08:00
Andrew Nicols
fd396798d0 Merge branch 'MDL-70719_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-08 09:47:21 +08:00
AMOS bot
d8951a8b7f Automatically generated installer lang files 2021-02-06 00:07:27 +00:00
Mahmoud Kassaei
c13b829c00 MDL-70719 quiz overrides: only show Actions column header if needed 2021-02-05 15:40:51 +00:00
Tim Hunt
9ca6fd447c MDL-70796 count_words: match the count from LibraOffice & MS Word 2021-02-05 15:31:10 +00:00
Amaia Anabitarte
a3d8c4a54c MDL-70732 behat: Adding second parameter to ExpectationException() 2021-02-05 11:01:31 +01:00
Tomo Tsuyuki
77b857714a MDL-70736 gradingform_guide: Fix loading marking guide template issue
Do not check grade item name if it is from shared template.
2021-02-05 10:54:33 +11:00
Sara Arjona
d7dd8517fc weekly release 3.11dev 2021-02-04 14:56:13 +01:00
Sara Arjona
2dc9e93753 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-02-04 14:56:11 +01:00
sangnguyen
a7ac52538e MDL-51287 Profile: Should notify users that changes are saved 2021-02-04 14:56:24 +07:00
Andrew Nicols
bf9838f31c Merge branch 'MDL-69748-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-02-04 11:52:10 +08:00
Andrew Nicols
691cdcee88 Merge branch 'MDL-64866-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE 2021-02-04 11:40:48 +08:00
Shamim Rezaie
d9cfd2ecc5 MDL-69748 core: Fix hideif issue with array elements
Changed the element selector to get all array elements,
whether named or unnamed. The previus selector was only
working for elements that thir names were like name="something[]".
It was not working for name="something[a]" elements.
2021-02-04 14:38:37 +11:00
Andrew Nicols
914f716b8a Merge branch 'MDL-70579-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-04 09:30:06 +08:00