Commit Graph

493 Commits

Author SHA1 Message Date
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
Son NK
8d85ab35f1 Move delete domain to domain info page 2019-12-30 18:51:55 +01:00
Son NK
174ee174f9 add gen_email.automatic_creation column 2019-12-30 18:48:07 +01:00
Son NK
96bb37f0f6 User can enable/disable catch-all on custom domain 2019-12-30 18:20:49 +01:00
Son NK
b9908a16b2 add get_email_local_part(), get_email_domain_part() to email_utils 2019-12-30 18:18:10 +01:00
Son NK
cae43fa0dd add custom_domain.catch_all column 2019-12-30 18:17:45 +01:00
Son NK
4b6717d8dd Split domain detail into Info and DNS page 2019-12-30 17:52:08 +01:00
Son NK
632484ee5c Update wording: remove "successfully" 2019-12-30 17:43:38 +01:00
Son NK
ca6c32f951 Fix formatting 2019-12-30 15:56:47 +01:00
Tung Nguyen
1289b08636 Merge remote-tracking branch 'nguyenkims/master' 2019-12-30 12:33:32 +00:00
Son NK
caa95df556 Prettify pricing page 2019-12-30 11:08:11 +01:00
Son NK
25d8f8926b Prettify UI 2019-12-30 10:36:13 +01:00
doanguyen
3e766f8126 blacked-again 2019-12-30 00:47:55 +01:00
doanguyen
4b3453dce8 Lol, str(True) != 1 2019-12-30 00:39:47 +01:00
doanguyen
c194ee3337 blacked 2019-12-30 00:37:07 +01:00
doanguyen
9466fd556c update migration file 2019-12-30 00:35:06 +01:00
doanguyen
84eb10232c notification setting 2019-12-30 00:33:59 +01:00
Son NK
b51ed259b4 fix cancel MFA: the secret needs to be reset too 2019-12-29 15:32:27 +01:00
Son NK
76eec998ea User who has enabled MFA can cancel MFA 2019-12-29 15:10:40 +01:00
Son NK
89664580b3 Move custom-domain to menu 2019-12-29 11:03:47 +01:00
Son NK
b391fa4c91 Move settings and api-key page to menu 2019-12-29 10:56:27 +01:00
doanguyen
6f256bcd3f minor comments on domain-detail branch 2019-12-29 10:48:46 +01:00
doanguyen
45c49f1e1a minor comments on domain-detail branch 2019-12-29 10:48:46 +01:00
Son NK
8dcb8dd249 move domain validation (mx, spf, mx) to domain detail page 2019-12-29 10:46:00 +01:00
Son NK
34faafe25e add custom_domain.spf_verified column 2019-12-29 10:46:00 +01:00
Son NK
a956e2de10 add dns_utils.get_txt_record 2019-12-29 10:46:00 +01:00
Son NK
90bd84e9cc add DKIM_PUBLIC_KEY_PATH setting 2019-12-29 10:46:00 +01:00
Son NK
d0218c86de display 🚫 for unverified domain 2019-12-29 10:46:00 +01:00
Son NK
ab3ce7bd4e fix formatting 2019-12-29 10:33:45 +01:00
doanguyen
3ca5b9628a update server_default parameter 2019-12-28 14:20:10 +01:00
doanguyen
f3719aa0f0 black formatted 2019-12-28 14:20:10 +01:00
doanguyen
3811bb6880 reformat 2019-12-28 14:20:10 +01:00
doanguyen
4a3b958131 reformat modified files, resolve PR https://github.com/simple-login/app/pull/5 2019-12-28 14:20:10 +01:00
doanguyen
10019ba4eb reverse previous commit 2019-12-28 14:20:10 +01:00
doanguyen
d026c596ac remove lambda function from config.py 2019-12-28 14:20:10 +01:00
doanguyen
e2e9cc6b5d Implement alias generator schemes 2019-12-28 14:20:10 +01:00
doanguyen
1393b80970 considering lazy loading for non-critical loc 2019-12-28 14:20:10 +01:00
Son NK
de0368c20f remove redundant code 2019-12-27 16:53:07 +00:00
Son NK
5b01071bec Redirect user to MFA page if they enable MFA 2019-12-27 16:53:07 +00:00
Son NK
c52f2d1603 Create auth/mfa page used by user who has enabled MFA 2019-12-27 16:53:07 +00:00
Son NK
fa66a71880 Display MFA setup to user who doesn't have MFA enabled 2019-12-27 16:53:07 +00:00
Son NK
e5b10b28a6 Create MFA Setup page if user enable MFA 2019-12-27 16:53:07 +00:00
Son NK
80facfe122 add User.otp_secret, enable_otp column 2019-12-27 16:53:07 +00:00
Son NK
1eefb9228f only parse CLOUDWATCH_LOG_GROUP, CLOUDWATCH_LOG_STREAM if CLOUDWATCH is enabled 2019-12-27 10:39:39 +01:00
Son NK
65d0848e2f show alias in confirmation message 2019-12-26 17:37:51 +00:00
Tung Nguyen
4f751e5cd2 fix typos and improve messages showing at the end users 2019-12-26 13:00:17 +00:00
Son NK
e09dfaa481 Fix pricing page message 2019-12-25 21:35:35 +00:00
Son NK
ed78e31b8b add custom_domain.dkim_verified column 2019-12-25 17:23:04 +00:00
Son NK
f80adae625 fix login error message 2019-12-23 19:00:31 +00:00
Son NK
bcbe239f60 User can generate quickly a random alias 2019-12-23 15:34:02 +00:00
Son NK
a8d112646e Add hint for alias prefix on custom alias page 2019-12-23 15:09:41 +00:00
Son NK
dbbfcac2d6 Still show a readable email name when there's no website_from 2019-12-23 15:09:41 +00:00
Son NK
3320a488f3 refactor s3.py 2019-12-23 15:09:41 +00:00
Son NK
a3f547fd22 rename create_custom_alias -> create_new 2019-12-22 16:34:10 +00:00
Son NK
91e38a744b remove GenEmail.custom column 2019-12-22 16:32:55 +00:00
Son NK
8f04f8ae0f rename can_create_new_custom_alias -> can_create_new_alias 2019-12-22 16:27:55 +00:00
Son NK
873133838d delete unused method 2019-12-22 16:21:02 +00:00
Son NK
0955f13593 User can export their data 2019-12-22 16:20:56 +00:00
Son NK
8756241774 Fix wording 2019-12-22 16:03:58 +00:00
Son NK
ec4d034593 Add Delete Account in setting 2019-12-22 16:03:40 +00:00
Son NK
17bb01f317 Fix wording 2019-12-22 15:59:41 +00:00
Son NK
41fe528441 use flash to display error in login 2019-12-22 15:59:00 +00:00
Son NK
ea1492904a only print out plaintext when NOT_SEND_EMAIL 2019-12-22 15:58:07 +00:00
Son NK
441fc773ba better UI for new alias page 2019-12-22 15:41:37 +00:00
Son NK
6b3fe06efc better UI for custom-alias page 2019-12-22 12:57:19 +00:00
Son NK
8d6988da16 add warning message for social login options. 2019-12-22 08:26:20 +00:00
Son NK
4147e19530 fix facebook error when user choose to not share email 2019-12-19 22:38:20 +02:00
Son NK
4799721667 remove DKIM-Signature if any 2019-12-17 19:06:17 +02:00
Son NK
a61b900675 Sign DKIM at app level
- add DKIM_PRIVATE_KEY_PATH param
- create email_utils.add_dkim_signature
- add DKIM signature for transactional emails
- add DKIM signature for forward & reply emails. In reply phase, only non-custom-domain emails have DKIM added.
2019-12-17 18:50:26 +02:00
Son NK
f8293bc618 make ADMIN_EMAIL optional 2019-12-16 19:36:59 +02:00
Son NK
66091b4f9e replace ENABLE_SENTRY by SENTRY_DSN 2019-12-16 19:30:17 +02:00
Son NK
c3b716f644 remove users.can_use_custom_domain flag 2019-12-15 21:52:24 +02:00
Son NK
1b88d2264e add beta badge for "send email" feature 2019-12-15 18:55:18 +02:00
Son NK
a8d00c3329 add tooltip for reverse-alias 2019-12-15 18:55:18 +02:00
Son NK
3e9233f346 replace the "test alias" by the alias manager page 2019-12-15 18:55:18 +02:00
Son NK
231fc6fd88 create alias contact manager page 2019-12-15 18:55:18 +02:00
Son NK
62e0ae27a0 move get_email_name, get_email_part to email_utils 2019-12-15 18:55:18 +02:00
Son NK
88cef1b90d add new param IGNORED_EMAILS and use it in cronjob 2019-12-15 18:55:18 +02:00
Son NK
9c9ad87c7d remove /api/alias/new 2019-12-15 18:55:18 +02:00
Son NK
565d406227 remove new_random_alias related test 2019-12-15 18:55:18 +02:00
Son NK
e5079e48da remove can_create_new_random_alias() 2019-12-15 18:55:18 +02:00
Son NK
ec62fad3a0 remove notify_admin, replace by general stats 2019-12-15 18:55:18 +02:00
Son NK
eba9e889bf add paddle_utils.verify_incoming_request 2019-12-15 18:55:18 +02:00
Son NK
d58f9d4c89 add new param PADDLE_PUBLIC_KEY_PATH 2019-12-15 18:55:18 +02:00
Son NK
e4ba4297e1 reformat using black 2019-12-15 18:55:18 +02:00
Son NK
dc66cf76e2 allow overriding postfix server 2019-12-15 18:55:18 +02:00
Son NK
3d95048e00 fix wording 2019-12-15 18:55:18 +02:00
Son NK
2412658a3e better UI for custom alias page 2019-12-15 18:55:18 +02:00
Son NK
4e6922adad disable late_payment in cron job 2019-12-15 18:55:18 +02:00
Son NK
7f908a9da8 display website_from on alias log 2019-12-15 18:55:18 +02:00
Son NK
d160971cc7 add ForwardEmail.website_from field 2019-12-15 18:55:17 +02:00
Son NK
631900ab4f use random_word instead of random_string for alias suffix 2019-12-15 18:55:17 +02:00
Son NK
c37ba0e1de website_email: use From header instead of envelope from 2019-12-15 18:55:17 +02:00
Son NK
9dd4a4afb7 take into account NOT_SEND_EMAIL param 2019-12-15 18:55:17 +02:00