122 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
7aeb85770f Merge branch 'MDL-61875-master' of https://github.com/snake/moodle 2018-04-10 13:03:27 +02:00
Jake Dallimore
6e6ba82305 MDL-61875 core_privacy: update the core_component_list in the manager 2018-04-10 08:44:42 +08:00
Andrew Nicols
d043aa071b MDL-61861 privacy: Add unit tests to check all providers. 2018-04-08 14:12:42 +08:00
Andrew Nicols
5b18ae4a8a MDL-61828 core_privacy: Support proper nesting in test trees 2018-04-08 13:35:09 +08:00
Andrew Nicols
fa9243cd85 MDL-61743 core_privacy: Reduce context specificty
Deletion is called for a context against all components, not just
modules.
2018-04-06 08:57:24 +02:00
Andrew Nicols
f9d8a27f2c Merge branch 'MDL-61692-master-2' of https://github.com/snake/moodle 2018-04-04 11:37:09 +08:00
Jake Dallimore
19ca0aaa6b MDL-61692 core_privacy: add privacyfields to link_ methods
Some subsystems are like conduits, passing data along to plugins which,
in turn, send the data externally. Only the component linking to (using)
the subsystem will know what data it is sending along to the eventual
external system, so should be able to specify this at the time of
linking. The same goes for plugintypes.
2018-04-04 10:00:39 +08:00
Eloy Lafuente (stronk7)
f9ee170a9b Merge branch 'MDL-61703-master' of git://github.com/andrewnicols/moodle 2018-04-04 00:31:11 +02:00
Eloy Lafuente (stronk7)
dfbcdb3ec2 Merge branch 'MDL-61751-master' of git://github.com/andrewnicols/moodle 2018-04-04 00:23:44 +02:00
Jake Dallimore
f16b871fe2 Merge branch 'wip-MDL-61815-master' of git://github.com/abgreeve/moodle 2018-04-03 17:53:13 +08:00
Adrian Greeve
0f6fb93653 MDL-61815 core_privacy: Fix for metadata types and new method.
Minor fix for subsystem_link and plugintype_link.
Addition of get_null_provider_reason in the manager class.
2018-04-03 12:05:18 +08:00
Andrew Nicols
6fb1fd3183 MDL-61751 core_privacy: Correct test return 2018-04-01 13:34:44 +08:00
Andrew Nicols
214b9e89d6 MDL-61801 core_privacy: Correct bug in unit test provider 2018-03-29 22:36:06 +08:00
Andrew Nicols
3fb9ad0ea7 MDL-61703 privacy: Allow writing of user preferences at any context 2018-03-29 15:28:13 +08:00
Marina Glancy
1727c939ba MDL-61477 admin: sitepolicy handler API
- Define sitepolicy handler manager class, base class and the core handler
- Allow to set a plugin as sitepolicyhandler that implements the sitepolicy API
- Modify web services to return information from the 3rd party handler instead of core if needed
2018-03-15 11:32:55 +08:00
Andrew Nicols
90cac7c049 MDL-61307 core_privacy: Add unit test to check installed providers 2018-03-14 09:31:30 +08:00
Andrew Nicols
e98f0cf7ff MDL-61307 privacy: Rename deletion functions 2018-03-13 08:48:13 +08:00
Andrew Nicols
70f0923499 MDL-61307 core: Remove deletion_criteria 2018-03-13 08:48:12 +08:00
Andrew Nicols
d49f9f280d MDL-61307 core_privacy: Implementation of itself 2018-03-09 12:24:37 +08:00
Andrew Nicols
65774d72b1 MDL-61307 core_privacy: Add legacy polyfill for contrib plugins
This legacy polyfill allows plugin developers who release a single
branch to work with multiple versions of Moodle to support the API in
both Moodle 3.3 with PHP 5.6, and later versions.
2018-03-09 12:24:37 +08:00
Jake Dallimore
0f59848d29 MDL-61307 core_privacy: Add the privacy manager 2018-03-09 12:24:37 +08:00
Andrew Nicols
81f1e31a51 MDL-61307 core_privacy: Define and test providers 2018-03-09 10:01:18 +08:00