Commit graph

101084 commits

Author SHA1 Message Date
Mikhail Golenkov
b808d72a62 MDL-71254 oauth2: Redirect to the login page in case of error 2021-04-01 13:35:51 +11:00
AMOS bot
7a9904c6bc Automatically generated installer lang files 2021-04-01 00:07:51 +00:00
Jun Pataleta
6a6cdf14ca MDL-71178 completion: Rebuild course cache before completion reset
Before resetting completion states during module update, we need to
rebuild the course cache first in order to properly reset the completion
states. Otherwise, calls to methods that fetch course module info
via cache (e.g. cm_info::create()) will fetch outdated information.
2021-04-01 00:46:34 +08:00
Juan Leyva
b63065cea3 MDL-70863 mod_forum: Allow NULL in timecreated 2021-03-31 17:54:36 +02:00
Jun Pataleta
9d35715453 Merge branch 'MDL-70895' of https://github.com/mkassaei/moodle 2021-03-31 21:26:39 +08:00
sam marshall
611e2569aa MDL-71215 core_user: User fields - remaining deprecated functions
This change removes references in code and comments to a few
deprecated functions that were accidentally missed in the larger
change.

The code changes only affect service_users.php. I made it support
custom user profile fields in this query, because it was easy
enough, rather than adding another TODO to fix later.
2021-03-31 11:12:16 +01:00
Mahmoud Kassaei
01403b2f0d MDL-70895 Questions: Default options when creating a question 2021-03-31 09:26:54 +01:00
Adrian Greeve
facec59334 Merge branch 'MDL-37655' of https://github.com/stronk7/moodle 2021-03-31 15:46:51 +08:00
Eloy Lafuente (stronk7)
870a8de3fb MDL-37655 phpunit: Avoid having multiple testcase classes in 1 file
Note that there wasn't any case of multiple testcase classes in
1 file. All the cases reported in the issue were false positives
caused but other "mock/fixture" files being named _test.

So all this issue does is:

1) rename any _test suffixed class in test files, because we are
   going to start renaming a lot of test classes to _test.

2) ensure that the 2 test case classes modified in this issue,
   are already observing the filename = classname rule that will
   be implemented soon (and verigy it works).
2021-03-30 19:17:54 +02: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
Paul Holden
6150e8c7f4 MDL-65687 message: increase confirmation dialog zindex.
Make sure that confirmation dialogs (such as block/unblock user,
delete conversation) are shown with prominence in the messaging
drawer.
2021-03-30 10:50:29 +01:00
Tomo Tsuyuki
b6f6203e65 MDL-71136 backup: Fix moodle_exception path. 2021-03-30 10:54:08 +11:00
Mikhail Golenkov
0d2f65ffc9 MDL-71233 backup: Fix Moodle version for MDL-69418 2021-03-30 10:41:59 +11:00
Paul Holden
7107649bc8 MDL-68635 tool_cohortroles: observe user initial table filter. 2021-03-29 14:12:36 +01:00
Paul Holden
a22604d6ed MDL-68716 mod_forum: extra column sorting options in privacy export.
Accounts for extra sort options that were added in bc23cbaf.
2021-03-29 14:05:57 +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
Dan Marsden
21778d8d16 MDL-32226 mod_quiz: Add Plagiarism hooks to quiz and essay question. 2021-03-27 09:13:41 +13:00
Paul Holden
0c6ea21bac MDL-70142 admin: preserve selected cache definitions in the form.
By not redirecting when we are already on the purge caches page we
can preserve the submitted form data, allowing users to easily
repeat the previous action.
2021-03-26 13:09:33 +00:00
Sara Arjona
7afda52e62 MDL-70722 oauth2: move Nextcloud methods to service class 2021-03-26 09:20:52 +01:00
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
Shintaro Fujiwara
48bce2cee1 MDL-69304 gradeimport_csv: Validate if the user id is numerical. 2021-03-26 04:45:52 +09: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
Brendan Heywood
f0aae55b81 MDL-67882 message: Add notification setting changes to config_log 2021-03-25 10:34:48 +11: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