Commit graph

91442 commits

Author SHA1 Message Date
Simey Lameze
82447d7ded MDL-63823 tool_lpimportcsv: supress progress bar debugging 2018-11-12 09:53:49 +08:00
Dan Marsden
6dae57a102 MDL-63953 mod_scorm: Use correct value for first attempt. 2018-11-12 10:06:39 +13:00
Eloy Lafuente (stronk7)
789dcd6975 Moodle release 3.5.3 2018-11-10 20:36:27 +01:00
Eloy Lafuente (stronk7)
b908052850 weekly release 3.5.2+ 2018-11-10 12:53:24 +01:00
Eloy Lafuente (stronk7)
f96287e91b Merge branch 'MDL-63960-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-10 10:28:16 +01:00
Andrew Nicols
55df5e4c05 MDL-63960 dataprivacy: Do not perform strict type checks for id
When inherit is specified in the data registry it is stored as a
string and we cannot perform a strict comparison with it.

We should still compare strict comparison checks against null, or false,
but not for the NOTSET (0) or INHERIT values (-1).
2018-11-10 15:34:11 +08:00
Eloy Lafuente (stronk7)
68987522ea MDL-63919 tool_dataprivacy: admin & notify fixes
This includes the following:

1) Replace $ADMIN->id by get_admin()->id. The former doesn't exist.
2) Only change the notify parameter when it has not been specified
   at creation time (null). If specified, observe it.
3) Set the current user in tests to admin, able to create those
   requests.
