Pēteris Caune
148894bd9e
Upgrade to Bootstrap 3.4.1
3 years ago
Pēteris Caune
27da637e86
Fix Dockerfile to correctly build cryptography==35.0.0 on 32-bit arm
Fixes : #565
Also, split Dockerfile into two stages, so rust
and other build dependencies don't end up in the final image.
Note cryptography has binary wheels for various architectures,
but unfortunately not for 32-bit arm. And, starting from v35.0.0,
cryptography requires rust to build from source.
3 years ago
Jake Howard
cd4cc1f2d9
Pin debian version to Buster
Bullseye isn't currently supported on the Pi 4
3 years ago
Jake Howard
7a5afc26be
Install libpq-dev so psycopg2 can build correctly
3 years ago
Jake Howard
25da46f5b6
Use slim version of docker container
This massively reduces the size of the final container
3 years ago
Pēteris Caune
b5f7ec1324
Add "Ping Key Required" dialog
In the Details page, if the user click "Ping Now",
and the project is using {ping-key}/{slug} URLs,
but the ping key is not set, then show a
"Ping Key Required" message instead of trying to ping
and invalid URL.
3 years ago
Pēteris Caune
1b0d0eac6a
Enable retry for SMTPDataError
3 years ago
Pēteris Caune
4618108046
Make "or" bold
cc: #547
3 years ago
Pēteris Caune
2adf4b6aee
Add "(not unique)" note next to ambiguous ping URLs
3 years ago
Pēteris Caune
7f766e4f48
Improve docs
3 years ago
Pēteris Caune
9299ee4516
Improve response code descriptions in Ping API docs
3 years ago
Pēteris Caune
027920ef2b
Fix ping handler to return "not found" in 404 body
3 years ago
Pēteris Caune
be66ec73e5
Add the slug-based endpoints in Ping API docs
3 years ago
Pēteris Caune
6e3a1c790d
Fix the ping handler to reject status codes > 255
3 years ago
Pēteris Caune
5905560583
Add content about the new slug-based ping URLs in docs/introduction.md
3 years ago
Pēteris Caune
0134077bd0
Simplify JS
3 years ago
Pēteris Caune
d48b95c902
Improve tests to cover @csrf_exempt usage
3 years ago
Pēteris Caune
f8131741ef
Fix minor API inconsistencies
1. Drop API support for GET, DELETE requests with a request body.
Healthchecks had an undocumented quirk where you could authenticate a
GET or DELETE request by putting a '{"api_key":"..."}' in request body.
This commit removes this feature.
Note: POST requests can still authenticate either by sending
a X-Api-Key header, or by putting a "api_key" key in request body.
GET and DELETE requests can now only authenticate with the
request header.
2. Add missing @csrf_exempt annotations in API views
When client sends a HTTP POST request to a GET-only endpoint,
the server is supposed to respond with "405 Method Not Allowed".
Due to CSRF checking, a couple endpoints were responding with
"403 Forbidden" instead. Adding @csrf_exempt annotations fixes
the problem.
3 years ago
Pēteris Caune
51f996ab4b
Fix /api/v1/badges/ to handle requests with missing X-Api-Key header
3 years ago
Pēteris Caune
66af88145a
Add "if read-write" conditionals for modals in project.html
3 years ago
Pēteris Caune
3dfdbc09ca
Add ability to create/revoke individual keys
3 years ago
Pēteris Caune
688aa5b3c3
Implement hc.api.views.ping_by_slug
3 years ago
Pēteris Caune
9517035501
Fix N+1 queries issue in "My Checks" and clean up Check.url()
3 years ago
Pēteris Caune
250a8580ae
Fix tests
3 years ago
Pēteris Caune
5b9008e321
Implement alternative ping URLs, WIP
3 years ago
Pēteris Caune
5fafc871dd
Fix unwanted text wrapping in the URL cell
3 years ago
Pēteris Caune
3f078e6cda
Optimize HTML in the "list of checks" page
In a project with ~300 checks,
* HTML size (uncompressed) before: 772KiB
* HTML size (uncompressed) after: 703KiB
3 years ago
Pēteris Caune
be641aea96
Add tests for LINE and Trello transports
3 years ago
Pēteris Caune
3e9e13104e
Remove unused code
3 years ago
Pēteris Caune
f9c470ef59
Clean up redundant json.loads() in the Channel class
3 years ago
Pēteris Caune
2c662dac20
Fix HTML validation issues
3 years ago
Pēteris Caune
6f5a22fd98
Improve up/down flag validation
In SMS, Signal and WhatsApp forms, reject the form if
user unchecks both "alert when check goes DOWN" and
"alert when check goes UP".
3 years ago
Pēteris Caune
8541ec59ca
Add ability to edit existing WhatsApp integrations
3 years ago
Pēteris Caune
5af09ed4dd
Add ability to edit existing Signal integrations
3 years ago
Pēteris Caune
3807c200ce
Add ability to edit existing SMS integrations
3 years ago
Pēteris Caune
c2e00f2105
Fix assign_all_checks() usage, add tests for it
3 years ago
Pēteris Caune
a27652d762
Combine the add_webhook and edit_webhook views
3 years ago
Pēteris Caune
2a9a544ddf
Add ability to edit existing email integrations
3 years ago
Yann Papouin
b5fd5cfaed
Fix db-data volume in docker-compose.yml
Use data folder otherwise a second volume is created that becomes orphaned after a docker-compose down.
3 years ago
Pēteris Caune
252acd0a83
Fix dark mode bug
3 years ago
Pēteris Caune
ebac101209
Remove unused class attributes
3 years ago
Pēteris Caune
c7317a87fc
Improve /api/v1/badges/ docs
3 years ago
Pēteris Caune
28506deb74
Improve /api/v1/badges/ docs
cc: #552
3 years ago
Pēteris Caune
f424d14d83
Remove obsolete CSS vendor prefixes
3 years ago
Pēteris Caune
6b59bbe2bc
Remove unused CSS
3 years ago
Pēteris Caune
6ef1a9a01d
Remove obsolete CSS
3 years ago
Pēteris Caune
98eb7cc14a
Add /api/v1/badges/ endpoint
cc: #552
3 years ago
Pēteris Caune
c2ee8222e4
Update the "experimental" note
3 years ago
Pēteris Caune
eb25cde241
Simplify jumbotron CSS
3 years ago
Pēteris Caune
a2fe5653c0
Improve copy in the "Change Schedule" dialog
cc: #547
3 years ago