Commit graph

1377 commits

Author SHA1 Message Date
Pēteris Caune
51f7fe7332
Expose subject and subject_fail in API GET calls, improve docs 2022-06-03 09:59:20 +03:00
Tyler
d61909ffd2 Expose subject and subject_fail via API 2022-06-03 09:12:46 +03:00
Pēteris Caune
a37a937209
Improve Gotify instructions and event description 2022-06-01 16:37:54 +03:00
Pēteris Caune
b19ddab1bd
Add Gotify integration
Fixes: #270
2022-06-01 16:13:41 +03:00
Pēteris Caune
1d340d24aa
Add notes in docs about configuring uWSGI via UWSGI_ env vars
cc: #656
2022-05-27 15:13:03 +03:00
Pēteris Caune
6790d867a6
Add address verification step in the "Change Email" flow
A similar issue has come up multiple times: the user
changes account's email address, enters a bad address
by mistake, and gets locked out of their account.

This commit adds an extra step in the "Change Email" flow:

* In "Account Settings", user clicks on [Change Email]
* User gets a prompt for a 6-digit confirmation code, which
  has been sent to their old address. This is to prevent
  account takeover when Eve sits down at a computer where Alice
  is logged in.
* The user enters the confirmation code, and a "Change Email"
  form loads.
* The user enters their new email address.
* (The new step!) Instead of changing the email right away,
  we send a special login link to user's specified new address.
* (The new step, continued) The user clicks on the login link,
  their account's email address gets updated, and they get
  logged in.

The additional step makes sure the user can receive email
at their new address. If they cannot receive email there,
they cannot complete the "Change Email" procedure.
2022-05-20 17:54:45 +03:00
Pēteris Caune
0178cee02c
Update docker docs 2022-05-16 15:01:44 +03:00
Pēteris Caune
e7076155e7
Add "Ping-Body-Limit" response header in ping API responses
The header format is:

    Ping-Body-Limit: n

Where "n" is an integer number, the value of the  PING_BODY_LIMIT
configuration setting.

Clients can use this header to decide how much POST data to send
in HTTP requests. If a client sends more than "n" bytes in the
request body, Healthchecks will store the first "n" bytes, and
ignore the rest.

The default value for PING_BODY_LIMIT is 10000 (10KB).
2022-05-10 15:44:27 +03:00
Pēteris Caune
756257a4a4
Document webhook retry policy in the "Add Webhook" page 2022-05-02 14:54:02 +03:00
Pēteris Caune
98f2536825
Oops, remove debug code 2022-04-25 21:14:35 +03:00
Pēteris Caune
b07f670b05
Regenerate snippet HTML using latest Pygments 2022-04-25 21:06:27 +03:00
Pēteris Caune
0bd09a6e65
Update the C# snippet 2022-04-25 20:55:16 +03:00
Pēteris Caune
85ae2ce724
Remove UTF8 mention in attaching_logs.md 2022-04-20 17:37:22 +03:00
Pēteris Caune
aa2571b7fc
Add small delay in transports.Email.notify to allow ping body to upload 2022-04-19 11:37:48 +03:00
Pēteris Caune
cc3e4d8ab3
Fix wording 2022-04-13 10:52:18 +03:00
Pēteris Caune
32f021b9c5
Update email template to handle not yet uploaded ping bodies 2022-04-13 10:43:12 +03:00
Pēteris Caune
bb38ad3187
Remove the Signal CAPTCHA form (use "submitchallenge" command instead) 2022-04-11 14:24:28 +03:00
Pēteris Caune
131ffe14fb
Add experimental UI for submitting Signal rate limit challenges 2022-04-09 16:29:26 +03:00
Pēteris Caune
a3d1bc7386
Implement the "started" progress spinner in the details pages 2022-04-08 10:56:36 +03:00
Pēteris Caune
087ed0ac12
Improve Matrix notification template 2022-04-04 13:38:40 +03:00
Pēteris Caune
1b2defa6ee
Optimize HTML output in /checks/<uuid>/log/ 2022-04-04 11:11:55 +03:00
Pēteris Caune
580eaceeb5
Optimize HTML output in /checks/<uuid>/log/
* Don't use 'date' and 'time' CSS classes in HTML output
* Replace the span.ua-body CSS class with code tags
2022-04-04 10:24:31 +03:00
Pēteris Caune
1d20be94ff
Optimize HTML output in /checks/<uuid>/log/
* Simplify the "n" cell
* Don't send details URLs, construct them on client side
* Strip microseconds in timestamps
2022-04-04 09:51:07 +03:00
Pēteris Caune
e11e8587a0
Tweak wording in the "check limit reached" message 2022-04-01 18:29:27 +03:00
Pēteris Caune
a6e52bc254
Tweak wording in the "check limit reached" message 2022-04-01 14:36:56 +03:00
Pēteris Caune
6958a9e898
Add a "Download Original" link in the "Ping Details" dialog 2022-03-16 17:31:01 +02:00
Pēteris Caune
fd15302d2a
Improve the loading state of the "Ping Details" dialog
If the "Ping details" dialog takes more than ~300ms to load,
show an animated progress indicator.

