Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backup/moodle2/backup_etherpadlite_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ protected function define_structure() {
// The HTML content of the main pad.
$html = $client->get_html($padid);
$text = $client->get_text($padid);
$data->html = $html->html;
$data->text = $text->text;
$data->html = $html;
$data->text = $text;
$content->set_source_array(array($data));
}
}
Expand Down
39 changes: 39 additions & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Privacy Subsystem implementation for mod_etherpadlite.
*
* @package mod_etherpadlite
* @copyright Catalyst IT Canada LTD
* @author Karl Michael Reyes <[email protected]>
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_etherpadlite\privacy;

class provider implements \core_privacy\local\metadata\null_provider {

/**
* Get the language string identifier with the component's language
* file to explain why this plugin stores no data.
*
* @return string
*/
public static function get_reason() : string {
return 'privacy:metadata';
}
}
1 change: 1 addition & 0 deletions lang/en/etherpadlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
$string['padnamedesc'] = 'A general padname can be helpful, if you want to find all pads from this Moodle installation on your etherpadlite server. Pad groups are generated autmatically.';
$string['pluginadministration'] = 'Etherpad Lite administration';
$string['pluginname'] = 'Etherpad Lite';
$string['privacy:metadata'] = 'Ethepadlite plugin does not store any personal data.';
$string['resetting_data'] = 'Reset Etherpad Lite data';
$string['responsiveiframe'] = 'Responsive iFrame';
$string['responsiveiframedesc'] = 'With this set, the iFrame for the Etherpad Lite editor will fit nicely into a responsive Moodle theme and will scale its width according to the browser window. If not, the Etherpad Lite editor will have a fixed width which basically adapts to the width of the browser window at page load time, but will not scale when the window is resized.';
Expand Down