Pēteris Caune
03a538c5e2
Add Profile.reports field
...
This is in preparation of adding an option for weekly
reports (#407 )
2021-05-24 11:20:28 +03:00
Pēteris Caune
6c8b6a2a19
Remove functools.cached_property usage
...
Cannot use functools.cached_property, as it was added in Py 3.8,
but we support 3.6+
2021-04-14 16:29:28 +03:00
Pēteris Caune
738a648407
Improve project sorting in the "My Projects" page
...
Primary sort key: projects with overall_status=down go first
Secondary sort key: project's name
2021-04-14 16:18:43 +03:00
Pēteris Caune
67d11e8d40
Fix the month boundary calculation in monthly reports
...
Fixes : #497
2021-04-02 13:49:55 +03:00
Pēteris Caune
7ba5fcbb71
Fix sendalerts to clear Profile.next_nag_date if all checks up
...
Profile.next_nag_date tracks when the next hourly/daily reminder
should be sent. Normally, sendalerts sets this field when
a check goes down, and sendreports clears it out whenever
it is about to send a reminder but realizes all checks are up.
The problem: sendalerts can set next_nag_date to a non-null
value, but it does not clear it out when all checks are up.
This can result in a hourly/daily reminder being sent out
at the wrong time. Specific example, assuming hourly reminders:
13:00: Check A goes down. next_nag_date gets set to 14:00.
13:05: Check A goes up. next_nag_date remains set to 14:00.
13:55: Check B goes down. next_nag_date remains set to 14:00.
14:00: Healthchecks sends a hourly reminder, just 5 minutes
after Check B going down. It should have sent the reminder
at 13:55 + 1 hour = 14:55
The fix: sendalerts can now both set and clear the next_nag_date
field. The main changes are in Project.update_next_nag_dates()
and in Profile.update_next_nag_date(). With the fix:
13:00: Check A goes down. next_nag_date gets set to 14:00.
13:05: Check A goes up. next_nag_date gets set to null.
13:55: Check B goes down. next_nag_date gets set to 14:55.
14:55: Healthchecks sends a hourly reminder.
2021-03-15 12:34:39 +02:00
Pēteris Caune
8fe8e0f605
Update alert email template: more information, less styling
...
Fixes : #348
2020-12-26 18:11:36 +02:00
Pēteris Caune
fb79948759
Update the "Change Email" function to use confirmation codes
2020-11-16 15:33:29 +02:00
Pēteris Caune
ed6b15bfa9
Update the "Set Password" function to use confirmation codes
2020-11-16 14:53:50 +02:00
Pēteris Caune
2ac0f87560
Implement a "Remove Security Key" feature
2020-11-14 11:45:09 +02:00
Pēteris Caune
03ea725612
Add Credential.created field
2020-11-12 18:03:12 +02:00
Pēteris Caune
1eaa216d3a
Add experimental code for registering Webauthn credentials
2020-11-12 16:15:07 +02:00
Pēteris Caune
d73de68f70
Specify the read-write/read-only flag when inviting a team member.
2020-08-26 16:09:17 +03:00
Pēteris Caune
00790dc33c
Member.rw flag. Read-only users cannot edit check's name/desc/tags or schedule
2020-08-26 12:16:43 +03:00
Pēteris Caune
2346ac3e80
Bugfix: don't allow duplicate team memberships
2020-08-19 12:07:48 +03:00
Pēteris Caune
b7e2404f98
Host a read-only dashboard (from github.com/healthchecks/dashboard/), link to it from "Project Settings" > "Show API keys"
2020-08-18 14:07:55 +03:00
Pēteris Caune
d05691f86f
SMS and phone calls now have separate "limit reached" email templates.
2020-08-03 18:00:48 +03:00
Pēteris Caune
8c13457037
Use separate counters for SMS and phone calls.
2020-08-03 17:52:09 +03:00
Pēteris Caune
a18eb134f5
Refactor: change Check.get_status(with_started=...) default value from True to False (with_started=False is or will be useful in more places)
2020-06-25 15:23:59 +03:00
Pēteris Caune
7994259003
When an invited user logs in, redirect them to the new project
2020-04-24 14:46:43 +03:00
Pēteris Caune
57da17b8e2
Send an "Ownership Transfer Request" email notification.
2020-04-13 15:04:59 +03:00
Pēteris Caune
f42b2b144a
New feature: Project Settings > Transfer Ownership (WIP, missing tests)
2020-04-12 14:46:12 +03:00
Pēteris Caune
22ef024885
Use secrets.token_urlsafe
2020-03-02 10:04:41 +02:00
Pēteris Caune
8bbf85a397
Remove Profile.current_project field. Fixes #336
2020-03-02 09:57:39 +02:00
Pēteris Caune
0c9c453ea0
Profile.current_project not used any more, remove last remaining references. cc: #336
2020-02-27 12:34:21 +02:00
Pēteris Caune
0ff4bd01e0
Improved UI to invite users from account's other projects. Fixes #258 .
...
The team size limit is applied to the number of distinct users across all projects. Fixes #332 .
2020-02-14 13:05:21 +02:00
Pēteris Caune
15b9611c5a
Show a warning in project's top navigation if the project has no configured integrations. Fixes #327
2020-02-13 10:29:01 +02:00
Pēteris Caune
4ee2646539
Show a red "!" in project's top navigation if any integration is not working
2020-01-03 13:15:24 +02:00
Pēteris Caune
f7496fb8cf
Add List-Unsubscribe-Post email header
2019-12-10 09:44:51 +02:00
Pēteris Caune
f9c61dad23
Fix List-Unsubscribe email header value: add angle brackets
2019-12-09 14:04:14 +02:00
Pēteris Caune
f74860bc0c
Add Profile.last_active_date field for more accurate inactive user detection
2019-11-19 16:29:38 +02:00
Pēteris Caune
c13ec18a27
5 SMS & WhatsApp sends/mo for free plans
2019-10-30 18:31:10 +02:00
Pēteris Caune
66a6de70c0
Send email notification when monthly SMS sending limit is reached. Fixes #292
2019-10-18 17:15:02 +03:00
Pēteris Caune
b74e56a273
Experimental: show the number of outages and total downtime in monthly reports. ( #104 )
2019-07-19 17:32:39 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black
2019-05-15 14:27:50 +03:00
Pēteris Caune
945a66ab0a
Management command for sending inactive account notifications
2019-03-13 00:38:34 +02:00
Pēteris Caune
c89a0b4e40
Index the api_key fields.
2019-02-04 22:44:35 +02:00
Pēteris Caune
b0f4bd3fce
Show "grace" status in the "List of Projects" page. Fix the query for badges in top nav.
2019-02-02 00:08:00 +02:00
Pēteris Caune
62310a5181
Show overall project status in the top navigation menu and in the "Select Project" page. cc: #183
2019-02-01 23:25:12 +02:00
Pēteris Caune
02609ac05e
This query can return duplicates, add distinct()
2019-01-29 19:56:43 +02:00
Pēteris Caune
8dd91b247b
When user has no projects, don't auto-create a project.
2019-01-29 13:19:15 +02:00
Pēteris Caune
ac2a120ee8
"Create New Project" button in "My Projects" page.
2019-01-29 11:41:02 +02:00
Pēteris Caune
4e6fa38ec6
Users can create and remove Projects -- WIP
2019-01-28 20:09:23 +02:00
Pēteris Caune
eaf49f2367
Don't switch projects when viewing the "Account Settings" page
2019-01-22 16:23:51 +02:00
Pēteris Caune
b013a92c43
Move project-specific settings to a new "Project Settings" page
2019-01-22 15:44:54 +02:00
Pēteris Caune
a144bc762d
Fix the team member list in Account Settings > Team Access
2019-01-22 10:53:44 +02:00
Pēteris Caune
d52d292889
Remove Member.team_id (use Member.project_id instead)
2019-01-22 10:36:41 +02:00
Pēteris Caune
70e467fb71
Use a subquery in Profile.checks_from_all_projects, saves one query
2019-01-21 22:00:45 +02:00
Pēteris Caune
3c1964b493
Prepare for the removal of Member.team_id
2019-01-21 21:35:32 +02:00
Pēteris Caune
664aad916a
Remove Profile.team_name (use Project.name instead) and Profile.current_team (use Profile.current_project instead)
2019-01-19 17:56:16 +02:00
Pēteris Caune
77e3212956
Prepare for the removal of Profile.current_team_id
2019-01-19 17:24:54 +02:00