Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
43781fe5
Commit
43781fe5
authored
7 years ago
by
Alexander Bias
Browse files
Options
Downloads
Patches
Plain Diff
Implement Privacy API
parent
09ef1237
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
classes/privacy/provider.php
+47
-0
47 additions, 0 deletions
classes/privacy/provider.php
lang/en/theme_boost_campus.php
+3
-0
3 additions, 0 deletions
lang/en/theme_boost_campus.php
version.php
+1
-1
1 addition, 1 deletion
version.php
with
52 additions
and
1 deletion
CHANGES.md
+
1
−
0
View file @
43781fe5
...
@@ -6,6 +6,7 @@ Changes
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
### Unreleased
*
2018-05-16 - Implement Privacy API.
*
2018-04-25 - Removed build_action_menu_from_navigation in core_renderer as MDL-58174 is integrated.
*
2018-04-25 - Removed build_action_menu_from_navigation in core_renderer as MDL-58174 is integrated.
*
2018-04-25 - Fixed bug with accessing courses with guest login. Thanks to Benedikt Schneider for reporting and pointing to the solution.
*
2018-04-25 - Fixed bug with accessing courses with guest login. Thanks to Benedikt Schneider for reporting and pointing to the solution.
...
...
This diff is collapsed.
Click to expand it.
classes/privacy/provider.php
0 → 100644
+
47
−
0
View file @
43781fe5
<?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/>.
/**
* Theme Boost Campus - Privacy provider
*
* @package theme_boost_campus
* @copyright 2018 Alexander Bias, Ulm University <alexander.bias@uni-ulm.de>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace
theme_boost_campus\privacy
;
defined
(
'MOODLE_INTERNAL'
)
||
die
();
/**
* Privacy Subsystem implementing null_provider.
*
* @package theme_boost_campus
* @copyright 2018 Alexander Bias, Ulm University <alexander.bias@uni-ulm.de>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
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'
;
}
}
This diff is collapsed.
Click to expand it.
lang/en/theme_boost_campus.php
+
3
−
0
View file @
43781fe5
...
@@ -191,3 +191,6 @@ $string['showhintcourseguestaccesslink'] = 'To have full access to the course, y
...
@@ -191,3 +191,6 @@ $string['showhintcourseguestaccesslink'] = 'To have full access to the course, y
$string
[
'showhintcoursehiddengeneral'
]
=
'This course is currently <strong>hidden</strong>. Only enrolled teachers can access this course when hidden.'
;
$string
[
'showhintcoursehiddengeneral'
]
=
'This course is currently <strong>hidden</strong>. Only enrolled teachers can access this course when hidden.'
;
$string
[
'showhintcoursehiddensettingslink'
]
=
'You can change the visibility in the <a href="{$a->url}">course settings</a>.'
;
$string
[
'showhintcoursehiddensettingslink'
]
=
'You can change the visibility in the <a href="{$a->url}">course settings</a>.'
;
$string
[
'switchroleto'
]
=
'Switch role to'
;
$string
[
'switchroleto'
]
=
'Switch role to'
;
// PRIVACY.
$string
[
'privacy:metadata'
]
=
'The Boost Campus theme does not store any personal data about any user.'
;
This diff is collapsed.
Click to expand it.
version.php
+
1
−
1
View file @
43781fe5
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$plugin
->
component
=
'theme_boost_campus'
;
$plugin
->
component
=
'theme_boost_campus'
;
$plugin
->
version
=
20180
305
00
;
$plugin
->
version
=
20180
516
00
;
$plugin
->
release
=
'v3.4-r4'
;
$plugin
->
release
=
'v3.4-r4'
;
$plugin
->
requires
=
2017111300
;
$plugin
->
requires
=
2017111300
;
$plugin
->
maturity
=
MATURITY_STABLE
;
$plugin
->
maturity
=
MATURITY_STABLE
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment