Commit graph

100821 commits

Author SHA1 Message Date
AMOS bot
6c6c6c37af Automatically generated installer lang files 2021-03-25 00:07:31 +00:00
Andrew Nicols
66a719d48f Merge branch 'MDL-70980-311' of git://github.com/ferranrecio/moodle into MOODLE_311_STABLE 2021-03-25 08:06:47 +08:00
Brendan Heywood
67fcd43d15 MDL-67882 message: Add notification setting changes to config_log 2021-03-25 10:37:16 +11:00
Eloy Lafuente (stronk7)
42484d7ae8 MDL-71004 git: Ignore moodle-plugin-ci.phar in any directory 2021-03-24 20:10:29 +01:00
Víctor Déniz
c54de9bec2 weekly release 3.11dev 2021-03-24 14:20:41 +00:00
Víctor Déniz
3c3f39d5b8 Merge branch 'MDL-71149_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-03-24 13:36:32 +00:00
Eloy Lafuente (stronk7)
a771fddb27 Merge branch 'MDL-71182-311-2' of git://github.com/lameze/moodle into MOODLE_311_STABLE 2021-03-24 10:49:32 +01:00
Tim Hunt
8b7aefc1a1 MDL-70269 ClamAV: make retry the default option on failure 2021-03-24 09:35:38 +00:00
Simey Lameze
5efbb6402b MDL-71182 calendar: add logic for category events in get_context
This commit adds the missing logic for category events in
get_context() method. Without this fix, users will get errors
if they have category events with userid set to 0.
2021-03-24 17:33:50 +08:00
Tomo Tsuyuki
35892aedce MDL-70842 mod_assign: Add more cases to add file to archive 2021-03-24 16:02:02 +11:00
Andrew Nicols
e36710af52 MDL-70802 javascript: Normalise component consistently in templates 2021-03-24 11:18:33 +08:00
Simey Lameze
41cbdeccab MDL-71182 calendar: Revert "Merge branch 'MDL-67494-311' of git://github.com/lameze/moodle into MOODLE_311_STABLE"
This reverts commit 9f5794834e, reversing
changes made to d30b045210.
2021-03-24 09:18:16 +08:00
Víctor Déniz
7fb15daff2 Merge branch 'MDL-71022-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-23 23:01:00 +00:00
Dan Marsden
b5070635c1 MDL-71174 core: Improve phpdoc for plagiarism_update_status 2021-03-24 11:41:47 +13:00
Víctor Déniz
f33dec405a Merge branch 'MDL-70727-311' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_311_STABLE 2021-03-23 18:23:32 +00:00
Charlotte Peachey
32eec4b0f5 MDL-71181 Quiz: Pass grade not displayed on front page 2021-03-23 16:48:02 +00:00
Mikel Martín
75627cc770 MDL-70871 user: Move 'Show all X' functionality to dynamic_table 2021-03-23 09:57:52 +01:00
Mikel Martín
96668b7c35 MDL-70871 table: Add 'Show all X' functionality to dynamic_table 2021-03-23 09:57:52 +01:00
Paul Holden
a071252a05 MDL-71090 tool_dataprivacy: convert cancellation of requests to ES6. 2021-03-23 08:49:15 +00:00
Paul Holden
2eee07daa4 MDL-71090 tool_dataprivacy: convert contact DPO to modal forms. 2021-03-23 08:49:15 +00:00
Travis CI
5a3e84a5a2 Merge branch 'MDL-69792-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-03-23 13:55:09 +08:00
Travis CI
474a3cecfe Merge branch 'MDL-71104-311-2' of git://github.com/mickhawkins/moodle into MOODLE_311_STABLE 2021-03-23 13:47:02 +08:00
Michael Hawkins
e9b94ceb74 MDL-71104 core_completion: Fix fetching of grade completion status
We should be able to fetch the grade completion status for modules
that do not have custom completion configured. This also improves
unit testing coverage.
2021-03-23 12:49:30 +08:00
Jun Pataleta
2323a27150 MDL-71104 completion: Fix completion_info::get_data() unit tests
* Fixed inverted $sameuser test data.
* Fixed caching expectation check. Caching only relies on whether the
user accessing the completion data is the same user or not.
* Fixed checking for the caching of other modules. Should have been
checking cm ID and not instance ID.
* Additional test case when whole course parameter is passed as
true, but the requesting user is different from the target user.
2021-03-23 12:49:30 +08:00
Thinh Pham
746e349524 MDL-71087 File picker: Focus lost after 'Create folder' 2021-03-23 10:47:33 +07:00
Andrew Nicols
fa58d33b66 Merge branch 'MDL-71039-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-03-23 11:18:24 +08:00
Andrew Nicols
13fcc7c4a6 Merge branch 'MDL-70313-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-03-23 10:00:19 +08:00
Andrew Nicols
93ad6a244e Merge branch 'MDL-69036-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-23 09:52:02 +08:00
Andrew Nicols
3488ff7aab Merge branch 'MDL-67870-311' of git://github.com/mihailges/moodle into MOODLE_311_STABLE 2021-03-23 09:24:41 +08:00
Andrew Nicols
f0b3a74482 MDL-69256 tests: Fix random slow test failures in completion cron 2021-03-23 08:08:20 +08:00
David Mudrák
4983142e5a MDL-71169 external: Do not explicitly specify the default methodname 2021-03-22 15:49:59 +01:00
David Mudrák
9da861ea63 MDL-71169 external: Use execute as the default external method name
If the 'methodname' is not explicitly specified in db/services.php,
expect it to be 'execute'.
2021-03-22 15:35:52 +01:00
Mark Nelson
e4453923aa MDL-71170 customfield_text: use correct error string 2021-03-22 21:56:35 +08:00
Sara Arjona
eb813c0b95 MDL-69415 core_h5p: prepend H5P libraries in autoloader
Core and mod_hvp are using the same namespace for some H5P
libraries. This is causing some random errors.
In order to get the expected behaviour in Moodle core, this patch
prepends H5P libraries in order to guarantee they are loaded first.
Plugins using same libraries will need to use a different namespace
if they overlap and a different version of these libraries should
be used.
2021-03-22 12:40:56 +01:00
Ferran Recio
d2591bd149 MDL-70980 mod_h5pactivity: fix review mode 2021-03-22 10:57:57 +01:00
Mihail Geshoski
66f592e71b MDL-67870 backup: Skip value change if setting is locked by hierarchy
The given condition in the if statement did not take into account cases
when the setting is locked by hierarchy. Settings which are locked by
hierarchy should should keep their current values which were inherited
from the parent.
2021-03-22 15:33:39 +08:00
Andrew Nicols
bd12ca2001 MDL-68496 Grunt: Stylelint should only lint relevant component files
Prior to this change the Grunt stylelint command was too greedy when
determining which files hsould be linted.

