@ -11,7 +11,7 @@ class TeamAccessMiddlewareTestCase(TestCase): | |||
user.save() | |||
self.client.login(username="[email protected]", password="password") | |||
r = self.client.get("/about/") | |||
r = self.client.get("/docs/") | |||
self.assertEqual(r.status_code, 200) | |||
self.assertEqual(Profile.objects.count(), 1) |
@ -27,7 +27,7 @@ class PricingTestCase(BaseTestCase): | |||
for email in ("[email protected]", "[email protected]"): | |||
self.client.login(username=email, password="password") | |||
r = self.client.get("/about/") | |||
r = self.client.get("/docs/") | |||
self.assertContains(r, "Pricing") | |||
def test_it_offers_to_switch(self): | |||
@ -59,7 +59,7 @@ | |||
</button> | |||
<a class="navbar-brand" | |||
href="{% url 'hc-index' %}" | |||
title="healthchecks.io - Monitor Cron Jobs"> | |||
title="{% site_name %} - Monitor Cron Jobs"> | |||
{% if request.user.is_authenticated %} | |||
<img | |||
id="logo" | |||
@ -67,7 +67,7 @@ | |||
width="59" | |||
src="{% static 'img/logo.png'%}" | |||
srcset="{% static 'img/logo.png'%} 1x, {% static 'img/[email protected]'%} 2x" | |||
alt="healthchecks.io"> | |||
alt="{% site_name %}"> | |||
{% else %} | |||
<img | |||
id="logo" | |||
@ -75,7 +75,7 @@ | |||
width="200" | |||
src="{% static 'img/logo-full.png'%}" | |||
srcset="{% static 'img/logo-full.png'%} 1x, {% static 'img/[email protected]'%} 2x" | |||
alt="healthchecks.io"> | |||
alt="{% site_name %}"> | |||
{% endif %} | |||
</a> | |||
@ -104,9 +104,6 @@ | |||
<a href="{% url 'hc-docs' %}">Docs</a> | |||
</li> | |||
<li {% if page == 'about' %} class="active" {% endif %}> | |||
<a href="{% url 'hc-about' %}">About</a> | |||
</li> | |||
</ul> | |||
@ -161,13 +158,7 @@ | |||
<footer class="footer"> | |||
<div class="container"> | |||
<ul> | |||
<li class="hidden-xs">© 2015-2018 Monkey See Monkey Do SIA</li> | |||
<li><a href="{% url 'hc-terms' %}">Terms</a></li> | |||
<li><a href="{% url 'hc-privacy' %}">Privacy</a></li> | |||
{% if show_pricing %} | |||
<li><a href="{% url 'hc-pricing' %}">Pricing</a></li> | |||
{% endif %} | |||
<li><a href="{% url 'hc-about' %}">Contact</a></li> | |||
<li>Powered by Healthchecks open-source project <a href="https://github.com/healthchecks/healthchecks">(github)</a></li> | |||
</ul> | |||
</div> | |||
</footer> | |||
@ -105,7 +105,7 @@ | |||
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 500px;" class="wrapper"> | |||
<tr> | |||
<td align="center" valign="top" style="padding: 15px 0;" class="logo"> | |||
<a href="https://healthchecks.io" target="_blank"> | |||
<a href="{% site_root %}" target="_blank"> | |||
<img alt="Logo" src="{% site_root %}/static/img/[email protected]" width="200" height="50" style="display: block; font-family: Helvetica, Arial, sans-serif; color: #ffffff; font-size: 16px;" border="0"> | |||
</a> | |||
</td> | |||
@ -1,59 +0,0 @@ | |||
{% extends "base.html" %} | |||
{% load staticfiles %} | |||
{% block title %}About - healthchecks.io{% endblock %} | |||
{% block content %} | |||
<div class="row"> | |||
<div class="col-sm-12"> | |||
<h3>Contact</h3> | |||
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p> | |||
<p>Twitter: <a href="https://twitter.com/healthchecks_io">@healthchecks_io</a></p> | |||
<p>Mailing address:</p> | |||
<address> | |||
<strong>Monkey See Monkey Do SIA</strong><br> | |||
Gaujas iela 4-2<br> | |||
Valmiera, LV-4201<br> | |||
Latvia | |||
</address> | |||
<h3>Open Source</h3> | |||
<p> | |||
healthchecks.io is an open source project. The code is on | |||
<a href="https://github.com/healthchecks/healthchecks">GitHub</a>, | |||
it has BSD license, and is accepting contributions. | |||
</p> | |||
<h3>Reliability Guarantees</h3> | |||
<p> | |||
The service is currently run on Hetzner bare metal servers. | |||
The app servers are load balanced, but the Postgres database | |||
currently is a single point of failure. The database does have | |||
daily backups. The ops team consists of a single person, so | |||
multi-hour or even multi-day outages are possible! | |||
</p> | |||
<p> | |||
While we can only guarantee a <em>best effort</em> availability, | |||
in practice the availability has exceeded 99.9% since the service | |||
publicly launched in July 2015. That is, until 20 August 2016, | |||
when the service <a href="https://medium.com/@healthchecks/outage-postmortem-20-august-2016-204297b9d3dd#.dahxkssp8">experienced a 24 hour outage</a>. | |||
</p> | |||
<p> | |||
There's also a number of alternative cron monitoring services, with | |||
different feature sets, different reliability guarantees and | |||
pricing options. If healthchecks.io doesn't seem like a good fit | |||
for you, why not check them out: | |||
<a href="https://cronitor.io/">Cronitor.io</a>, | |||
<a href="https://deadmanssnitch.com/">Dead Man's Snitch</a>, | |||
<a href="https://github.com/quantopian/coal-mine">Coal Mine</a>, | |||
<a href="http://www.pushmon.com/">PushMon</a>, | |||
<a href="https://steward.io">steward.io</a>, | |||
<a href="https://www.cronalarm.com/">CronAlarm</a>, | |||
<a href="https://wdt.io/">Watchdog Timer</a>. | |||
</p> | |||
</div> | |||
</div> | |||
{% endblock %} |
@ -1,69 +0,0 @@ | |||
{% extends "base.html" %} | |||
{% block title %}Privacy Policy - healthchecks.io{% endblock %} | |||
{% block content %} | |||
<div class="page-header"> | |||
<h1>Privacy Policy</h1> | |||
</div> | |||
<p>This Privacy Policy governs the manner in which Monkey See Monkey Do SIA collects, uses, maintains and discloses information collected from users (each, a "User") of the <a href="https://healthchecks.io">healthchecks.io</a> website ("Site"). This privacy policy applies to the Site and all products and services offered by Monkey See Monkey Do SIA.</p> | |||
<h3>Personal identification information</h3> | |||
<p>We may collect personal identification information from Users in a variety of ways, including, but not limited to, when Users visit our site, register on the site, place an order, and in connection with other activities, services, features or resources we make available on our Site.Users may be asked for, as appropriate, email address. Users may, however, visit our Site anonymously. We will collect personal identification information from Users only if they voluntarily submit such information to us. Users can always refuse to supply personally identification information, except that it may prevent them from engaging in certain Site related activities.</p> | |||
<h3>Non-personal identification information</h3> | |||
<p>We may collect non-personal identification information about Users whenever they interact with our Site. Non-personal identification information may include the browser name, the type of computer and technical information about Users means of connection to our Site, such as the operating system and the Internet service providers utilized and other similar information.</p> | |||
<h3>Web browser cookies</h3> | |||
<p>Our Site may use "cookies" to enhance User experience. User's web browser places cookies on their hard drive for record-keeping purposes and sometimes to track information about them. User may choose to set their web browser to refuse cookies, or to alert you when cookies are being sent. If they do so, note that some parts of the Site may not function properly.</p> | |||
<h3>How we use collected information</h3> | |||
<p>Monkey See Monkey Do SIA may collect and use Users personal information for the following purposes:</p> | |||
<ul> | |||
<li> | |||
<i>To run and operate our Site</i><br/> | |||
We may need your information display content on the Site correctly. | |||
</li> | |||
<li> | |||
<i>To personalize user experience</i><br/> | |||
We may use information in the aggregate to understand how our Users as a group use the services and resources provided on our Site. | |||
</li> | |||
<li> | |||
<i>To process payments</i><br/> | |||
We may use the information Users provide about themselves when placing an order only to provide service to that order. We do not share this information with outside parties except to the extent necessary to provide the service. | |||
</li> | |||
<li> | |||
<i>To run a promotion, contest, survey or other Site feature</i><br/> | |||
To send Users information they agreed to receive about topics we think will be of interest to them. | |||
</li> | |||
<li> | |||
<i>To send periodic emails</i><br/> | |||
We may use the email address to send User information and updates pertaining to their order. It may also be used to respond to their inquiries, questions, and/or other requests. | |||
</li> | |||
</ul> | |||
<h3>How we protect your information</h3> | |||
<p>We adopt appropriate data collection, storage and processing practices and security measures to protect against unauthorized access, alteration, disclosure or destruction of your personal information, username, password, transaction information and data stored on our Site.</p> | |||
<h3>Sharing your personal information</h3> | |||
<p>We do not sell, trade, or rent Users personal identification information to others. We may share generic aggregated demographic information not linked to any personal identification information regarding visitors and users with our business partners, trusted affiliates and advertisers for the purposes outlined above. </p> | |||
<h3>Third party websites</h3> | |||
<p>Users may find advertising or other content on our Site that link to the sites and services of our partners, suppliers, advertisers, sponsors, licencors and other third parties. We do not control the content or links that appear on these sites and are not responsible for the practices employed by websites linked to or from our Site. In addition, these sites or services, including their content and links, may be constantly changing. These sites and services may have their own privacy policies and customer service policies. Browsing and interaction on any other website, including websites which have a link to our Site, is subject to that website's own terms and policies.</p> | |||
<h3>Changes to this privacy policy</h3> | |||
<p>Monkey See Monkey Do SIA has the discretion to update this privacy policy at any time. When we do, we will post a notification on the main page of our Site. We encourage Users to frequently check this page for any changes to stay informed about how we are helping to protect the personal information we collect. You acknowledge and agree that it is your responsibility to review this privacy policy periodically and become aware of modifications.</p> | |||
<h3>Your acceptance of these terms</h3> | |||
<p>By using this Site, you signify your acceptance of this policy. If you do not agree to this policy, please do not use our Site. Your continued use of the Site following the posting of changes to this policy will be deemed your acceptance of those changes.</p> | |||
<h3>Contacting us</h3> | |||
<p>If you have any questions about this Privacy Policy, the practices of this site, or your dealings with this site, please | |||
<a href="{% url 'hc-about' %}">contact us</a>.</p> | |||
<p>This document was last updated on December 26, 2015</p> | |||
{% endblock %} |
@ -1,67 +0,0 @@ | |||
{% extends "base.html" %} | |||
{% block title %}Terms of Service - healthchecks.io{% endblock %} | |||
{% block content %} | |||
<div class="page-header"> | |||
<h1>Terms of Service ("Terms")</h1> | |||
</div> | |||
<p>Please read these Terms of Service ("Terms", "Terms of Service") carefully before using the https://healthchecks.io website (the "Service") operated by Monkey See Monkey Do SIA ("us", "we", or "our").</p> | |||
<p>Your access to and use of the Service is conditioned on your acceptance of and compliance with these Terms. These Terms apply to all visitors, users and others who access or use the Service.</p> | |||
<p>By accessing or using the Service you agree to be bound by these Terms. If you disagree with any part of the terms then you may not access the Service.</p> | |||
<h3>Subscriptions</h3> | |||
<p>Some parts of the Service are billed on a subscription basis ("Subscription(s)"). You will be billed in advance on a recurring and periodic basis ("Billing Cycle"). Billing cycles are set on a monthly basis.</p> | |||
<p>At the end of each Billing Cycle, your Subscription will automatically renew under the exact same conditions unless you cancel it or Monkey See Monkey Do SIA cancels it. You may cancel your Subscription renewal either through your online account management page or by contacting Monkey See Monkey Do SIA customer support team.</p> | |||
<p>A valid payment method, including credit card or PayPal, is required to process the payment for your Subscription. You shall provide Monkey See Monkey Do SIA with accurate and complete billing information including full name, address, state, zip code, telephone number, and a valid payment method information. By submitting such payment information, you automatically authorize Monkey See Monkey Do SIA to charge all Subscription fees incurred through your account to any such payment instruments.</p> | |||
<p>Should automatic billing fail to occur for any reason, Monkey See Monkey Do SIA will issue an electronic invoice indicating that you must proceed manually, within a certain deadline date, with the full payment corresponding to the billing period as indicated on the invoice.</p> | |||
<h3>Fee Changes</h3> | |||
<p>Monkey See Monkey Do SIA, in its sole discretion and at any time, may modify the Subscription fees for the Subscriptions. Any Subscription fee change will become effective at the end of the then-current Billing Cycle.</p> | |||
<p>Monkey See Monkey Do SIA will provide you with a reasonable prior notice of any change in Subscription fees to give you an opportunity to terminate your Subscription before such change becomes effective.</p> | |||
<p>Your continued use of the Service after the Subscription fee change comes into effect constitutes your agreement to pay the modified Subscription fee amount.</p> | |||
<h3>Refunds</h3> | |||
<p>Certain refund requests for Subscriptions may be considered by Monkey See Monkey Do SIA on a case-by-case basis and granted in sole discretion of Monkey See Monkey Do SIA.</p> | |||
<h3>Accounts</h3> | |||
<p>When you create an account with us, you must provide us information that is accurate, complete, and current at all times. Failure to do so constitutes a breach of the Terms, which may result in immediate termination of your account on our Service.</p> | |||
<p>You are responsible for safeguarding the password that you use to access the Service and for any activities or actions under your password, whether your password is with our Service or a third-party service.</p> | |||
<p>You agree not to disclose your password to any third party. You must notify us immediately upon becoming aware of any breach of security or unauthorized use of your account.</p> | |||
<h3>Intellectual Property</h3> | |||
<p>The Service and its original content, features and functionality are and will remain the exclusive property of Monkey See Monkey Do SIA and its licensors. The Service is protected by copyright, trademark, and other laws of both the Latvia and foreign countries. Our trademarks and trade dress may not be used in connection with any product or service without the prior written consent of Monkey See Monkey Do SIA.</p> | |||
<h3>Links To Other Web Sites</h3> | |||
<p>Our Service may contain links to third-party web sites or services that are not owned or controlled by Monkey See Monkey Do SIA.</p> | |||
<p>Monkey See Monkey Do SIA has no control over, and assumes no responsibility for, the content, privacy policies, or practices of any third party web sites or services. You further acknowledge and agree that Monkey See Monkey Do SIA shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such web sites or services.</p> | |||
<p>We strongly advise you to read the terms and conditions and privacy policies of any third-party web sites or services that you visit.</p> | |||
<h3>Termination</h3> | |||
<p>We may terminate or suspend your account immediately, without prior notice or liability, for any reason whatsoever, including without limitation if you breach the Terms.</p> | |||
<p>Upon termination, your right to use the Service will immediately cease. If you wish to terminate your account, you may simply discontinue using the Service.</p> | |||
<h3>Limitation Of Liability</h3> | |||
<p>In no event shall Monkey See Monkey Do SIA, nor its directors, employees, partners, agents, suppliers, or affiliates, be liable for any indirect, incidental, special, consequential or punitive damages, including without limitation, loss of profits, data, use, goodwill, or other intangible losses, resulting from (i) your access to or use of or inability to access or use the Service; (ii) any conduct or content of any third party on the Service; (iii) any content obtained from the Service; and (iv) unauthorized access, use or alteration of your transmissions or content, whether based on warranty, contract, tort (including negligence) or any other legal theory, whether or not we have been informed of the possibility of such damage, and even if a remedy set forth herein is found to have failed of its essential purpose.</p> | |||
<h3>Disclaimer</h3> | |||
<p>Your use of the Service is at your sole risk. The Service is provided on an "AS IS" and "AS AVAILABLE" basis. The Service is provided without warranties of any kind, whether express or implied, including, but not limited to, implied warranties of merchantability, fitness for a particular purpose, non-infringement or course of performance.</p> | |||
<p>Monkey See Monkey Do SIA its subsidiaries, affiliates, and its licensors do not warrant that a) the Service will function uninterrupted, secure or available at any particular time or location; b) any errors or defects will be corrected; c) the Service is free of viruses or other harmful components; or d) the results of using the Service will meet your requirements.</p> | |||
<h3>Governing Law</h3> | |||
<p>These Terms shall be governed and construed in accordance with the laws of Latvia, without regard to its conflict of law provisions.</p> | |||
<p>Our failure to enforce any right or provision of these Terms will not be considered a waiver of those rights. If any provision of these Terms is held to be invalid or unenforceable by a court, the remaining provisions of these Terms will remain in effect. These Terms constitute the entire agreement between us regarding our Service, and supersede and replace any prior agreements we might have between us regarding the Service.</p> | |||
<h3>Changes</h3> | |||
<p>We reserve the right, at our sole discretion, to modify or replace these Terms at any time. If a revision is material we will try to provide at least 30 days notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion.</p> | |||
<p>By continuing to access or use our Service after those revisions become effective, you agree to be bound by the revised terms. If you do not agree to the new terms, please stop using the Service.</p> | |||
<h3>Contact Us</h3> | |||
<p>If you have any questions about these Terms, please <a href="{% url 'hc-about' %}">contact us</a>.</p> | |||
<p>This document was last updated on June 03, 2016</p> | |||
{% endblock %} |
@ -1,68 +0,0 @@ | |||
{% extends "base_bare.html" %} | |||
{% block title %}Invoice MS-HC-{{ tx.id|upper }} - healthchecks.io{% endblock %} | |||
{% block content %} | |||
<h1>SIA Monkey See Monkey Do</h1> | |||
<p> | |||
Gaujas iela 4-2<br /> | |||
Valmiera, LV-4201, Latvia<br /> | |||
VAT: LV44103100701 | |||
</p> | |||
<p class="text-right">Date Issued: {{ tx.created_at|date }}</p> | |||
<p class="text-right">Invoice Id: MS-HC-{{ tx.id|upper }}</p> | |||
<table class="table"> | |||
<tr> | |||
<th>Description</th> | |||
<th>Start</th> | |||
<th>End</th> | |||
<th class="text-right">{{ tx.currency_iso_code }}</th> | |||
</tr> | |||
<tr> | |||
<td>healthchecks.io paid plan</td> | |||
<td>{{ tx.subscription_details.billing_period_start_date }}</td> | |||
<td>{{ tx.subscription_details.billing_period_end_date }}</td> | |||
<td class="text-right"> | |||
{% if tx.currency_iso_code == "USD" %} | |||
${{ tx.amount }} | |||
{% elif tx.currency_iso_code == "EUR" %} | |||
€{{ tx.amount }} | |||
{% else %} | |||
{{ tx.currency_iso_code }} {{ tx.amount }} | |||
{% endif %} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="4" class="text-right"> | |||
<strong> | |||
Total: | |||
{% if tx.currency_iso_code == "USD" %} | |||
${{ tx.amount }} | |||
{% elif tx.currency_iso_code == "EUR" %} | |||
€{{ tx.amount }} | |||
{% else %} | |||
{{ tx.currency_iso_code }} {{ tx.amount }} | |||
{% endif %} | |||
</strong> | |||
</td> | |||
</tr> | |||
</table> | |||
<p><strong>Bill to:</strong></p> | |||
<p> | |||
{% if request.user.profile.bill_to %} | |||
{{ request.user.profile.bill_to|linebreaksbr }} | |||
{% else %} | |||
{{ request.user.email }} | |||
{% endif %} | |||
</p> | |||
<p class="text-center"> | |||
If you have a credit card on file it will be automatically charged within 24 hours. | |||
</p> | |||
{% endblock %} |