127 Commits

Author SHA1 Message Date
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
16bff94fab
Use BaseTestCase in test_login, less repetition 2019-01-14 12:54:42 +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
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
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
e76329a364
Admin tweaks 2018-12-24 19:50:09 +02:00
Pēteris Caune
5aba9d6196
Fix after-login redirects to "Check Details" and other pages. 2018-11-28 22:06:12 +02:00
Pēteris Caune
b081631e90
Fix after-login redirects for users landing in the "Add Pushover" page 2018-11-28 21:45:54 +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
b3c22dcfd2
A workaround for some email agents automatically opening "Unsubscribe" links 2018-11-09 22:12:11 +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
Pēteris Caune
9214265136
Separate sign up and login forms. 2018-10-12 10:55:15 +03:00
Pēteris Caune
4acd6a16e8
Login form: rename the email box to "identity" to avoid some auto-signup bots 2018-10-10 09:53:42 +03:00
Pēteris Caune
a58ce791c0
Improved layout & style, fixed hamburger menu in login page. 2018-10-09 16:12:02 +03:00
Pēteris Caune
621e04e845
Change "foo@example.org is not available" message to "foo@example.org is already registed". 2018-10-03 10:52:51 +03:00
Pēteris Caune
e4150e8514
Settings > Badges page shows badges from all teams user has access to. 2018-06-15 01:07:52 +03:00
Pēteris Caune
9cbd0138da
Demo checks shown on welcome page are not saved to database. User's first check is created when creating the user. 2018-06-14 23:42:39 +03:00
Pēteris Caune
a4855e1900
Rename form field "email" to "identity" to hopefully avoid some auto-form-fill spam. 2018-06-14 16:29:15 +03:00
Pēteris Caune
7ced981d45
Remove obsolete signature checking code in accounts.views.unsubscribe_reports 2018-05-25 23:38:02 +03:00
Pēteris Caune
8a68ea50dc
Fix tests. Fix "View Profile" link in Subscriptions admin 2018-05-09 18:56:33 +03:00
Pēteris Caune
bc56da1d88
pruneusers command removes accounts older than 30 days that have never logged in. 2018-05-09 18:53:13 +03:00
Mounir
0e4c66f395
Remove allow_tag as it's not needed anymore 2018-04-30 14:49:43 +02:00
Mounir
f9cc65c152
Use mark_safe to use html in users list admin 2018-04-30 14:23:18 +02:00
Pēteris Caune
08f6e17e91 Tests check for correctly encoded API key. 2018-04-30 13:48:54 +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
157bd74aeb
Add test for case insensitive email addresses. 2018-04-19 19:29:53 +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
ba6995198b Fix tests, lazy-load user's teams. 2018-02-26 12:49:25 +02:00
Pēteris Caune
c4b316003d Replace healthchecks.io branding with generic branding. 2018-01-13 19:21:43 +02:00
Pēteris Caune
fb17211320 Clear out Profile.next_report_date and Profile.next_nag_date when unsubscribing from reports. 2017-12-29 18:03:42 +02:00
Pēteris Caune
a1c40bdbbf Adding missing migrations. Fixes #145 2017-12-27 17:35:05 +02:00
Pēteris Caune
1b7d4f6f3e Adding "Overall status" badge. 2017-11-10 21:52:27 +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
e1d5fa8638 Nicer "your settings have been updated" message. 2017-10-14 22:04:11 +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