2018-11-10 11:00:46 +08:00
Eloy Lafuente (stronk7)
cd496c0307 Merge branch 'MDL-63596-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-10 03:51:34 +01:00
Andrew Nicols
977632b715 MDL-63596 backup: Add missing include 2018-11-10 10:49:19 +08:00
Eloy Lafuente (stronk7)
d8231aee5e Merge branch 'MDL-63596-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-09 19:32:53 +01:00
Damyon Wiese
d3b5e29e2e MDL-63596 backup: Deal with controller types
For privacy requests, deal with all 3 controller types.
2018-11-09 17:56:05 +08:00
Mihail Geshoski
8f7f422709 MDL-63596 core_backup: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-11-09 17:56:05 +08:00
Andrew Nicols
4c7f930af8 MDL-62564 tool_dataprivacy: Do not delete deleted user
This also ensures that we do not call delete_user on an already deleted
user.
2018-11-09 17:36:10 +08:00
cescobedo
7625b00200 MDL-63907 core_message: Pass user object to show_online_status.
Fix create_contact() to pass user object as parameter in show_online_status.
2018-11-09 10:02:13 +01:00
Jun Pataleta
df2ed3c8bc Merge branch 'MDL-63867-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-09 15:30:30 +08:00
Michael Hawkins
b2e67dc913 MDL-63867 tool_dataprivacy: Add site purpose checks to tasks
If a site purpose is not defined, requests cannot be processed.
2018-11-09 15:21:24 +08:00
Michael Hawkins
a000765a13 MDL-63867 tool_dataprivacy: Fix context expired/unprotected user check
It now checks the system context has been defined, since that is
required for data privacy to be set up correctly, and the check
to be valid. This also fixes an error being thrown when checking
pending delete requests in cron.
2018-11-09 15:21:24 +08:00
Jun Pataleta
e1921cead6 Merge branch 'MDL-63946-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-09 13:41:33 +08:00
Andrew Nicols
a3c30c9fc8 MDL-63946 plagirism: Filename typo fix 2018-11-09 13:25:33 +08:00
Jun Pataleta
3af336b41a Merge branch 'MDL-63924-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-09 11:57:31 +08:00
Jun Pataleta
a757b3f80b Merge branch 'MDL-63942-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-09 11:42:50 +08:00
Peter
d206c98d98 MDL-62415 repo_filepicker: Display search results in tree view
Disable overriding call to list all files in tree view and show search results instead
2018-11-09 10:54:58 +08:00
Andrew Nicols
a2793d3850 Merge branch 'MDL-63919-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-09 10:52:34 +08:00
Jun Pataleta
ee522a9f42 Merge branch 'MDL-62589-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-09 10:36:44 +08:00
Damyon Wiese
23c79dff60 Merge branch 'wip-MDL-63894-MOODLE_35_STABLE' of https://github.com/kwiliarty/moodle into MOODLE_35_STABLE 2018-11-09 09:51:51 +08:00
Andrew Nicols
b94e3e5f56 MDL-63942 dataprivacy: Disable deleted user task by default 2018-11-09 09:31:16 +08:00
Damyon Wiese
f4e1906562 Merge branch 'MDL-63671-35-2' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-09 09:14:06 +08:00
David Mudrák
bdbecafdc0 MDL-63940 recaptcha: Use www.recaptcha.net in the service endpoint URL
There are countries where www.google.com is a being blocked and
recaptcha does not work there. As shown at
https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
it is enough to simply use www.recaptcha.net in the service endpoint
URL.
2018-11-08 22:59:28 +01:00
Eloy Lafuente (stronk7)
e1f1cf9bec Merge branch 'MDL-62564-integration-35-1' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-08 16:50:15 +01:00
Andrew Nicols
a07e8d7023 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:27:22 +08:00
Andrew Nicols
a14a44ee13 MDL-63924 core_privacy: Add shared_userlist provider 2018-11-08 21:27:22 +08:00
Eloy Lafuente (stronk7)
763f4e1e52 MDL-63927 performance: Update the plan to support the new login token 2018-11-08 10:26:31 +01:00
Mihail Geshoski
60987ecfae MDL-63671 tool_cohortroles: Limit data to the system context in provider 2018-11-08 16:07:44 +08:00
Michael Hawkins
20957bbd12 MDL-63925 privacy: Fixed Moodle URL in template 2018-11-08 15:54:42 +08:00
Mihail Geshoski
4b56876fe4 MDL-63919 privacy: Store the creation method of the data request 2018-11-08 14:50:08 +08:00
Mihail Geshoski
33ae40340d MDL-63919 privacy: Disable notifications for auto created data requests 2018-11-08 14:50:08 +08:00
Jun Pataleta
923a97629d Merge branch 'MDL-63902-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-08 13:38:54 +08:00
Kevin Wiliarty
37e1f7dbd9 MDL-63894 themes: adds flex-wrap to boost inline date_time_selector 2018-11-07 23:51:41 -05:00
Andrew Nicols
9ae66863bc MDL-62589 dataprivacy: Add ability to resubmit a request 2018-11-08 11:45:35 +08:00
Jun Pataleta
180d76c5f8 Merge branch 'MDL-63840-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2018-11-08 11:30:54 +08:00
Mihail Geshoski
4913f8f270 MDL-62564 privacy: Create request for deleted users when setting enabled 2018-11-08 09:52:16 +08:00
Mihail Geshoski
d364d88a51 MDL-62564 privacy: Improve bulk deletion 2018-11-08 09:51:24 +08:00
Mihail Geshoski
fe552e47f0 MDL-62564 privacy: Add unit tests 2018-11-08 09:33:25 +08:00
Andrew Nicols
b0ea09e200 MDL-63902 dataprivacy: Check course children not the course
When checking the expiry and protected state of a context, we need to do
so knowing what kind of use that context has.

If it is used in the user context, then only the user context matters.
If it is used within a course, then that child context must be checked
in relation to the course.
2018-11-08 09:13:15 +08:00
Andrew Nicols
a1d910f2e8 MDL-62589 dataprivacy: Correct not in sql 2018-11-08 09:03:15 +08:00
Luca Bösch
f7dec77e56 MDL-63840 theme: block menu cog size. 2018-11-07 18:03:41 +01:00
Eloy Lafuente (stronk7)
f0f4270a8d Merge branch 'MDL-62294-35' of git://github.com/junpataleta/moodle into MOODLE_35_STABLE 2018-11-07 17:25:37 +01:00
Jun Pataleta
1523c8bc6f Merge branch 'm35_MDL-63800' of https://github.com/danmarsden/moodle into MOODLE_35_STABLE 2018-11-07 15:28:07 +08:00
Damyon Wiese
68c72aadc2 Merge branch 'MDL-63839_35' of git://github.com/markn86/moodle into MOODLE_35_STABLE 2018-11-07 14:28:46 +08:00
Damyon Wiese
4c21639e66 Merge branch 'MDL-63451_35' of https://github.com/peterspicer-catalyst/moodle into MOODLE_35_STABLE 2018-11-07 13:05:12 +08:00