Commit graph

308 commits

Author SHA1 Message Date
Di Wu
2e6df69489 forwarded for and forwarded protocol 2016-01-21 18:36:26 -08:00
Di Wu
625d2cf298 comment 2016-01-19 07:37:26 -08:00
Di Wu
01a9505cc7 remove channel doesn't crash 2016-01-19 06:07:44 -08:00
Di Wu
fe72792fd2 use basetestcase for most test cases that require predefined user, add test for ensuretriggers, add travis cache 2016-01-18 01:02:42 -08:00
Di Wu
10fafd1e84 fix docs page 2016-01-13 19:59:20 -08:00
Pēteris Caune
57b813677a Log page shows notice about reached ping log limit. 2016-01-11 12:27:57 +02:00
Pēteris Caune
68fe11a41b fillnpings catches up with pings received during the execution of the command 2016-01-08 14:16:50 +02:00
Pēteris Caune
b592e5b449 prunepingsslow command skips checks with user_id=null 2016-01-08 12:48:36 +02:00
Pēteris Caune
6945497b37 Don't try to import braintree if USE_PAYMENTS=False. Fixes #28 2016-01-07 11:44:38 +02:00
Di Wu
79b7327c9e fix tests and optimize authentication and fix some unclosed markup 2016-01-04 23:47:32 -05:00
Pēteris Caune
1dacc8b797 Users can add passwords to their accounts. Fixes #6 2016-01-05 00:25:08 +02:00
Pēteris Caune
b92b0db087 Fix tests. 2016-01-04 22:47:33 +02:00
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
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
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
31c10d357e Updated pricing page, added billing history and invoices. 2015-12-28 18:55:46 +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
9c41258328 Privacy policy, updated content in About page, links in footer. 2015-12-27 00:42:40 +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
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
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
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
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
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