Commit graph

20245 commits

Author SHA1 Message Date
Helen Foster
a5591614d5 MDL-62354 lang: Merge English strings from the en_fix language pack
Significant string changes:

* publishstate_help, core_notes - including GDPR guidance
* contactdataprotectionofficer_desc, tool_dataprivacy - removing mention
  of link on privacy policy page as it is not yet implemented
2018-05-09 22:39:21 +02:00
Marina Glancy
468c8d39c3 MDL-62351 privacy: check that subsystem/plugintype exist 2018-05-09 17:37:31 +08:00
Marina Glancy
7cc21cb7bd MDL-61976 mod_wiki: implement privacy API 2018-05-09 17:26:52 +08:00
David Mudrák
59a8a5c0b8 MDL-61905 workshop: Implement privacy API in grading evaluators
Standard workshop ships with only one evaluation method and that one
holds no personal data.
2018-05-09 10:01:50 +02:00
David Mudrák
4b8d462ee6 MDL-61905 workshop: Implement privacy API in assessment allocators
Assessment allocation methods normally do not store any personal data.
Their duty is to create assessment records that are then exported by the
workshop core itself.

Still, some allocators (such as the Manual allocation) can store certain
personal data such as user preferences.
2018-05-09 10:01:50 +02:00
David Mudrák
fe745a0a84 MDL-61905 workshop: Implement privacy API in grading strategies
On low level, standard grading strategies subplugins do not store
personal themselves.  They make use of the grades storage provided by
the workshop itself.  What they do contain though is the information
about how the assessment forms were defined. And they are also
responsible for correctly interpreting the values in the central grades
table.

Grading strategies fulfil the contract with the parent workshop module
by implementing the workshopform_provider interface. That gives them a
chance to export data about the assessment form to each of exported
assessment.
2018-05-09 10:01:50 +02:00
David Mudrák
84a57322c2 MDL-61905 workshop: Implement the privacy API in the workshop core
Workshop module stores personal data in its tables, via user
preference and via core_files and core_plagiarism subsystems.

When exporting the data, we export not only data created by users
themselves (such as their submissions and provided peer-assessments) but
also all relevant data that can (or must) be used to interpret created
content and evaluate the user's performance and skills.

On the other hand, when deleting data at user's request, we delete only
those data that do not affect other users' performance evaluation. The
reasoning is that one's right for privacy does not overweight someone
else's right for fair assessment. For that reason, we can't fully delete
whole provided peer-assessments, for example. Because they are used in
cross-comparison and grading evaluation of all other peers who assessed
the same submission. So instead, we replace provided texts but still
keep the original record.

