Pēteris Caune
42497fe91a
Add rate limiting to the sudo code form
4 years ago
Pēteris Caune
2c3286c280
Improve the "add security key" UX, require sudo mode
4 years ago
Pēteris Caune
e3aedd3b03
Add require_sudo_mode decorator
Planning to use it for sensitive operations (add/remove security keys),
change email, change password, close account.
The decorator sends a six-digit confirmation code to user's email
and renders a form for entering it back. If the user enters the
correct code, the decorators sets a sudo=active marker in
user's session, valid for 30 minutes.
4 years ago
Pēteris Caune
03ea725612
Add Credential.created field
4 years ago
Pēteris Caune
53688f1d87
Add error handling on the client side, use Django form API
4 years ago
Pēteris Caune
1eaa216d3a
Add experimental code for registering Webauthn credentials
4 years ago
Pēteris Caune
cdd2e98bd0
Remove USE_I18N and USE_L10N from settings
They have the default values and so are redundant.
4 years ago
Pēteris Caune
816c158744
Fix code formatting in the Notification model
4 years ago
Pēteris Caune
d5502c50ca
Add retries to the the email sending logic
When sending email using Django's default email
backend (SMTP), and if there is a network issue, the backend
can throw SMTPServerDisconnected.
This commit adds a retry logic which retries sending the
email two times when SMTPServerDisconnected is thrown.
4 years ago
Pēteris Caune
0b685e8b5a
Disable retries when testing webhook integration
Normally, when a webhook call fails (timeout, connection
error, non-2xx response), the HTTP request is retried up to two
times (so up to 3 times total). This is useful when sending
actual notifications, in case the webhook target has a temporary
glitch.
When interactively testing a webhook integration
("Send Test Notification" in the
"Integrations" page), we would prefer to see any errors ASAP
on the screen instead of retrying and so possibly swallowing them.
One specific use case is webhook targets that take long time to
generate a response. "Send Test Notification" is synchronous,
meaning that the user could be stuck for
5 x 3 = 15 seconds waiting for the test HTTP request to time out
three times.
4 years ago
Pēteris Caune
f7e004b2ea
Improve phone number sanitization: remove spaces and hyphens
4 years ago
Pēteris Caune
81e59ac553
Add support for script's exit status in ping URLs
Fixes : #429
4 years ago
Pēteris Caune
6f56ed7f92
Reduce the number of SQL queries used in the "Get Checks" API call
4 years ago
Pēteris Caune
a37e83aca8
Update AddSmsForm to remove any invisible unicode characers
4 years ago
Pēteris Caune
7534f1856f
Add testcases for setting channels in the "Create Check" API call
4 years ago
Pēteris Caune
7e56156d32
Optimize the "Update Check" API call
In the "Update Check" API call, if no fields have changed,
don't save the changes to the database.
4 years ago
Pēteris Caune
0e77064c44
Update API to allow specifying channels by names
Fixes : #440
4 years ago
Pēteris Caune
463ec8c988
Set the "title" and "summary" fields in MS Teams notifications
Fixes : #435
4 years ago
Pēteris Caune
05c81e0a41
Escape markdown in MS Teams notifications. cc: #426
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
c13f65e118
Grammar and style fixes.
4 years ago
Pēteris Caune
66a1a108bf
When decoding inbound emails, decode encoded headers. Fixes #420
4 years ago
Pēteris Caune
bd98174d4c
Fix missing Resume button. Fixes #421
4 years ago
Pēteris Caune
ad720af242
Rename "hc-p-channels" to "hc-channels"
4 years ago
Pēteris Caune
5ebb5958ea
Remove unused "project" parameter in Pushbullet tests.
4 years ago
Pēteris Caune
9ba9032389
Cleaner OAuth redirect_uri generation
4 years ago
Pēteris Caune
d1b1a6c02e
The LINE Notify integration uses OAuth2 flow.
4 years ago
Pēteris Caune
4f53325730
THe LINE Notify integration uses OAuth2 flow.
4 years ago
Pēteris Caune
0a85c5ed12
In Account Settings > My Projects, indicate read-only memberships as read-only
4 years ago
Pēteris Caune
e424176a1f
Remove mentions of "whitelist"
4 years ago
Pēteris Caune
b2a1c0d343
Set USE_L10N to False until we've fixed issues caused by decimal comma formatting in templates. Fixes #416
4 years ago
Pēteris Caune
d73de68f70
Specify the read-write/read-only flag when inviting a team member.
4 years ago
Pēteris Caune
adb004b333
Read-only users cannot change project settings.
4 years ago
Pēteris Caune
39198c827a
Read-only users cannot edit or remove channels.
4 years ago
Pēteris Caune
24c34430ac
Read-only users cannot resume checks.
4 years ago
Pēteris Caune
bdf99e0ea7
The "Add Integration" pages require read-write access.
4 years ago
Pēteris Caune
c9baa2d8eb
Read-only users cannot toggle channels on and off.
4 years ago
Pēteris Caune
024d0adb9c
Read-only users cannot copy, transfer or remove checks.
4 years ago
Pēteris Caune
cbd7ffbffb
Read-only users cannot edit filtering rules.
4 years ago
Pēteris Caune
11d8e6197c
Read-only users cannot add checks.
Read-only users cannot pause checks.
4 years ago
Pēteris Caune
00790dc33c
Member.rw flag. Read-only users cannot edit check's name/desc/tags or schedule
4 years ago
Pēteris Caune
84cc33412a
When copying a check, copy all fields from the "Filtering Rules" dialog
4 years ago
Pēteris Caune
40f95d5a56
When copying a check, also copy the "failure keyword" field Fixes #417
4 years ago
Pēteris Caune
94b993354f
Sort integrations in A-Z order. Rename "LineNotify" -> "LINE Notify". Update the LINE Notify icon.
4 years ago
carson.wang
74668551a7
Add tests & Doesn't get LineNotify token using setting
4 years ago
carson.wang
65b65188d1
Test LineNotify integration with healthcheck
4 years ago
Pēteris Caune
2346ac3e80
Bugfix: don't allow duplicate team memberships
4 years ago
Pēteris Caune
b7e2404f98
Host a read-only dashboard (from github.com/healthchecks/dashboard/), link to it from "Project Settings" > "Show API keys"
4 years ago
Pēteris Caune
c75a37570e
In channels admin, don't show the notification counts, querying it is too expensive.
4 years ago
Pēteris Caune
c7af52637a
Less verbose output in the `senddeletionnotices` command
4 years ago