Commit graph

74 commits

Author SHA1 Message Date
Son NK
9ee8245760 make sure to set user_id when creating contact 2020-04-14 22:28:33 +02:00
Son NK
e81b807971 always return 200 in /forgot_password 2020-04-14 22:26:47 +02:00
Son NK
f8f501b84d Improve error 2020-04-14 22:26:47 +02:00
Son NK
7d61c5d8c2 add "in_trial" to /user_info 2020-04-14 22:26:47 +02:00
Son NK
46701530db Add POST /api/auth/forgot_password 2020-04-14 22:26:47 +02:00
Son NK
c57189e538 return email in /user_info 2020-04-14 22:26:47 +02:00
Son NK
b664b0b17b Fix duplicate results 2020-04-14 22:26:13 +02:00
Son NK
e230b120d9 rename get_alias_info -> get_alias_infos 2020-04-14 22:26:13 +02:00
Son NK
2d570f7290 Take into account query in GET /api/aliases 2020-04-14 22:26:13 +02:00
Son NK
54a30a62d2 Add DELETE /api/contacts/:contact_id 2020-04-14 22:26:13 +02:00
Son NK
9ae6ba323c Return contact id 2020-04-14 22:26:12 +02:00
Son NK
e8b315b431 rename gen_email_id -> alias_id 2020-04-14 22:25:04 +02:00
Son NK
c2d772ded1 rename GenEmail -> Alias, gen_email to alias whenever possible 2020-04-14 22:19:30 +02:00
Son NK
d2c13763a2 rename ForwardEmailLog to EmailLog 2020-04-14 22:19:19 +02:00
Son NK
f8f1e2124a rename ForwardEmail to Contact 2020-04-14 22:08:38 +02:00
Son NK
130abc2220 Use warning level for /v2/alias/options 2020-04-14 22:07:30 +02:00
Son NK
76661d12d3 Do not set domain for ALIAS_DOMAINS 2020-04-14 22:07:06 +02:00
Son NK
abd23cf08f Fix not setting custom domain when creating alias via API 2020-04-14 22:07:06 +02:00
Son NK
00f3b7b532 use parseaddr instead of get_email_part 2020-04-14 22:06:42 +02:00
Son Nguyen Kim
84fa16cb86 Merge pull request #109 from simple-login/alias-api
Alias api
2020-04-14 21:56:45 +02:00
Son NK
ab082a5f9b fix get_json returns 400 2020-03-11 14:02:35 +01:00
Son NK
1098f17c0c Support note in POST /api/alias/random/new 2020-03-11 12:24:30 +01:00
Son NK
aad06f73e9 Support note in POST /api/alias/custom/new 2020-03-11 12:23:43 +01:00
Son NK
417009b3be return note in GET /api/aliases 2020-03-11 12:16:45 +01:00
Son NK
b05daecd28 Handle unsign can generate other exceptions 2020-03-09 09:17:40 +01:00
Son NK
a6f4059d5d make sure to set mailbox_id when creating GenEmail 2020-03-05 17:03:07 +01:00
Son NK
ca70d26285 black format 2020-03-05 11:00:58 +01:00
Son NK
32cd2fd650 Add related endpoints for registration
POST /api/auth/register
POST /api/auth/activate
POST /api/auth/reactivate
2020-02-28 19:02:01 +07:00
Son NK
4d1d236066 add POST /api/auth/google 2020-02-28 17:29:33 +07:00
Son NK
02d26df292 add /api/auth/facebook 2020-02-28 17:26:28 +07:00
Son NK
9d23fc5ab3 small refacto 2020-02-27 22:26:29 +07:00
Son NK
74d1f87db0 disable bounced email in alias log 2020-02-22 13:27:22 +07:00
Son NK
fc167b8b41 Display alias mailbox on alias page 2020-02-10 23:23:02 +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
1241199e23 add "enabled" to returned alias 2020-02-05 18:23:13 +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
40cac56986 GET /api/aliases 2020-02-04 23:26:59 +07:00
Son NK
f7d000d34e alert when /alias/options is used 2020-02-04 23:01:33 +07:00
Son NK
c7903d534a use null instead of "" in /api/auth/login 2020-02-04 18:32:57 +07:00
Son NK
926cc2935c take into account DISABLE_ALIAS_SUFFIX in /api/alias/options 2020-01-22 14:21:01 +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
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
d322d543af add more check to new custom alias 2020-01-05 20:48:32 +01:00