Commit Graph

80 Commits

Author SHA1 Message Date
Son NK
991a76dabd fix test 2020-02-10 23:30:38 +07:00
Son NK
dec36ceeec Fix add_or_replace_header: make sure to delete all header occurrences before 2020-02-07 22:04:27 +07:00
Son NK
4c383663f4 Fix delete_header not deleting all header occurences 2020-02-07 22:04:27 +07:00
Son NK
e10981f85e able to create word-based or uuid-based in /api/alias/random/new endpoint 2020-02-07 21:30:46 +07:00
Son NK
3092536b40 add GET /api/aliases/:alias_id/activities endpoint 2020-02-05 18:57:11 +07:00
Son NK
c5dc4fec4c add POST /api/aliases/:alias_id/toggle endpoint 2020-02-05 18:28:54 +07:00
Son NK
c90a4899d2 Add DELETE /api/aliases/:alias_id endpoint 2020-02-05 18:21:17 +07:00
Son NK
14b48835ae reuse ApiKey if same device 2020-02-05 18:05:26 +07:00
Son NK
d8229102a6 add test for custom alias page 2020-02-05 17:35:38 +07:00
Son NK
40cac56986 GET /api/aliases 2020-02-04 23:26:59 +07:00
Son NK
c7903d534a use null instead of "" in /api/auth/login 2020-02-04 18:32:57 +07:00
Son NK
ad1cf3af8c fix test 2020-01-30 13:20:32 +07:00
Son NK
fc22593bf6 avoid email loop
Prevent user from adding a domain that they are using for their personal email.
2020-01-28 15:16:26 +07:00
Son NK
f93e40c6ae add test for custom_domain 2020-01-28 15:13:03 +07:00
Son NK
f76bdd8fe6 set DISABLE_REGISTRATION param to disable registration 2020-01-28 11:50:25 +07:00
Son NK
fc7a832969 add can_be_used_as_personal_email() 2020-01-25 22:40:30 +07:00
Son NK
87a348932d rename env.test to test.env 2020-01-23 09:20:41 +01:00
Son NK
bdf75951f1 support ALIAS_DOMAINS
- use verify_prefix_suffix() in /api/alias/custom/new
-
2020-01-22 10:24:17 +01:00
Son NK
d7ed0d77bd add email_belongs_to_alias_domains() to verify if an email belongs to one of the alias domains 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 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
96da841062 add /api/v2/alias/options that flattens the response 2020-01-05 20:47:09 +01:00
Son NK
41329782a2 refactor dns_utils and add test_dns_utils 2020-01-05 19:02:05 +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
66b7df588f Fix test due to updated wording 2019-12-30 16:01:29 +01:00
Son NK
ecdebbe569 add missing DKIM_PUBLIC_KEY_PATH 2019-12-29 10:46:00 +01:00
doanguyen
e2e9cc6b5d Implement alias generator schemes 2019-12-28 14:20:10 +01:00
Son NK
bcbe239f60 User can generate quickly a random alias 2019-12-23 15:34:02 +00:00
Son NK
a3f547fd22 rename create_custom_alias -> create_new 2019-12-22 16:34:10 +00: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
66091b4f9e replace ENABLE_SENTRY by SENTRY_DSN 2019-12-16 19:30:17 +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
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
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
8d60ebd456 handle the case email from header has the format "First Last <ab@cd.com>" 2019-12-15 18:55:17 +02:00
Son NK
6ddb8ee5ab fix test 2019-12-15 18:55:17 +02:00
Son NK
ef888288a6 add tests for api create custom/random alias 2019-12-15 18:55:17 +02:00
Son NK
a0c199732f fix test 2019-12-15 18:55:17 +02:00
Son NK
79ac792136 fix test 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
5d9420a763 add EMAIL_SERVERS_WITH_PRIORITY and EMAIL_SERVERS config 2019-12-15 18:55:16 +02:00
Son NK
b59ffb94b2 Remove Stripe usage 2019-12-15 18:55:16 +02:00
Son NK
6e71541985 remove trial concept 2019-12-15 18:55:16 +02:00
Son NK
2ec89afac2 add ADMIN_EMAIL and send notif to this email 2019-12-15 18:55:15 +02:00