docs updates

This commit is contained in:
Wyatt Johnson
2018-05-02 13:04:17 -06:00
parent cb9b02c180
commit 0159918049
13 changed files with 136 additions and 12 deletions
+3 -1
View File
@@ -41,7 +41,7 @@ relative_link: false
future: true
highlight:
enable: false
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
@@ -114,6 +114,8 @@ sidebar:
url: /integrating/styling-css/
- title: Translations and i18n
url: /integrating/translations-i18n/
- title: GDPR Compliance
url: /integrating/gdpr/
- title: Product Guide
children:
- title: How Talk Works
+43
View File
@@ -0,0 +1,43 @@
---
title: GDPR Compliance
permalink: /integrating/gdpr/
---
In order to facilitate compliance with the
[EU General Data Protection Regulation (GDPR)](https://www.eugdpr.org/), you
can enable the following plugins:
- [talk-plugin-auth](/talk/plugin/talk-plugin-auth) - to facilitate username and password changes
- [talk-plugin-local-auth](/talk/plugin/talk-plugin-local-auth) - to facilitate email changes and email association
- [talk-plugin-profile-data](/talk/plugin/talk-plugin-profile-data) - to facilitate account download and deletion
Even if you don't reside in a location where GDPR will apply, it is recommended
to enable these features anyways to provide your users with control over their
own data.
## Custom Authentication Solutions
As many of the newsrooms who have integrated Talk have followed our guides on
[Integrating Authentication](/talk/integrating/authentication/), we have also
provided tools for those newsrooms to integrate GDPR features into their
existing workflows.
### Account Data
Through the [talk-plugin-profile-data](/talk/plugin/talk-plugin-profile-data)
plugin we allow users to download and delete their account data easily. For
custom integrations, this isn't always possible, so we instead provide some
GraphQL mutations designed to allow you to integrate it into your existing user
interfaces or exports.
- `downloadUser(id: ID!)` - lets you grab the direct link to download a users
account in a zip format. From there, you can integrate it into your existing
data export or simply proxy it to the user to allow them to download it
elsewhere in your UI.
- `delUser(id: ID!)` - lets you delete the specified user
**Note: These mutations require an administrative token**
If you would prefer to write your own user interfaces or integrate it into your
own, you can disable the client plugin for [talk-plugin-profile-data](/talk/plugin/talk-plugin-profile-data)
but keep the server side plugin active (See [Server and Client Plugins](/talk/plugins/#server-and-client-plugins) for more information).
+2
View File
@@ -7,11 +7,13 @@
tags:
- default
- auth
- gdpr
- name: talk-plugin-local-auth
description: Enables email and password based authentication.
tags:
- default
- auth
- gdpr
- name: talk-plugin-author-menu
description: Enables the comment author name plugin area.
tags:
+15 -4
View File
@@ -9,11 +9,16 @@ functionality. We provide methods to inject behavior into the server side and
the client side application to affect different parts of the application
life cycle.
## Recipes
## Server and Client Plugins
Recipes are plugin templates provided by the Coral Core team. Developers can use
these recipes to build their own plugins. You can find all the Talk recipes
here: [github.com/coralproject/talk-recipes](https://github.com/coralproject/talk-recipes/).
When you're adding a plugin to Talk, you can specify it in the `client` and/or
the `server` section. If you only want to enable the server side component of a
plugin, you simply only specify the plugin in the `server` section. If you only
want the client side plugin, the `client` section.
Plugins listed in the [Plugins Directory](/talk/plugins-directory/) will
indicate if they have/support a client/server plugin, and should be activated
accordingly.
## Plugin Registration
@@ -117,3 +122,9 @@ assets inside the image as well.
For more information on the onbuild image, refer to the
[Installation from Docker](/talk/installation-from-docker/) documentation.
## Recipes
Recipes are plugin templates provided by the Coral Core team. Developers can use
these recipes to build their own plugins. You can find all the Talk recipes
here: [github.com/coralproject/talk-recipes](https://github.com/coralproject/talk-recipes/).
+2 -1
View File
@@ -3,8 +3,9 @@ title: Plugins Directory
permalink: /plugins-directory/
layout: plugins
data: plugins
class: plugins
---
Talk provides a growing ecosystem of plugins that interact with our extensive
Server and Client API's. Below you can search for a plugin to use with Talk and
discover what their requirements and configuration are.
discover what their requirements and configuration are.
+5 -4
View File
@@ -4,9 +4,9 @@
<h1>{{ page.title }}</h1>
<hr/>
{% endif %}
{{ page.content }}
<div class="form-group mt-5">
<div class="clearfix">
<label for="exampleInputEmail1">Plugin Search</label>
@@ -15,6 +15,7 @@
<input type="text" class="form-control" id="plugin-search-input" aria-describedby="pluginSearchHelp">
<small id="pluginSearchHelp" class="form-text text-muted">Enter a few keywords about the plugin to filter the list</small>
</div>
<div class="row plugins">
{% for plugin in _.sortBy(site.data[page.data], 'name') %}
<div class="col-sm-6 plugin d-block">
@@ -25,7 +26,7 @@
{% if plugin.tags %}
<p class="card-text">
{% for tag in plugin.tags %}
<span class="badge badge-{% if tag == "default" %}success{% else %}light{% endif %}">{{ tag }}</span>
<a class="plain-link" title="Search for plugins with the {{ tag }} tag" href="?q={{ tag }}"><span class="badge badge-light badge-tag badge-tag-{{ _.kebabCase(tag) }}">{{ tag }}</span></a>
{% endfor %}
</p>
{% endif %}
@@ -35,4 +36,4 @@
{% endfor %}
</ul>
</article>
<script>window.SEARCH_INDEX = {{ lunr_index(site.data[page.data]) }}</script>
<script>window.SEARCH_INDEX = {{ lunr_index(site.data[page.data]) }}</script>
+14
View File
@@ -448,3 +448,17 @@ a.brand {
.plugin {
display: none;
}
.badge-tag {
font-family: monospace;
}
.badge-tag-default {
background: #28a745;
color: #fff;
}
.badge-tag-gdpr {
background: rgb(0, 102, 176);
color: #fff;
}
+17
View File
@@ -1,6 +1,17 @@
/* global lunr */
/* eslint-env browser */
// Sourced from https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
// Sourced from https://github.com/hexojs/site/blob/8e8ed4901769abbf76263125f82832df76ced58b/themes/navy/source/js/plugins.js.
(function() {
'use strict';
@@ -60,6 +71,12 @@
updateCount(elements.length);
}
var searchParam = getParameterByName('q');
if (searchParam && searchParam.length > 0) {
$input.value = searchParam;
search(searchParam);
}
$input.addEventListener('input', function() {
var value = this.value;
+6
View File
@@ -14,3 +14,9 @@ utilize our internal authentication system.
To sync Talk auth with your own auth systems, you can use this plugin as a
template.
## GDPR Compliance
In order to facilitate compliance with the
[EU General Data Protection Regulation (GDPR)](https://www.eugdpr.org/), you
should review our [GDPR Compliance](/talk/integrating/gdpr/) guidelines.
+7 -1
View File
@@ -27,4 +27,10 @@ Configuration:
or by visiting the
[Creating an App ID](https://developers.facebook.com/docs/apps/register)
guide. This is only required while the `talk-plugin-facebook-auth` plugin is
enabled.
enabled.
## GDPR Compliance
In order to facilitate compliance with the
[EU General Data Protection Regulation (GDPR)](https://www.eugdpr.org/), you
should review our [GDPR Compliance](/talk/integrating/gdpr/) guidelines.
@@ -27,3 +27,9 @@ Configuration:
- `TALK_GOOGLE_CLIENT_SECRET` (**required**) - The Google OAuth2 client ID for
your Google login web app. You can learn more about getting a Google Client
ID at the [Google API Console](https://console.developers.google.com/apis/).
## GDPR Compliance
In order to facilitate compliance with the
[EU General Data Protection Regulation (GDPR)](https://www.eugdpr.org/), you
should review our [GDPR Compliance](/talk/integrating/gdpr/) guidelines.
+6
View File
@@ -18,3 +18,9 @@ through an email and password based login.
- *Email Change*: Allows users to change their existing email address on their account.
- *Local Account Association*: Allows users that have signed up with an external auth strategy (such as Google) the ability to associate a email address and password for login. **Note: Existing users with external authentication will be prompted to setup a local account when they sign in and when new users create an account.**
## GDPR Compliance
In order to facilitate compliance with the
[EU General Data Protection Regulation (GDPR)](https://www.eugdpr.org/), you
should review our [GDPR Compliance](/talk/integrating/gdpr/) guidelines.
+10 -1
View File
@@ -21,4 +21,13 @@ that contains a download link. Only one link can be generated every 7 days, and
the link will be valid for 24 hours.
The downloaded zip file will contain all the users comments in a CSV format
including those that have been rejected, withheld, or still in premod.
including those that have been rejected, withheld, or still in pre-moderation.
## GDPR Compliance
In order to facilitate compliance with the
[EU General Data Protection Regulation (GDPR)](https://www.eugdpr.org/), you
should review our [GDPR Compliance](/talk/integrating/gdpr/) guidelines. This
plugin can work with its client plugin disabled and then directly integrated
with existing workflows for an organization of any size through use of the API
that this plugin provides.