Commit graph

34 commits

Author SHA1 Message Date
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
Pēteris Caune
5f2da08d7e Per-profile, per-month counters of sent SMS messages. 2017-07-15 01:04:05 +03:00
Pēteris Caune
dc76e4bdde Add Profile.bill_to field which goes on invoices. 2017-06-08 15:07:57 +03:00
Pēteris Caune
74f7c50a65 Fix deprecation warnings. 2017-06-02 22:39:53 +03:00
Pēteris Caune
207b0f9048 Adding on_delete keywords, more to come. 2017-05-28 13:38:38 +03:00
Pēteris Caune
859a9ed735 Pricing page tweaks. Limit free accounts to 20 checks per account. 2017-05-07 16:58:44 +03:00
Pēteris Caune
965accaedb REGISTRATION_OPEN setting. superuser accounts by default have team access enabled. Fixes #97 and #113 2017-02-24 15:58:11 +02:00
Pēteris Caune
8d956b3365 email template from Litmus. CSS already inlined, so dropping premailer dependency. 2017-01-15 13:10:08 +02:00
Pēteris Caune
965e32884b Django 1.10 2016-08-29 17:54:53 +03:00
Pēteris Caune
435b8c220d Fix bug in /accounts/switch_team/, updated messaging. 2016-05-09 18:00:34 +03:00
Pēteris Caune
fdf9c607e5 Team Access, test cleanup 2016-05-09 15:35:13 +03:00
Pēteris Caune
1bc0f82d25 Team access WIP 2016-05-09 11:54:18 +03:00
Pēteris Caune
bb193cf4f1 Profile and Subscription managers use get_or_create to avoid some boilerplate 2016-03-11 12:42:46 +02:00
Pēteris Caune
5d2cc0b0fc Set and revoke API key in Settings page. 2016-02-16 15:08:13 +02:00
Pēteris Caune
1dacc8b797 Users can add passwords to their accounts. Fixes #6 2016-01-05 00:25:08 +02:00
Pēteris Caune
dd188064fa Store the one time login token in profile so user.password can be used for regular passwords. 2016-01-04 22:39:49 +02:00
Pēteris Caune
31c10d357e Updated pricing page, added billing history and invoices. 2015-12-28 18:55:46 +02:00
Pēteris Caune
91e6f80d9a Code to send monthly reports (but no management command yet to actually send them) 2015-12-15 02:27:24 +02:00
Pēteris Caune
00cdc313ec Initial commit 2015-06-11 22:12:09 +03:00