Commit graph

100717 commits

Author SHA1 Message Date
Peter Dias
0c7c677617 MDL-71084 core_navigation: Provide a header title and active node text 2021-03-23 13:56:29 +08:00
Travis CI
d23b1488b3 Merge branch 'MDL-69792-master' of git://github.com/sarjona/moodle 2021-03-23 13:53:01 +08:00
Travis CI
e8baa93c44 Merge branch 'MDL-71104-master-2' of git://github.com/mickhawkins/moodle 2021-03-23 13:46:20 +08:00
Michael Hawkins
fd302dc842 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:25:22 +08:00
Jun Pataleta
6770a2949a 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 11:53:26 +08:00
Andrew Nicols
9a9bf7f116 Merge branch 'MDL-71039-master' of git://github.com/marinaglancy/moodle 2021-03-23 11:17:44 +08:00
Andrew Nicols
568b179010 Merge branch 'MDL-70313-master' of git://github.com/peterRd/moodle 2021-03-23 09:58:57 +08:00
Andrew Nicols
4cf1006227 Merge branch 'MDL-69036' of git://github.com/paulholden/moodle 2021-03-23 09:51:39 +08:00
Andrew Nicols
3ba4deedcc Merge branch 'MDL-67870-master' of git://github.com/mihailges/moodle 2021-03-23 09:16:28 +08:00
Andrew Nicols
cbcf9f6cdf MDL-69256 tests: Fix random slow test failures in completion cron 2021-03-23 08:07:49 +08:00
Dan Marsden
8b1f69ca7b MDL-71174 core: Improve phpdoc for plagiarism_update_status 2021-03-23 10:31:27 +13:00
David Mudrák
22ecf2f9b8 MDL-71169 external: Do not explicitly specify the default methodname 2021-03-22 15:56:46 +01:00
David Mudrák
b9fbb752ab 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:56:46 +01:00
Jess Ansell
52bc582e77 MDL-71012 setup: Return 500 error code for setup errors. 2021-03-22 14:05:45 +00:00
Sara Arjona
51cdc0e874 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:39:16 +01:00
Ferran Recio
b08381b212 MDL-70980 mod_h5pactivity: fix review mode 2021-03-22 10:52:44 +01:00
Thinh Pham
07cbbc9193 MDL-71087 File picker: Focus lost after 'Create folder' 2021-03-22 14:35:44 +07:00
Mihail Geshoski
5cc31c3691 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:32:49 +08:00
Andrew Nicols
32638b3a45 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
1cc66e0ac6 Merge branch 'MDL-70816-master-4' of git://github.com/rezaies/moodle 2021-03-22 13:29:09 +08:00
Shamim Rezaie
029d6102ea MDL-70816 mod_choice: activity_dates implementation 2021-03-22 16:15:24 +11:00
Shamim Rezaie
dfbf50e18b 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:15:17 +11:00
Andrew Nicols
2014163f57 Merge branch 'MDL-71139-master-trademark' of git://github.com/mudrd8mz/moodle 2021-03-22 11:58:31 +08:00
Andrew Nicols
b171685d6e Merge branch 'MDL-70919-master' of git://github.com/marinaglancy/moodle 2021-03-22 07:44:26 +08:00
Eloy Lafuente (stronk7)
70acb15cbd MDL-71149 install: update the list of stale files for 3.11 2021-03-19 17:31:07 +01:00
Sara Arjona
a5558e1ae5 MDL-65776 libraries: Set moodle files after jsbeautify upgrade 2021-03-19 15:22:36 +01:00
Sara Arjona
84d8da8314 MDL-65776 libraries: Upgrade jsbeautify to 1.13 2021-03-19 15:22:35 +01:00
Sara Arjona
50e9e5b2bd 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:13:03 +01:00
Sara Arjona
2c8de780d5 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:08:12 +01:00
Eloy Lafuente (stronk7)
4c26696e7e weekly release 4.0dev 2021-03-19 14:06:19 +01:00
Eloy Lafuente (stronk7)
6b95768f5f NOBUG: Fixed file access permissions 2021-03-19 14:06:19 +01:00
Eloy Lafuente (stronk7)
49e8125aee Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-03-19 14:06:15 +01:00
Ilya Tregubov
56edf8c799 MDL-70318 core: Moodle customisations. 2021-03-19 10:19:10 +02:00
Ilya Tregubov
3dc634f2ee MDL-70318 core: Upgrade CFPropertyList to 2.0.2. 2021-03-19 10:19:10 +02:00
Andrew Nicols
61fca0e05c 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:56:35 +08:00
sam marshall
c89ea6733c 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:54:17 +00:00
Marina Glancy
c79e72085b MDL-70919 core_form: non-static method can not be called statically 2021-03-18 12:15:49 +01:00
Sujith Haridasan
c7a9ce8d08 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:27:46 +05:30
Sujith Haridasan
d7e059aaff 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:18:32 +05:30
Chris Brown
599e08db30 MDL-71139 trademark: Improve the trademark messaging 2021-03-18 10:33:04 +01:00
Jun Pataleta
d10edc787c Merge branch 'MDL-70992-master' of https://github.com/NashTechOpenUniversity/moodle 2021-03-18 12:23:48 +08:00
Adrian Greeve
8790de8fcf Merge branch 'MDL-70924' of git://github.com/paulholden/moodle 2021-03-18 11:53:58 +08:00
Jun Pataleta
54cc7804a8 Merge branch 'MDL-70198-master-2' of git://github.com/peterRd/moodle 2021-03-18 11:41:51 +08:00
Adrian Greeve
089afdfceb Merge branch 'MDL-71048' of https://github.com/paulholden/moodle 2021-03-18 11:11:46 +08:00
Adrian Greeve
4496a4e41c Merge branch 'MDL-70977' of git://github.com/paulholden/moodle 2021-03-18 10:49:42 +08:00
Jun Pataleta
8ab5344098 Merge branch 'MDL-70978-master' of git://github.com/aanabit/moodle 2021-03-18 09:55:44 +08:00
Adrian Greeve
0268bd5624 Merge branch 'MDL-71068-protectusername-confirmed' of https://github.com/brendanheywood/moodle 2021-03-18 09:53:44 +08:00
AMOS bot
f0e45a8a9d Automatically generated installer lang files 2021-03-18 00:07:48 +00:00
Eloy Lafuente (stronk7)
e3a46964dc Merge branch 'MDL-70901-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:40:46 +01:00
Eloy Lafuente (stronk7)
ac086dcf23 Merge branch 'MDL-70896-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:34:05 +01:00