7127 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
fe0ce39b8f NOBUG: Fixed SVG browser compatibility 2018-04-20 23:53:52 +02:00
David Monllao
05564a4cc6 MDL-61899 tool_dataprivacy: Add missing get_role_users fields 2018-04-20 17:46:49 +02:00
David Monllao
8b451d25f2 MDL-61899 tool_dataprivacy: Separate the retention period in 2 css selectors 2018-04-20 17:08:32 +02:00
Eloy Lafuente (stronk7)
837b937511 Merge branch 'MDL-61899_master-fixsubjectscope' of git://github.com/dmonllao/moodle 2018-04-20 10:46:36 +02:00
David Monllao
5a3280a18f MDL-61899 tool_dataprivacy: Replace wrong function for subject scope 2018-04-20 10:27:05 +02:00
Mark Sharp
c3002d2c3f MDL-61899 tool_dataprivacy: Fix undefined property error 2018-04-20 14:38:51 +08:00
Andrew Nicols
9fe8d2e335 Merge branch 'MDL-61892-master' of git://github.com/zig-moodle/moodle 2018-04-20 11:47:54 +08:00
Zig Tan
de33cd0cab MDL-61892 admin/tools: Implement null privacy providers 2018-04-20 11:41:20 +08:00
Jun Pataleta
329241335f MDL-61899 tool_dataprivacy: Use default parameters for get_role_users()
* To avoid failures in Oracle.
2018-04-20 11:26:03 +08:00
Eloy Lafuente (stronk7)
00743c0929 Merge branch 'MDL-61975-master' of git://github.com/zig-moodle/moodle 2018-04-20 02:04:18 +02:00
Andrew Nicols
13fd4703f3 Merge branch 'MDL-61945-master' of git://github.com/cescobedo/moodle 2018-04-19 11:50:31 +08:00
David Monllao
baf8ff9cbf Merge branch 'MDL-61716-master' of git://github.com/mastnym/moodle 2018-04-18 18:24:10 +02:00
David Monllao
99775a9f22 Merge branch 'MDL-62018-master' of git://github.com/sarjona/moodle 2018-04-18 18:23:32 +02:00
Jun Pataleta
ba5b59c0af MDL-61899 tool_dataprivacy: Fixes during integration review
* Disable tool by default.
* Add format columns for 'comments' and 'dpocomment' fields in
tool_dataprivacy_request table.
* Use data request exporter when sending email notification to DPO
2018-04-18 18:23:13 +02:00
David Monllao
bb4030ff27 MDL-61899 tool_dataprivacy: Fix cibot complains 2018-04-18 18:22:58 +02:00
Jun Pataleta
0d41df6b5a MDL-61899 tool_dataprivacy: Create name-description exporter
Create exporter for lawful bases that contain name and description pairs
2018-04-18 18:22:49 +02:00
Jun Pataleta
0462786a78 MDL-61899 tool_dataprivacy: Unit test fixes 2018-04-18 18:22:41 +02:00
David Monllao
042729af22 MDL-61899 tool_dataprivacy: Remove namespace alias
Includes MDL-61935
2018-04-18 18:22:15 +02:00
Jun Pataleta
d21f89cb06 MDL-61899 tool_dataprivacy: Fix table column width distribution
Includes MDL-61935
2018-04-18 18:20:12 +02:00
Jun Pataleta
5750d233f9 MDL-61899 tool_dataprivacy: Add lawful bases fields
Includes MDL-61935

* New fields when defining purposes that let the Privacy Officer
set the lawful bases of personal data collection and reason(s)
for the exemption of prohibition from processing sensitive personal
data.
2018-04-18 18:19:17 +02:00
David Monllao
e60058ff98 MDL-61899 tool_dataprivacy: Delete user after deletion request or expired context
Includes MDL-61955
2018-04-18 18:18:47 +02:00
Jun Pataleta
2076d34b8e MDL-61899 tool_dataprivacy: Implement data export for the tool 2018-04-18 18:18:38 +02:00
Jun Pataleta
c504ba4332 MDL-61899 tool_dataprivacy: Helper class for the tool
* Create helper functions for getting the string names of data
request types and statuses.
2018-04-18 18:18:17 +02:00
David Monllao
57a59d6c5a MDL-61899 tool_dataprivacy: Remove upgrade.php and add @since 2018-04-18 18:18:09 +02:00
David Monllao
aaae3c8c82 MDL-61899 tool_dataprivacy: Removing unnecessary dependencies
Includes MDL-61489
2018-04-18 18:17:42 +02:00
Adrian Greeve
c2aad2188a MDL-61899 tool_dataprivacy: Addition of js file and misc. updates.
Includes MDL-61489
2018-04-18 18:17:10 +02:00
Barbara Ramiro
eb6b4c2368 MDL-61899 tool_dataprivacy: Styling of the second registry.
Includes MDL-61489
2018-04-18 18:16:40 +02:00
Adrian Greeve
d6ff9edd4f MDL-61899 tool_dataprivacy: Addition of plugin compliance registry.
Includes MDL-61489
2018-04-18 18:15:40 +02:00
David Monllao
e95f0def95 MDL-61899 tool_dataprivacy: Fix reference to unexisting method
All credit goes to Marcel Behrmann
2018-04-18 18:15:31 +02:00
Jun Pataleta
6f094d4940 MDL-61899 tool_dataprivacy: Fetch context ids to update then update
Fetch the context ids to be updated first before performing the update
to the contextlist_context table to avoid using subquery that causes
cross DB compatibility issues.
2018-04-18 18:15:19 +02:00
Jun Pataleta
cb775057fd MDL-61899 tool_dataprivacy: Additional fixes to tool
Fixes applied from the following issues:
1. MDL-61618
2. MDL-61901
2018-04-18 18:15:09 +02:00
David Monllao
a8a6905039 MDL-61899 tool_dataprivacy: Refined patch fixing cibot complains 2018-04-18 18:14:59 +02:00
David Monllao
5efc1f9e64 MDL-61899 tool_dataprivacy: Subject access requests tool
This commit is composed of different issues, most of them under
MDL-61306:
- MDL-61888, MDL-61785, MDL-61830, MDL-61874, MDL-59720,
  MDL-61486, MDL-61697, MDL-61798, MDL-61685, MDL-61682,
  MDL-61684, MDL-61618, MDL-61681, MDL-61680, MDL-61487,
  MDL-61499, MDL-61500, MDL-61362 and MDL-59718

