Commit graph

330 commits

Author SHA1 Message Date
Pēteris Caune
77fd0d00e0
Add "desc" back in the readonly API responses, and add "unique_key" field, derived from code. 2019-07-04 19:33:26 +03:00
Pēteris Caune
35b137a8d7
Allow caching CORS responses. 2019-07-04 12:50:01 +03:00
Pēteris Caune
1f1b1aedca
Don't include ping URLs in API responses when the read-only key is used 2019-07-04 09:36:27 +03:00
Pēteris Caune
e0f161157d
Fix prunepings and prunepingsslow, fixes #264 2019-06-24 18:02:36 +03:00
Pēteris Caune
479208abf0
Webhooks support the $TAGS placeholder 2019-06-04 23:40:08 +03:00
Pēteris Caune
40f4adf78b
Add WhatsApp integration (uses Twilio same as the SMS integration) 2019-05-31 13:01:01 +03:00
Pēteris Caune
9dea24e937
A data migration to convert webhook values to the most recent format. 2019-05-30 00:26:30 +03:00
Pēteris Caune
c7eca1c4a7
Better tests. 2019-05-28 15:35:05 +03:00
Pēteris Caune
d054970b02
Webhooks support PUT method.
.Webhooks can have different request bodies and headers for "up" and "events".
2019-05-28 14:25:29 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black 2019-05-15 14:27:50 +03:00
Pēteris Caune
1b948f4d5a
Show check counts in JSON "badges". Fixes #251 2019-05-15 13:42:38 +03:00
Pēteris Caune
b528b23996
Fix badges for tags containing special characters. Fixes #240, #237 2019-05-14 14:43:43 +03:00
Pēteris Caune
dd9fbc9e8c
Fixing a too low rate limit I had used while debugging. 2019-05-07 12:26:08 +03:00
Pēteris Caune
6040759601
Add the prunetokenbucket management command. 2019-05-05 13:04:32 +03:00
Pēteris Caune
32ee6d4ca9
Fix the "send_alert" admin action. 2019-05-02 14:06:56 +03:00
Pēteris Caune
afaa8767cd
Rate limit login-with-password attempts. 2019-04-26 15:51:10 +03:00
Pēteris Caune
beae8e62b4
Rate limit team invites to 20/day 2019-04-26 09:04:51 +03:00
Pēteris Caune
d299feb420
Salt the ip address before hashing 2019-04-25 21:55:30 +03:00
Pēteris Caune
aaa3b2748e
Rate limiting for the "Log In" emails 2019-04-25 21:28:40 +03:00
Pēteris Caune
2a7129f8c8
Explicit decode_data=False (otherwise, py3.5 passes str, py3.6+ passes bytes). Should fix #242 2019-04-16 10:32:00 +03:00
Pēteris Caune
a4fde44e3a
Can configure the email integration to only report the "down" events. Fixes #231 2019-04-10 17:54:19 +03:00
Michal Bryc
9b4c4482cb Always use "Pager Team" and use more descriptive tagline 2019-03-15 16:23:37 -07:00
Michal Bryc
073bcb1f6f Add migration (autogenerated via manage.py makemigrations) 2019-03-14 11:03:52 -07:00
Michal Bryc
5d368eb24e Clean migration 2019-03-13 22:05:49 -07:00
Michal Bryc
6f1ade98e2 Add more views 2019-03-13 22:03:24 -07:00
Pēteris Caune
945a66ab0a
Management command for sending inactive account notifications 2019-03-13 00:38:34 +02:00
Pēteris Caune
cb1b792d6c
smtpd: get a new db connection for every incoming email. cc: #213 2019-02-27 16:44:03 +02:00
Pēteris Caune
f8c0c20d34
Retire HipChat. 2019-02-25 22:31:27 +02:00
Pēteris Caune
f539e99652
Matrix integration WIP. cc: #175 2019-02-22 18:23:36 +02:00
Pēteris Caune
5cbd99cb5c
Add the "desc" field (check's description) to API responses 2019-02-15 12:20:19 +02:00
Pēteris Caune
3c4027b788
Quicker admin. 2019-02-04 22:28:04 +02:00
Pēteris Caune
c60a33874f
Quicker admin. 2019-02-04 20:11:45 +02:00
Pēteris Caune
c4c657f5d4
Add "Transfer to Another Project" dialog in check's Details page. 2019-01-31 22:09:46 +02:00
Pēteris Caune
7ecd0b606d
Quicker prunenotifications, skip checks with low n_pings values. 2019-01-22 11:09:41 +02:00
Pēteris Caune
0994006603
Drop Check.user_id and Channel.user_id (obsolete, using project_id now) 2019-01-18 17:24:02 +02:00
Pēteris Caune
caf6668478
Prepare for the removal of Check.user_id and Channel.user_id 2019-01-18 16:44:09 +02:00
Pēteris Caune
e1b999e83a
Prepare for the removal of Check.user_id 2019-01-18 14:59:01 +02:00
Pēteris Caune
c08f02ab7f
Drop Profile.api_key and Profile.api_key_readonly (both are stored with Project now) 2019-01-17 16:26:45 +02:00
Pēteris Caune
fba8806e97
Prepare for the removal of Member.team_id 2019-01-14 22:33:28 +02:00
Pēteris Caune
f357cd3305
Prepare for removing Check.user_id, Channel.user_id, Profile.current_team_id 2019-01-14 21:13:57 +02:00
Pēteris Caune
82b644ae0a
Project.num_checks_available() method. 2019-01-14 12:55:54 +02:00
Pēteris Caune
965998df18
Fix tests. 2019-01-14 11:28:10 +02:00
Pēteris Caune
34e54cca42
project_id must be not null. 2019-01-14 11:00:14 +02:00
Pēteris Caune
46c00e31a6
Use Project.badge_key in api.views.badge 2019-01-12 22:28:23 +02:00
Pēteris Caune
6b7f212c8a
Use the api keys from project, not user profile 2019-01-12 21:34:45 +02:00
Pēteris Caune
1c69cf7f89
Project model. cc: #183 2019-01-12 16:40:21 +02:00
Pēteris Caune
5edcd42033
Add the "Email Settings..." dialog and the "Subject Must Contain" setting 2019-01-04 16:07:11 +02:00
Pēteris Caune
4f2930bb05
Remove Ping.start and Ping.fail fields 2019-01-04 13:25:58 +02:00
Pēteris Caune
20df5843e3
Don't update Ping.start and Ping.fail fields (use Ping.kind instead) 2019-01-04 12:57:29 +02:00
Pēteris Caune
7480eca2a5
Add Ping.kind field 2019-01-04 11:24:53 +02:00