aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-06-18 08:29:29 +0200
committerSonarTech <sonartech@sonarsource.com>2018-06-21 20:21:29 +0200
commitd4118837d5244343e30e3222e1f781dd5d087447 (patch)
tree26b6138d9bf46cd46ad24da2f41c0b4f2101b2c4 /server
parent043271f2a737a9400676a321b07d57d90038b597 (diff)
downloadsonarqube-d4118837d5244343e30e3222e1f781dd5d087447.tar.gz
sonarqube-d4118837d5244343e30e3222e1f781dd5d087447.zip
SONARCLOUD-67 Create Privacy documentation page
Diffstat (limited to 'server')
-rw-r--r--server/sonar-docs/src/pages/privacy.md35
-rw-r--r--server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx30
-rw-r--r--server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap12
-rw-r--r--server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx12
4 files changed, 72 insertions, 17 deletions
diff --git a/server/sonar-docs/src/pages/privacy.md b/server/sonar-docs/src/pages/privacy.md
new file mode 100644
index 00000000000..cc7c95dbc46
--- /dev/null
+++ b/server/sonar-docs/src/pages/privacy.md
@@ -0,0 +1,35 @@
+---
+title: Privacy
+---
+
+The privacy policy specifies how data collected on this website is used. Thank you for visiting our website and your interest in our services and products. As the protection of your personal data is an important concern for us, we will explain below what information we collect during your visit to our website, as they are processed and whether or how these may be used.
+
+## PERSONAL DATA
+
+Personal information is information about personal or material circumstances of an identified or identifiable natural person. This includes information such as your first and last name, your postal or residential address, telephone numbers and date of birth. Information that can not be directly related to your real identity – such as your favorite websites or the number of users of a page – are not considered as personal data.
+
+## COLLECTION AND PROCESSING OF PERSONAL DATA
+
+As the operator and creator of the website, we do not store personal data itself automatically. If you go to our website, the provider – where the web server is hosted – may temporarily store data for the purpose of system security such as the connection of the computer, the web pages you visit, the date and duration of the visit, data about the used browser software and operating system and the web page from which you visit us. In addition to that, personal information such as your name, address, phone number or e-mail will only be stored, if you have provided this information voluntarily, eg. as part of a registration, a survey, a contest, to carry out an order or contract or an information request.
+
+## USE AND DISCLOSURE OF PERSONAL DATA
+
+Personal data you provided may be used solely for the purpose of technical website administration and to fulfill your wishes and requirements, thus primarily to processing the order with you or to respond to your request. Only if you have previously given your consent or – if stipulated by legal regulations – you entered no objection, we use this data for product surveys and marketing purposes. We don’t share, sell or transfer your personal data to third parties, unless this is necessary for the purpose of the contract or unless you have explicitly consented. For example it may be necessary, that in case of an product order we share your address and order with our suppliers.
+
+## USE OF WEB ANALYSIS SOFTWARE
+
+To improve the structure and the data we offer on our website, we might use open source or proprietary web analysis software. Our evaluations will be based on summary or averaged information amalgamated for the large numbers of people visiting the vebsite. The data provided by won’t be matched with any individual’s data from other sources.
+
+Data collected might include IP, time and duration of the visit, what pages are visited, used browser and add-ons/plugins, search-engines and referrer. While statistic tools might use a “cookie” to distinguish between individual visitors, the collected data doesn’t allow to identify individuals.
+
+## SECURITY
+
+We take all the necessary technical and organisational security measures to protect your personal data from loss and misuse. Your data is stored in a secure operating environment that is not accessible to the public. If you communicate with us via e-mail, please note that the confidentiality of the information is not guaranteed. The contents of e-mails can be intercepted by third parties. In case of doubt we therefore recommend to send confidential information only by snail mail.
+
+## RIGHT OF ACCESS TO PERSONAL DATA
+
+Upon written request you will be informed by us what information we stored about you (such as name or address).
+
+## CONTACT
+
+If you have questions regarding the processing of personal data or in case of requests for information, suggestions or complaints, please [contact us](/#sonarcloud#/about/contact) directly.
diff --git a/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx b/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx
index 05568542aeb..87d9cb5d715 100644
--- a/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx
+++ b/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx
@@ -27,7 +27,11 @@ export default function GlobalFooterSonarCloud() {
<div className="page-footer page-container" id="footer">
<div>
{`© 2008-${getYear(new Date())}, SonarCloud by `}
- <a href="http://www.sonarsource.com" title="SonarSource SA">
+ <a
+ href="http://www.sonarsource.com"
+ rel="noopener noreferrer"
+ target="_blank"
+ title="SonarSource SA">
SonarSource SA
</a>
. All rights reserved.
@@ -35,10 +39,17 @@ export default function GlobalFooterSonarCloud() {
<ul className="page-footer-menu">
<li className="page-footer-menu-item">
- <a href="https://blog.sonarsource.com/product/SonarCloud">{translate('footer.news')}</a>
+ <a
+ href="https://blog.sonarsource.com/product/SonarCloud"
+ rel="noopener noreferrer"
+ target="_blank">
+ {translate('footer.news')}
+ </a>
</li>
<li className="page-footer-menu-item">
- <a href="https://twitter.com/sonarcloud">{translate('footer.twitter')}</a>
+ <a href="https://twitter.com/sonarcloud" rel="noopener noreferrer" target="_blank">
+ {translate('footer.twitter')}
+ </a>
</li>
<li className="page-footer-menu-item">
<Link rel="noopener noreferrer" target="_blank" to="/sonarcloud-terms.pdf">
@@ -46,16 +57,23 @@ export default function GlobalFooterSonarCloud() {
</Link>
</li>
<li className="page-footer-menu-item">
- <Link to="/privacy">{translate('footer.privacy')}</Link>
+ <Link to="/documentation/privacy">{translate('footer.privacy')}</Link>
</li>
<li className="page-footer-menu-item">
- <a href="https://community.sonarsource.com/c/help/sc">{translate('footer.help')}</a>
+ <a
+ href="https://community.sonarsource.com/c/help/sc"
+ rel="noopener noreferrer"
+ target="_blank">
+ {translate('footer.help')}
+ </a>
</li>
<li className="page-footer-menu-item">
<Link to="/about/contact">{translate('footer.contact_us')}</Link>
</li>
<li className="page-footer-menu-item">
- <a href="https://sonarcloud.statuspage.io/">{translate('footer.status')}</a>
+ <a href="https://sonarcloud.statuspage.io/" rel="noopener noreferrer" target="_blank">
+ {translate('footer.status')}
+ </a>
</li>
<li className="page-footer-menu-item">
<Link to="/about">{translate('footer.about')}</Link>
diff --git a/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap b/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap
index 42385bd4293..fd080d29f0c 100644
--- a/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap
+++ b/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap
@@ -9,6 +9,8 @@ exports[`should render correctly 1`] = `
© 2008-2018, SonarCloud by
<a
href="http://www.sonarsource.com"
+ rel="noopener noreferrer"
+ target="_blank"
title="SonarSource SA"
>
SonarSource SA
@@ -23,6 +25,8 @@ exports[`should render correctly 1`] = `
>
<a
href="https://blog.sonarsource.com/product/SonarCloud"
+ rel="noopener noreferrer"
+ target="_blank"
>
footer.news
</a>
@@ -32,6 +36,8 @@ exports[`should render correctly 1`] = `
>
<a
href="https://twitter.com/sonarcloud"
+ rel="noopener noreferrer"
+ target="_blank"
>
footer.twitter
</a>
@@ -55,7 +61,7 @@ exports[`should render correctly 1`] = `
<Link
onlyActiveOnIndex={false}
style={Object {}}
- to="/privacy"
+ to="/documentation/privacy"
>
footer.privacy
</Link>
@@ -65,6 +71,8 @@ exports[`should render correctly 1`] = `
>
<a
href="https://community.sonarsource.com/c/help/sc"
+ rel="noopener noreferrer"
+ target="_blank"
>
footer.help
</a>
@@ -85,6 +93,8 @@ exports[`should render correctly 1`] = `
>
<a
href="https://sonarcloud.statuspage.io/"
+ rel="noopener noreferrer"
+ target="_blank"
>
footer.status
</a>
diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx b/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx
index 4ee9a593fe8..327e3d7875f 100644
--- a/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx
+++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx
@@ -39,11 +39,7 @@ export default function Footer() {
</a>
</li>
<li className="spacer-top">
- <Link
- className="sc-footer-link"
- rel="noopener noreferrer"
- target="_blank"
- to="/about/contact">
+ <Link className="sc-footer-link" to="/about/contact">
Contact Us
</Link>
</li>
@@ -103,11 +99,7 @@ export default function Footer() {
</Link>
</li>
<li className="spacer-top">
- <Link
- className="sc-footer-link"
- rel="noopener noreferrer"
- target="_blank"
- to="/privacy">
+ <Link className="sc-footer-link" to="/documentation/privacy">
Privacy
</Link>
</li>