Jun Pataleta [Fri, 1 Feb 2019 00:57:00 +0000 (08:57 +0800)]
weekly release 3.3.9+
David Mudrák [Thu, 31 Jan 2019 11:28:52 +0000 (12:28 +0100)]
MDL-64737 editor_atto: Fix the privacy export_user_data() implementation
Multiple issues fixed:
* Fixed order of the statements to avoid access to undefined variables.
* Fixed population of the SQL query parameter to make sure they match
the placeholder in the query.
* Fixed missing table aliases in the second query to make sure the query
actually works as expected.
David Mudrák [Thu, 31 Jan 2019 10:31:57 +0000 (11:31 +0100)]
MDL-64737 privacy: Fix privacy provider testsuite file names
Only files ending with "_test.php" suffix are implicit part of a
testsuite. So these two were not actually executed.
AMOS bot [Wed, 30 Jan 2019 00:10:40 +0000 (00:10 +0000)]
Automatically generated installer lang files
AMOS bot [Tue, 22 Jan 2019 00:10:22 +0000 (00:10 +0000)]
Automatically generated installer lang files
AMOS bot [Thu, 10 Jan 2019 00:09:05 +0000 (00:09 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 19 Dec 2018 00:09:35 +0000 (00:09 +0000)]
Automatically generated installer lang files
AMOS bot [Fri, 7 Dec 2018 00:09:55 +0000 (00:09 +0000)]
Automatically generated installer lang files
AMOS bot [Fri, 30 Nov 2018 00:08:02 +0000 (00:08 +0000)]
Automatically generated installer lang files
AMOS bot [Thu, 29 Nov 2018 00:08:48 +0000 (00:08 +0000)]
Automatically generated installer lang files
David Monllao [Wed, 28 Nov 2018 10:23:24 +0000 (11:23 +0100)]
weekly release 3.3.9+
David Mudrák [Sun, 25 Nov 2018 06:17:54 +0000 (07:17 +0100)]
MDL-64205 privacy: Delete orphaned data request records on upgrade
As a result of the bug, some requests can be orphaned - the linked user
record may not exist any more. This is a cleanup of such records.
David Mudrák [Sun, 25 Nov 2018 05:55:23 +0000 (06:55 +0100)]
MDL-64205 users: Do not delete the actual records of unconfirmed users
There is an automatic data privacy request created to get rid of all the
personal data upon the user deletion. With the actual user record
absent, the data privacy requests page throws an error. Let's do here
same as we do in `delete_incomplete_users_task` and let us not delete
the actual user record.
AMOS bot [Fri, 23 Nov 2018 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files
David Monllao [Tue, 20 Nov 2018 14:12:07 +0000 (15:12 +0100)]
weekly release 3.3.9+
David Mudrák [Thu, 15 Nov 2018 19:44:03 +0000 (20:44 +0100)]
MDL-63994 auth_cas: Include the login token in the simulated login form
The CAS login process relies on the standard authenticate_user_login()
call to set up the user. So we need to inject the login token to pass
the validation.
David Mudrák [Thu, 15 Nov 2018 19:35:46 +0000 (20:35 +0100)]
MDL-63994 login: Improve the logintoken param input
The logintoken is supposed to arrive as a part of the login form ($frm)
together with the username and password. So it should be handled the
same way - including the opportunity for the auth plugins to provide the
form data via the loginpage_hook().
This also implies that only logintoken coming as a part of the POST
request are taken into account, which is a good thing and another thin
layer in this security mechanism.
David Mudrák [Thu, 15 Nov 2018 19:27:58 +0000 (20:27 +0100)]
MDL-63994 login: Clarify inline comments on loginpage_hook() usage
While working on the issue, I found these inline comments outdated and
confusing. The auth plugin types can implement a loginpage_hook()
method, the purpose of which is to inject the $user and/or $frm into
this login/index.php script. The new comments should make it more clear.
Note the second comment mentioned a prelogin_hook() which was an old
name of what is now called loginpage_hook(). It had nothing to do with
the existing pre_loginpage_hook() and was only confusing.
AMOS bot [Tue, 13 Nov 2018 00:07:55 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 19:36:16 +0000 (20:36 +0100)]
Moodle release 3.3.9
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 11:53:14 +0000 (12:53 +0100)]
weekly release 3.3.8+
Andrew Nicols [Fri, 9 Nov 2018 23:27:58 +0000 (07:27 +0800)]
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).
Eloy Lafuente (stronk7) [Sat, 10 Nov 2018 01:22:12 +0000 (02:22 +0100)]
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.
Andrew Nicols [Fri, 9 Nov 2018 09:34:46 +0000 (17:34 +0800)]
MDL-62564 tool_dataprivacy: Do not delete deleted user
This also ensures that we do not call delete_user on an already deleted
user.
Andrew Nicols [Fri, 9 Nov 2018 01:29:13 +0000 (09:29 +0800)]
MDL-63942 dataprivacy: Disable deleted user task by default
Mihail Geshoski [Thu, 8 Nov 2018 06:13:31 +0000 (14:13 +0800)]
MDL-63919 privacy: Store the creation method of the data request
Mihail Geshoski [Thu, 8 Nov 2018 06:08:43 +0000 (14:08 +0800)]
MDL-63919 privacy: Disable notifications for auto created data requests
Mihail Geshoski [Tue, 6 Nov 2018 05:11:34 +0000 (13:11 +0800)]
MDL-62564 privacy: Create request for deleted users when setting enabled
Mihail Geshoski [Thu, 8 Nov 2018 02:26:40 +0000 (10:26 +0800)]
MDL-62564 privacy: Improve bulk deletion
Mihail Geshoski [Tue, 6 Nov 2018 03:10:20 +0000 (11:10 +0800)]
MDL-62564 privacy: Add unit tests
Jun Pataleta [Wed, 24 Oct 2018 04:36:56 +0000 (12:36 +0800)]
MDL-63183 auth_shibboleth: Don't render page when already logged in
Jun Pataleta [Wed, 24 Oct 2018 02:38:42 +0000 (10:38 +0800)]
MDL-63183 auth_shibboleth: Add hidden login token in guest login form
Damyon Wiese [Wed, 29 Aug 2018 01:38:46 +0000 (09:38 +0800)]
MDL-63183 auth: Login protection
CSRF protection for the login form. The authenticate_user_login function was
extended to validate the token (in \core\session\manager) but by default it
does not perform the extra validation. Existing uses of this function from
auth plugins and features like "change password" will continue to work without
changes. New config value $CFG->disablelogintoken can bypass this check.
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 18:06:35 +0000 (19:06 +0100)]
weekly release 3.3.8+
AMOS bot [Tue, 6 Nov 2018 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files
Mihail Geshoski [Mon, 5 Nov 2018 08:20:37 +0000 (16:20 +0800)]
MDL-62563 privacy: Create delete data request for existing deleted users
Mihail Geshoski [Mon, 5 Nov 2018 08:20:06 +0000 (16:20 +0800)]
MDL-62563 privacy: Add unit tests
Eloy Lafuente (stronk7) [Fri, 2 Nov 2018 20:08:30 +0000 (21:08 +0100)]
weekly release 3.3.8+
Andrew Nicols [Thu, 25 Oct 2018 03:04:08 +0000 (11:04 +0800)]
MDL-62601 core_privacy: Ensure providers can handle deleted users
Andrew Nicols [Thu, 25 Oct 2018 02:47:29 +0000 (10:47 +0800)]
MDL-62601 editor_atto: Do not use context_user
Eloy Lafuente (stronk7) [Tue, 30 Oct 2018 17:23:58 +0000 (18:23 +0100)]
weekly release 3.3.8+
Andrew Nicols [Sun, 28 Oct 2018 10:15:43 +0000 (18:15 +0800)]
MDL-63267 privacy: Remove use of int hints
Andrew Nicols [Sat, 27 Oct 2018 11:55:13 +0000 (19:55 +0800)]
MDL-63267 core_grading: More Fix 5.6 type hints
Andrew Nicols [Sat, 27 Oct 2018 11:52:37 +0000 (19:52 +0800)]
MDL-63267 core_grading: Fix 5.6 type hints
Tim Lock [Tue, 11 Sep 2018 03:06:44 +0000 (12:36 +0930)]
MDL-63267 tool_privacy: Handle modules without privacy support.
Adrian Greeve [Thu, 30 Aug 2018 05:19:21 +0000 (13:19 +0800)]
MDL-63267 grading methods: Unit test update for fix.
Adrian Greeve [Thu, 30 Aug 2018 03:35:52 +0000 (11:35 +0800)]
MDL-63267 grading methods: Fix for multiple intances.
We were only exporting the one instance per item id.
Instead we should have been exporting all instances for each
item id.
Adrian Greeve [Thu, 16 Aug 2018 06:34:29 +0000 (14:34 +0800)]
MDL-63267 tool_dataprivacy: Registry shows deprecated interfaces.
Adrian Greeve [Thu, 16 Aug 2018 06:31:43 +0000 (14:31 +0800)]
MDL-63267 privacy: Create deprecated provider interface.
Any interfaces that have become deprecated should extend
this interface.
Adrian Greeve [Fri, 15 Jun 2018 03:40:56 +0000 (11:40 +0800)]
MDL-63267 core_grading: Unit test for new methods.
Adrian Greeve [Thu, 14 Jun 2018 05:11:18 +0000 (13:11 +0800)]
MDL-63267 mod_assign: Update to providers to include adv grading.
Adrian Greeve [Thu, 14 Jun 2018 02:38:19 +0000 (10:38 +0800)]
MDL-63267 core_grading: Update to providers and interface.
The previous interface was inadequate for retrieving user
information stored in the sub-plugins.
A new interface and methods have been added to successfully
deal with user data.
Eloy Lafuente (stronk7) [Fri, 26 Oct 2018 16:05:00 +0000 (18:05 +0200)]
weekly release 3.3.8+
Andrew Nicols [Mon, 22 Oct 2018 08:55:30 +0000 (16:55 +0800)]
MDL-63619 tool_dataprivacy: Cache purposes in form
Andrew Nicols [Wed, 17 Oct 2018 12:53:16 +0000 (20:53 +0800)]
MDL-63619 tool_dataprivacy: Performance improvement
Andrew Nicols [Mon, 15 Oct 2018 02:45:31 +0000 (10:45 +0800)]
MDL-63619 tool_dataprivacy: Fix inheritance from parent contexts
Inheritance should behave such that all contexts inherit from their
parent context.
Prior to this fix, if the value was not set on a context, then it was
getting a default of 'Inherit', but instead of inheritting from the
parent context, it was inheritting from its parent context _level_ which
is just wrong.
AMOS bot [Mon, 22 Oct 2018 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Fri, 19 Oct 2018 15:10:47 +0000 (17:10 +0200)]
weekly release 3.3.8+
AMOS bot [Fri, 19 Oct 2018 00:08:27 +0000 (00:08 +0000)]
Automatically generated installer lang files
AMOS bot [Thu, 18 Oct 2018 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files
Andrew Nicols [Fri, 12 Oct 2018 00:12:18 +0000 (08:12 +0800)]
MDL-63632 forum: Delete where not discussion author
Jun Pataleta [Thu, 11 Oct 2018 06:23:21 +0000 (14:23 +0800)]
MDL-62904 tool_dataprivacy: Add data request links in profile page
Eloy Lafuente (stronk7) [Tue, 16 Oct 2018 14:05:28 +0000 (16:05 +0200)]
weekly release 3.3.8+
AMOS bot [Mon, 15 Oct 2018 00:07:35 +0000 (00:07 +0000)]
Automatically generated installer lang files
Shamim Rezaie [Thu, 11 Oct 2018 13:42:49 +0000 (00:42 +1100)]
MDL-63626 mod_quiz: Fixed a bug when there was no attempt on the quiz
Eloy Lafuente (stronk7) [Thu, 11 Oct 2018 11:22:43 +0000 (13:22 +0200)]
weekly release 3.3.8+
AMOS bot [Thu, 11 Oct 2018 00:07:33 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 10 Oct 2018 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files
Adrian Greeve [Tue, 9 Oct 2018 08:22:25 +0000 (16:22 +0800)]
MDL-62491 core_privacy: php 5.6 fix for using current()
Adrian Greeve [Tue, 2 Oct 2018 05:02:30 +0000 (13:02 +0800)]
MDL-62491 navigation: Update to tree.js to allow callbacks.
Adrian Greeve [Fri, 14 Sep 2018 02:22:40 +0000 (10:22 +0800)]
MDL-62491 mod_assign: Fill in the rewrite plugin urls properly.
Adrian Greeve [Fri, 14 Sep 2018 02:22:14 +0000 (10:22 +0800)]
MDL-62491 core_privacy: Add html files to the user data export.
This adds html to the data export that allows for easier navigation
and reading of data.
Andrew Nicols [Tue, 9 Oct 2018 00:31:57 +0000 (08:31 +0800)]
MDL-63401 tool_dataprivacy: Change default for require end date
We should preserve the existing behaviour.
Andrew Nicols [Tue, 9 Oct 2018 00:21:38 +0000 (08:21 +0800)]
MDL-63401 tool_dataprivacy: Simplify where processing
Andrew Nicols [Tue, 9 Oct 2018 00:21:25 +0000 (08:21 +0800)]
MDL-63401 tool_dataprivacy: Move final cap check to endpoint
Andrew Nicols [Thu, 27 Sep 2018 04:05:39 +0000 (12:05 +0800)]
MDL-63401 tool_dataprivacy: Allow expiriration of users without end date
Andrew Nicols [Thu, 20 Sep 2018 01:10:38 +0000 (09:10 +0800)]
MDL-63401 tool_dataprivacy: Rewrite expired deletion handling
This change rewrites the way in which expiry is calculated and addresses
a number of closely related issues:
Users can customise, and add blocks with data to, their dashboard. When
a user had done so, the user could be flagged for deletion, but the
blocks in their Dashboard were subject to the default block retention
policy. In addition there is no way to override the retention policy for
user blocks.
This change modifies the structure of the expiry mechanism:
- to consider any subcontext of the user context to be a part of the user
context during calculation. User child contexts are not the property
of the system, and should not be treated separately.
- the way in which the context expiry mechanism worked was to select
use a multiple different managers based solely on the context level.
Because of the use of user blocks, this proved to be unreliable as
blocks has been attributed purely to courses.
This has been changed to a single manager which is aware of hierarchy
and deletions as a whole.
- to prepare for upcoming work relating to more detailed expiry
mechanisms, a new expiry_info class is introduced and used to
merge the expiry of child contexts into a working in-memory view.
This changeset includes extensive unit tests.
Andrew Nicols [Fri, 28 Sep 2018 06:39:17 +0000 (14:39 +0800)]
MDL-63401 core: Do not delete the user context
As long as we have a user record, we should not delete the context which
relates to it.
Andrew Nicols [Thu, 20 Sep 2018 03:03:35 +0000 (11:03 +0800)]
MDL-63401 tool_dataprivacy: Move cap checks to endpoints from API
Eloy Lafuente (stronk7) [Fri, 5 Oct 2018 11:34:29 +0000 (13:34 +0200)]
MDL-63421 env: Moodle 3.4.x and 3.5.x do not support PHP 7.3
Eloy Lafuente (stronk7) [Fri, 5 Oct 2018 10:27:53 +0000 (12:27 +0200)]
weekly release 3.3.8+
Jun Pataleta [Tue, 2 Oct 2018 06:43:38 +0000 (14:43 +0800)]
MDL-62395 tool_dataprivacy: Purpose name and description in one column
* Show the purpose's name and description under one column.
Jun Pataleta [Wed, 15 Aug 2018 03:07:46 +0000 (11:07 +0800)]
MDL-62395 tool_dataprivacy: Fix tables display
* Use standard Bootstrap4 table classes for the categories and purposes
tables.
* Set 25% width for the name and description columns of the purposes
table.
* Set 50% width for the description column of the categories table.
AMOS bot [Thu, 4 Oct 2018 00:07:37 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Thu, 27 Sep 2018 13:17:50 +0000 (15:17 +0200)]
weekly release 3.3.8+
Eloy Lafuente (stronk7) [Thu, 20 Sep 2018 10:11:59 +0000 (12:11 +0200)]
weekly release 3.3.8+
Eloy Lafuente (stronk7) [Thu, 20 Sep 2018 08:56:29 +0000 (10:56 +0200)]
MDL-63346 nodejs: Bump to created from scratch shrinkwrap file
Steps:
- remove node_modules & npm-shrinkwrap.json
- npm cache clear --force
- npm install
- npm shrinkwrap
Eloy Lafuente (stronk7) [Thu, 13 Sep 2018 22:21:57 +0000 (00:21 +0200)]
MDL-63346 travis: GRUNT job immune to npm-shrinkwrap.json changes
When upgrading nodejs/npm versions, there are modifications to
different packages or to the format of the npm-shrinkwrap.json
file. Usually that leads to failed jobs untill the bundled file
is updated.
To avoid that, we just ignore the npm-shrinkwrap.json file, so
just the REAL modifications in css/js/ignore stuff are considered.
Mihail Geshoski [Thu, 13 Sep 2018 06:44:26 +0000 (14:44 +0800)]
MDL-61908 privacy: Fix heading in data privacy pages
Mihail Geshoski [Tue, 18 Sep 2018 07:06:23 +0000 (15:06 +0800)]
MDL-63109 privacy: Add behat tests
Mihail Geshoski [Thu, 30 Aug 2018 05:48:00 +0000 (13:48 +0800)]
MDL-63109 privacy: Fix the initialisation of the policy acceptance modal
Jun Pataleta [Mon, 20 Aug 2018 06:36:28 +0000 (14:36 +0800)]
MDL-63184 tool_dataprivacy: Ensure PO roles have correct capability
Mihail Geshoski [Mon, 10 Sep 2018 07:33:02 +0000 (15:33 +0800)]
MDL-63116 privacy: Add bulk actions to the privacy request table
Mihail Geshoski [Tue, 4 Sep 2018 05:08:12 +0000 (13:08 +0800)]
MDL-63116 privacy: Add behat tests
Mihail Geshoski [Fri, 24 Aug 2018 07:47:55 +0000 (15:47 +0800)]
MDL-63116 privacy: Add unit tests
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 09:06:45 +0000 (11:06 +0200)]
weekly release 3.3.8+
Eloy Lafuente (stronk7) [Thu, 13 Sep 2018 17:01:09 +0000 (19:01 +0200)]
MDL-61169 iplookup: Change to another block still remaining to SF
Jun Pataleta [Tue, 11 Sep 2018 08:57:40 +0000 (16:57 +0800)]
MDL-62554 tool_dataprivacy: Integration review fixes
Michael Hawkins [Wed, 12 Sep 2018 09:26:03 +0000 (17:26 +0800)]
MDL-63009 tool_dataprivacy: Added site name/link to request emails
Jun Pataleta [Mon, 10 Sep 2018 03:52:36 +0000 (11:52 +0800)]
MDL-62554 tool_dataprivacy: Bump version for new WS functions