Contributions to this patch by:
- Jun Pataleta
- David Monllao
- Andrew Nicols
- Adrian B. Greeve
- Jake Dallimore
- Sara Arjona
2018-04-18 18:14:23 +02:00
Andrew Nicols
7d0fcb5c86 MDL-61864 tool_policy: Fix whitespace issues 2018-04-18 12:16:53 +08:00
Andrew Nicols
a8b35f9ccd Merge branch 'wip-MDL-61864-master' of git://github.com/marinaglancy/moodle 2018-04-18 12:01:29 +08:00
Andrew Nicols
6979cf56e2 Merge branch 'MDL-56511-master' of git://github.com/andrewnicols/moodle 2018-04-18 09:35:29 +08:00
Bas Brands
3ec69c2ece MDL-56511 theme_boost: Update to Bootstrap 4 stable
Behat fixes by David Monllao <davidm@moodle.com>
    - Blocks
    - Modals
    - Messaging styling
    - Breadcrumb
    - Pagination
    - Course & categories management
2018-04-18 09:31:53 +08:00
cescobedo
857e34877f MDL-61945 core_register: Implement Privacy API 2018-04-17 08:23:28 +02:00
Marina Glancy
d5cfbc918f MDL-61864 tool_policy: cancel button when agreeing to policies
Show cancel button during signup only and do not show when user is logged
in and has to accept changed policies

When cancel button is clicked redirect to the site homepage
2018-04-17 14:19:19 +08:00
Marina Glancy
432a90f1ed MDL-61868 tool_policy: export agreements in privacy api
Part of MDL-61864
2018-04-17 14:19:16 +08:00
Andrew Nicols
ae9167bb3b Merge branch 'MDL-61977-master' of git://github.com/zig-moodle/moodle 2018-04-17 11:42:39 +08:00
Andrew Nicols
f8ad868fad Merge branch 'm35_MDL-60923_New_BackupDir_Setting-v2' of https://github.com/scara/moodle 2018-04-17 09:44:44 +08:00
Matteo Scaramuccia
ef844148a9 MDL-60923 backup: Added $CFG->backuptempdir
The new setting will allow to host the temporary backup files
into a specific target directory. Defaults to '$CFG->tempdir/backup'.

Calling make_backup_temp_directory() checks that the required sub-directory
will be properly created under the new target directory.
2018-04-16 23:50:28 +02:00
David Monllao
99719b6e89 Merge branch 'MDL-39035-master' of https://github.com/lucaboesch/moodle 2018-04-16 12:57:34 +02:00
Sara Arjona
24966a26c7 MDL-61868 tool_policy: Implement privacy API
Part of MDL-61864
2018-04-16 11:30:14 +08:00
Sara Arjona
4e9e2b0a0a MDL-61844 policy: Avoid to accept new policies during current session
Avoid redirection for accepting new policies during the manager user session
when $user->policyagreed=0 and he/she activates the first policy for logged in users.

Part of MDL-61864
2018-04-16 11:30:14 +08:00
Sara Arjona
3f9b276b97 MDL-61866 tool_policy: Add readme_moodle.txt file and reorganise styles.css
- Review changes made in jquery-eu-cookie-law-popup.js, for minimising them
(add eslint-disable to disable checking)
- Reorganise styles.css to separate CSS code from jquery-eu-cookie-law-popup
to policy one.
- Create readme_moodle.txt file, with instructions for updating the
jquery-eu-cookie-law-popup lib.

Part of MDL-61864
2018-04-16 11:30:14 +08:00
Marina Glancy
cc3790d0ea MDL-61864 tool_policy: function can_delete_version
review TODOs in code, make sure they are either removed or tracker issues are created
2018-04-16 11:30:13 +08:00
Marina Glancy
673b598109 MDL-61864 tool_policy: coding style fixes 2018-04-16 11:30:13 +08:00
Mihail Geshoski
92a03f69d2 MDL-61864 tool_policy: accept policies on signup 2018-04-16 11:30:13 +08:00