Also, move the loading code to a ping_details.js file
to reduce code repetition.
2022-03-16 13:51:26 +02:00
Pēteris Caune
2c4b57fa87
Tweak title 2022-03-15 11:10:26 +02:00
Pēteris Caune
920166032f
Fix typo 2022-03-09 16:51:13 +02:00
Pēteris Caune
b6530a0027
Update docs with the new S3_ environment variables 2022-03-09 16:47:43 +02:00
Pēteris Caune
16a2cd204e
Fix unwanted localization of period and grace values
cc: #617
2022-03-09 09:13:09 +02:00
Pēteris Caune
5774757843
Add handling for missing S3 objects 2022-03-04 12:48:28 +02:00
Pēteris Caune
82f3b0a046
Fix ping_details to run get_body() only once 2022-03-04 12:37:43 +02:00
Pēteris Caune
7ee64893b9
Optimize CSS 2022-03-04 11:36:32 +02:00
Pēteris Caune
05bb80130b
Add support for storing ping bodies in S3-compatible object storage
This is an initial, minimal implementation. It is currently
missing: error handling, timeouts for S3 operations, documentation.

cc: #609
2022-02-28 11:51:04 +02:00
Pēteris Caune
6755935322
Add task-mon to 3rd party resources 2022-02-28 09:53:09 +02:00
Pēteris Caune
5ecd625c0b
Add Ping.body_raw field for storing body as bytes 2022-02-25 16:50:54 +02:00
Pēteris Caune
704ced868d
Add a pinging example using axios 2022-02-21 18:06:21 +02:00
Pēteris Caune
e9c99ab711
Update 3rd party resources, remove inactive library 2022-02-21 10:55:23 +02:00
Pēteris Caune
ec4b5b05ed
Fix language 2022-02-16 16:01:07 +02:00
Pēteris Caune
6ae88a16b8
Fix special character escaping in Zulip notifications 2022-02-09 10:39:29 +02:00
Pēteris Caune
934f2e7959
Fix special character escaping in VictorOps notifications 2022-02-09 10:33:58 +02:00
Pēteris Caune
1e02208422
Fix special character escaping in PagerTree notifications 2022-02-09 10:06:41 +02:00
Pēteris Caune
3f521b16f7
Make email non-editable in "Invite Member" when team limit reached
There is a specific limit of how many other users a given user
can invite in their projects (depends on the plan they are on).
When the limit is reached, the user cannot invite *new* users
in their projects, but they can still invite team members
from one project into another project. In other words, we count
the number of unique invited users, not the number of memberships.

There was an UI bug in the "Invite a Team Member" dialog. The
dialog has an editable "Email" text field. When an user has reached
the team limit, and they open the "Invite" dialog, they could
enter a new user's email address in the Email field and try to invite
them. The server would refuse to exceed the team limit and would
return a plain HTTP 403 page. This is of course confusing to the 
end user.

The fix is to show "Email" as a text field only if the user has
not yet exceeded their team size. If they have, then show "Email"
as non-editable text.
2022-02-04 20:43:17 +02:00
Pēteris Caune
a2e8e31c31
Fix special character escaping in Trello notifications 2022-02-04 20:00:54 +02:00
Pēteris Caune
6539173a0f
Fix special character escaping in LINE Notify notifications 2022-02-04 15:16:56 +02:00
Pēteris Caune
d5103a8231
Disable special character escaping in Pushbullet notifications 2022-02-04 15:02:15 +02:00
Pēteris Caune
d38ebee06c
Disable HTML escaping in Spike.sh notifications 2022-02-04 14:27:02 +02:00
Pēteris Caune
b56f27e4e2
Improve PagerDuty notifications
- Include additional data in the "details" key
- Don't escape HTML characters in the "description" field

cc: #600
2022-02-04 10:36:33 +02:00
Pēteris Caune
14e77f0acc
Disable HTML escaping in Pushover notification titles
Fixes: #606
2022-02-04 10:04:07 +02:00