Commit Graph

2204 Commits

Author SHA1 Message Date
george c415324932
Add flake8-bugbear 2022-02-06 20:37:43 +00:00
george f7be992437
Update black, flake8 and pre-commit and use specific pre-commit versions. 2022-02-06 14:25:53 +00:00
Son 5da31f53b4 add MONITORING_EMAIL param 2022-02-04 15:43:40 +01:00
Son 4d1c4cfdff support pinned parameter in /api/v2/aliases 2022-02-03 11:16:49 +01:00
Son Nguyen Kim 543923b325
Merge pull request #760 from FozzieHi/delete-all-api-keys-button
Add a button to delete all API Keys
2022-02-02 18:31:05 +01:00
Son 049bd746ad refactor shell 2022-01-26 15:22:37 +01:00
Son 5a712f3877 make sure subdomain can only contain lowercase letters, numbers and dashes. 2022-01-26 14:53:27 +01:00
george 74713c2142
Rename method. 2022-01-25 18:32:34 +00:00
Son Nguyen Kim 89a800eed9
Merge pull request #753 from FozzieHi/totp-invalid-login-email
Invalid TOTP and recovery code email notifications
2022-01-24 18:35:52 +01:00
Son fc3f06f4d8 create notification listing page 2022-01-24 16:45:36 +01:00
Son 90fa4abf69 create a notification for a bounce email 2022-01-24 16:10:36 +01:00
Son 1de6fefc59 add notification detail page 2022-01-24 15:22:01 +01:00
Son 5b7949f346 return title in /api/notifications 2022-01-24 15:20:59 +01:00
Son 3422f038eb add Notification title 2022-01-24 15:18:56 +01:00
george 65531b5c63
Add a button to delete all API Keys. 2022-01-23 18:38:54 +00:00
Son e73288354d remove IGNORED_EMAILS variable 2022-01-21 19:30:27 +01:00
george ab72927a16
Update text. 2022-01-20 18:24:28 +00:00
george 50122da0fe
Implement API notifications and use a function in email_utils 2022-01-20 17:42:11 +00:00
george 42407a0543
Send the email after the local error. 2022-01-20 16:44:15 +00:00
george f7f91afc1e
Send a notification email for invalid recovery codes. 2022-01-20 16:41:42 +00:00
george 6d736aa915
Implement rate limiting with send_email_with_rate_control. 2022-01-20 15:05:18 +00:00
george 0eb2984b9c
Add invalid TOTP login email notifications. 2022-01-20 14:18:47 +00:00
Son b929dc5462 check if alias is not none 2022-01-18 09:40:50 +01:00
Son 0806f9243e return custom domain json in patch 2022-01-16 17:26:11 +01:00
Son 841621dbe2 handle the case mailboxes is empty in try_auto_create_via_domain 2022-01-13 09:33:32 +01:00
Son 4cea47cc27 add setting for include_website_in_one_click_alias 2022-01-12 11:50:49 +01:00
Son 6cd8e45d21 return the default sender format (AT) in case user uses a non-supported sender format 2022-01-12 10:19:25 +01:00
Son c0067b7657 add more log 2022-01-10 15:58:22 +01:00
Son 73d781cf6b handle non number alias_id 2022-01-10 10:44:41 +01:00
Son 9c696bd038 ignore VERPReply 2022-01-09 20:35:57 +01:00
Son 6cdf5637aa validate the alias address before creating 2022-01-09 20:22:41 +01:00
Son a0727435eb use warning level 2022-01-09 20:13:41 +01:00
Son c5e4dd6d16 save email for debug with error name as prefix 2022-01-08 16:58:23 +01:00
Son 862d0e7a11 warn users if SL is used with another forwarding service 2022-01-08 00:42:03 +01:00
Son ed4acebdb1 delete the email log in reply phase if NonReverseAliasInReplyPhase 2022-01-08 00:28:26 +01:00
Son 01ba5e8bf0 return 5** if CannotCreateContactForReverseAlias 2022-01-08 00:16:16 +01:00
Son 20b6ce29fc take into account authorized_address when checking email loop 2022-01-08 00:09:45 +01:00
Son d4e31257fa make sure to output exception name in log 2022-01-07 16:45:12 +01:00
Son fb87225d2d raise error when receiving emails sent from reverse alias 2022-01-07 16:14:21 +01:00
Son d4e1aec875 refactor 2022-01-07 14:57:47 +01:00
Son 6b31b8926e fix comment 2022-01-07 14:27:53 +01:00
Son 1bdae7fbe8 handle CannotCreateContactForReverseAlias when user creates a new contact 2022-01-07 10:47:36 +01:00
Son 5195c9de8b raise error when a non reverse-alias is used during the reply phase 2022-01-07 10:34:08 +01:00
Son 84d1f22a7b add Contact.automatic_created column to know which contact is created during the forward phase 2022-01-07 10:21:31 +01:00
Son ad622df071 make sure a contact with website_email=reverse alias of another contact can't be created 2022-01-07 10:04:12 +01:00
Son b2e4578953 add yield_per_query() helper 2022-01-06 18:50:54 +01:00
Son d1b9fb8bb5 add type annotation for Session 2022-01-06 18:30:14 +01:00
Son 37bb7655d5 remove unused import 2022-01-06 15:30:33 +01:00
Son 9ff323c746 make sure to set custom_domain_id when creating a new alias 2022-01-06 15:29:37 +01:00
Son b7e8324e5a move get_custom_domain() to alias_utils 2022-01-06 15:20:09 +01:00