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
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
e2d2665edf
Prepare for the removal of Check.user_id
2019-01-15 21:36:01 +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
34e54cca42
project_id must be not null.
2019-01-14 11:00:14 +02:00
Pēteris Caune
b5df5b3c6e
Project.badge_key must be not null and unique.
2019-01-12 22:08:43 +02:00
Pēteris Caune
d102f10a2d
Add Project.badge_key so we can preserve the current badge URLs
2019-01-12 21:56:56 +02:00
Pēteris Caune
1c69cf7f89
Project model. cc: #183
2019-01-12 16:40:21 +02:00
Pēteris Caune
bf1395801f
Fix after-login redirects for users landing in the "Add Slack" page
2018-11-26 17:32:23 +02:00
Pēteris Caune
5ef67e8bbf
Remove Profile.bill_to field.
2018-11-06 10:19:59 +02:00
Pēteris Caune
432e592e44
Add read-only API key support
2018-10-29 21:44:34 +02:00
Pēteris Caune
58cfaaa527
Don't send monthly reports to inactive accounts (no pings in 6 months)
2018-10-24 11:30:16 +03:00
Pēteris Caune
9f02371d6a
Report unsubscribe link works with POST. Include "X-Bounce-Url" header in report emails.
2018-10-24 10:06:51 +03:00
Pēteris Caune
b9a81ad382
Add "List-Unsubscribe" header to alert and report emails
2018-10-23 11:26:13 +03:00
Mounir
48d12ac62c
Setting api key will save it as a byte
...
urlsafe_b64encode return a byte, which will result in an api key saved with something like b'apikey'
I did not tested it but urlsafe_b64decode looks like doing the job also.
2018-04-29 21:57:54 +02:00
Pēteris Caune
ef6e1870d9
Preliminary Django 2 support
2018-04-24 22:38:02 +03:00
Pēteris Caune
b191b968f3
sendreports, sendalerts: and avoid db access while rendering templates--template renderer swallows any exceptions
...
sendreports: use select_related() to avoid doing N queries
2018-03-23 11:34:17 +02:00
Pēteris Caune
0b68393bb0
Profile.token generated from os.urandom
2017-10-18 16:33:32 +03:00
Pēteris Caune
1fd5d0b3ce
More secure unsubscribe links for monthly reports.
2017-10-18 15:53:08 +03:00
Pēteris Caune
2a7ee66d1e
Profile.set_next_nag_date does not touch already set dates.
2017-10-15 21:43:48 +03:00
Pēteris Caune
5c64e0cd5d
If profile has next_nag_date set in future then set_next_nag_date does not touch it.
2017-10-15 20:25:04 +03:00
Pēteris Caune
882933668a
Natural sort for check names, fixes #136 .
...
Apply the user's chosen sort order in emails also.
2017-10-15 13:34:34 +03:00
Pēteris Caune
f611a23f0b
Email reports list checks from all teams the user has access to.
2017-10-14 21:36:39 +03:00
Pēteris Caune
f6c585a10c
team_access_allowed field is not used any more, removing.
2017-10-14 19:16:01 +03:00
Pēteris Caune
d520706c27
Adding an option to send daily or hourly reminders if any check is down. Fixes #48
2017-10-14 16:03:56 +03:00
Pēteris Caune
fc8d9ffe48
Checks can be sorted by name or last ping. Fixes #136
2017-09-12 17:32:53 +03:00
Pēteris Caune
0723476a0c
All plans now have team access, but different team size limits.
2017-09-02 15:45:20 +03:00
Pēteris Caune
367f5a595d
Small tweaks to make sure we don't query accounts_profile multiple times on every request.
2017-08-30 22:18:31 +03:00
Pēteris Caune
de7160a0e6
login, set-password, and change-email tokens use different salts.
2017-08-25 12:46:21 +03:00
Pēteris Caune
2393dad09e
Users can update their email addresses. Fixes #105
2017-08-23 15:47:20 +03:00