Commit graph

461 commits

Author SHA1 Message Date
Pēteris Caune
dd188064fa Store the one time login token in profile so user.password can be used for regular passwords. 2016-01-04 22:39:49 +02:00
Pēteris Caune
8e8d9abe3b Limit the number of inserted placeholders.
Otherwise, if period=1m and grace=1m then we can end up generating huge useless tables.
2016-01-03 18:24:46 +02:00
Pēteris Caune
1e3285423f Ping objects get "n" field, their serial numbers, used in "log page". "fillnpings" management command initially populates this field (it touches every ping so it takes time to complete).
Check.n_pings now stores the total number of pings the check has ever received. Running "prunepings" command doesn't affect this field. +a new "prunepingsslow" command which works in smaller chunks so is appropriate for initial pruning of a huge api_ping table.
2016-01-03 18:11:12 +02:00
Pēteris Caune
f178981334 Log: instead of timeline, show placeholders for "expected but not received" pings. 2016-01-03 02:43:56 +02:00
Pēteris Caune
4e12193d8c Custom test runner for quicker tests. 2016-01-02 23:04:03 +02:00
Pēteris Caune
b9ae8d464c Sort by id, not created, when pruning pings. 2016-01-02 22:27:25 +02:00
Pēteris Caune
7019325b48 Investigating Travis/mysql test failure 2016-01-02 22:13:48 +02:00
Pēteris Caune
940534e563 Test for check.prune_pings() method 2016-01-02 21:54:04 +02:00
Pēteris Caune
e80d46a0a9 More tests. 2016-01-02 21:43:01 +02:00
Pēteris Caune
44f0ad45a4 More tests. 2016-01-02 18:41:07 +02:00
Pēteris Caune
74c5e5d906 Use assertRedirects() to test redirects. 2016-01-02 18:32:00 +02:00
Pēteris Caune
be7feecbe2 Put braintree requirement in .travis.yml instead of requirements.txt 2016-01-02 18:07:54 +02:00
Pēteris Caune
0eab82c9a3 Add hc.payments to INSTALLED_APPS and braintree to requirements.txt so hc.payments tests can be run too. 2016-01-02 18:02:47 +02:00
Pēteris Caune
7b98cf23a4 Adding tests to hc.payments 2016-01-02 17:07:48 +02:00
Pēteris Caune
53f2bf7c69 Merge pull request #26 from diwu1989/patch-1
Update README.md to reflect that django1.9 is used
2016-01-02 12:09:00 +02:00
Di Wu
cc45849f76 Update README.md 2016-01-01 16:54:18 -05:00
Pēteris Caune
5a199fec4e management commands use self.stdout.write instead of print. Fixes #21 2015-12-30 21:56:03 +02:00
Pēteris Caune
b7fcaac8ae prunepings and prunechecks management commands 2015-12-30 21:11:00 +02:00
Pēteris Caune
15478d414c Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check. 2015-12-30 14:30:38 +02:00
Pēteris Caune
1c2ee95968 Django 1.9 2015-12-30 14:01:19 +02:00
Pēteris Caune
4d36764644 FAQ 2015-12-28 19:44:19 +02:00
Pēteris Caune
31c10d357e Updated pricing page, added billing history and invoices. 2015-12-28 18:55:46 +02:00
Pēteris Caune
9e7fe0bf0a Remove FAQ from Pricing page, will be changing this again. 2015-12-28 16:02:10 +02:00
Pēteris Caune
e9bff2917b Merge pull request #20 from BetterWorks/badToken
check token need to handle invalid user & invalid token correctly
2015-12-27 00:53:51 +02:00
Pēteris Caune
86e6ee3cda A fix for vertical scrollbar appearing even on short pages. 2015-12-27 00:48:12 +02:00
Pēteris Caune
9c41258328 Privacy policy, updated content in About page, links in footer. 2015-12-27 00:42:40 +02:00
Pēteris Caune
c2cc4d2a86 Sizing tweaks for "My Checks" table. Select ping urls by clicking on them. 2015-12-22 20:07:30 +02:00
Di Wu
2ebad09d14 check token redirect to login on bad token 2015-12-19 00:50:14 -08:00
Pēteris Caune
4da8ebec88 Management command to send monthly reports. 2015-12-18 03:53:00 +02:00
Pēteris Caune
91e6f80d9a Code to send monthly reports (but no management command yet to actually send them) 2015-12-15 02:27:24 +02:00
Pēteris Caune
cf84c02fc8 Bootstrap 3.3.6 2015-12-15 00:47:33 +02:00
Pēteris Caune
2f0e6b5672 Notify user about first charge, show "Pricing" in top nav again. 2015-12-14 15:27:00 +02:00
Pēteris Caune
35aed93b7f New feature: attaching tags to checks, and filtering checks list by their tags. 2015-12-14 12:52:42 +02:00
Pēteris Caune
d51d7ed181 Remove body field from Ping model. 2015-12-12 17:03:34 +02:00
Pēteris Caune
33ad56728c Don't fill in body, will be removing it from model. 2015-12-12 16:59:58 +02:00
Pēteris Caune
0cf4e5c9df PowerShell example on Welcome page. 2015-12-11 19:18:44 +02:00
Pēteris Caune
6fced734d1 Slack is the most popular integration, so move it to top. 2015-12-11 18:43:50 +02:00
Pēteris Caune
7f1f177a55 Get rid of leading/trailing whitespace in channel values. This is a typical problem when copy-pasting Slack URLs. 2015-12-11 18:34:40 +02:00
Pēteris Caune
88818c94b5 Djano admin tweaks 2015-12-08 00:52:02 +02:00
Pēteris Caune
a405e9a8e3 Do braintree setup once in local_settings, not in every request. 2015-12-08 00:12:40 +02:00
Pēteris Caune
d9d4417b70 'manage.py compress' doesn't look at local_settings.py so this conditional doesn't work. 2015-12-08 00:01:10 +02:00
Pēteris Caune
263f50058e Braintree integration WIP. 2015-12-07 23:13:05 +02:00
Pēteris Caune
53edb555dc I'll put this back. This works and uses single transaction, clear()/add() uses 2 transactions. 2015-12-07 21:09:54 +02:00
Pēteris Caune
ded7038145 Merge pull request #15 from BetterWorks/channelCheckOpt
fix and optimize checks channel view
2015-12-07 21:00:14 +02:00
Di Wu
7158e340de fix and optimize checks channel view 2015-12-05 02:23:19 -08:00
Pēteris Caune
d68b9510bb request.build_absolute_uri() behind a reverse proxy doesn't build https links. Construct URLs using settings.SITE_ROOT instead. 2015-12-02 16:17:07 +02:00
Pēteris Caune
f3d30d43b6 Update README with notes about emails and sendalerts command. 2015-12-02 15:48:14 +02:00
Pēteris Caune
6812f4a5c6 More tests for PushOver integration 2015-12-02 15:18:11 +02:00
Pēteris Caune
3ba47b1a67 Style tweaks for PushOver integration 2015-12-02 14:46:41 +02:00
Pēteris Caune
404744f235 Merge pull request #14 from BetterWorks/loggedIn
redirect already logged in user
2015-12-02 13:56:05 +02:00