Son NK
|
145fc9c67c
|
Add reverse_alias_address to GET /api/aliases/:alias_id/activities
|
2020-11-17 09:27:30 +01:00 |
|
Son NK
|
aada12f17e
|
return reverse_alias_address in POST /api/aliases/:alias_id/contacts and GET /api/aliases/:alias_id/contacts
|
2020-11-16 19:39:00 +01:00 |
|
Son NK
|
75ba1669e0
|
Create generate_reply_email() and refactor
|
2020-11-16 19:15:09 +01:00 |
|
Son NK
|
15a6d9630a
|
Handle sender_format in PATCH /api/setting
|
2020-11-15 19:43:37 +01:00 |
|
Son NK
|
f0f81930bc
|
Return "sender_format" in GET /api/setting
|
2020-11-15 19:35:07 +01:00 |
|
Son NK
|
aee917a3ef
|
Add GET /api/custom_domains/:custom_domain_id/trash
|
2020-11-15 19:24:54 +01:00 |
|
Son NK
|
de495b9afe
|
return nb_alias in GET /api/custom_domains
|
2020-11-15 19:13:00 +01:00 |
|
Son NK
|
9d24b1b88a
|
GET /api/custom_domains
|
2020-11-15 19:09:25 +01:00 |
|
Son NK
|
f6568aca6a
|
Return pinned in GET /api/aliases/:alias_id, GET /api/v2/aliases
|
2020-11-15 19:01:11 +01:00 |
|
Son NK
|
ae05c164c9
|
Support pinned in PATCH /api/aliases/:alias_id
|
2020-11-15 18:46:27 +01:00 |
|
Son NK
|
6c7018dd33
|
Take into account pinned alias in get_alias_infos_with_pagination_v3
|
2020-11-15 18:42:29 +01:00 |
|
Son NK
|
9cfb6d412a
|
Add /api/v5/alias/options
|
2020-11-14 16:45:22 +01:00 |
|
Son NK
|
f452c79aec
|
Add /v2/setting/domains
|
2020-11-14 16:37:36 +01:00 |
|
Son NK
|
f4f2db0f04
|
use the same error structure in apple endpoints
|
2020-11-03 16:13:10 +01:00 |
|
Son NK
|
6e0394d980
|
fix filter not working when alias has several mailboxes
|
2020-11-03 15:10:57 +01:00 |
|
Son NK
|
4b6368b378
|
make sure only verified mailbox can be used as default
|
2020-11-03 12:43:01 +01:00 |
|
Son NK
|
19ac657c1c
|
add GET /api/v2/mailboxes
|
2020-11-03 12:14:13 +01:00 |
|
Son NK
|
273537e7ae
|
use same mailbox format for "POST /api/mailboxes" and "GET /api/mailboxes"
|
2020-11-03 11:22:01 +01:00 |
|
Son NK
|
751cc05534
|
check contact address in POST /aliases/<int:alias_id>/contacts
|
2020-11-03 11:10:32 +01:00 |
|
Son NK
|
a890557c7f
|
Use check_alias_prefix() to check alias prefix
|
2020-11-03 10:39:08 +01:00 |
|
Son NK
|
ec1b7dd8b8
|
return latest_activity=null if there's no activity in GET /api/v2/aliases
|
2020-11-01 12:32:20 +01:00 |
|
Son NK
|
38ca2341bc
|
fix mailbox query in get_alias_infos_with_pagination_v3
|
2020-11-01 12:24:19 +01:00 |
|
Son NK
|
28563b9653
|
fix duplicated display
|
2020-10-30 13:05:45 +01:00 |
|
Son NK
|
c076c7c7f3
|
PATCH /api/setting
|
2020-10-28 17:47:26 +01:00 |
|
Son NK
|
12f7485cb1
|
Add GET /api/setting/domains
|
2020-10-28 17:30:57 +01:00 |
|
Son NK
|
77bf9537d0
|
Add GET /api/setting
|
2020-10-28 17:23:58 +01:00 |
|
Son NK
|
91534d3cf2
|
Add PATCH /api/user_info
|
2020-10-28 17:12:21 +01:00 |
|
Son NK
|
3f40e3c1cf
|
return profile_picture_url in GET /user_info
|
2020-10-28 17:11:33 +01:00 |
|
Son NK
|
f0b46c1887
|
use warning log for /alias/options
|
2020-10-26 10:31:19 +01:00 |
|
Son NK
|
83f3309149
|
use warning log for /v3/alias/options
|
2020-10-24 16:28:07 +02:00 |
|
Son NK
|
32e25f5378
|
bring back alias/options v1,2,3
|
2020-10-20 17:31:43 +02:00 |
|
Son NK
|
886d3a761c
|
delete /alias/options v1,v2,v3
|
2020-10-19 12:08:47 +02:00 |
|
Son NK
|
90163220cf
|
rename email_domain_can_be_used_as_mailbox -> email_can_be_used_as_mailbox
|
2020-10-15 16:05:47 +02:00 |
|
Son NK
|
f56b0cddb2
|
use exception log for /alias/options endpoints
|
2020-10-15 16:02:04 +02:00 |
|
Son NK
|
7e425c0338
|
disable login if user is disabled
|
2020-10-04 12:49:43 +02:00 |
|
Son NK
|
d81ad2fd12
|
sanitize mailbox before creating: remove empty space
|
2020-09-17 17:02:50 +02:00 |
|
Son NK
|
c625a178e8
|
use RequestException instead of ConnectionError
|
2020-09-11 16:55:32 +02:00 |
|
Son NK
|
d1eb1ea799
|
handle case apple server not accessible
|
2020-09-05 20:56:03 +02:00 |
|
Son NK
|
5cf0a4bcfe
|
handle case alias can be None in toggle_alias
|
2020-09-05 20:54:08 +02:00 |
|
Son NK
|
2d395f99bb
|
make sure to remove whitespace in alias
|
2020-09-02 09:56:16 +02:00 |
|
Son NK
|
a3d919db2e
|
take into account mailbox in alias search
|
2020-08-29 19:03:33 +02:00 |
|
Son NK
|
fdedc24358
|
black new version
|
2020-08-27 10:20:48 +02:00 |
|
Son NK
|
4101142253
|
black
|
2020-08-26 11:45:24 +02:00 |
|
Son NK
|
f213469e9f
|
display nb-reply, nb-forward on alias contact page
|
2020-08-26 11:45:07 +02:00 |
|
Son NK
|
9237f43c19
|
use warning log level for tampered alias
|
2020-08-24 19:58:21 +02:00 |
|
Son NK
|
00a08d898a
|
refactor: do not use latest_activity in subquery
|
2020-08-21 23:10:23 +02:00 |
|
Son NK
|
d7583f1733
|
handle case where alias does not have any activity in get_alias_infos_with_pagination_v3
|
2020-08-21 20:39:18 +02:00 |
|
Son NK
|
30fe09185f
|
create get_alias_infos_with_pagination_v3 - reduce nb queries used in get_alias_infos_with_pagination_v2
|
2020-08-21 19:51:48 +02:00 |
|
Son NK
|
c74857c7e7
|
use alias name when searching
|
2020-08-07 09:56:44 +02:00 |
|
Son NK
|
2f00294ba3
|
replace pgp_enabled by disable_pgp
|
2020-08-06 14:22:28 +02:00 |
|
Son NK
|
a3051b3d45
|
black
|
2020-08-04 20:12:15 +02:00 |
|
Son NK
|
b3ca7d1d5b
|
Return pgp_enabled in GET /api/v2/aliases
|
2020-08-04 20:11:59 +02:00 |
|
Son NK
|
03841693ba
|
Return support_pgp in GET /api/v2/aliases
|
2020-08-04 20:09:42 +02:00 |
|
Son NK
|
ed22f5116f
|
fix api key counter not correctly incremented
|
2020-08-01 10:14:59 +02:00 |
|
Son NK
|
6437ee46e0
|
use LOG.exception instead of LOG.error to provide stacktrace
|
2020-07-17 12:59:07 +02:00 |
|
Son NK
|
8f17cda794
|
use warning error for alias expiration error
|
2020-07-13 20:40:26 +02:00 |
|
Son NK
|
28c96d0d35
|
return 412 when alias ceration time is expired
|
2020-07-11 19:23:56 +02:00 |
|
Son NK
|
d59e9a6238
|
use warning level for apple server issue
|
2020-07-04 18:24:34 +02:00 |
|
Son NK
|
d0776b770f
|
add GET /api/logout
|
2020-07-04 12:10:04 +02:00 |
|
Son NK
|
0d3a3e0c48
|
Create POST /api/api_key
|
2020-07-04 11:41:31 +02:00 |
|
Son NK
|
5b3ec91300
|
login user in api auth endpoints
|
2020-07-04 10:39:38 +02:00 |
|
Son NK
|
40b4273111
|
take into account /verifyReceipt can return 5**
|
2020-06-30 20:10:12 +02:00 |
|
Son NK
|
204f5f9a0c
|
fix alias can be none in delete alias endpoint
|
2020-06-28 09:48:21 +02:00 |
|
Son NK
|
02bd45bc4a
|
fix alias can be none in update alias endpoint
|
2020-06-28 09:48:21 +02:00 |
|
Son NK
|
c91b44fa97
|
set rate limit to 5/minute on new alias routes
|
2020-06-24 10:32:22 +02:00 |
|
Son NK
|
774ffcae3b
|
enable CORS on /api endpoints
|
2020-06-24 10:30:01 +02:00 |
|
Son NK
|
45a8b360e4
|
handle case where alias is None
|
2020-06-19 23:44:16 +02:00 |
|
Son NK
|
ee6a1a672d
|
fix POST /v2/alias/custom/new when DISABLE_ALIAS_SUFFIX is set
|
2020-06-15 23:35:20 +02:00 |
|
Son NK
|
1a22d0cf9b
|
fix domain can be null in self-hosting
# Conflicts:
# app/api/views/new_custom_alias.py
# app/dashboard/views/custom_alias.py
|
2020-06-15 15:58:05 +02:00 |
|
Son NK
|
dfe708b4fb
|
return user email in /api/auth/mfa
|
2020-06-09 17:20:37 +02:00 |
|
Son NK
|
0002531bc0
|
return user email in /api/auth/login
|
2020-06-09 17:19:03 +02:00 |
|
Son NK
|
ce4992c7fb
|
check if alias exists
|
2020-06-07 12:50:30 +02:00 |
|
Son NK
|
9fc0748fcc
|
Support setting alias name in POST /api/v3/alias/custom/new
|
2020-06-03 21:22:29 +02:00 |
|
Son NK
|
48dc0dd1cc
|
change mailboxes to mailbox_ids
|
2020-06-02 20:06:32 +02:00 |
|
Son NK
|
d055989239
|
Create POST /api/v3/alias/custom/new
|
2020-06-02 09:33:56 +02:00 |
|
Son NK
|
48998ff07e
|
return nb_alias in GET /mailboxes
|
2020-05-31 11:52:01 +02:00 |
|
Son NK
|
0530a8aab5
|
return creation_timestamp in GET /mailboxes
|
2020-05-31 11:49:53 +02:00 |
|
Son NK
|
78d9a88328
|
Add default field to GET /api/mailboxes
|
2020-05-27 14:18:20 +02:00 |
|
Sibren Vasse
|
31a1f94a5f
|
Implement rate limiting
|
2020-05-25 11:39:33 +02:00 |
|
Son NK
|
1e03f26cfa
|
Return whether there's more notification in GET /api/notifications
|
2020-05-23 22:51:00 +02:00 |
|
Son NK
|
dae357dd6b
|
Add GET /api/notifications, /api/notifications/:notification_id
|
2020-05-23 19:54:06 +02:00 |
|
Son NK
|
adce27b88b
|
Add DomainDeletedAlias.get_by check when creating custom alias
|
2020-05-23 19:49:40 +02:00 |
|
Son NK
|
1d598252e7
|
format
|
2020-05-23 19:18:50 +02:00 |
|
Son NK
|
6fc380c0d9
|
remove unused imports
|
2020-05-23 19:18:35 +02:00 |
|
Son NK
|
42b3666f45
|
use the alias v2 format for GET /api/aliases/:alias_id, POST /api/v2/alias/custom/new, POST /api/v2/alias/random/new
|
2020-05-23 19:18:24 +02:00 |
|
Son NK
|
6280512adf
|
move get mailboxes to mailbox.py
|
2020-05-23 16:46:10 +02:00 |
|
Son NK
|
3eb6700232
|
user can cancel mailbox email change
|
2020-05-23 16:43:48 +02:00 |
|
Son NK
|
2f087de061
|
can update mailbox email
|
2020-05-23 16:40:28 +02:00 |
|
Son NK
|
a76ad0485f
|
PUT /api/mailboxes/:mailbox_id: update mailbox
|
2020-05-23 16:26:26 +02:00 |
|
Son NK
|
5ae39c85c6
|
Add DELETE /api/mailboxes/:mailbox_id
|
2020-05-23 16:18:12 +02:00 |
|
Son NK
|
722bff319e
|
add POST /api/mailboxes: create a new mailbox
|
2020-05-23 16:17:42 +02:00 |
|
Son NK
|
2fbc2c171b
|
check domain trash when creating custom alias in api
|
2020-05-23 12:02:01 +02:00 |
|
Son NK
|
cb036f651d
|
do not call lower() on signed_suffix
|
2020-05-20 18:23:13 +02:00 |
|
Son NK
|
93d972df09
|
make sure to use lowercase for alias email
|
2020-05-20 18:12:14 +02:00 |
|
Son Nguyen Kim
|
1997c207ed
|
Merge pull request #196 from SibrenVasse/error_handling
Move api error handling to global error handler
|
2020-05-17 18:02:23 +02:00 |
|
Sibren Vasse
|
2d7bd225e9
|
Move api error handling to global error handler
|
2020-05-17 15:27:24 +02:00 |
|
Son NK
|
b167297808
|
Support disable_pgp in update alias endpoint
|
2020-05-16 20:51:07 +02:00 |
|
Son NK
|
362d101bab
|
Merge branch 'master' into multiple-mailboxes
# Conflicts:
# app/dashboard/templates/dashboard/custom_alias.html
# email_handler.py
# templates/emails/com/newsletter/mobile-darkmode.html
|
2020-05-16 11:28:25 +02:00 |
|
Son NK
|
7ed77a66b2
|
format
|
2020-05-15 23:18:42 +02:00 |
|
Son NK
|
2978bfb281
|
Fix user cannot change personal email back and better naming.
Happens when user
- changes their personal email
- wants to change back: they can't as this email is already used as mailbox
|
2020-05-15 23:18:30 +02:00 |
|