Commit Graph

2631 Commits

Author SHA1 Message Date
Son NK
6e387444f5 do not use RESET_DB to avoid potential error: uncomment fake_date locally if necessary 2019-12-15 18:55:17 +02:00
Son NK
a5615b22e7 make alias activity responsive 2019-12-15 18:55:17 +02:00
Son NK
c3056dc94c use website domain name as alias prefix suggestion (instead of full hostname) 2019-12-15 18:55:17 +02:00
Son NK
28c83107e9 only show intro when screen is big enough to show "developer" tab 2019-12-15 18:55:17 +02:00
Son NK
acea37d520 show intro on the first alias 2019-12-15 18:55:16 +02:00
Son NK
39311ab1ff Make dashboard responsive 2019-12-15 18:55:16 +02:00
Son NK
ccf93b1235 highlight disable/enable alias 2019-12-15 18:55:16 +02:00
Son NK
d4f7b6296d allow alias_prefix shorter 3 characters 2019-12-15 18:55:16 +02:00
Son NK
5b28d70fe0 fix custom alias html 2019-12-15 18:55:16 +02:00
Son NK
a9e781da84 use the latest used alias as recommendation 2019-12-15 18:55:16 +02:00
Son NK
d58ab8c808 fix create random alias: new alias not saved 2019-12-15 18:55:16 +02:00
Son NK
5156ed5eba create constant api_code in local to facilitate test 2019-12-15 18:55:16 +02:00
Son NK
8ed7f2e693 set X-Frame-Options header to deny 2019-12-15 18:55:16 +02:00
Son NK
79ac792136 fix test 2019-12-15 18:55:16 +02:00
Son NK
8250ab2f22 add /alias/custom/new and /alias/random/new 2019-12-15 18:55:16 +02:00
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