Workshop defines the interface for its grading strategy subplugins to
allow them attach personal data under their control to the exported
structures.
2018-05-09 10:01:50 +02:00
Andrew Nicols
3e95e09b67 MDL-61309 mod_forum: Implement privacy deletion 2018-05-09 14:04:13 +08:00
Andrew Nicols
caef6489ae MDL-61309 mod_forum: Implement the Privacy API 2018-05-09 14:04:12 +08:00
Simey Lameze
fe80a5ab66 MDL-61994 mod_glossary: add unit tests for provider 2018-05-09 10:57:42 +08:00
Simey Lameze
a92bbd867d MDL-61994 mod_glossary: implement privacy providers 2018-05-09 10:57:13 +08:00
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Marina Glancy
ae3b1c0048 MDL-61937 mod_data: fix commentarea name 2018-05-08 14:39:23 +08:00
Eloy Lafuente (stronk7)
d0ce3439fe Merge branch 'wip-MDL-61876-fix' of https://github.com/marinaglancy/moodle 2018-05-07 19:15:28 +02:00
Andrew Nicols
b175d43408 Merge branch 'MDL-62169-master' of git://github.com/zig-moodle/moodle 2018-05-07 17:24:26 +08:00
Zig Tan
966dd82d90 MDL-62169 mod_assignment: Improved phpunit test reliability 2018-05-07 16:32:49 +08:00
Andrew Nicols
e9e2ef7da7 Merge branch 'MDL-62169-master' of git://github.com/zig-moodle/moodle 2018-05-07 14:12:06 +08:00
Zig Tan
0fed66ad0f MDL-62169 mod_assignment: Implemented privacy providers 2018-05-07 13:38:56 +08:00
Marina Glancy
8852faea91 MDL-61876 modules: cm_info::set_content can accept formatted text
Allow modules to apply format_text() on user input before calling cm_info::set_content(). This is useful for
modules that add interactive content (for example, JS enhanced folder tree). Otherwise all javascript would
be removed if $CFG->forceclean is enabled.
2018-05-07 11:27:56 +08:00
Marina Glancy
b03c67e978 MDL-61876 mod_data: call format_text on template before replacement
Otherwise when $CFG->forceclean is enabled all search input fields are stripped out
2018-05-07 11:21:06 +08:00
Jun Pataleta
97f1c1f424 Merge branch 'MDL-61937-master-fix' of git://github.com/andrewnicols/moodle 2018-05-07 09:38:10 +08:00
Andrew Nicols
ea80f967b8 MDL-61937 mod_data: Correct rating export args in privacy 2018-05-07 09:28:54 +08:00
David Monllao
62c9d0877a MDL-61937 mod_data: Target the correct area 2018-05-04 11:55:25 +02:00
Jake Dallimore
209f6e1eda Merge branch 'MDL-61407-master' of git://github.com/andrewnicols/moodle 2018-05-04 11:50:26 +08:00
Marina Glancy
ab803d697c MDL-61937 mod_data: implement privacy provider 2018-05-04 11:22:15 +08:00
Marina Glancy
a7a6be90c8 MDL-61937 mod_data: generator for all field types 2018-05-04 11:22:14 +08:00
cescobedo
ed54f4e11e MDL-61937 datafield: Add privacy implementation for all datafield 2018-05-04 11:22:13 +08:00
Jun Pataleta
66156ad245 Merge branch 'MDL-62151-master' of git://github.com/bmbrands/moodle 2018-05-04 10:55:50 +08:00
Jun Pataleta
c166b700d8 Merge branch 'MDL-61194-master' of git://git.cameron1729.xyz/moodle 2018-05-03 17:07:57 +08:00
Cameron Ball
23fe1e2bed
MDL-61194 assignfeedback_editpdf: Check if we can convert online text
This patch adds a check to make sure there is a converter available that
will be able to handle html->pdf conversion before adding onlinetext
submissions to the list of files to combine.
2018-05-03 16:44:27 +08:00
Andrew Nicols
09a9b8f1ac MDL-61407 quizaccess: Add null_writer implementations 2018-05-03 16:14:38 +08:00
Andrew Nicols
2e85118fb3 MDL-61407 quiz: Add reports for quiz 2018-05-03 16:14:37 +08:00
Andrew Nicols
4c729982c7 MDL-61407 mod_quiz: Add initial privacy implementation 2018-05-03 16:14:36 +08:00
David Monllao
205994bafe Merge branch 'MDL-62059-master' of git://github.com/rezaies/moodle 2018-05-03 10:08:09 +02:00
Bas Brands
5e92cf33c5 MDL-62151 Theme boost: mod_chat styles 2018-05-03 09:34:40 +02:00
David Mudrák
ea2ede2cf6 MDL-61905 workshop: Drop the old 1.x era tables
These tables may still contain relics of old personal data if the site
was installed before Moodle 2.0. We do not need these tables any more.
Following the "privacy by design" principles, we are dropping them now.
2018-05-02 10:35:01 +02:00
Andrew Nicols
475fddc99a Merge branch 'MDL-61920_master' of git://github.com/markn86/moodle 2018-05-02 12:52:50 +08:00
Andrew Nicols
2a17a616a3 Merge branch 'MDL-62149-master' of git://github.com/ryanwyllie/moodle 2018-05-02 07:39:30 +08:00
Adrian Greeve
bfb57d2c16 MDL-61308 assignsubmission_comments: Unit test ordering fix. 2018-05-01 12:21:47 +02:00
Mark Nelson
3467e8ce3d MDL-61920 mod_lti: implement privacy provider 2018-04-30 18:43:19 +08:00
Mark Nelson
13fadc8767 MDL-61920 ltiservice_toolsettings: implement privacy provider 2018-04-30 17:08:00 +08:00
Mark Nelson
897a6e824f MDL-61920 ltiservice_toolproxy: implement privacy provider 2018-04-30 17:08:00 +08:00
Mark Nelson
583f84d7cb MDL-61920 ltiservice_profile: implement privacy provider 2018-04-30 17:08:00 +08:00
Mark Nelson
03d6e06400 MDL-61920 ltiservice_memberships: implement privacy provider 2018-04-30 17:07:59 +08:00
Mark Nelson
2b3c4538f1 MDL-61920 ltiservice_gradebookservices: implement privacy provider 2018-04-30 17:07:59 +08:00
Ryan Wyllie
8f0f0a5903 MDL-62149 quiz: include tag ids in random question link 2018-04-30 17:03:03 +08:00
Shamim Rezaie
c287f0fdd9 MDL-62059 mod_book: Implement null provider for mod_book 2018-04-30 16:14:33 +10:00
Andrew Nicols
11dc37dacc Merge branch 'MDL-61959-master' of git://github.com/sarjona/moodle 2018-04-30 10:16:23 +08:00
Andrew Nicols
3d110a5f6f MDL-61308 mod_assign: Whitespace fix 2018-04-30 09:27:12 +08:00
Andrew Nicols
1c42b1d6ed Merge branch 'wip-MDL-61308-master' of git://github.com/abgreeve/moodle 2018-04-30 09:15:25 +08:00