Commit graph

100647 commits

Author SHA1 Message Date
Sara Arjona
fdaa958ff7 MDL-70722 oauth2: move Microsoft methods to service class 2021-03-26 09:20:52 +01:00
Sara Arjona
0b53d70ae9 MDL-70722 oauth2: move Facebook methods to service class 2021-03-26 09:20:52 +01:00
Sara Arjona
5d93de8b67 MDL-70722 core_badges: minor fixes from MDL-70689
In MDL-70689, Eloy and Helen suggested some fixes to improve this patch.
As this is a followup issue to move the pending services, this
very first commit will fix pending things raised in the parent issue.
2021-03-26 09:20:52 +01:00
Paul Holden
11099c15bb MDL-70962 forms: catch modal exceptions when getting body content.
They are thrown in the following circumstances:

 * The dynamic form class doesn't exist;
 * It does exist but it's `check_access` method throws exception

Co-Authored-By: Andrew Nicols <andrew@nicols.co.uk>
2021-03-25 17:26:36 +00:00
Víctor Déniz
96ef956556 Merge branch 'MDL-71194-master' of git://github.com/NoelDeMartin/moodle 2021-03-25 15:06:48 +00:00
sam marshall
efb9654dcb MDL-71131 Admin: Users page incorrectly showing all name fields 2021-03-25 13:49:39 +00:00
sam marshall
5e72715e4f MDL-71099 Lib: Move new user_fields class from core to core_user
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
Víctor Déniz
bd926ec382 Merge branch 'MDL-70842_master_v3' of https://github.com/TomoTsuyuki/moodle 2021-03-25 12:57:18 +00:00
Noel De Martin
d5eb99d02f MDL-71194 behat: Fix app tests 2021-03-25 13:53:30 +01:00
Andrew Nicols
2624530b36 Merge branch 'MDL-70318-master' of https://github.com/ilyatregubov/moodle 2021-03-25 12:32:41 +08:00
Andrew Nicols
01266b38c0 Merge branch 'MDL-65776-master' of git://github.com/sarjona/moodle 2021-03-25 11:03:32 +08:00
Andrew Nicols
bf49f3ef23 Merge branch 'MDL-70844-master' of git://github.com/peterRd/moodle 2021-03-25 10:22:51 +08:00
Peter Dias
dbda380b4e MDL-70844 core: Pass anchors instead of URL for siteadmin tabs. 2021-03-25 09:41:13 +08:00
Andrew Nicols
23543fd552 Merge branch 'MDL-70871-master' of git://github.com/roland04/moodle 2021-03-25 08:10:14 +08:00
AMOS bot
32cdec7d58 Automatically generated installer lang files 2021-03-25 00:07:58 +00:00
Andrew Nicols
78e8d63182 Merge branch 'MDL-70980-master' of git://github.com/ferranrecio/moodle 2021-03-25 08:06:14 +08:00
Eloy Lafuente (stronk7)
1d3acd9df0 MDL-71004 git: Ignore moodle-plugin-ci.phar in any directory 2021-03-24 20:10:26 +01:00
Víctor Déniz
d65ed58e73 weekly release 4.0dev 2021-03-24 14:20:33 +00:00
Eloy Lafuente (stronk7)
86e2b4c551 Merge branch 'MDL-71182-master-2' of git://github.com/lameze/moodle 2021-03-24 10:48:37 +01:00
Tim Hunt
b473b950e4 MDL-70269 ClamAV: make retry the default option on failure 2021-03-24 09:33:27 +00:00
Simey Lameze
beff5c6685 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:31:33 +08:00
Tomo Tsuyuki
9a46c4da29 MDL-70842 mod_assign: Add more cases to add file to archive 2021-03-24 16:00:00 +11:00
Andrew Nicols
1b7ce2dd0d MDL-70802 javascript: Normalise component consistently in templates 2021-03-24 11:18:33 +08:00
Simey Lameze
1fcd850859 MDL-71182 calendar: Revert "Merge branch 'MDL-67494-master' of git://github.com/lameze/moodle"
This reverts commit 9d58d4de46, reversing
changes made to 535c0277de.
2021-03-24 09:11:01 +08:00
Víctor Déniz
3cd0ad32bc Merge branch 'MDL-71022' of git://github.com/paulholden/moodle 2021-03-23 22:49:55 +00:00
Víctor Déniz
15b00d34e2 Merge branch 'MDL-70727-master' of https://github.com/NashTechOpenUniversity/moodle 2021-03-23 16:52:46 +00:00
Paul Phillips
00579c7583 MDL-71167 mod_scorm: use full url in redirect 2021-03-23 09:28:14 +00:00
Mikel Martín
8de59fc435 MDL-70871 user: Move 'Show all X' functionality to dynamic_table 2021-03-23 09:55:24 +01:00
Mikel Martín
2471e6ec8d MDL-70871 table: Add 'Show all X' functionality to dynamic_table 2021-03-23 09:55:16 +01:00
Paul Holden
6846ff49f1 MDL-71090 tool_dataprivacy: convert cancellation of requests to ES6. 2021-03-23 08:49:18 +00:00
Paul Holden
4cd11a3f3f MDL-71090 tool_dataprivacy: convert contact DPO to modal forms. 2021-03-23 08:49:18 +00:00
Travis CI
b68dc5c492 Merge branch 'MDL-71149' of https://github.com/stronk7/moodle 2021-03-23 15:56:00 +08:00
Travis CI
fa7c534032 Merge branch 'MDL-71084-master' of git://github.com/peterRd/moodle 2021-03-23 13:57:13 +08:00
Peter Dias
9ee4dd69a9 MDL-71084 core_navigation: Move secondary_test to proper location with namespace 2021-03-23 13:56:29 +08:00
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
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
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
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