Commit graph

154 commits

Author SHA1 Message Date
Son
414f6a2463 handle case a custom domain is deleted in the meantime 2022-01-03 10:07:41 +01:00
Son
f548e74e77 refactor 2022-01-03 10:06:56 +01:00
Son
b9e2a79933 enable email sending retry in cron job 2021-12-28 16:42:01 +01:00
Son
bd614278df increase bounce info length 2021-12-28 10:51:43 +01:00
Son
922fa4925e handle ObjectDeletedError 2021-12-28 10:21:26 +01:00
Son
32fffeaa6e handle case bounce info too verbose in daily report 2021-12-26 22:25:00 +01:00
Son
4f9bb59b58 don't notify user who already have an non-canceled Paddle subscription 2021-12-01 17:18:19 +01:00
Son
d875b2e0e5 do not send renewal reminder for lifetime user 2021-11-28 12:35:03 +01:00
Son
cd553608a5 fix 2021-11-23 14:35:37 +01:00
Son
f049da8c9a Compare mx domains with priority order and not priority value 2021-11-23 14:31:53 +01:00
Son
04d6ab519b update the custom domain dns issue email template 2021-11-22 10:32:12 +01:00
Son
fdfa286d3e allow contact email to be case sensitive 2021-11-18 16:44:04 +01:00
Son
bccfcee780 add subdomain and directory stats to Metric 2021-11-17 17:43:59 +01:00
Son
38e7a64f4f improve daily report 2021-11-06 12:41:37 +01:00
Son
914696ef3b re-enable bounce report in daily report 2021-11-04 14:28:19 +01:00
Son
d81e9fb75f fix manual subscription reminder sent for lifetime user 2021-11-02 15:47:31 +01:00
Son
d27c19c33a rename file 2021-11-02 11:42:20 +01:00
Son
67a8e0f9cc rename file 2021-11-02 11:41:01 +01:00
Son
48918ba2c1 rename file 2021-11-02 11:40:02 +01:00
Son
e62c5d1591 handle case user has taken a paid subscription in notify_manual_sub_end() 2021-10-31 19:03:49 +01:00
Son
c0aa45fc6d black 2021-10-28 19:07:03 +02:00
Son
74d4aa9f8f comment out bounce report, alias creation report in daily report 2021-10-28 19:01:34 +02:00
Son
9d3711a98a improve cron report 2021-10-27 11:48:42 +02:00
Son
78ad9fbcc5 improve daily report 2021-10-26 13:03:57 +02:00
Son
286717dae3 use plaintext for report 2021-10-26 12:48:01 +02:00
Son
a99ac24b72 cron, init app, job runner: wrap in an app context to benefit from app setup like database cleanup, sentry integration, etc 2021-10-26 10:52:28 +02:00
Son
6468f7c8a5 improve bounce report 2021-10-24 10:39:47 +02:00
Son
ef5670b1cf add all bounce to daily report 2021-10-23 18:40:02 +02:00
Son
7bfdb821af compute and include nb_total_bounced_last_24h in email report 2021-10-15 10:47:07 +02:00
Son
c132e3fbbc flake8 2021-10-12 15:03:16 +02:00
Son
eb0e327402 remove "with app.app_context():" 2021-10-12 14:47:01 +02:00
Son
372466ab06 do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son Nguyen Kim
e3f81bc4e4 fix subscription reminder sent to lifetime user 2021-09-27 15:51:09 +02:00
Son Nguyen Kim
5ac78f2694 reformat 2021-09-08 11:29:55 +02:00
Son Nguyen Kim
fcb18e66e8 fix increase_percent 2021-07-29 11:32:15 +02:00
Son Nguyen Kim
6c12b31060 make sure to not notify alias in HibpNotifiedAlias 2021-07-29 09:55:36 +02:00
Son Nguyen Kim
fb4cb8727c Add notify_hibp cron job 2021-07-29 09:35:00 +02:00
Son Nguyen Kim
5aef6cceb2 Add description, date column to Hibp model 2021-07-29 08:51:21 +02:00
Son Nguyen Kim
52376484a5 Add nb_block_last_24h, nb_bounced_last_24h, nb_forward_last_24h, nb_reply_last_24h 2021-07-28 18:31:59 +02:00
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