Son NK
|
0c62ac4b1f
|
set rate limit for creating alias endpoint
|
2021-03-24 16:26:42 +01:00 |
|
Son NK
|
66abbf2614
|
make sure to remove \n from alias name
|
2020-12-02 12:25:23 +01:00 |
|
Son NK
|
5b9dc88c67
|
make sure alias prefix cannot be more than 40 chars
|
2020-11-18 10:38:35 +01:00 |
|
Son NK
|
a890557c7f
|
Use check_alias_prefix() to check alias prefix
|
2020-11-03 10:39:08 +01:00 |
|
Son NK
|
2d395f99bb
|
make sure to remove whitespace in alias
|
2020-09-02 09:56:16 +02:00 |
|
Son NK
|
fdedc24358
|
black new version
|
2020-08-27 10:20:48 +02:00 |
|
Son NK
|
9237f43c19
|
use warning log level for tampered alias
|
2020-08-24 19:58:21 +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
|
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
|
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
|
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
|
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
|
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
|
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 NK
|
b95b758692
|
Optimize imports
|
2020-05-09 20:49:38 +02:00 |
|
Son NK
|
2f5a03dcad
|
make sure to add alias into global trash when deleting it
|
2020-05-07 22:27:27 +02:00 |
|
Son NK
|
806f7016ae
|
fix: wrongly set alias custom_domain when custom_domain is in EMAIL_ALIAS
|
2020-05-07 20:48:11 +02:00 |
|
Son NK
|
35b1972730
|
increase the expired alias creation session to 600 secs
|
2020-05-06 10:10:47 +02:00 |
|
Son NK
|
d9e9a54082
|
add more info in "alias expire" error
|
2020-05-06 10:09:17 +02:00 |
|
Son NK
|
62bec84900
|
Add obsolete warnings
|
2020-05-02 16:23:40 +02:00 |
|
Son NK
|
d32669f515
|
Add /api/v2/alias/custom/new
|
2020-05-02 16:22:17 +02:00 |
|
Son NK
|
0edcc25289
|
refactor verify_prefix_suffix: remove user_custom_domains param
|
2020-05-02 12:27:54 +02:00 |
|
Son NK
|
48202e905f
|
rename verify_api_key -> require_api_auth
|
2020-04-25 13:42:53 +02:00 |
|
Son NK
|
425fdc66c6
|
Move methods to api/serializer.py
|
2020-04-05 16:32:38 +02:00 |
|
Son NK
|
f15488f96b
|
refactor: move get_alias_infos_with_pagination, get_alias_info to alias.py
|
2020-04-05 16:21:13 +02:00 |
|
Son NK
|
d4a32451c1
|
return full alias info in POST /api/alias/custom/new
|
2020-03-26 19:48:36 +01:00 |
|
Son NK
|
7d4a9efb5d
|
set user_id when creating AliasUsedOn
|
2020-03-20 12:29:11 +01:00 |
|
Son NK
|
2d90d35647
|
rename gen_email_id -> alias_id
|
2020-03-17 12:01:18 +01:00 |
|
Son NK
|
4f281bdbbb
|
rename GenEmail -> Alias, gen_email to alias whenever possible
|
2020-03-17 11:51:40 +01:00 |
|
Son NK
|
ccc005b8b2
|
Do not set domain for ALIAS_DOMAINS
|
2020-03-15 23:33:50 +01:00 |
|
Son NK
|
93292c88c9
|
Fix not setting custom domain when creating alias via API
|
2020-03-15 23:18:43 +01:00 |
|
Son NK
|
aad06f73e9
|
Support note in POST /api/alias/custom/new
|
2020-03-11 12:23:43 +01:00 |
|
Son NK
|
a6f4059d5d
|
make sure to set mailbox_id when creating GenEmail
|
2020-03-05 17:03:07 +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
|
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
|
ca6c32f951
|
Fix formatting
|
2019-12-30 15:56:47 +01:00 |
|
Tung Nguyen
|
4f751e5cd2
|
fix typos and improve messages showing at the end users
|
2019-12-26 13:00:17 +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
|
e4ba4297e1
|
reformat using black
|
2019-12-15 18:55:18 +02:00 |
|