100442 Commits

Author SHA1 Message Date
Jun Pataleta
24bf4f58f5 MDL-70817 core_completion: Unit tests for cm_completion_details 2021-04-02 21:53:20 +08:00
Jun Pataleta
c81441f5c9 MDL-70817 core_completion: Course module completion details
* Class cm_completion_details builds the custom completion details
for an activity module.
2021-04-02 21:53:20 +08:00
Víctor Déniz
f0eb6a5729 weekly release 4.0dev 2021-03-30 15:37:25 +01:00
Víctor Déniz
a2ad40d02d Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-03-30 15:37:18 +01:00
Eloy Lafuente (stronk7)
67b2e62fe7 Merge branch 'MDL-70963-master' of git://github.com/sarjona/moodle 2021-03-29 12:39:32 +02:00
Sara Arjona
51ec496f75 MDL-70963 core_badges: Use expected JSON format for OBv2.1
This patch adds some changes to guarantee that OpenBadges 2.1 (OBv2.1)
will return always the same JSON format that OBv2.0 (because the only
difference between both versions it's the BadgeConnect API).
2021-03-29 10:02:58 +02:00
Andrew Nicols
91bd6289e2 Merge branch 'MDL-70962' of git://github.com/paulholden/moodle 2021-03-29 11:58:05 +08:00
Andrew Nicols
963e1f835f Merge branch 'MDL-71004' of https://github.com/stronk7/moodle 2021-03-29 11:53:43 +08:00
AMOS bot
91f30ac7cb Automatically generated installer lang files 2021-03-29 00:07:49 +00:00
Eloy Lafuente (stronk7)
14f82f4eb5 Merge branch 'MDL-68496-master' of git://github.com/andrewnicols/moodle 2021-03-28 23:48:14 +02:00
Eloy Lafuente (stronk7)
eceba8b92d Merge branch 'MDL-71131-master' of https://github.com/sammarshallou/moodle 2021-03-28 23:21:33 +02:00
AMOS bot
0502bc3b3c Automatically generated installer lang files 2021-03-28 00:07:46 +00:00
Eloy Lafuente (stronk7)
3ed772f418 Merge branch 'MDL-71099-master' of https://github.com/sammarshallou/moodle 2021-03-27 10:17:43 +01:00
Víctor Déniz
4d0292b3b5 Merge branch 'MDL-70537-master' of https://github.com/sammarshallou/moodle 2021-03-26 20:14:19 +00: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
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
Simey Lameze
1fcd850859 MDL-71182 calendar: Revert "Merge branch 'MDL-67494-master' of git://github.com/lameze/moodle"
This reverts commit 9d58d4de46e9415eb4ac405a340381de44c510c1, reversing
changes made to 535c0277de3547f02d94959fbe103e44a6706d4e.
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
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
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
Ferran Recio
b08381b212 MDL-70980 mod_h5pactivity: fix review mode 2021-03-22 10:52:44 +01:00