Commit graph

3239 commits

Author SHA1 Message Date
Pēteris Caune
806800c185 Don't detach password field if it is not hidden (e.g. when the form says "Wrong Password") 2016-01-23 15:25:16 +02:00
Pēteris Caune
63cc186fa3 Nicer slack messages. 2016-01-23 15:18:59 +02:00
Pēteris Caune
e67d0f58c0 Merge pull request #33 from BetterWorks/betterIPParsing
Use X-Forwarded-For and X-Forwarded-Proto headers, instead of X-Real-IP and X-Scheme
2016-01-22 11:44:25 +02:00
Pēteris Caune
45b8f00edf Merge pull request #36 from zonito/patch-1
Add healthcheck UA to inform server about identity
2016-01-22 11:41:36 +02:00
Love Sharma
25b3af6e40 Merge pull request #1 from zonito/master
test fix
2016-01-22 14:17:02 +08:00
Love Sharma
ddfcb0ff2a test fix 2016-01-22 14:16:16 +08:00
Love Sharma
35e9c17f74 Add healthcheck UA to inform server about identity
Adding "healthcheck.io" as User-Agent to inform webhook handler server about request is specific from healthcheck.
2016-01-22 13:57:20 +08:00
Di Wu
2e6df69489 forwarded for and forwarded protocol 2016-01-21 18:36:26 -08:00
Pēteris Caune
37817fe9b0 Merge pull request #34 from BetterWorks/removeCHannel
remove channel should always redirect even if removal fails
2016-01-20 22:56:09 +02: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
Pēteris Caune
96b41ded9b Merge pull request #32 from BetterWorks/passwordManager
defer inserting the password field into the dom
2016-01-19 13:07:23 +02:00
Pēteris Caune
8f215ec01e Merge pull request #31 from BetterWorks/accurateCoverage
dont include tests in coverage calculation
2016-01-19 13:01:50 +02:00
Di Wu
4558628ebf defer inserting the password field 2016-01-18 21:57:25 -08:00
Di Wu
32050e06e8 dont include tests in coverage calculation 2016-01-18 16:01:34 -08:00
Pēteris Caune
808c6e6a01 Merge pull request #30 from BetterWorks/fixTests
use basetestcase for most test cases that require predefined user
2016-01-18 12:44:52 +02: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
Pēteris Caune
29df1be80c Merge pull request #29 from BetterWorks/fixDocsPage
fix docs page crashing if welcome code is expired
2016-01-15 04:04:20 +02: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
78e9cddba0 Use django_compressor 2.0 2016-01-08 12:36:13 +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
Pēteris Caune
7f2aa9e97c Merge pull request #27 from BetterWorks/optimization
fix tests and optimize authentication and fix some unclosed markup
2016-01-05 09:46:48 +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
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