99089 Commits

Author SHA1 Message Date
Juan Leyva
94a0ee41e7 MDL-69776 files: New WS core_files_delete_draft_files 2020-09-25 10:37:16 +02:00
Paul Holden
582bb534c9 MDL-37802 repository: return error if unzipping files fails.
For instance, when a user tried to unzip a password protected zip
archive using the file manager.
2020-09-25 09:33:44 +01:00
Paul Holden
6a2720b0e6 MDL-69586 tool_usertours: use specified user in privacy prefs export. 2020-09-25 09:13:14 +01:00
Sara Arjona
c68897b7e6 MDL-69087 core_h5p: add renderer to let personalize styles
Existing mod_hvp pluging has a renderer to let Moodle instances
alter styles, Javascript, semantics (fields in the editor) and
content: https://github.com/h5p/moodle-mod_hvp/blob/stable/renderer.php

The approach for core_h5p is exactly the same, to let people
to reuse their existing code.
2020-09-24 19:56:12 +02:00
David Mudrák
9ce768008c MDL-69050 lang: Stop using the term blacklist in mustache output engine 2020-09-24 19:41:58 +02:00
David Mudrák
7a079a890b MDL-69050 lang: Fix the variable name in the admin/cli/svgtool.php 2020-09-24 19:41:58 +02:00
David Mudrák
cde6c9d4a8 MDL-69050 lang: Fix variable name and comment in core-notification YUI 2020-09-24 19:41:58 +02:00
David Mudrák
00b6772114 MDL-69050 lang: Rename and deprecate filetypes_util methods 2020-09-24 19:41:58 +02:00
David Mudrák
801ee23427 MDL-69050 lang: Improve the wording of the comments
Stop using the terms whitelist/blacklist when used to allow/deny things.
2020-09-24 19:41:58 +02:00
David Mudrák
e2d54e6bd8 MDL-69050 lang: Fix the variable name in the Essay question type 2020-09-24 19:41:58 +02:00
David Mudrák
f278c69c83 MDL-69050 lang: Rename the filetypesnotwhitelisted string
Rename the string identifier to filetypesnotallowed, copy all the
existing translations in AMOS and deprecate the original string to be
eventually removed.

AMOS BEGIN
 CPY [filetypesnotwhitelisted,core_form],[filetypesnotallowed,core_form]
AMOS END
2020-09-24 19:41:58 +02:00
David Mudrák
e04e0c8cf8 MDL-69050 lang: Fix the variable name in the TeX filter library 2020-09-24 19:41:58 +02:00
David Mudrák
6bfc46802e MDL-69050 lang: Rename the whitelist variable in the Workshop locallib 2020-09-24 19:41:58 +02:00
David Mudrák
dbaeeeb0ec MDL-69050 lang: Fix variables and methods names in curl_security_helper
The code has been using terms that were found exclusive and potentially
derogatory. Fixing the terms and making the variables and methods
consistent with the related admin settings.
2020-09-24 19:41:57 +02:00
David Mudrák
d9dc9ae891 MDL-69050 lang: Fix placeholder in the err_wrongfileextension string
The name of the placeholder has been found exclusive and potentially
derogatory. Also the name of variable that was used to populate the
placeholder value. That was not the intention.
2020-09-24 19:41:57 +02:00
David Mudrák
e7806fa918 MDL-69772 admin: Fix legacy coding style on Location settings admin page
No actual change here. Just polishing the coding style and adding
fulltree check.
2020-09-24 18:14:44 +02:00
David Mudrák
7bd57c30a1 MDL-69772 lang: Ignore misconfigured allcountrycodes filter
If the allcountrycodes filter contains only invalid values, ignore the
whole filter setting and make get_list_of_countries() return the full
list of all known countries, rather than empty list.
2020-09-24 18:14:43 +02:00
Víctor Déniz
5486b031ee weekly release 4.0dev 2020-09-24 16:27:09 +01:00
Víctor Déniz
c25b0c3aa2 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-09-24 16:27:03 +01:00
Eloy Lafuente (stronk7)
98aadb040f Merge branch 'MDL-69698-master-licensecache' of git://github.com/mudrd8mz/moodle into master 2020-09-24 16:50:30 +02:00
Eloy Lafuente (stronk7)
b583ce1826 Merge branch 'MDL-69718-display-size' of https://github.com/brendanheywood/moodle into master 2020-09-24 16:39:16 +02:00
Paul Holden
1315cc807e MDL-69644 tool_dataprivacy: fix focus outline of contact DPO link.
The link class attribute is a leftover from 7258bf0b, which was mostly
removed in 3b2f691f. It no longer serves a purpose and interferes with
the element focus outline.
2020-09-24 11:51:24 +01:00
Jun Pataleta
1d7781be53 Merge branch 'MDL-66587-master' of git://github.com/bmbrands/moodle 2020-09-24 11:11:20 +08:00
Eloy Lafuente (stronk7)
c43dac4e36 Merge branch 'MDL-69454-master' of git://github.com/bmbrands/moodle into master 2020-09-23 17:10:35 +02:00
Eloy Lafuente (stronk7)
dc187cd9c7 Merge branch 'MDL-68229-master' of git://github.com/jleyva/moodle into master 2020-09-23 11:51:09 +02:00
Dani Palou
703af2f91b MDL-68098 tests: Reset FILTERLIB_PRIVATE after tests 2020-09-23 11:18:41 +02:00
Dani Palou
25bc7a3d6b MDL-68098 ws: Add unit tests to test mathjax in WS 2020-09-23 11:18:41 +02:00
Eloy Lafuente (stronk7)
00ef6747f4 Merge branch 'MDL-69014' of https://github.com/paulholden/moodle into master 2020-09-22 22:42:55 +02:00
Juan Leyva
ba2d9643e7 MDL-54956 quiz: Fix WS to support files submission 2020-09-22 18:03:23 +02:00
Juan Leyva
8bec429a98 MDL-54956 quiz: Return response files in attempts 2020-09-22 18:03:23 +02:00
Mahmoud Kassaei
9dea33e8d0 MDL-68562 Qtype_essay: Adding file-size limit to the attachment files 2020-09-22 14:50:35 +01:00
Eloy Lafuente (stronk7)
89c6402ba0 Merge branch 'MDL-66934-coursehistory' of https://github.com/cengage/moodle into master 2020-09-22 14:38:42 +02:00
Juan Leyva
d6c289c5e3 MDL-64657 course: Return hidden section names when configured 2020-09-22 11:52:18 +02:00
Dani Palou
8c84eeeeac MDL-68098 ws: Fix WebServices broken by filters HTML 2020-09-22 09:43:03 +02:00
AMOS bot
242a712d65 Automatically generated installer lang files 2020-09-22 00:07:10 +00:00
Eloy Lafuente (stronk7)
57ec55328a Merge branch 'MDL-66648' of https://github.com/paulholden/moodle into master 2020-09-21 23:36:14 +02:00
comete-upn
f86f0debd8 MDL-69667 competencies: fix competencies count always 0 in frameworks. 2020-09-21 23:19:52 +02:00
David Mudrák
0188cc2ed7 MDL-67275 forum: Fix language and accessibility issues with buttons
There were inconsistencies with the text shown on the submit button,
depending on the where the button was shown.

