Skip to content

Commit

Permalink
Merge pull request #95 from OpenDataServices/terms-sentry
Browse files Browse the repository at this point in the history
terms: Don't show section on Sentry if its not in use
  • Loading branch information
Bjwebb authored May 11, 2021
2 parents 000b2d8 + 3225f73 commit a17e2d2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Don't show section on Sentry in the terms and conditions, if its not in use https://github.com/OpenDataServices/lib-cove-web/pull/95

# [0.22.0] - 2021-04-14

### Added
Expand Down
1 change: 1 addition & 0 deletions cove/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def from_settings(request):

'piwik': getattr(settings, 'PIWIK', {'dimension_map': {}}),
'google_analytics_id': getattr(settings, 'GOOGLE_ANALYTICS_ID', ''),
'sentry_dsn': getattr(settings, 'SENTRY_DSN', ''),

'delete_files_after_days': getattr(settings, 'DELETE_FILES_AFTER_DAYS', 7),
}
Expand Down
25 changes: 14 additions & 11 deletions cove/templates/terms_tracker_sentry.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{% if sentry_dsn %}

<h3>Identifying and being alerted to software errors</h3>
When an error occurs on our site, we record details about the visit that caused it. We use <a href="https://sentry.io/welcome/">Sentry</a> for this.
<h3>Identifying and being alerted to software errors</h3>
When an error occurs on our site, we record details about the visit that caused it. We use <a href="https://sentry.io/welcome/">Sentry</a> for this.

<p>Data we collect:<ul>
<li>Your IP address</li>
<li>User agent (information about the OS and browser that you use)</li>
<li>Referrer (what page you arrived at one of our web pages from)</li>
</ul>We do not use this data to personally identify individuals, but it is possible that it could be used to do so, particularly if combined with other datasets.</p>
<p>Data we collect:<ul>
<li>Your IP address</li>
<li>User agent (information about the OS and browser that you use)</li>
<li>Referrer (what page you arrived at one of our web pages from)</li>
</ul>We do not use this data to personally identify individuals, but it is possible that it could be used to do so, particularly if combined with other datasets.</p>

<p>Data processors: {% if app != 'cove_iati' %}Open Data Services Co-operative Limited, {% endif %}Sentry (Functional Software, Inc.)</p>
<p>Data processors: {% if app != 'cove_iati' %}Open Data Services Co-operative Limited, {% endif %}Sentry (Functional Software, Inc.)</p>

{% include "terms_tracker_data_controller_international.html" %}
{% include "terms_tracker_data_controller_international.html" %}

<p>Data is transferred to Functional Software, Inc. who are based in the USA.</p>
<p>The data is kept for 90 days.</p>
<p>Data is transferred to Functional Software, Inc. who are based in the USA.</p>
<p>The data is kept for 90 days.</p>

{% endif %}

0 comments on commit a17e2d2

Please sign in to comment.