Commit Graph

47 Commits

Author SHA1 Message Date
Son NK 6976c28985 set user_id when creating AliasUsedOn 2020-04-14 22:33:59 +02:00
Son NK 45ea72a997 make sure to set user_id when creating EmailLog 2020-04-14 22:28:33 +02:00
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 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 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 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 087d6c6652 rename forward_id to contact_id 2020-04-14 22:19:08 +02:00
Son NK f8f1e2124a rename ForwardEmail to Contact 2020-04-14 22:08:38 +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 e713efee98 reformat 2020-03-13 10:34:41 +01:00
Son NK eb66900ba3 make test more stable 2020-03-11 13:35:56 +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 3b454b9a80 fix test 2020-03-05 20:32:08 +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 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 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 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 96da841062 add /api/v2/alias/options that flattens the response 2020-01-05 20:47:09 +01:00
Son NK 66b7df588f Fix test due to updated wording 2019-12-30 16:01:29 +01:00
Son NK a3f547fd22 rename create_custom_alias -> create_new 2019-12-22 16:34:10 +00:00
Son NK 565d406227 remove new_random_alias related test 2019-12-15 18:55:18 +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