Commit Graph

3266 Commits

Author SHA1 Message Date
Son NK
ab4f5bf329 add /api/alias/options 2019-12-15 18:55:16 +02:00
Son NK
c58d9052e7 rename can_create_custom_email -> can_create_new_custom_alias, can_create_new_email -> can_create_new_random_alias 2019-12-15 18:55:16 +02:00
Son NK
6764a4b582 use "default" hostname if hostname is too short 2019-12-15 18:55:16 +02:00
Son NK
c012d3686a only premium user can add custom domain 2019-12-15 18:55:16 +02:00
Son NK
3f189163dd notify admin when user creates new custom domain or custom alias associated with custom domain 2019-12-15 18:55:16 +02:00
Son NK
0234af03d3 handle custom domain in custom alias 2019-12-15 18:55:16 +02:00
Son NK
3402d64249 display when a custom domain is created and number of aliases 2019-12-15 18:55:16 +02:00
Son NK
24cb2688ca add gen_email.custom_domain_id foreign key 2019-12-15 18:55:16 +02:00
Son NK
86cc9b18aa add <em> style: highlight in yellow 2019-12-15 18:55:16 +02:00
Son NK
8850f72a1c only show custom domain to user with can_use_custom_domain flag 2019-12-15 18:55:16 +02:00
Son NK
a827b27215 add custom_domain view 2019-12-15 18:55:16 +02:00
Son NK
5d9420a763 add EMAIL_SERVERS_WITH_PRIORITY and EMAIL_SERVERS config 2019-12-15 18:55:16 +02:00
Son NK
79a7985221 handle the case where no hostname is provided in /api/alias/new 2019-12-15 18:55:16 +02:00
Son NK
9296fd42c4 add dnspython 2019-12-15 18:55:16 +02:00
Son NK
66b59a265a remove redundant check in handle_RCPT to support custom domain. Add check to reply phase. 2019-12-15 18:55:16 +02:00
Son NK
b59ffb94b2 Remove Stripe usage 2019-12-15 18:55:16 +02:00
Son NK
40254c54a3 remove stripe columns in User model 2019-12-15 18:55:16 +02:00
Son NK
8471f3a19f add external-link icon when appropriate 2019-12-15 18:55:16 +02:00
Son NK
2b00ceaa6b put extension download link to api-key page 2019-12-15 18:55:16 +02:00
Son NK
b514068340 add CustomDomain model 2019-12-15 18:55:16 +02:00
Son NK
975dc7ff21 fix query lost when post 2019-12-15 18:55:16 +02:00
Son NK
6ea43275ed remove user.can_use_api_key 2019-12-15 18:55:16 +02:00
Son NK
fd7f819803 allow cross_origin for /api/alias/new 2019-12-15 18:55:16 +02:00
Son NK
786d640511 fix migration 2019-12-15 18:55:16 +02:00
Son NK
7bedd40966 add user.can_use_custom_domain, user.can_use_api_key 2019-12-15 18:55:16 +02:00
Son NK
efd0e97ebd prettify api key page 2019-12-15 18:55:16 +02:00
Son NK
4f874eec43 Create API Key page 2019-12-15 18:55:16 +02:00
Son NK
6c4a173de5 create /api/alias/new using api-key as authentication 2019-12-15 18:55:16 +02:00
Son NK
565508689f create AliasUsedOn and ApiKey model 2019-12-15 18:55:16 +02:00
Son NK
a5e1a36718 lower case query before search 2019-12-15 18:55:16 +02:00
Son NK
b9bce29534 fix search input not large enough on mobile: use col-md-3 instead of col-3 2019-12-15 18:55:16 +02:00
Son NK
e4b84ff5e8 add demo.simplelogin to ignored 2019-12-15 18:55:16 +02:00
Son NK
efd4f40fb7 add autofocus to custom alias 2019-12-15 18:55:16 +02:00
Son NK
f611d165c3 autofocus search field 2019-12-15 18:55:16 +02:00
Son NK
bfa07110aa add son@sl to ignored emails 2019-12-15 18:55:16 +02:00
Son NK
423c90fb42 add stats to cronjob 2019-12-15 18:55:16 +02:00
Son NK
80514fd8d4 Put link for Sl logo to landing page 2019-12-15 18:55:16 +02:00
Son NK
79acf16c78 reduce nb gunicorn workers to 2 2019-12-15 18:55:16 +02:00
Son NK
28c8fa0f4d add alias search 2019-12-15 18:55:16 +02:00
Son NK
a362a0f543 increase to 4 workers 2019-12-15 18:55:16 +02:00
Son NK
e18bbd1cc4 improve wording 2019-12-15 18:55:16 +02:00
Son NK
108b41842e remove user.trial_expiration 2019-12-15 18:55:16 +02:00
Son NK
6e71541985 remove trial concept 2019-12-15 18:55:16 +02:00
Son NK
8dca65678e improve wording 2019-12-15 18:55:15 +02:00
Son NK
360fc85db6 link whitelist SL in email template 2019-12-15 18:55:15 +02:00
Son NK
5a9d3b0245 alias activity: fix arrow hidden on mobile 2019-12-15 18:55:15 +02:00
Son NK
fbf4a97a3e do NOT modify "to" header as it's not displayed in mail client anyway 2019-12-15 18:55:15 +02:00
Son NK
2ec89afac2 add ADMIN_EMAIL and send notif to this email 2019-12-15 18:55:15 +02:00
Son NK
e0bf5245a3 remove DKIM-Signature as Postfix will add this header 2019-12-15 18:55:15 +02:00
Son NK
64f7d04960 fix forward phase: use reply email as envelope-from 2019-12-15 18:55:15 +02:00