22 Commits

Author SHA1 Message Date
Pēteris Caune
a402dce293
Validate and reject cron schedules with six components 2018-12-14 15:21:02 +02:00
Pēteris Caune
a8c102f799
test_update_timeout: test if a Flip object gets created 2018-12-14 10:46:22 +02:00
Pēteris Caune
925d34daad
Update Check.status field when user edits timeout & grace settings 2018-12-13 16:53:26 +02:00
Pēteris Caune
c2f200fa02
Allow simultaneous access to checks from different teams 2018-11-29 13:51:25 +02:00
Pēteris Caune
ef6e1870d9
Preliminary Django 2 support 2018-04-24 22:38:02 +03:00
Pēteris Caune
810089d183 Require valid "schedule" and "tz" fields for cron checks. 2017-05-01 22:22:49 +03:00
Pēteris Caune
5dafc07c29 Return 403 when API key is wrong. Return 404 when resource not found. Return 405 when request method is wrong. Return 400 when request syntax is wrong. 2017-03-10 10:35:21 +02:00
Pēteris Caune
aabfd55f7c Cleanup and tests for cron preview. 2016-12-26 10:27:19 +02:00
Pēteris Caune
5a533441b5 When client GETs instead of POSTs, return HTTP 400 2016-12-21 17:22:48 +02:00
Pēteris Caune
b22b0a44e2 Validate cron expression before saving check. 2016-12-21 12:24:24 +02:00
Pēteris Caune
6ada656df4 UI for entering cron expression and setting timezone. 2016-12-13 13:09:53 +02:00
Pēteris Caune
ce57a1cc8b Calculate alert_after in Python code instead of a database trigger. This will allow complex calculations down the road. 2016-11-04 16:30:19 +02:00
Pēteris Caune
feb2294a7e Tests for team access. 2016-05-09 17:29:41 +03:00
Pēteris Caune
fdf9c607e5 Team Access, test cleanup 2016-05-09 15:35:13 +03: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
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
74c5e5d906 Use assertRedirects() to test redirects. 2016-01-02 18:32:00 +02:00
Pēteris Caune
947f686c61 Organize imports using isort. 2015-11-02 23:55:33 +02:00
Pēteris Caune
cee2b52d3e More tests. 2015-08-18 21:17:13 +03:00
Pēteris Caune
18635e947a More tests. 2015-08-14 15:06:06 +03:00
Pēteris Caune
969626c0fa Validate UUID, more tests. 2015-07-28 20:46:17 +03:00