Commit Graph

607 Commits

Author SHA1 Message Date
Son NK
d28c9fef4f Change email email: use base template 2019-12-15 18:55:15 +02:00
Son NK
019aae24f3 Activation email: use base template, change wording. 2019-12-15 18:55:15 +02:00
Son NK
8176447d05 create email helpers macro and base template 2019-12-15 18:55:15 +02:00
Son NK
a33a581685 improve email: add <!doctype html>, use Hi {name} greeting 2019-12-15 18:55:15 +02:00
Son NK
837e1ffcf6 add List-Unsubscribe-Post header. Block alias directly if POST, otherwise ask user confirmation. 2019-12-15 18:55:15 +02:00
Son NK
cb14277bc7 add List-Unsubscribe header to block quickly an alias 2019-12-15 18:55:15 +02:00
Son NK
45cef7a4ef create unsubscribe view to block quickly an alias 2019-12-15 18:55:15 +02:00
Son NK
75e07fff04 put original name and email to from: header 2019-12-15 18:55:15 +02:00
Son NK
5b1819e891 do not modify subject 2019-12-15 18:55:15 +02:00
Son NK
7207312ec9 refactor email_handler: create handle_forward and handle_reply 2019-12-15 18:55:15 +02:00
Son NK
34cf72eaee create POSTFIX server 2019-12-15 18:55:15 +02:00
Son NK
0ae7f2d68a no need to modify reply-to. Remove this header if present. 2019-12-15 18:55:15 +02:00
Son NK
a70928d166 Modify From: header to reply_email so email passes DMARC 2019-12-15 18:55:15 +02:00
Son NK
a28c90f110 Change subject to let user know the email is forwarded from SL 2019-12-15 18:55:15 +02:00
Son NK
38d9654624 fix cancel email change 2019-12-15 18:55:15 +02:00
Son NK
8889dc119f only display profile updated message when something changes 2019-12-15 18:55:15 +02:00
Son NK
d061ad7d56 make sure user cannot register with SL email 2019-12-15 18:55:15 +02:00
Son NK
967f8e6ab0 update email template: remove "or you can paste this link" from html template 2019-12-15 18:55:15 +02:00
Son NK
0c85cae6ad handle email change in setting 2019-12-15 18:55:15 +02:00
Son NK
2dd25cc72d create change_email view 2019-12-15 18:55:15 +02:00
Son NK
be6266fb0e create change-email email 2019-12-15 18:55:15 +02:00
Son NK
5d52a784f2 add EmailChange model 2019-12-15 18:55:15 +02:00
Son NK
5d9fea82eb replace noty by toastr because noty cannot handle multiple toasts 2019-12-15 18:55:15 +02:00
Son NK
e46592019b remove unique constraint on user on deleted_alias table 2019-12-15 18:55:15 +02:00
Son NK
539d87d0a3 make to not reuse alias 2019-12-15 18:55:15 +02:00
Son NK
5c119a933d add DeletedAlias model 2019-12-15 18:55:15 +02:00
Son NK
cf3a2258b2 return 510 if no such alias 2019-12-15 18:55:15 +02:00
Son NK
49d66c4226 tentative to fix UnicodeEncodeError https://sentry.io/organizations/son/issues/1339911828/?project=1478143&query=is%3Aunresolved 2019-12-15 18:55:15 +02:00
Son NK
a70436c249 fix email logo icon 2019-12-15 18:55:15 +02:00
Son NK
58504e3b8d display new alias on top 2019-12-15 18:55:15 +02:00
Son NK
711ae83751 show message when logged in user tries goes to register 2019-12-15 18:55:15 +02:00
Son NK
a22375e76a improve wording for login & register 2019-12-15 18:55:14 +02:00
Son NK
c4b9a81c09 fix user re-subscribes 2019-12-15 18:55:14 +02:00
Son NK
8cc7ad2225 fix '<' not supported between instances of 'datetime.date' and 'Arrow' 2019-12-15 18:55:14 +02:00
Son NK
c5b65c108b fix name can be absent in github data
https://sentry.io/organizations/son/issues/1201398007/?project=1478143&query=is%3Aunresolved
2019-12-15 18:55:14 +02:00
Son NK
673b9e72ee show send test and delete buttons 2019-12-15 18:55:14 +02:00
Son NK
517a2ffc47 fix button "upgrade" on mobile 2019-12-15 18:55:14 +02:00
Son NK
64180c4077 do not show email 2019-12-15 18:55:14 +02:00
Son NK
b5e68a9453 increase display time for noty 2019-12-15 18:55:14 +02:00
Son NK
276e37a9ab send welcome email when user creates new account 2019-12-15 18:55:14 +02:00
Son NK
acd1d23e7c add "premium" next to name if user is premium 2019-12-15 18:55:14 +02:00
Son NK
b973a37073 use Noty instead of notie 2019-12-15 18:55:14 +02:00
Son NK
67f7b95c36 add Message-ID and Date header to email 2019-12-15 18:55:14 +02:00
Son NK
3ebb75ca07 Show copy and activity button 2019-12-15 18:55:14 +02:00
Son NK
d929cea771 improve dashboard page 2019-12-15 18:55:14 +02:00
Son NK
5b8bc68da1 add alias log page 2019-12-15 18:55:14 +02:00
Son NK
032322a3d4 log forwarded emails 2019-12-15 18:55:14 +02:00
Son NK
3a920585ce add ForwardEmailLog model 2019-12-15 18:55:14 +02:00
Son NK
ec3f2116ff do not show copy button on disabled alias 2019-12-15 18:55:14 +02:00
Son NK
a5a3bbbd63 if an alias is disabled, accept email but not forward to user inbox 2019-12-15 18:55:14 +02:00