Son Nguyen Kim
|
39e2750486
|
remove Metric
|
2021-07-28 18:20:18 +02:00 |
|
Son Nguyen Kim
|
ba6b6e2fdd
|
Delete EmailLog older than 2 weeks
|
2021-07-14 17:15:28 +02:00 |
|
Son
|
ec763544f1
|
handle 429 returned by HIBP
|
2021-06-19 19:56:18 +02:00 |
|
Son
|
2bed79095c
|
ignore 5** error from HIBP
|
2021-06-17 23:04:25 +02:00 |
|
Son NK
|
c890bfb073
|
increase HIBP sleep time to have some marges
|
2021-05-28 17:47:54 +02:00 |
|
Son NK
|
78e3a4bf77
|
handle the case an alias is deleted in the meantime
|
2021-05-22 16:36:19 +02:00 |
|
Sylvia van Os
|
6bcaa6453e
|
Update hibp_last_check on succesful HIBP check
Accidentally got rid of this during some refactor
|
2021-05-20 19:00:11 +02:00 |
|
Son NK
|
14bc4f8872
|
make sure to only run HIBP check on enabled alias
|
2021-05-19 16:12:58 +02:00 |
|
Son NK
|
d4e930c930
|
Remove nullsfirst as not compatible with sqlite. Add more logging
|
2021-05-19 12:46:55 +02:00 |
|
Sylvia van Os
|
40d0dee88f
|
asyncio-ify
|
2021-05-18 21:18:07 +02:00 |
|
Sylvia van Os
|
a08b0c05cc
|
Don't override id
|
2021-05-17 21:29:29 +02:00 |
|
Sylvia van Os
|
969616d671
|
Date compare in DB instead of model function
|
2021-05-17 18:20:35 +02:00 |
|
Sylvia van Os
|
a9c897c6c5
|
Fix typo
|
2021-05-16 00:10:04 +02:00 |
|
Sylvia van Os
|
42cfce7ce1
|
Optimize API requests on multiple API keys
|
2021-05-15 23:23:59 +02:00 |
|
Sylvia van Os
|
bee468e055
|
Black
|
2021-05-15 18:04:50 +02:00 |
|
Sylvia van Os
|
f67f5297f2
|
Add HIBP checks
|
2021-05-14 19:50:32 +02:00 |
|
Son NK
|
15610f1efc
|
Run migrate_domain_trash() and set_custom_domain_for_alias() in sanity check
|
2021-04-12 20:20:55 +02:00 |
|
Son NK
|
bbf895ed42
|
add alias creation report to stats
|
2021-03-29 10:10:25 +02:00 |
|
Son NK
|
c122b05896
|
refactor cron
|
2021-03-24 17:39:16 +01:00 |
|
Son NK
|
8eed6008f3
|
fix cron
|
2021-03-24 17:38:17 +01:00 |
|
Son NK
|
1492f29a1a
|
flake8
|
2021-03-23 10:50:49 +01:00 |
|
Son NK
|
58b0c91db5
|
use Metric2 system
|
2021-03-23 10:50:32 +01:00 |
|
Son NK
|
ec1633d0d7
|
create Metric2 model
|
2021-03-23 10:23:40 +01:00 |
|
Son NK
|
e9e97cea61
|
send bounce report in cron
|
2021-03-23 10:02:14 +01:00 |
|
Son NK
|
f038a97649
|
refactor cron
|
2021-03-23 09:47:57 +01:00 |
|
Son
|
cd3854561a
|
improve logging
|
2021-02-06 17:31:06 +01:00 |
|
Son NK
|
b3181c054f
|
make sure to delete bounces, transactional emails after 7 days
|
2021-01-26 09:59:22 +01:00 |
|
Son NK
|
e09e6c51b8
|
make sure all metrics have the same date
|
2021-01-26 09:59:22 +01:00 |
|
Son NK
|
113dbd1c81
|
fix nb_referred_user_upgrade computation
|
2021-01-25 18:50:08 +01:00 |
|
Son NK
|
2a33f112b9
|
compute metrics
|
2021-01-25 18:49:14 +01:00 |
|
Son NK
|
2cc7f5ac13
|
only alert for contact that's created after the sanity date
|
2021-01-11 12:35:54 +01:00 |
|
Son NK
|
e9adb3270d
|
use sanitize_email instead of .lower().strip().replace(" ", "")
|
2021-01-11 12:29:40 +01:00 |
|
Son NK
|
ef7fae32b1
|
remove the "Hi {name}" from email template
|
2021-01-11 10:23:34 +01:00 |
|
Son NK
|
f1f6234248
|
Add nb_manual_premium, nb_coinbase_premium to stats
|
2020-12-14 20:45:30 +01:00 |
|
Son NK
|
3dd8ed7840
|
Create /dashboard/coinbase_checkout, remove extend_subscription route
|
2020-12-14 11:34:59 +01:00 |
|
Son NK
|
1f4631821b
|
fix
|
2020-12-13 19:41:42 +01:00 |
|
Son NK
|
43a021dd88
|
send a reminder when a coinbase subscription is ending soon
|
2020-12-13 19:18:58 +01:00 |
|
Renaud Boyer
|
df565bca1c
|
fix filter_by
|
2020-12-07 10:38:19 +01:00 |
|
Renaud Boyer
|
5d948faf56
|
black
|
2020-12-06 22:11:58 +01:00 |
|
Renaud Boyer
|
7ffe1c93f1
|
linting
|
2020-12-06 13:36:32 +01:00 |
|
Son NK
|
93563178a7
|
correct alias name when it contains linebreak
|
2020-11-27 20:37:55 +01:00 |
|
Son NK
|
ade21bc0c4
|
check contact email in sanity_check()
|
2020-11-25 15:26:17 +01:00 |
|
Son NK
|
bcdf522174
|
create normalize_reply_email(): handle case where reply email contains space, quote, etc
|
2020-11-22 13:07:09 +01:00 |
|
Son NK
|
8aed5ced3f
|
make sure a custom domain name does not contain a linebreak
|
2020-11-20 18:40:07 +01:00 |
|
Son NK
|
78ddf16c87
|
make sure alias name does not contain a linebreak
|
2020-11-20 18:39:23 +01:00 |
|
Son NK
|
24548ff945
|
add reply email ascii check to sanity()
|
2020-11-18 16:12:00 +01:00 |
|
Son NK
|
391318cbaa
|
add referred user to stats
|
2020-11-17 20:48:26 +01:00 |
|
Son NK
|
fef6edf619
|
use warning for domain DNS fails
|
2020-11-01 09:32:41 +01:00 |
|
Son NK
|
44b544d768
|
only send custom domain alert if fails more than 5 consecutive days
|
2020-10-20 16:51:25 +02:00 |
|
Son NK
|
e79522b638
|
take into account Premium domains
|
2020-10-15 16:21:31 +02:00 |
|
Son NK
|
2d9abe55a4
|
use log warning for mailbox issue
|
2020-10-14 09:32:44 +02:00 |
|
Son NK
|
8268568f08
|
add mailbox.disabled column. Disable a mailbox if it fails tests for 10 days consecutive.
|
2020-10-12 13:28:21 +02:00 |
|
Son NK
|
0f349388ca
|
add nb_cancelled_premium to stats
|
2020-10-09 11:56:03 +02:00 |
|
Son NK
|
bb6a5bf0b3
|
take into account a mailbox can be deleted in the meantime
|
2020-09-25 10:06:50 +02:00 |
|
Son NK
|
8faae3d0d4
|
add sanitize check for alias, mailbox, contact reply-email
|
2020-09-14 18:22:08 +02:00 |
|
Son NK
|
5cfeb4c3f2
|
Add delta to stats
|
2020-09-12 16:22:48 +02:00 |
|
Son NK
|
f224d16c56
|
mark a mailbox as unverified if it fails checks for too many times
|
2020-09-10 09:40:27 +02:00 |
|
Son NK
|
f069e6f7cb
|
use warning log for custom domain DNS issue
|
2020-08-31 17:36:51 +02:00 |
|
Son NK
|
4cb3e54821
|
send at max 1 email / 30 days for DNS issue on custom domain
|
2020-08-31 17:36:27 +02:00 |
|
Son NK
|
63e228d9f4
|
only alert on invalid mailbox that has too many email logs
|
2020-08-30 19:59:39 +02:00 |
|
Son NK
|
ffc59a6fad
|
Add check_custom_domain cronjob
|
2020-08-29 19:05:32 +02:00 |
|
Son NK
|
fdedc24358
|
black new version
|
2020-08-27 10:20:48 +02:00 |
|
Son NK
|
8626c5e232
|
add cronjob to delete old monitoring records
|
2020-08-17 14:02:59 +02:00 |
|
Son NK
|
3d638f1a97
|
extract monitoring to its own file
|
2020-08-15 19:55:56 +02:00 |
|
Son NK
|
4bbb07c3ce
|
add monitoring cronjob that monitors how many emails in Postfix queues
|
2020-08-15 13:16:51 +02:00 |
|
Son NK
|
8db2ddcd5b
|
Add nb_apple_premium, take into account canceled subscription in nb_premium
|
2020-08-07 10:06:00 +02:00 |
|
Son NK
|
6437ee46e0
|
use LOG.exception instead of LOG.error to provide stacktrace
|
2020-07-17 12:59:07 +02:00 |
|
Son NK
|
28da78e75f
|
sanity_check: alert when too many checks fail on a mailbox
|
2020-06-28 11:18:06 +02:00 |
|
Son NK
|
84381e9635
|
reduce memory use in cron by using yield_per()
|
2020-06-12 23:50:21 +02:00 |
|
Son NK
|
b79933ba4c
|
sleep between mailbox check
|
2020-06-12 00:09:53 +02:00 |
|
Son NK
|
987b413e3d
|
check if user and mailbox email address are lowercase in sanity_check
|
2020-06-11 23:36:06 +02:00 |
|
Son NK
|
df47ea1983
|
do not disable mailbox in sanity_check
|
2020-06-11 23:35:44 +02:00 |
|
Son NK
|
bee648b6b5
|
update changelog
|
2020-06-10 09:19:52 +02:00 |
|
Son NK
|
a255c2652e
|
fix the email
|
2020-06-09 18:58:42 +02:00 |
|
Son NK
|
befbb0c0c0
|
Add sanity_check that disables invalid mailbox and all of its aliases
|
2020-06-09 17:12:34 +02:00 |
|
Son NK
|
c8f1244d81
|
optimize cron job
|
2020-05-15 15:31:58 +02:00 |
|
Son NK
|
8ae51998f5
|
take into account MacApp
|
2020-04-29 15:50:06 +02:00 |
|
Son NK
|
618d308c22
|
improve cron stats job
|
2020-04-23 22:11:43 +02:00 |
|
Son NK
|
b33ec7d025
|
fix reformatting
|
2020-04-19 11:20:44 +02:00 |
|
Son NK
|
71d53d16da
|
add poll_apple_subscription(), call it everyday
|
2020-04-19 11:18:27 +02:00 |
|
Son NK
|
f7f1e7f358
|
replace user.next_bill_date() by sub.next_bill_date.strftime("%Y-%m-%d")
|
2020-04-19 10:54:05 +02:00 |
|
Son NK
|
f7e5ab1e34
|
reaname
|
2020-04-04 19:21:31 +02:00 |
|
Son NK
|
2041b0aabd
|
Handle the case where path can be None in cron
|
2020-04-02 21:30:36 +02:00 |
|
Son NK
|
126aa8824c
|
Add nb bounced and spam to stats
|
2020-03-30 22:11:19 +02:00 |
|
Son NK
|
2d90d35647
|
rename gen_email_id -> alias_id
|
2020-03-17 12:01:18 +01:00 |
|
Son NK
|
4f281bdbbb
|
rename GenEmail -> Alias, gen_email to alias whenever possible
|
2020-03-17 11:51:40 +01:00 |
|
Son NK
|
bea870ef8b
|
rename ForwardEmailLog to EmailLog
|
2020-03-17 11:10:50 +01:00 |
|
Son NK
|
f2d630e597
|
rename forward_id to contact_id
|
2020-03-17 11:05:53 +01:00 |
|
Son NK
|
17974de746
|
rename ForwardEmail to Contact
|
2020-03-17 10:56:59 +01:00 |
|
Son NK
|
45d560fd70
|
fix
|
2020-03-15 12:14:43 +01:00 |
|
Son NK
|
e21e27eefa
|
Hide download for deleted refused emails
|
2020-03-15 11:14:58 +01:00 |
|
Son NK
|
71a9fc38a9
|
Add cronjob to delete refused emails
|
2020-03-15 11:11:16 +01:00 |
|
Son NK
|
52f364d73b
|
notify user with premium plan ending soon
|
2020-03-05 09:35:20 +01:00 |
|
Son NK
|
c1bd2f83e3
|
Remind user that their manual sub is ending soon.
|
2020-02-23 17:01:23 +07:00 |
|
Son NK
|
4ad44dbcdf
|
only send trial-end email to user who is in trial
i.e. users who:
1. has lifetime licence or active subscription and
2. is in trial period
|
2020-02-15 16:29:44 +07:00 |
|
Son NK
|
c00fdd6cfb
|
fix: not sending trial ending for user having lifetime licence
|
2020-02-10 21:43:59 +07:00 |
|
Son NK
|
e4bec95b4e
|
do not send trial ending soon or onboarding to unactivated user
|
2020-02-05 21:21:56 +07:00 |
|
Son NK
|
6e4e737af0
|
add more logging
|
2020-02-04 14:27:12 +07:00 |
|
Son NK
|
868762bf9f
|
support --job argument in cron: stats, notify_trial_end
|
2020-02-03 13:47:25 +07:00 |
|
Son NK
|
8da4557325
|
send trial ending reminder when trial ends in 2-3 days
|
2020-01-30 14:19:09 +07:00 |
|