Commit graph

100997 commits

Author SHA1 Message Date
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
Ilya Tregubov
c8edf4e5c8 MDL-70318 core: Moodle customisations. 2021-03-19 10:19:33 +02:00
Ilya Tregubov
62d1082bab MDL-70318 core: Upgrade CFPropertyList to 2.0.2. 2021-03-19 10:19:33 +02:00
Andrew Nicols
5394aac8db MDL-68496 grunt: Restructure grunt tasks into subdirectories
Prior to this change all Grunt features were in a single Gruntfile.js
but this has become difficult to manage and maintain.

This commit moves the existing dependencies for component calculation
and babel moduel definition into a new .grunt directory, and
restructures the existing tasks in Gruntfile.js into separate task
configuration files.

This improves the maintainability of the Grunt build system and allows
for easier future expansion.
2021-03-19 12:55:35 +08:00
sam marshall
45844a161c MDL-70537 Availability: Avoid recursive calls to $cm->name
These recursive calls didn't work in PHP 7.3 and below, but in PHP
7.4 they also cause a fatal error which means if you have invalid
availability data, the whole page might die.
2021-03-18 15:55:31 +00:00
Marina Glancy
f878850277 MDL-70919 core_form: non-static method can not be called statically 2021-03-18 12:16:12 +01:00
Sujith Haridasan
2b0302d68f MDL-70769 libraries: Upgrade mimetex to 1.77 version
Upgrade mimetex to version 1.77. The steps followed
remained the same described in readme_moodle.txt.
This time we have made support for 64 bit architecture.
Hence all the binaries created now work with 64 bit only.
Following are the binaries which are upgraded:
1. Linux
2. Arm(aarch64)
3. Windows(exe)
4. Freebsd
5. Mac(darwin)

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-03-18 16:34:52 +05:30
Sujith Haridasan
df05266852 MDL-70769 libraries: Upgrading mimetex binaries
Upgrading mimetex binaries to version 1.77

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-03-18 16:34:45 +05:30
Chris Brown
0d53b6cf84 MDL-71139 trademark: Improve the trademark messaging 2021-03-18 10:31:56 +01:00
Jun Pataleta
9f904c2b5e Merge branch 'MDL-70992-311' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_311_STABLE 2021-03-18 12:23:39 +08:00
Adrian Greeve
b443f37f91 Merge branch 'MDL-70924-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-18 11:52:51 +08:00
Adrian Greeve
2b2e3e8ef8 Merge branch 'MDL-71048-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-18 11:10:59 +08:00
Adrian Greeve
79ed95d0c3 Merge branch 'MDL-70977-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-03-18 10:28:55 +08:00
Jun Pataleta
32d345ef1a Merge branch 'MDL-70978-311' of git://github.com/aanabit/moodle into MOODLE_311_STABLE 2021-03-18 09:55:53 +08:00
Adrian Greeve
a2ace81606 Merge branch 'MDL-71068-protectusername-confirmed-MOODLE_311_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_311_STABLE 2021-03-18 09:52:10 +08:00
AMOS bot
ad324a8543 Automatically generated installer lang files 2021-03-18 00:07:28 +00:00
Eloy Lafuente (stronk7)
c0c276e49d Merge branch 'MDL-70901-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-03-18 00:40:55 +01:00
Eloy Lafuente (stronk7)
0ed97f8d8f Merge branch 'MDL-70896-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-03-18 00:34:13 +01:00
Eloy Lafuente (stronk7)
d42107e093 Merge branch 'MDL-70968-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-03-18 00:29:46 +01:00
Eloy Lafuente (stronk7)
6f2b5817d6 Merge branch 'MDL-70893-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-03-18 00:23:36 +01:00
Eloy Lafuente (stronk7)
b76e9b6551 Merge branch 'MDL-70689-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-03-17 23:20:50 +01:00
Jun Pataleta
3a9b41613c Merge branch 'MDL-71036_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-03-17 20:05:17 +08:00
Ilya Tregubov
6fb84d6003 MDL-70311 theme_boost: upgrade bootstrap to version 4.6.0 2021-03-17 12:27:19 +02:00
Brendan Heywood
ccfe2c4aba MDL-71068 login: Fix edge cases with $CFG->protectusernames 2021-03-17 17:38:39 +11:00
sangnguyen
2929e6234f MDL-70992 Folder: Unnecessary tab stops to the left of files 2021-03-17 09:34:23 +07:00