Pēteris Caune
30a3482d0e
Fix missing uwsgi dependencies in arm/v7 Docker image
3 years ago
Pēteris Caune
3e0ff1cf81
Update CHANGELOG for v1.23.0 release
3 years ago
Pēteris Caune
1b0f5e92f1
Update Dockerfile to use the piwheels.org repo on armhf
cc: #565 , #568
3 years ago
Pēteris Caune
4ef23c7309
Remove linux/arm/v7 from publish_docker_image (it does not work)
Context: #568
3 years ago
Pēteris Caune
4306350df8
Add docker/[email protected]
3 years ago
Pēteris Caune
4d4730fefc
Add docker/setup-buildx-action@v1
3 years ago
Pēteris Caune
63aa63c124
Update publish_docker_image.yml to build ARM images
3 years ago
Pēteris Caune
129e1edf1e
Upgrade pytz 2021.1 -> 2021.3
3 years ago
Pēteris Caune
bee0512d80
Fix dark mode bug in button groups, remove button outlines in Chrome
3 years ago
Pēteris Caune
b8771b9eb8
Add uuid/slug switcher in the Details page
3 years ago
Pēteris Caune
5656515830
Add 'schemaVersion' field in the shields.io endpoint
Fixes : #566
3 years ago
Pēteris Caune
28d15d7bf2
Fix dark mode bug in the "Set Password" screen
3 years ago
Pēteris Caune
5fe4a60b30
Upgrade to jQuery 3.6.0
3 years ago
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