This change modifies the watch command to only watch relevant files and
subdirectories of each component directories. This means that unrelated
CSS and SCSS files are no longer watched for changes, and has the added
benefit of significantly increaseing the startup speed of grunt.

Without this patch applied the watch tasks were checking for matches in
the node_modules, and vendor directories.
2021-03-22 15:18:47 +08:00
Andrew Nicols
608852f3a0 Merge branch 'MDL-70816-311-4' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-03-22 13:33:48 +08:00
Shamim Rezaie
0a2c40f76e MDL-70816 mod_choice: activity_dates implementation 2021-03-22 16:19:03 +11:00
Shamim Rezaie
7c16ba2fa4 MDL-70816 core: Activity date details base class
* Base class for fetching an activity module's important date for a user
2021-03-22 16:19:02 +11:00
Andrew Nicols
76b7da2e9f Merge branch 'MDL-71139-311-trademark' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-03-22 12:00:08 +08:00
Andrew Nicols
9882503572 Merge branch 'MDL-70919-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-03-22 07:48:42 +08:00
Eloy Lafuente (stronk7)
0fc17af158 MDL-71149 install: update the list of stale files for 3.11 2021-03-19 17:31:11 +01:00
Sara Arjona
e2585ce116 MDL-65776 libraries: Set moodle files after jsbeautify upgrade 2021-03-19 15:23:06 +01:00
Sara Arjona
ec602cf244 MDL-65776 libraries: Upgrade jsbeautify to 1.13 2021-03-19 15:23:05 +01:00
Sara Arjona
1517765cca MDL-69792 core_badges: deprecated backpack.js and BADGE_BACKPACKURL
Final deprecation for constant BADGE_BACKPACKURL (it has been removed)
and badges/backpack.js file (it has been removed too).
Besides, some methods have started the deprecation process too:
 - badges_check_backpack_accessibility
 - badges_setup_backpack_js()
 - badges_local_backpack_js()

Apart from that, string 'addbackpack' has been deprecated here
because it's not used anywhere.
2021-03-19 15:14:09 +01:00
Sara Arjona
66efa30293 MDL-71116 core_badges: Backpack URLs with more than 50 chars
Backpack URLs (web and API) can have up to 255. However, the form
for creating/editing them, doesn't allow URLs with more than 50
characters. This patch align limitation to DB value (255).
2021-03-19 15:09:02 +01:00
Eloy Lafuente (stronk7)
c1db56b501 weekly release 3.11dev 2021-03-19 14:06:25 +01:00
Eloy Lafuente (stronk7)
b120dc8a92 NOBUG: Fixed file access permissions 2021-03-19 14:06:25 +01:00
Eloy Lafuente (stronk7)
c67cafdd64 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-03-19 14:06:21 +01:00