Commit graph

88825 commits

Author SHA1 Message Date
Jun Pataleta
53036a6886 Merge branch 'MDL-62025_master' of git://github.com/markn86/moodle 2018-04-19 15:50:09 +08:00
Andrew Nicols
0442789588 MDL-62047 core_userkey: Add privacy implementation 2018-04-19 15:30:10 +08:00
Mark Nelson
a4f994f332 MDL-62025 mod_choice: add missing join on modules table 2018-04-19 15:17:43 +08:00
Andrew Nicols
2e2c66d84a Merge branch 'MDL-61568-master' of git://github.com/zig-moodle/moodle 2018-04-19 15:00:16 +08:00
Andrew Nicols
7f2e2bfda9 Merge branch 'MDL-61970-master' of git://github.com/FMCorz/moodle 2018-04-19 14:52:04 +08:00
Andrew Nicols
54dcd0146d Merge branch 'MDL-61969-master' of git://github.com/mihailges/moodle 2018-04-19 14:47:20 +08:00
Jun Pataleta
08a1f3b9f9 Merge branch 'MDL-61878-master' of git://github.com/mihailges/moodle 2018-04-19 14:40:12 +08:00
Zig Tan
202ec23a1f MDL-61568 repository_flickr: Fix oauth secret export 2018-04-19 14:33:26 +08:00
Ryan Wyllie
1c26b3143d MDL-61138 mod_quiz: add question preview to random question modal 2018-04-19 13:51:41 +08:00
Ryan Wyllie
6768729e08 MDL-61138 question: external function to get random question set 2018-04-19 13:51:40 +08:00
Mihail Geshoski
700029fca5 MDL-61878 fileconverter_googledrive: Add privacy files and unit tests 2018-04-19 13:16:21 +08:00
Frédéric Massart
b82e600723 MDL-61970 mod_survey: Do not assume context passed is one of survey 2018-04-19 13:10:22 +08:00
Mark Nelson
f611c727f3 MDL-62048 core_privacy: extend test to ensure table exists 2018-04-19 13:00:15 +08:00
Andrew Nicols
81626948c7 MDL-62047 core_userkey: Define component path 2018-04-19 12:46:52 +08:00
Andrew Nicols
13fd4703f3 Merge branch 'MDL-61945-master' of git://github.com/cescobedo/moodle 2018-04-19 11:50:31 +08:00
Andrew Nicols
25d9974ac6 Merge branch 'MDL-61948-master' of git://github.com/mihailges/moodle 2018-04-19 11:38:04 +08:00
Andrew Nicols
305f4f69eb Merge branch 'MDL-61836-master' of git://github.com/FMCorz/moodle 2018-04-19 11:19:07 +08:00
Andrew Nicols
f13e5f7377 Merge branch 'MDL-61970-master' of git://github.com/FMCorz/moodle 2018-04-19 11:12:35 +08:00
Eloy Lafuente (stronk7)
3271e83c6e Merge branch 'MDL-61614-master' of git://github.com/rezaies/moodle 2018-04-18 23:13:07 +02:00
David Monllao
f5779bb101 MDL-56511 theme_boost: Fixing minor behat failures
Related to MDL-56511 markup changes.
2018-04-18 18:24:20 +02: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
37543ce51e MDL-61958 rss: Add rss test suite 2018-04-18 18:23:59 +02:00
David Monllao
8d3238d858 Merge branch 'MDL-61958-master' of git://github.com/sarjona/moodle 2018-04-18 18:23:48 +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
c5572a933a MDL-61899 core: Add too_dataprivacy to core plugins 2018-04-18 18:14:43 +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
sam marshall
73fd56663b MDL-61102 core_search: Improve performance by reducing schema checks 2018-04-18 16:24:51 +01:00
David Mudrák
7a429a160d MDL-62003 privacy: Fix reported coding style violation 2018-04-18 17:10:18 +02:00
David Mudrák
3ecbf154db MDL-62003 privacy: Consistently export files into _files folder
There were two major issues with the previous implementation:

* The exported folder name was localised so it was "Files" or "Soubory"
  etc depending on the current language. Yet URLs referring to the files
  in that folder were always rewritten with hard-coded English "files".
* Files from all fileareas and itemids were all exported to a single
  target directory. So if there were two files with the same name being
  exported from multiple areas (such as submission_content and
  submission_attachment in the workshop module), one would overwrite
  another.

The patch addresses these issues as follows:

* To unify the folder name and also to minimise the risk of conflict
  with a subcontext folder, we now always export stored files under
  "_files" folder.
* Under that folder, there is a subdirectory with the area name and then
  eventually another subdirectory with non-zero itemid. And there
  finally the stored_file is exported to under its own file path.
2018-04-18 17:10:12 +02:00
David Monllao
b5cca5ae5a Merge branch 'MDL-61796-master' of https://github.com/lucaboesch/moodle 2018-04-18 15:20:19 +02:00
David Monllao
b1e5899c25 Merge branch 'MDL-38099-master' of https://github.com/lucaboesch/moodle 2018-04-18 14:14:20 +02:00