New documentation info banner, adaptations for GDPR (#684)

- Add new "The openHAB Documentation has moved" banner
  to all pages, includes link to the current version of
  the current page (takes care of moved/obsolete content)
- Add new privacy policy & imprint copied from new website
- Add cookie consent banner

Signed-off-by: Yannick Schaus <habpanel@schaus.net>
pull/687/head
Yannick Schaus 2018-05-24 22:38:03 +02:00 committed by Kai Kreuzer
parent 68d0dce0fe
commit f1f305fd45
12 changed files with 412 additions and 15 deletions

View File

@ -1,6 +1,6 @@
{% include base.html %}
{% comment %}<!-- Copyright message based on http://www.openhab.org -->{% endcomment %}
<footer>
<footer style="margin-bottom: 50px">
<div class="container">
<div class="row">
<div class="col s12 m7">
@ -23,5 +23,9 @@
<script src="{{base}}/js/materialize.min.js"></script>
<script src="{{base}}/js/init.js"></script>
<script src="{{base}}/js/functions.js"></script>
<script type="text/javascript" id="cookieinfo" src="{{base}}/js/cookieinfo.min.js"
data-bg="#645862" data-fg="#FFFFFF" data-link="#F1D600" data-linkmsg="Privacy Policy"
data-moreinfo="/privacy.html" data-cookie="CookieInfoScript" data-text-align="left" data-close-text="Got it!">
</script>
</body>
</html>

View File

@ -0,0 +1,59 @@
{% assign newsite = 'https://www.openhab.org' %}
{% assign newurl = newsite | append: '/docs' | append: page.url %}
{% if page.url == '/tutorials/' %}
{% assign newurl = newsite | append: '/docs/tutorial/' %}
{% elsif page.url contains '/tutorials/beginner/' %}
{% assign newurl = newurl | replace: '/tutorials/beginner/', '/tutorial/' %}
{% elsif page.url contains '/tutorials/migration.html' %}
{% assign newurl = newsite | append: '/docs/configuration/migration/' %}
{% elsif page.url == '/introduction.html' %}
{% assign newurl = newsite | append: '/docs/' %}
{% elsif page.url contains '/addons/uis/paper/' %}
{% assign newurl = newsite | append: '/docs/configuration/paperui.html' %}
{% elsif page.url contains '/addons/uis/basic/' %}
{% assign newurl = newsite | append: '/docs/configuration/ui/basic/' %}
{% elsif page.url contains '/addons/uis/classic/' %}
{% assign newurl = newsite | append: '/docs/configuration/ui/classic/' %}
{% elsif page.url contains '/addons/uis/habmin/' %}
{% assign newurl = newsite | append: '/docs/configuration/ui/habmin/' %}
{% elsif page.url contains '/addons/uis/habpanel/' %}
{% assign newurl = newsite | append: '/docs/configuration/habpanel.html' %}
{% elsif page.url contains '/addons/uis/apps' %}
{% assign newurl = newurl | replace: '/addons/uis/apps', '/apps' %}
{% elsif page.url contains '/addons/ios/alexa-skill' %}
{% assign newurl = newsite | append: '/docs/ecosystem/alexa/' %}
{% elsif page.url contains '/addons/ios/mycroft-skill' %}
{% assign newurl = newsite | append: '/docs/ecosystem/mycroft/' %}
{% elsif page.url contains '/addons/' %}
{% if page.url contains 'readme.html' %}
{% assign newurl = newsite | append: page.url | replace_first: '/ios', '/integrations' | replace_first: '/voices/', '/voice/' | replace: 'readme.html', '' %}
{% elsif page.url contains 'transformations.html' %}
{% assign newurl = newsite | append: '/docs/configuration/transformations.html' %}
{% elsif page.url contains 'actions.html' %}
{% assign newurl = newsite | append: '/docs/configuration/actions.html' %}
{% else %}
{% assign newurl = newsite | append: '/addons/' %}
{% endif %}
{% elsif page.url contains '/appendix/' %}
{% assign newurl = newsite | append: '/about/contributing.html' %}
{% elsif page.url contains '/developers/' %}
{% assign newurl = newurl | replace: '/developers/', '/developer/' %}
{% endif %}
<div class="col s10 offset-s1">
<div class="card grey darken-1" id="contribution-wanted">
<div class="card-content white-text">
<span class="card-title white-text">The openHAB Documentation Has Moved</span>
<p>
The documentation has moved to
<a target="_blank" style="color: #FF6600; font-weight: bold;" href="{{newsite}}/docs/">openhab.org/docs</a>
and
<a target="_blank" style="color: #FF6600; font-weight: bold;" href="{{newsite}}/addons/">openhab.org/addons</a>.
</p>
<p>Please use the link below to be redirected to the new version of this article, and update your bookmarks.</p>
</div>
<div class="card-action">
<a class="" target="_blank" href="{{newurl}}">Open This Article on the New Documentation Site</a>
</div>
</div>
</div>

View File

@ -7,6 +7,7 @@
</div>
{% include versioning.html %}
<div class="content">
{% include newsite-banner.html %}
{{ content }}
</div>
</div>

View File

@ -6,6 +6,7 @@
{% include dev-menu.html %}
</div>
<div class="content">
{% include newsite-banner.html %}
{{ content }}
</div>
</div>

View File

@ -6,7 +6,9 @@
{% include user-menu.html %}
</div>
{% include versioning.html %}
<div class="content">
{% include newsite-banner.html %}
{{ content }}
</div>
</div>

View File

@ -6,6 +6,7 @@
{% include gettingstarted-menu.html %}
</div>
<div class="content">
{% include newsite-banner.html %}
{{ content }}
</div>
</div>

View File

@ -2,6 +2,7 @@
<section id="documentation" class="text content-wrapper">
<div class="container">
{% include newsite-banner.html %}
{{ content }}
</div>
</section>

View File

@ -1,6 +1,7 @@
{% include header.html bodyClass="documentation" %}
<section id="documentation" class="text content-wrapper">
{% include newsite-banner.html %}
{{ content }}
</section>

View File

@ -6,6 +6,7 @@
{% include tutorial-beginner-menu.html %}
</div>
<div class="content">
{% include newsite-banner.html %}
{{ content }}
</div>
</div>

View File

@ -5,7 +5,7 @@ title: Imprint
{% comment %}<!-- Based on http://www.openhab.org/imprint.html -->{% endcomment %}
# Imprint
### This site is operated by
## This Site is operated by
<address>
<p>openHAB Foundation e.V.<br />Kollwitzweg 10<br />64372 Ober-Ramstadt</p>
@ -13,15 +13,54 @@ title: Imprint
<p><i class="material-icons">phone</i> +49 (6154) 603-9765</p>
<p><i class="material-icons">email</i> <a href="mailto:info@openhabfoundation.org">info@openhabfoundation.org</a></p>
Information provided according to Sec. 5 German Telemedia Act (TMG)
### Executive Board
<p>Kai Kreuzer, President<br />Dan Cunningham, Vice President<br />Hans-Jörg Merk, Chief Financial Officer</p>
<p>Register of Associations: Darmstadt 83855</p>
### Privacy Statement
### Responsible for Journalistic-Editorial Contents
openHAB Foundation respects your desire for privacy. Please see our <a href="/privacy.html">Privacy Policy</a> regarding the use of our website and the mobile reference applications.
<p>Kai Kreuzer<br />
Kollwitzweg 10<br />
64372 Ober-Ramstadt</p>
### Trademarks
Information provided according to Sec. 55, para. 2 German Federal Broadcasting Agreement (RstV)
## Privacy Statement
openHAB Foundation respects your desire for privacy. Please see our [Privacy Policy](/privacy.html)
regarding the use of our website and the mobile reference applications.
## Trademarks
openHAB is a registered trademark of Kai Kreuzer in the EU, the US and other countries.
<!-- Rules for the re-use of the openHAB logo can be found [here](/about/logos.html). -->
## Liability for Contents
As service providers, we are liable for own contents of these websites according to
Sec. 7, paragraph 1 German Telemedia Act (TMG). However, according to Sec. 8 to 10
German Telemedia Act (TMG), service providers are not obligated to permanently monitor
submitted or stored information or to search for evidences that indicate illegal activities.
Legal obligations to removing information or to blocking the use of information remain
unchallenged. In this case, liability is only possible at the time of knowledge about a
specific violation of law. Illegal contents will be removed immediately at the time we
get knowledge of them.
## Liability for Links
Our offer includes links to external third party websites. We have no influence on the
contents of those websites, therefore we cannot guarantee for those contents. Providers
or administrators of linked websites are always responsible for their own contents.
The linked websites had been checked for possible violations of law at the time of the
establishment of the link. Illegal contents were not detected at the time of the
linking.
A permanent monitoring of the contents of linked websites cannot be imposed
without reasonable indications that there has been a violation of law. Illegal links
will be removed immediately at the time we get knowledge of them.

1
js/cookieinfo.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -5,22 +5,308 @@ title: Privacy Policy
{% comment %}<!-- Based on http://www.openhab.org/privacy.html -->{% endcomment %}
<script>function gaOptout() {document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';window[disableStr] = true;alert("Google Analytics has been disabled!");}</script>
# Privacy Policy
With the following statements we want to inform you, which personal information we handle about you, if you are using our website or the mobile reference applications.
## An overview of data protection
The use of our website is possible without providing any personal information.
### General
We point out that data transmission over the Internet (e.g. when communicating by e-mail) may have security gaps. A complete protection of data against access by third parties is not possible.
The following gives a simple overview of what happens to your personal information when
you visit our website. Personal information is any data with which you could be
personally identified. Detailed information on the subject of data protection can be
found in our privacy policy found below.
The use of the the published contact data by third parties for sending unsolicited advertisements and information materials is hereby expressly excluded. The operators of the pages expressly legal steps in case of unsolicited promotional information, such as spam e-mails.
### Data collection on our website
## Privacy Statement for the Use of Google Analytics
#### Who is responsible for the data collection on this website?
Our website uses Google Analytics, a web analytics service provided by Google Inc. ("Google"). Google Analytics uses "cookies", text files that are stored on your computer, to help analyze how users use the website. The information generated by the cookie about your use of this website are usually transferred to a server of Google in the USA and stored there. In the case of activation of the IP anonymization on this website, your IP address will be truncated within Member states of the European Union or other parties to the Agreement on the European Economic Area.
The data collected on this website are processed by the website operator. The
operator's contact details can be found in the website's required
[legal notice](/imprint.html).
Only in exceptional cases is the complete IP address transmitted to a Google server in the USA and shortened there. On behalf of the operator of this website Google will use this information to evaluate your use of the website, compiling reports on website activity and providing other with website and internet related services to the website operator. Undertaken as part of Google Analytics that your IP address is not associated with any other data held by Google.
#### How do we collect your data?
You may refuse the use of cookies by selecting the appropriate settings on your browser, we would point out, however, that you may then be used to their full extent in this case not all features of this website. You can also prevent the collection of data generated by the cookie about your use of the website (including your IP address) to Google and the processing of these data by Google, by downloading and installing a browser plugin that is available under the following link: <a href="http://tools.google.com/dlpage/gaoptout?hl=en">http://tools.google.com/dlpage/gaoptout?hl=en</a>.
Some data are collected when you provide it to us. This could, for example, be data you
enter on a contact form.
You can refuse the collection of your data by Google Analytics by clicking on the following link. An opt-out cookie is set that prevents the collection of your data on future visits of this website: <a href="javascript:gaOptout();">Deactivate Google Analytics</a>.
Other data are collected automatically by our IT systems when you visit the website.
These data are primarily technical data such as the browser and operating system you
are using or when you accessed the page. These data are collected automatically as soon
as you enter our website.
#### What do we use your data for?
Part of the data is collected to ensure the proper functioning of the website. Other
data can be used to analyze how visitors use the site.
#### What rights do you have regarding your data?
You always have the right to request information about your stored data, its origin, its
recipients, and the purpose of its collection at no charge. You also have the right to
request that it be corrected, blocked, or deleted. You can contact us at any time using
the address given in the legal notice if you have further questions about the issue of
privacy and data protection. You may also, of course, file a complaint with the
competent regulatory authorities.
#### Analytics and third-party tools
When visiting our website, statistical analyses may be made of your surfing behavior.
This happens primarily using cookies and analytics. The analysis of your surfing
behavior is usually anonymous, i.e. we will not be able to identify you from this data.
You can object to this analysis or prevent it by not using certain tools. Detailed
information can be found in the following privacy policy.
You can object to this analysis. We will inform you below about how to exercise your
options in this regard.
## General information and mandatory information
### Data protection
The operators of this website take the protection of your personal data very seriously.
We treat your personal data as confidential and in accordance with the statutory data
protection regulations and this privacy policy.
If you use this website, various pieces of personal data will be collected. Personal
information is any data with which you could be personally identified. This privacy
policy explains what information we collect and what we use it for. It also explains
how and for what purpose this happens.
Please note that data transmitted via the internet (e.g. via email communication) may be
subject to security breaches. Complete protection of your data from third-party access
is not possible.
### Notice concerning the party responsible for this website
The party responsible for processing data on this website is:
<p>openHAB Foundation e.V.<br />Kollwitzweg 10<br />64372 Ober-Ramstadt</p>
</address>
<p><i class="material-icons">phone</i> +49 (6154) 603-9765</p>
<p><i class="material-icons">email</i> <a href="mailto:info@openhabfoundation.org">info@openhabfoundation.org</a></p>
The responsible party is the natural or legal person who alone or jointly with others
decides on the purposes and means of processing personal data (names, email addresses,
etc.).
### Revocation of your consent to the processing of your data
Many data processing operations are only possible with your express consent. You may
revoke your consent at any time with future effect. An informal email making this
request is sufficient. The data processed before we receive your request may still be
legally processed.
### Right to file complaints with regulatory authorities
If there has been a breach of data protection legislation, the person affected may file
a complaint with the competent regulatory authorities. The competent regulatory authority
for matters related to data protection legislation is the data protection officer of the
German state in which our company is headquartered. A list of data protection officers
and their contact details can be found at the following link: [https://www.bfdi.bund.de/DE/Infothek/Anschriften_Links/anschriften_links-node.html](https://www.bfdi.bund.de/DE/Infothek/Anschriften_Links/anschriften_links-node.html).
### SSL or TLS encryption
This site uses SSL or TLS encryption for security reasons and for the protection of the
transmission of confidential content, such as the inquiries you send to us as the site
operator. You can recognize an encrypted connection in your browser's address line when
it changes from "http://" to "https://" and the lock icon is displayed in your browser's
address bar.
If SSL or TLS encryption is activated, the data you transfer to us cannot be read by
third parties.
### Information, blocking, deletion
As permitted by law, you have the right to be provided at any time with information free
of charge about any of your personal data that is stored as well as its origin, the
recipient and the purpose for which it has been processed. You also have the right to
have this data corrected, blocked or deleted. You can contact us at any time using the
address given in our legal notice if you have further questions on the topic of personal
data.
## Data collection on our website
### Cookies
Some of our web pages use cookies. Cookies do not harm your computer and do not contain
any viruses. Cookies help make our website more user-friendly, efficient, and secure.
Cookies are small text files that are stored on your computer and saved by your browser.
Most of the cookies we use are so-called "session cookies." They are automatically
deleted after your visit. Other cookies remain in your device's memory until you delete
them. These cookies make it possible to recognize your browser when you next visit the
site.
You can configure your browser to inform you about the use of cookies so that you can
decide on a case-by-case basis whether to accept or reject a cookie. Alternatively, your
browser can be configured to automatically accept cookies under certain conditions or to
always reject them, or to automatically delete cookies when closing your browser.
Disabling cookies may limit the functionality of this website.
Cookies which are necessary to allow electronic communications or to provide certain
functions you wish to use are stored pursuant to Art. 6 paragraph 1, letter f of GDPR.
The website operator has a legitimate interest in the storage of cookies to ensure an
optimized service provided free of technical errors. If other cookies (such as those
used to analyze your surfing behavior) are also stored, they will be treated separately
in this privacy policy.
### Server log files
The website provider automatically collects and stores information that your browser
automatically transmits to us in "server log files". These are:
- Browser type and browser version
- Operating system used
- Referrer URL
- Host name of the accessing computer
- Time of the server request
- IP address
These data will not be combined with data from other sources. The basis for data
processing is Art. 6 (1) (f) GDPR, which allows the processing of data to fulfill a
contract or for measures preliminary to a contract.
### Registration on this website
You can register on our website in order to access additional functions offered here.
The input data will only be used for the purpose of using the respective site or service
for which you have registered. The mandatory information requested during registration must
be provided in full. Otherwise, we will reject your registration.
To inform you about important changes such as those within the scope of our site or technical
changes, we will use the email address specified during registration.
We will process the data provided during registration only based on your consent per
Art. 6 (1)(a) GDPR. You may revoke your consent at any time with future effect. An informal
email to forum@openhabfoundation.org making this request is sufficient. The data processed
before we receive your request may still be legally processed.
We will continue to store the data collected during registration for as long as you remain
registered on our website. Statutory retention periods remain unaffected.
## Analytics and advertising
### Google Analytics
This website uses Google Analytics, a web analytics service. It is operated by Google Inc.,
1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.
Google Analytics uses so-called "cookies". These are text files that are stored on your
computer and that allow an analysis of the use of the website by you. The information
generated by the cookie about your use of this website is usually transmitted to a Google
server in the USA and stored there.
Google Analytics cookies are stored based on Art. 6 (1) (f) GDPR. The website operator has
a legitimate interest in analyzing user behavior to optimize both its website and its advertising.
### IP anonymization
We have activated the IP anonymization feature on this website. Your IP address will be shortened
by Google within the European Union or other parties to the Agreement on the European Economic
Area prior to transmission to the United States. Only in exceptional cases is the full IP address
sent to a Google server in the US and shortened there. Google will use this information on behalf
of the operator of this website to evaluate your use of the website, to compile reports on website
activity, and to provide other services regarding website activity and Internet usage for the
website operator. The IP address transmitted by your browser as part of Google Analytics will not
be merged with any other data held by Google.
### Browser plugin
You can prevent these cookies being stored by selecting the appropriate settings in your browser.
However, we wish to point out that doing so may mean you will not be able to enjoy the full
functionality of this website. You can also prevent the data generated by cookies about your use
of the website (incl. your IP address) from being passed to Google, and the processing of these
data by Google, by downloading and installing the browser plugin available at the following link: [https://tools.google.com/dlpage/gaoptout?hl=en](https://tools.google.com/dlpage/gaoptout?hl=en).
#### Objecting to the collection of data
You can also prevent the collection of your data by Google Analytics by clicking on the following
link. An opt-out cookie will be set to prevent your data from being collected on future visits to
this site: <a href="javascript:gaOptout();">Disable Google Analytics</a>.
For more information about how Google Analytics handles user data, see Google's privacy policy:
[https://support.google.com/analytics/answer/6004245?hl=en](https://support.google.com/analytics/answer/6004245?hl=en).
### Outsourced data processing
We have entered into an agreement with Google for the outsourcing of our data processing and fully
implement the strict requirements of the German data protection authorities when using Google
Analytics.
## Plugins and tools
### YouTube
Our website uses plugins from YouTube, which is operated by Google. The operator of the pages is
YouTube LLC, 901 Cherry Ave., San Bruno, CA 94066, USA.
If you visit one of our pages featuring a YouTube plugin, a connection to the YouTube servers is
established. Here the YouTube server is informed about which of our pages you have visited.
If you're logged in to your YouTube account, YouTube allows you to associate your browsing
behavior directly with your personal profile. You can prevent this by logging out of your YouTube
account.
YouTube is used to help make our website appealing. This constitutes a justified interest pursuant
to Art. 6 (1) (f) GDPR.
Further information about handling user data, can be found in the data protection declaration of
YouTube under [https://www.google.de/intl/de/policies/privacy](https://www.google.de/intl/de/policies/privacy).
### Google Web Fonts
For uniform representation of fonts, this page uses web fonts provided by Google. When you open a
page, your browser loads the required web fonts into your browser cache to display texts and fonts
correctly.
For this purpose your browser has to establish a direct connection to Google servers. Google thus
becomes aware that our web page was accessed via your IP address. The use of Google Web fonts is
done in the interest of a uniform and attractive presentation of our website. This constitutes a
justified interest pursuant to Art. 6 (1) (f) GDPR.
If your browser does not support web fonts, a standard font is used by your computer. Further
information about handling user data, can be found at
[https://developers.google.com/fonts/faq](https://developers.google.com/fonts/faq) and
in Google's privacy policy at
[https://www.google.com/policies/privacy/](https://www.google.com/policies/privacy/).
### Google Maps
This site uses the Google Maps map service via an API. It is operated by Google Inc., 1600
Amphitheatre Parkway, Mountain View, CA 94043, USA.
To use Google Maps, it is necessary to save your IP address. This information is generally
transmitted to a Google server in the USA and stored there. The provider of this site has no
influence on this data transfer.
The use of Google Maps is in the interest of making our website appealing and to facilitate the
location of places specified by us on the website. This constitutes a justified interest pursuant
to Art. 6 (1) (f) GDPR.
Further information about handling user data, can be found in the data protection declaration of
Google at
[https://www.google.de/intl/de/policies/privacy/](https://www.google.de/intl/de/policies/privacy/).
### Twitter
Functions of the Twitter service have been integrated into our website and app. These features
are offered by Twitter Inc., 1355 Market Street, Suite 900, San Francisco, CA 94103, USA. When
you use Twitter and the “Retweet” function, the websites you visit are connected to your Twitter
account and made known to other users. In doing so, data will also be transferred to Twitter. We
would like to point out that, as the provider of these pages, we have no knowledge of the content
of the data transmitted or how it will be used by Twitter. For more information on Twitter's
privacy policy, please go to [https://twitter.com/privacy](https://twitter.com/privacy).
Your privacy preferences with Twitter can be modified in your account settings at
[https://twitter.com/account/settings](https://twitter.com/account/settings).
## Payment service providers
### PayPal
Our website accepts donations via PayPal. The provider of this service is PayPal (Europe) S.à.r.l & Cie,
S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg.
If you select donation via PayPal, the payment data you provide will be supplied to PayPal based
on Art. 6 (1) (a) (Consent) and Art. 6 (1) (b) GDPR (Processing for contract purposes). You have
the option to revoke your consent at any time with future effect. It does not affect the
processing of data previously collected.