David Matamoros
c6cf30d47a
MDL-72329 tool_dataprivacy: Fix type comparisons in unit tests
2021-09-24 08:45:09 +02:00
Sara Arjona
bd572b2434
Merge branch 'MDL-71090' of git://github.com/paulholden/moodle
2021-04-15 11:56:40 +02: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
Paul Holden
4cd11a3f3f
MDL-71090 tool_dataprivacy: convert contact DPO to modal forms.
2021-03-23 08:49:18 +00:00
sam marshall
558cc1b85e
MDL-45242 Lib: Replace calls to deprecated functions
...
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Sara Arjona
6bb0262ed8
Merge branch 'MDL-68098-master' of git://github.com/dpalou/moodle into master
2020-10-01 12:56:16 +02:00
Paul Holden
1315cc807e
MDL-69644 tool_dataprivacy: fix focus outline of contact DPO link.
...
The link class attribute is a leftover from 7258bf0b , which was mostly
removed in 3b2f691f . It no longer serves a purpose and interferes with
the element focus outline.
2020-09-24 11:51:24 +01:00
Dani Palou
8c84eeeeac
MDL-68098 ws: Fix WebServices broken by filters HTML
2020-09-22 09:43:03 +02:00
Paul Holden
60c92dcb4b
MDL-62980 tool_dataprivacy: show persistent errors inside form.
2020-07-14 00:22:48 +01:00
Jun Pataleta
12c1e8b2ff
MDL-66752 tool_dataprivacy: Add automatic data request approval feature
2020-01-06 11:40:31 +08:00
Jun Pataleta
a6b236326b
MDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer
2020-01-06 11:36:09 +08:00
Paul Holden
d7367ecafa
MDL-64695 tool_dataprivacy: filter site fullname in outgoing messages.
2019-12-12 18:20:13 +00:00
Mihail Geshoski
6ac0f57073
MDL-66762 tool_dataprivacy: Sanitize the extra fields in the webservice
2019-11-07 09:00:19 +08:00
Paul Holden
7455b741c9
MDL-66762 user: escape extra/email user fields.
2019-11-07 09:00:19 +08:00
Paul Holden
3903a26896
MDL-62915 tool_dataprivacy: don't let primary admin delete themselves.
2019-09-15 21:36:07 +01:00
Jun Pataleta
91a8e1894b
MDL-66281 tool_dataprivacy: Set sensitive data processing default value
2019-07-30 13:58:36 +08:00
Jun Pataleta
a0653e5c4a
MDL-65382 tool_dataprivacy: Fix appearance of status labels
2019-04-18 15:29:07 +08:00
Marina Glancy
beff3806d6
MDL-10965 courses: capability to browse course list
2019-04-10 12:35:28 +02:00
Kiet.Chan
84bcd65885
MDL-64322 GDPR: Mechanism for restricting delete requests
2019-04-08 15:12:17 +07:00
Mathew May
5cac5fa428
MDL-64506 templates: BS2 m-x-x to BS4 mx-x
2019-04-03 19:47:11 +08:00
Mathew May
3f2c68f119
MDL-64506 templates: Move BS2 labels to BS4 badges
2019-04-03 19:34:20 +08:00
Mathew May
29551c4b1a
MDL-64506 templates: Move BS2 btns' to BS4 btns'
...
well bs2 class is now card in bs4
2019-04-03 19:34:20 +08:00
Eloy Lafuente (stronk7)
3679f3b3b7
Merge branch 'MDL-64424-master-expiredfrontpage' of git://github.com/mudrd8mz/moodle
2019-01-29 23:47:05 +01:00
David Mudrák
5f7b528281
MDL-64424 privacy: Use system context purpose on the front page, too
...
For activities on the site's front page, use the purpose and retention
periods as defined for the system context, not for the courses.
2019-01-23 11:13:10 +01:00
Kiet.Chan
81eb8b2bbc
MDL-64323 GDPR: New request form user search not using configured fields
2019-01-16 13:34:53 +07:00
Andrew Nicols
26ce2c0a81
MDL-64030 tool_dataprivacy: Process requests when system purpose not set
2018-11-23 07:54:22 +08:00
Andrew Nicols
c083d1ad1e
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:21 +08:00
Eloy Lafuente (stronk7)
baf3fd4177
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 02:22:12 +01:00
Andrew Nicols
56c2b941df
MDL-63919 tool_dataprivacy: Notify by default
2018-11-09 18:39:42 +08:00
Eloy Lafuente (stronk7)
ba999160b4
Merge branch 'MDL-62564-master-fix' of git://github.com/andrewnicols/moodle
2018-11-09 10:59:04 +01:00
Andrew Nicols
b26c5e031b
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:34:47 +08:00
Jun Pataleta
012fa6abc3
Merge branch 'MDL-63867-master' of git://github.com/mickhawkins/moodle
2018-11-09 15:31:28 +08:00
Michael Hawkins
95a3f78058
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:20:12 +08:00
Michael Hawkins
0646c8514b
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 14:19:31 +08:00
Jun Pataleta
1d2adca39b
Merge branch 'MDL-63924-master' of git://github.com/andrewnicols/moodle
2018-11-09 11:57:38 +08:00
Andrew Nicols
03acfa408a
MDL-63897 tool_dataprivacy: Send notifications for new requests
2018-11-09 11:25:57 +08:00
Andrew Nicols
b838d85cbc
MDL-63897 dataprivacy: Kill the preprocess stage
2018-11-09 11:08:07 +08:00
Andrew Nicols
b627565e9b
Merge branch 'MDL-63919-master' of git://github.com/mihailges/moodle
2018-11-09 10:51:48 +08:00
Jun Pataleta
120edbe65f
Merge branch 'MDL-62589-master' of git://github.com/andrewnicols/moodle
2018-11-09 10:36:52 +08:00
Eloy Lafuente (stronk7)
3aa0cfe33e
Merge branch 'MDL-62564-integration-master-1' of git://github.com/mihailges/moodle
2018-11-08 16:38:38 +01:00
Andrew Nicols
c96cd71102
MDL-63924 privacy: Add shared user providers to subsytsems
2018-11-08 21:26:18 +08:00
Mihail Geshoski
f39b579de1
MDL-63919 privacy: Store the creation method of the data request
2018-11-08 14:13:31 +08:00
Mihail Geshoski
77c21518f2
MDL-63919 privacy: Disable notifications for auto created data requests
2018-11-08 14:08:43 +08:00
Andrew Nicols
50208b5ca5
MDL-62589 dataprivacy: Add ability to resubmit a request
2018-11-08 11:45:36 +08:00
Mihail Geshoski
673d2c58fb
MDL-62564 privacy: Create request for deleted users when setting enabled
2018-11-08 09:29:38 +08:00
Mihail Geshoski
b4ecfa38c2
MDL-62564 privacy: Improve bulk deletion
2018-11-08 09:28:36 +08:00
Andrew Nicols
66a47d23fa
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
4c1fc0b6d6
MDL-62589 dataprivacy: Correct not in sql
2018-11-07 19:24:07 +08:00
Mihail Geshoski
c13c4569a9
MDL-62563 privacy: Create delete data request for existing deleted users
2018-11-05 16:20:37 +08:00
Adrian Greeve
7a35413d16
MDL-63566 tool_dataprivacy: New interface check for userlist.
...
This adds another check to see if the plugins are implementing the
new core_userlist_provider.
2018-11-01 10:06:45 +08:00