Add privacy policy

openid
Marcin Kulik 11 years ago
parent e5902e74bc
commit 88e2e54477

@ -49,9 +49,6 @@ div
p
font: inherit
&.links
float: left
a
color: $main-color
text-decoration: none
@ -206,3 +203,7 @@ pre
.player
margin: 0 auto
hr
margin: 50px 0px
border: 1px dotted rgb(102, 102, 102)

@ -16,6 +16,7 @@ footer
text-align: right
vertical-align: middle
background-color: black
height: 50px
p
font-size: 14px
@ -33,3 +34,13 @@ footer
vertical-align: middle
margin-left: 20px
width: 48px
.links
float: left
padding: 0
li
font-size: 14px
margin: 0 30px 0 0
padding: 0
display: inline-block

@ -0,0 +1,9 @@
class PagesController < ApplicationController
layout 'pages'
def show
render params[:page]
end
end

@ -35,8 +35,9 @@ html[lang="en"]
footer
.wrapper
p.links
= link_to 'About', docs_path(:about)
ul.links
li = link_to 'About', docs_path(:about)
li = link_to 'Privacy Policy', privacy_path
p.title
' Developed with passion by
= link_to 'Marcin Kulik', 'https://github.com/sickill'

@ -0,0 +1,7 @@
- content_for :content do
section.supplimental
.wrapper
.main
= yield
= render template: 'layouts/application'

@ -0,0 +1,101 @@
markdown:
# Privacy Policy
## Website Visitors
Like most website operators, Asciinema collects non-personally-identifying
information of the sort that web browsers and servers typically make
available, such as the browser type, language preference, referring site, and
the date and time of each visitor request. Asciinemas purpose in collecting
non-personally identifying information is to better understand how
Asciinemas visitors use its website. From time to time, Asciinema may
release non-personally-identifying information in the aggregate, e.g., by
publishing a report on trends in the usage of its website.
Asciinema also collects potentially personally-identifying information like
Internet Protocol (IP) addresses and e-mail adresses. Asciinema does not use
such information to identify its visitors, however, and does not disclose
such information, other than under the same circumstances that it uses and
discloses personally-identifying information, as described below.
You hereby agree to the registration and use of information described above.
## Gathering of Personally-Identifying Information
Certain visitors to Asciinema website choose to interact with Asciinema in
ways that require Asciinema to gather personally-identifying information.
The amount and type of information that Asciinema gathers depends on the
nature of the interaction. For example, we ask visitors who sign up for an
account at asciinema.org to provide a username and email address. In each
case, Asciinema collects such information only insofar as is necessary or
appropriate to fulfill the purpose of the visitors interaction with
Asciinema. Asciinema does not disclose personally-identifying information
other than as described below. And visitors can always refuse to supply
personally-identifying information, with the caveat that it may prevent them
from engaging in certain website-related activities.
You hereby agree to the registration and use of information described above.
## Aggregated Statistics
Asciinema may collect statistics about the behavior of visitors to its
website. For instance, Asciinema may monitor the most popular or the most
favorited recordings on the asciinema.org site. Asciinema may display this
information publicly or provide it to others. However, Asciinema does not
disclose personally-identifying information other than as described below.
## Protection of Certain Personally-Identifying Information
Asciinema discloses potentially personally-identifying and
personally-identifying information only to those of its employees,
contractors and affiliated organizations that (i) need to know that
information in order to process it on Asciinemas behalf or to provide
services available at Asciinemas websites, and (ii) that have agreed not to
disclose it to others. Some of those employees, contractors and affiliated
organizations may be located outside of your home country; by using
Asciinemas websites, you consent to the transfer of such information to
them. Asciinema will not rent or sell potentially personally-identifying and
personally-identifying information to anyone. Other than to its employees,
contractors and affiliated organizations, as described above, Asciinema
discloses potentially personally-identifying and personally-identifying
information only in response to a subpoena, court order or other governmental
request, or when Asciinema believes in good faith that disclosure is
reasonably necessary to protect the property or rights of Asciinema, third
parties or the public at large. If you are a registered user of an Asciinema
website and have supplied your email address, Asciinema may occasionally send
you an email to tell you about new features, solicit your feedback, or just
keep you up to date with whats going on with Asciinema and our products. We
primarily use our blog to communicate this type of information, so we expect
to keep this type of email to a minimum. If you send us a request (for
example via a support email or via one of our feedback mechanisms), we
reserve the right to publish it in order to help us clarify or respond to
your request or to help us support other users. Asciinema takes all measures
reasonably necessary to protect against the unauthorized access, use,
alteration or destruction of potentially personally-identifying and
personally-identifying information.
## Cookies
A cookie is a string of information that a website stores on a visitors
computer, and that the visitors browser provides to the website each time
the visitor returns. Asciinema uses cookies to help Asciinema identify and
track visitors, their usage of Asciinema website, and their website access
preferences. Asciinema visitors who do not wish to have cookies placed on
their computers should set their browsers to refuse cookies before using
Asciinemas websites, with the drawback that certain features of Asciinemas
websites may not function properly without the aid of cookies.
## Privacy Policy Changes
Although most changes are likely to be minor, Asciinema may change its
Privacy Policy from time to time, and in Asciinemas sole discretion.
Asciinema encourages visitors to frequently check this page for any changes
to its Privacy Policy. Your continued use of this site after any change in
this Privacy Policy will constitute your acceptance of such change.
------------
The foundations of this document is based on the same document made available
by Wordpress.com under the Creative Commons Sharealike license. This
derivative document is licensed under the [Creative Commons Sharealike
license](http://creativecommons.org/licenses/by-sa/3.0/).

@ -31,6 +31,8 @@ Asciinema::Application.routes.draw do
root 'home#show'
get '/privacy' => 'pages#show', page: :privacy, as: :privacy
mount JasmineRails::Engine => "/specs" unless Rails.env.production?
get '/test/widget/:id' => 'test_widget#show' if Rails.env.test?

@ -0,0 +1,15 @@
require 'spec_helper'
describe PagesController do
describe '#show' do
before do
get :show, page: :privacy, use_route: :privacy
end
it 'renders template with a given name' do
should render_template(:privacy)
end
end
end
Loading…
Cancel
Save