28 Commits (847a610af96fbe862814364e6c16485ba99e77cb)

Author SHA1 Message Date
  Pēteris Caune 155a1f132b
Simplify super() calls in tests 4 years ago
  Pēteris Caune 0e77064c44
Update API to allow specifying channels by names 4 years ago
  Pēteris Caune b64c8d1cb8
API support for setting the allowed HTTP methods for making ping requests 4 years ago
  Pēteris Caune 461ef5e088
Paused ping handling can be controlled via API. Fixes #376 5 years ago
  Pēteris Caune 76ae42bc8f
"Get a single check" API call now supports read-only API keys. Fixes #346 5 years ago
  James Kirsop 6373db8aa1 Changes to prototype this for testing with real data 5 years ago
  James Kirsop d88f99a712 Changes to prototype this for testing with real data 5 years ago
  Pēteris Caune 5e051d53f8
Validate channel identifiers before creating/updating a check. Fixes #335 5 years ago
  Pēteris Caune cde1f50ac2
API: update check's "alert_after" field when changing schedule 5 years ago
  Pēteris Caune fb527e4ed8
Security: check channel ownership when setting check's channels via API 5 years ago
  Pēteris Caune 435659166c
Don't let SuspiciousOperation bubble up when validating channel ids in API 5 years ago
  Pēteris Caune ccd30ac239
Stricter cron validation, reject schedules like "At midnight of February 31" 5 years ago
  Pēteris Caune bffb51357e
Add desc to hc.api.schemas.check 5 years ago
  Bram Daams 1b3d7e8c0a being able to set/update the description of a check when creating/updating using the api 5 years ago
  Pēteris Caune cdfc9840a7
Source formatted with Black 6 years ago
  Pēteris Caune 0994006603
Drop Check.user_id and Channel.user_id (obsolete, using project_id now) 6 years ago
  Pēteris Caune 965998df18
Fix tests. 6 years ago
  Pēteris Caune 6b7f212c8a
Use the api keys from project, not user profile 6 years ago
  Pēteris Caune 440a143dd6
Add CORS support to API endpoints. Fixes #208 6 years ago
  Pēteris Caune 66bc5cd7c2
Validate channel identifiers as UUIDs 6 years ago
  Pēteris Caune 16d78db72e
Refactoring and a testcase for channels=None 6 years ago
  Pēteris Caune e866d63ca4
Split into smaller separate testcases. 6 years ago
  Andrew DeMaria 824729707e Allow specific channel uuid to be specified in create/update check api 6 years ago
  Pēteris Caune 182f9e1109
Refactor API key checking code 6 years ago
  Pēteris Caune d661839e32
Don't serialize POST payload to JSON, Django's TestClient will do that for us. 6 years ago
  Pēteris Caune ef6e1870d9
Preliminary Django 2 support 7 years ago
  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. 8 years ago
  Pēteris Caune 31eca9c8e8 API: fix updating kind=cron to kind=simple 8 years ago
  Pēteris Caune 20b046cba7 API call for updating checks 8 years ago