Commit Graph

486 Commits

Author SHA1 Message Date
Son NK
a6507a39e4 Add optional OTHER_ALIAS_DOMAINS setting. Create ALIAS_DOMAINS setting that is the list of domain user can use when creating alias. 2020-01-22 10:24:17 +01:00
Son NK
f7f8c6769d Improve custom alias help text 2020-01-22 10:24:17 +01:00
Son NK
c969e6919a Use the same design as on extension for custom alias: domains are presented in a dropdown list 2020-01-22 10:24:17 +01:00
Son NK
ef788f7458 add /api/auth/mfa 2020-01-20 15:00:56 +01:00
Son NK
d1734c3cf9 Create /api/auth/login 2020-01-20 14:51:28 +01:00
Son Nguyen Kim
204ccd34c9
Merge pull request #37 from simple-login/disable-suffix-option
Disable suffix option
2020-01-20 13:35:22 +01:00
Son NK
cfd3f5db8f Add more help message to api-key and custom-domain 2020-01-20 11:16:04 +01:00
Son Nguyen Kim
448d9d1a01
Merge pull request #35 from simple-login/directory-separator
Directory separator
2020-01-20 10:23:00 +01:00
Son Nguyen Kim
1fca5f5779
Merge pull request #33 from simple-login/cloudflar
Use Cloudflare DNS nameserver
2020-01-20 09:24:27 +01:00
Son NK
f56ba95b4d disable alias suffix by setting DISABLE_ALIAS_SUFFIX 2020-01-20 09:23:17 +01:00
Son NK
6f925170c5 Give more info on the directory 2020-01-19 22:34:31 +01:00
Son NK
6f414ba405 Support + and # as directory separator 2020-01-19 22:06:36 +01:00
Son Nguyen Kim
70e16bb415
Merge pull request #31 from simple-login/canceled-premium
Canceled premium
2020-01-19 14:57:45 +01:00
Son NK
d2501e5961 make sure to "strip" custom domain before adding to DB 2020-01-19 14:09:13 +01:00
Son NK
b865be760c Use CloudFlare DNS nameserver 2020-01-19 10:22:20 +01:00
Son NK
a03db0d129 create email templates 2020-01-16 22:27:45 +01:00
Son NK
13283b6327 Support cancelled premium users in custom domain & directory
- Freemium user can see custom domain and directory but could not add new.
- user who has added custom domain or directory before could delete them
2020-01-16 22:21:19 +01:00
Son NK
3f0aae6f02 send email notifying user that alias creation works only in premium plan 2020-01-16 22:06:36 +01:00
Son NK
e2974cdd60 make card responsive in alias log 2020-01-12 22:23:18 +01:00
Son NK
110b296f73 use alias_id instead of alias in contact manager page 2020-01-12 22:23:05 +01:00
Son NK
d5dd46f4b1 Fix email title as name now can be empty 2020-01-11 22:33:25 +01:00
Son NK
356b95ef80 fix formatting 2020-01-11 22:28:06 +01:00
Son NK
8c9512e61e do not ask for user name when register 2020-01-11 22:26:59 +01:00
Son NK
f860471d50 fix slash in url: use alias_id instead of alias 2020-01-11 21:48:25 +01:00
Son NK
47bf6646fc Load our paddle.js if their CDN doesn't work 2020-01-10 18:36:31 +01:00
Son Nguyen Kim
cdd69b381e
Merge pull request #27 from simple-login/staging
Fix postfix-python bouncing problem
2020-01-10 13:27:32 +01:00
doanguyen
ef2e390df3 Merge branch 'staging' of https://github.com/simple-login/app into staging 2020-01-10 11:28:08 +01:00
doanguyen
f8bd3800c3 better looking random button 2020-01-10 11:26:18 +01:00
Son NK
6778537083 only allow lowercase for alias 2020-01-09 20:43:03 +01:00
Son NK
a9e7b53161 make sure directory is lowercase only 2020-01-09 20:38:02 +01:00
Son NK
851ddce5a5 Merge remote-tracking branch 'origin/master' into directory
# Conflicts:
#	email_handler.py
2020-01-09 10:37:33 +01:00
Son Nguyen Kim
94ecfd7bbd
Merge pull request #23 from simple-login/spf-check
Spf check
2020-01-09 10:32:50 +01:00
Son NK
ecce1eff99 remove support for directory+anything@EMAIL_DOMAIN 2020-01-08 22:09:46 +01:00
Son NK
cdae3c5309 add Directory page to add/delete directory 2020-01-08 21:38:01 +01:00
Son NK
5a57e3bc44 Add Directory model and add directory_id column to GenEmail 2020-01-08 21:23:41 +01:00
doanguyen
f0c66d279b
Merge branch 'master' into staging 2020-01-08 21:10:57 +01:00
doanguyen
fd31b77b06 Polish the interface 2020-01-08 19:49:26 +01:00
Son Nguyen Kim
634861e279
Merge pull request #22 from simple-login/alias-dashboard
Alias dashboard
2020-01-08 16:29:22 +01:00
Son NK
434f82a244 fix formatting 2020-01-08 12:58:34 +01:00
Son NK
0300d38f56 make sure delete_header() delete all headers occurences 2020-01-08 12:42:25 +01:00
Son NK
d9f2ec214f add @ warning when setup DNS 2020-01-07 22:13:12 +01:00
Son NK
aa10cdb3ee If domain is not verified, clicking on 🚫 brings user to DNS page 2020-01-07 21:53:00 +01:00
Son NK
27b9312057 fix formatting 2020-01-07 19:50:36 +01:00
Son NK
ba46d8f7e0 add delete_header() 2020-01-07 19:49:26 +01:00
Son NK
44527c6c4e fix annotation on email_utils 2020-01-07 19:47:26 +01:00
Son NK
3bca9fde6b refactor: move add_or_replace_header to email_utils 2020-01-07 19:46:57 +01:00
doanguyen
d804a28c07 fix the format, again 2020-01-07 00:02:12 +01:00
doanguyen
6a99fd30c4 fix some minor bugs 2020-01-06 23:58:24 +01:00
Son NK
ca37ce5e5a add id to notification section in setting 2020-01-06 19:41:05 +01:00
Son NK
d527fcf648 Move "forgot password" button to a different position to avoid Keepass issue 2020-01-06 16:11:17 +01:00
doanguyen
8f1c56baf9 forget to push this local configuration 2020-01-05 23:03:56 +01:00
doanguyen
5ffdc45c87 fix DEBUG flag is not default in os environment 2020-01-05 22:53:00 +01:00
doanguyen
5af974fc5d alias log dashboard 2020-01-05 22:49:48 +01:00
Son NK
f52f4c821b Add /api/user_info 2020-01-05 22:48:38 +01:00
Son NK
377e6c657d add /api/alias/random/new 2020-01-05 21:15:16 +01:00
Son NK
c6db8db4a1 Improve error message 2020-01-05 21:14:40 +01:00
Son NK
d322d543af add more check to new custom alias 2020-01-05 20:48:32 +01:00
Son NK
96da841062 add /api/v2/alias/options that flattens the response 2020-01-05 20:47:09 +01:00
doanguyen
4e84815375 let debug configurable 2020-01-05 19:45:29 +01:00
Son NK
41329782a2 refactor dns_utils and add test_dns_utils 2020-01-05 19:02:05 +01:00
Son NK
47f691cacf fix formatting 2020-01-04 11:00:59 +01:00
Son NK
40c2040ddc use google nameserver 2020-01-04 10:58:19 +01:00
Son NK
d6aa6e7b94 Make sure to user lowercase for user email 2020-01-04 10:24:01 +01:00
Son NK
837ab8258e redirect to login page instead 2020-01-03 23:50:34 +01:00
Son NK
4208ba379f Fix user could go to MFA page directly 2020-01-03 23:42:35 +01:00
Son NK
5053d343d1 Split lifetime licence to a separate page 2020-01-03 22:40:44 +01:00
Son NK
abb2584a38 Prettify pricing page 2020-01-03 11:51:44 +01:00
Son NK
df0e706bdd Fix scrolling in dns page 2020-01-03 11:51:18 +01:00
Son NK
c9d58692bf Prettify some pages 2020-01-02 22:39:53 +01:00
Son NK
f986371ff5 make sure to scroll to the same position in DNS page 2020-01-02 22:39:08 +01:00
Son NK
ab3fe8a626 Flash errors when MX, SPF or DKIM fail 2020-01-02 22:22:09 +01:00
Son NK
3edd5f0b82 Show something when there's no DNS record 2020-01-02 22:21:54 +01:00
Son NK
fc985d64d9 Use catch-all for all dns query 2020-01-02 22:15:08 +01:00
Son NK
9704219576 Fix product tour wording 2020-01-02 22:12:03 +01:00
Son NK
be1b689463 Fix dns query could throw different kinds of exceptions 2020-01-02 22:08:37 +01:00
Son NK
2a05e320e1 remove beta on send email button 2020-01-02 22:05:34 +01:00
Son NK
553777bc05 Move intro button to footer 2020-01-02 12:14:49 +01:00
Son NK
21cdb973f0 Improve intro 2020-01-02 12:14:39 +01:00
Son NK
4c4c4a81b8 autofocus mfa token input 2020-01-01 23:52:25 +01:00
Son NK
ee3c75244e Fix custom domain has been added before 2020-01-01 23:51:40 +01:00
Son Nguyen Kim
b8ca2d0158
Merge pull request #16 from simple-login/lifetime
Lifetime coupon
2020-01-01 23:24:15 +01:00
Son NK
e609404e6f Add FLASK_PROFILER_PATH, FLASK_PROFILER_PASSWORD setting 2020-01-01 22:54:33 +01:00
Son NK
3c05230bd3 User can use lifetime coupon 2020-01-01 20:04:39 +01:00
Son NK
dc53d77a71 User is premium if they have lifetime deal 2020-01-01 20:02:48 +01:00
Son NK
98d2882719 Add LifetimeCoupon model and User.lifetime column 2020-01-01 20:02:30 +01:00
Son NK
026fe4addd get_subscription should only return *active* subscription. 2020-01-01 19:46:35 +01:00
Son Nguyen Kim
eceee66bfe
Merge pull request #14 from simple-login/alias-log
Alias log
2020-01-01 19:02:23 +01:00
doanguyen
e5b6cb8461 forget to remove the import 2019-12-31 20:22:46 +01:00
doanguyen
1162495b36 remove dataclasses completely, remove the slots magic 2019-12-31 20:20:17 +01:00
doanguyen
a20f790fda add py36 2019-12-31 20:08:59 +01:00
Son NK
652e623111 make sure that user cannot use any suffix 2019-12-31 17:11:42 +01:00
doanguyen
d42eea39cc consider to get rid of dataclass dependent 2019-12-31 11:22:18 +01:00
doanguyen
37ca4eaf20 working on paginate alias log page 2019-12-31 11:11:06 +01:00
Son Nguyen Kim
d63faa8ab3
Merge pull request #13 from simple-login/catch-all
Catch all
2019-12-30 22:18:54 +01:00
Son Nguyen Kim
43a96201ed
Merge pull request #12 from simple-login/email-notification
Email notification
2019-12-30 21:13:22 +01:00
Son NK
02880fbc47 fix redirection 2019-12-30 21:11:31 +01:00
doanguyen
ccaf304448 Remove unused file 2019-12-30 20:24:46 +01:00
Son NK
757fff71af Fix MX and SPF check
- take into account priority in MX check
- use EMAIL_DOMAIN in SPF instead of MX server
2019-12-30 19:37:50 +01:00
Son NK
ef8f87798b Fix MX DNS record 2019-12-30 18:58:44 +01:00
Son NK
c3620a1e45 Fix formatting 2019-12-30 18:53:49 +01:00