* Inline reply forum displayed general "Submit".
* Experimental nested discussion view reply form displayed "Post"
  (post/core string) which acts as a noun in other contexts and cannot
  be used as such in many non-English languages.
* Advanced reply form displayed "Post to forum".

The patch fixes this and starts to show "Post to forum" in all three
places consistently.

While working on this, two more issues were noticed and fixed:

* Inline reply textarea's title was hard-coded English "post" text.
  Changed to "Message" to provide advisory information related to the
  element.
* Buttons contained title attribute with the same value as the explicit
  button text. This goes against accessibility guidelines.
2020-09-21 22:48:33 +02:00
Vitaly
3a4af1eb4c MDL-69342 core_user: fixed user picture updating
When editing a user and checking the 'Delete picture' checkbox to delete
the old picture and uploading a new one at a time, the new one didn't appear
in the user profile. This happened due to the 'if/else' statement
in the 'core_user::update_picture()' method which allowed either to delete
the old picture or to upload a new one.
The fix removes the 'else' part of the 'if/else' statement to force
checking for a new uploaded picture no matter if a user checked
the 'Delete picture' checkbox or not.
2020-09-21 23:15:23 +03:00
sam marshall
2a15d7d3ea MDL-69758 Web services: core_get_course_contents PHP warnings
Calls to core_get_course_contents can cause PHP warnings in the server
log if there are any URL instances in the course with sketchy URLs.
This is because url_export_contents incorrectly returns null instead
of an empty array if there is an error.
2020-09-21 15:24:12 +01:00
Bas Brands
eb9935c909 MDL-69454 core_search: consistent backup search 2020-09-21 13:41:05 +02:00
Bas Brands
702d1ed5f8 MDL-69454 core_search: consistent cohort search 2020-09-21 11:54:53 +02:00
Bas Brands
a522ded1e3 MDL-69454 core_search: consistent content bank search 2020-09-21 11:54:53 +02:00
Bas Brands
c549ca5d35 MDL-69454 core_search: consistent activity chooser search 2020-09-21 11:54:53 +02:00
Bas Brands
661d6d7dd3 MDL-69454 core_search: consistent template library search 2020-09-21 11:54:52 +02:00
Bas Brands
32d076a3a6 MDL-69454 core_search: consistent capability search 2020-09-21 11:54:52 +02:00
Bas Brands
fb61341ca5 MDL-69454 core_search: consistent tag search 2020-09-21 11:54:51 +02:00
Bas Brands
ae0f81f8d8 MDL-69454 core_search: message search 2020-09-21 11:54:51 +02:00
Bas Brands
4c71e1d0d0 MDL-69454 core_search: consistent mod searches 2020-09-21 11:54:51 +02:00
Bas Brands
411cf64738 MDL-69454 core_search: consistent block searches 2020-09-21 11:54:46 +02:00