mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:09:53 +01:00
Merge remote-tracking branch 'remotes/origin/texts' into develop
This commit is contained in:
commit
c50531c988
6 changed files with 72 additions and 4 deletions
|
@ -16,4 +16,12 @@ class StaticController < ApplicationController
|
|||
def faq
|
||||
|
||||
end
|
||||
|
||||
def privacy_policy
|
||||
|
||||
end
|
||||
|
||||
def terms
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
class ScreenNameValidator < ActiveModel::EachValidator
|
||||
FORBIDDEN_SCREEN_NAMES = %w(justask_admin retrospring_admin admin justask retrospring about public
|
||||
FORBIDDEN_SCREEN_NAMES = %w(justask_admin retrospring_admin admin justask retrospring support about public
|
||||
notifications inbox sign_in sign_up sidekiq moderation moderator mod administrator
|
||||
siteadmin site_admin help retro_spring retroospring retrosprlng niisding nllsding
|
||||
group settings search pixeidesu plxeldesu plxeidesu)
|
||||
siteadmin site_admin help retro_spring retroospring retrosprlng niisding nllsding
|
||||
pixeidesu plxeldesu plxeidesu terms privacy)
|
||||
|
||||
def validate_each(record, attribute, value)
|
||||
if FORBIDDEN_SCREEN_NAMES.include? value.downcase
|
||||
record.errors[attribute] << "Thou shalt not use this username! Please choose another one."
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -10,6 +10,9 @@
|
|||
= f.password_field :password, autocomplete: "off", label: "Password"
|
||||
= f.password_field :password_confirmation, autocomplete: "off", label: "Confirm password"
|
||||
|
||||
%p
|
||||
With signing up you accept our
|
||||
= link_to "Terms of Service", terms_path
|
||||
= f.submit "Sign up"
|
||||
|
||||
= render "devise/shared/links"
|
||||
|
|
27
app/views/static/privacy_policy.html.haml
Normal file
27
app/views/static/privacy_policy.html.haml
Normal file
|
@ -0,0 +1,27 @@
|
|||
.container
|
||||
.panel.panel-default
|
||||
.panel-body
|
||||
%h1 Privacy Policy
|
||||
%p This Privacy Policy describes how and when Retrospring uses and collects your data, checks your information and shares with other Services.
|
||||
%h2 Information Collection and Use
|
||||
%h4 Basic Account Information
|
||||
%p Upon creation of a Retrospring account, some personal information such as your username, password, and email address is collected and stored internally. Asking questions anonymously or browsing any other areas of the service does not require registration or the providing of any further information.
|
||||
%p Public information like a short biography, a link to your website, your location or a profile picture can be provided after registration. This information is viewable by any visitor of the site, registered or unregistered, and therefore should not contain any critical information about you or someone else.
|
||||
%h4 Answers and Questions
|
||||
%p Our Service primarily is designed to ask your friends and other people from around the world questions or answer them. Most of the information you provide us is information you are asking us to make public. This information does not only include the questions, answers, comments and smiles, but also the groups you create, the people you follow and other bits of information that result from using our Service.
|
||||
%h4 Cookies
|
||||
%p Like many websites, we use cookies and similar technologies to collect additional website usage data and to improve our Services. A cookie is a small data file that is transferred to your computer's hard disk. Retrospring uses persistant cookies to improve the users browsing experience and to to better understand how you interact with our Services. Most Internet browsers automatically accept cookies. You can instruct your browser, by changing its settings, to stop accepting cookies or to prompt you before accepting a cookie from the websites you visit. However, the Services may not function properly if you disable cookies.
|
||||
%h4 Non-personal Identification Information
|
||||
%p When using our Services, we may receive technical information ("Non-personal Identification") information such as your IP address, browser type, operating system, the referring web page, pages visited, location, search terms, and cookie information. We receive this data when you interact with our Services, for example, when you visit our websites or sign into our Services.
|
||||
%h4 Third-Party Services
|
||||
%p Retrospring uses a variety of third-party services to help provide our Services and to help us understand and improve the use of our Services, such as Piwik Analytics, or to share your answers to, if connected, other Services like Twitter, Tumblr or Facebook. These third-party service providers may collect information sent by your browser as part of a web page request, such as cookies or your IP address. Please refer to their Privacy Policies in regard to how they handle your data.
|
||||
%h2 Information Sharing
|
||||
%p Retrospring will keep any collected data (see "Information Collection and Use" above) encrypted on our servers. Any information shared with other Services is controlled by the user itself, as we only supply sharing to these. If a user isn't satisfied with Terms from another Service they shouldn't connect their accounts or remove access over the Sharing page on the profile settings page.
|
||||
%p Notwithstanding anything to the contrary in this Policy, we may preserve or disclose your information if we believe that it is reasonably necessary to comply with a law, regulation or legal request; to protect the safety of any person; to address fraud, security or technical issues; or to protect Retrospring's rights or property. However, nothing in this Privacy Policy is intended to limit any legal defenses or objections that you may have to a third party’s, including a government’s, request to disclose your information.
|
||||
%h2 Modifying Your Personal Information
|
||||
%p If you are a registered user of our Services, we provide you with tools and account settings to access or modify the personal information you provided to us and associated with your account.
|
||||
%p You can also permanently delete your Retrospring account with a button at the bottom of the account settings page. Removing your account will cease your ability to log in with your credentials and the loss of all your data you supplied to the Service.
|
||||
%h2 Our Policy Towards Children
|
||||
%p Our Services are not directed to persons under 14. If you become aware that your child has provided us with personal information without your consent, contact us on privacy@retrospring.net . We do not knowingly collect personal information from children under 14. If we become aware that a child under 14 has provided us with personal information, we take steps to remove such information and terminate the child's account.
|
||||
%p
|
||||
%em Effective: the time we will actually publish it plus some days
|
28
app/views/static/terms.html.haml
Normal file
28
app/views/static/terms.html.haml
Normal file
|
@ -0,0 +1,28 @@
|
|||
.container
|
||||
.panel.panel-default
|
||||
.panel-body
|
||||
%h1 Terms of Use
|
||||
%p These Terms of Service ("Terms") as declared by the company (referred to as "Staff") govern your access to and use of the services (the "Services" or “Retrospring”), and any information, text, graphics, photos or other materials uploaded, downloaded or appearing on the Services (collectively referred to as "Content"). Your access to and use of the Services are conditioned on your acceptance of and compliance with these Terms. By accessing or using the Services you agree to be bound by these Terms.
|
||||
%h2 1. Basic Terms
|
||||
%p You are responsible for your use of the Services, for any Content you post to the Services, and for any consequences thereof. The Content you submit, post, or display will be able to be viewed by other users of the Services and through third party services and websites (go to the account settings page to control who sees your Content). You should only provide Content that you are comfortable sharing with others under these Terms.
|
||||
%p You may use the Services only if you can form a binding contract with Retrospring and are not a person barred from receiving services under the laws of any applicable jurisdiction. If you are accepting these Terms and using the Services on behalf of a company, organization, government, or other legal entity, you represent and warrant that you are authorized to do so. You may use the Services only in compliance with these Terms and all applicable local, state, national, and international laws, rules and regulations.
|
||||
%h2 2. Privacy
|
||||
%p
|
||||
Any information that you provide to Retrospring is subject to our
|
||||
= link_to "Privacy Policy", privacy_policy_path
|
||||
, which governs our collection and use of your information. You understand that through your use of the Services you consent to the collection and use (as set forth in the Privacy Policy) of this information. As part of providing you the Services, we may need to provide you with certain communications, such as service announcements and administrative messages. These communications are considered part of the Services and your Retrospring account, which you may not be able to opt-out from receiving.
|
||||
%h2 3. Conducts
|
||||
%p All Content, whether publicly posted or privately transmitted, is the sole responsibility of the person who originated such Content. We may not monitor or control the Content posted via the Services and, we cannot take responsibility for such Content. Any use or reliance on any Content or materials posted via the Services or obtained by you through the Services is at your own risk.
|
||||
%p We do not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Content or communications posted via the Services or endorse any opinions expressed via the Services excluding official information represented by the "Staff" of the Services. You understand that by using the Services, you may be exposed to Content that might be offensive, harmful, inaccurate or otherwise inappropriate, or in some cases, postings that have been mislabeled or are otherwise deceptive. Under no circumstances will Retrospring be liable in any way for any Content, including, but not limited to, any errors or omissions in any Content, or any loss or damage of any kind incurred as a result of the use of any Content posted, emailed, transmitted or otherwise made available via the Services or broadcast elsewhere.
|
||||
%h2 4. Limitation of Liability
|
||||
%p Retrospring makes no guarantee of availability of service and reserves the right to change, withdraw, suspend, or discontinue any functionality or feature of Retrospring's services. In no event shall Retrospring be liable for any damages whatsoever. This includes direct, indirect, incidental, special, consequential, or punitive damages arising out of the use of or inability to use Retrospring's services or any content thereon.
|
||||
%h2 5. Restrictions on Content and Use of the Services
|
||||
%p We reserve the right at all times (but will not have an obligation) to remove or refuse to distribute any Content on the Services, to suspend or terminate users, and to reclaim usernames without liability to you. We also reserve the right to access, read, preserve, and disclose any information as we reasonably believe is necessary to satisfy any applicable law, regulation, legal process or governmental request, enforce the Terms, including investigation of potential violations hereof, detect, prevent, or otherwise address fraud, security or technical issues, respond to user support requests, or protect the rights, property or safety of Retrospring, its users and the public.
|
||||
%h2 6. Maintenance
|
||||
%p Retrospring may perform maintenance services at any time. You acknowledge that such maintenance may require downtime, and contents or features on Retrospring may not load during this time as well as client functionality being disabled.
|
||||
%p Retrospring requires occasional maintenances to improve, resolve, or update our service. These maintenances can take time, and can result in time without client functionality. We are not responsible for any loss of profile information or any other Content posted on the Service in these times.
|
||||
%h2 7. Copyright Policy
|
||||
%p Retrospring respects the intellectual property rights of others and expects users of the Services to do the same. We will respond to notices of alleged copyright infringement that comply with applicable law and are properly provided to us. If you believe that your Content has been copied in a way that constitutes copyright infringement, please provide us with the following information: a physical or electronic signature of the copyright owner or a person authorized to act on their behalf; identification of the copyrighted work claimed to have been infringed; identification of the material that is claimed to be infringing or to be the subject of infringing activity and that is to be removed or access to which is to be disabled, and information reasonably sufficient to permit us to locate the material; your contact information, including your address, telephone number, and an email address; a statement by you that you have a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law; and a statement that the information in the notification is accurate, and, under penalty of perjury, that you are authorized to act on behalf of the copyright owner.
|
||||
%p We reserve the right to remove Content alleged to be infringing without prior notice, at our sole discretion, and without liability to you. In appropriate circumstances, Retrospring will also terminate a user’s account if the user is determined to be a repeat infringer.
|
||||
%p
|
||||
%em Effective: the time we will actually publish it plus some days
|
|
@ -28,6 +28,8 @@ Rails.application.routes.draw do
|
|||
|
||||
match '/about', to: 'static#about', via: 'get'
|
||||
match '/help/faq', to: 'static#faq', via: 'get', as: :help_faq
|
||||
match '/privacy', to: 'static#privacy_policy', via: 'get', as: :privacy_policy
|
||||
match '/terms', to: 'static#terms', via: 'get', as: :terms
|
||||
|
||||
# Devise routes
|
||||
devise_for :users, path: 'user', skip: [:sessions, :registrations]
|
||||
|
|
Loading…
Reference in a new issue