Son
|
67377a0f22
|
do not show subdomains on the domain page
|
2021-11-17 11:52:33 +01:00 |
|
Son
|
6eb702870c
|
handle the case alias is in trash
|
2021-11-17 10:56:43 +01:00 |
|
Son
|
abc074ea9b
|
make sure password can't be longer than 100 chars
|
2021-11-16 19:41:05 +01:00 |
|
Son
|
416eafaeb9
|
use the first alias suffix when creating a new random alias
|
2021-11-12 11:04:00 +01:00 |
|
Son
|
611fb8a20c
|
take into account user.include_website_in_one_click_alias in /api/alias/random/new
|
2021-11-12 09:45:31 +01:00 |
|
Son
|
9f9b470ab8
|
fix
|
2021-11-08 11:52:41 +01:00 |
|
Son
|
d7971953ac
|
return error if name too long when updating alias
|
2021-11-08 11:26:10 +01:00 |
|
Son
|
429683f444
|
log more data in apple.verify_receipt()
|
2021-11-06 18:25:15 +01:00 |
|
Son
|
31e39314d5
|
return "block_forward" for /api/aliases/{alias.id}/contacts
|
2021-11-02 15:55:16 +01:00 |
|
Son
|
fbb1451352
|
rename file
|
2021-11-02 11:43:04 +01:00 |
|
Son
|
bc4805b1fa
|
Add POST /api/contacts/:contact_id/toggle
|
2021-10-28 10:14:20 +02:00 |
|
Son
|
4a90c79753
|
make sure mailbox_ids is a list in /api/v3/alias/custom/new
|
2021-10-23 15:55:39 +02:00 |
|
Son
|
ecdce2307f
|
make sure input of /api/v3/alias/custom/new is a dict
|
2021-10-23 15:52:17 +02:00 |
|
Son
|
462164ff16
|
use tldextract to extract hostname
|
2021-10-18 11:45:48 +02:00 |
|
Son
|
fbabe6fb44
|
use job system for deleting mailbox
|
2021-10-13 11:40:15 +02:00 |
|
Son
|
372466ab06
|
do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
|
2021-10-12 14:36:47 +02:00 |
|
Son Nguyen Kim
|
9279b20975
|
only put pinned alias in default sorting
|
2021-09-21 12:20:29 +02:00 |
|
David Siregar
|
1cc8f7f2e3
|
fixed wrong description of error
|
2021-09-14 21:28:51 +02:00 |
|
Son Nguyen Kim
|
638e8137ec
|
fix test
|
2021-09-10 17:10:05 +02:00 |
|
Son Nguyen Kim
|
3ad4b6b76f
|
use flanker instead of parseaddr_unicode
|
2021-09-10 17:06:38 +02:00 |
|
Son Nguyen Kim
|
5ac78f2694
|
reformat
|
2021-09-08 11:29:55 +02:00 |
|
Son Nguyen Kim
|
48838eb176
|
add highlighted alias in case it's not included in the result
|
2021-09-07 15:22:50 +02:00 |
|
Son Nguyen Kim
|
b2ac1b537d
|
add only pinned alias filter
|
2021-09-07 15:10:37 +02:00 |
|
Son Nguyen Kim
|
ffd2ec5e81
|
add filter by directory on dashboard
|
2021-09-05 19:11:05 +02:00 |
|
Son Nguyen Kim
|
51578ce934
|
add filter by mailbox
|
2021-08-20 12:21:27 +02:00 |
|
Son
|
009e1edced
|
also support substring search
|
2021-08-19 18:07:11 +02:00 |
|
Son
|
d8cb327b6e
|
fix search
|
2021-08-19 17:47:10 +02:00 |
|
Son Nguyen Kim
|
2e9b288d7b
|
optimize get_alias_infos_with_pagination_v3 when searching on mailbox email
|
2021-08-06 09:18:14 +02:00 |
|
Son Nguyen Kim
|
006a7b1420
|
black
|
2021-08-06 08:46:38 +02:00 |
|
Son Nguyen Kim
|
2f8f354f28
|
fix error with match(): use plainto_tsquery instead
|
2021-08-05 19:44:13 +02:00 |
|
Son Nguyen Kim
|
9eb3c7cf2c
|
use Alias.ts_vector instead of note when returning alias
|
2021-08-04 09:30:12 +02:00 |
|
Son Nguyen Kim
|
dc83c3dd9e
|
Add filter for Only Aliases Found In Data Breaches
|
2021-07-29 08:45:52 +02:00 |
|
Son Nguyen Kim
|
77c993b864
|
remove unused get_alias_infos_with_pagination_v2
|
2021-07-28 18:48:10 +02:00 |
|
Son Nguyen Kim
|
cbd6c96d01
|
preload Alias.hibp_breaches
|
2021-07-13 14:11:27 +02:00 |
|
Son Nguyen Kim
|
7ac2a02b27
|
join with EmailLog directly without passing by Contact
|
2021-07-13 14:11:14 +02:00 |
|
Son NK
|
3308919906
|
Remove /alias/custom/new
|
2021-06-05 17:41:28 +02:00 |
|
Son NK
|
ef32998e99
|
Remove /alias/options, /v2/alias/options, /v3/alias/options
|
2021-06-05 17:41:18 +02:00 |
|
Son NK
|
eb2adc870a
|
make sure only premium user can create new mailbox via API
|
2021-06-02 17:17:28 +02:00 |
|
Son NK
|
aa667851e9
|
log user-agent in deprecated endpoint
|
2021-05-28 17:46:34 +02:00 |
|
Son NK
|
8cfd5e01dc
|
add alerts on /alias/custom/new and /v3/alias/options and below
|
2021-05-25 19:36:45 +02:00 |
|
Son NK
|
f8540808bc
|
remove Client.published
|
2021-04-06 19:46:21 +02:00 |
|
Son NK
|
d5de99afe9
|
Restore /alias/custom/new as currently used by safari
|
2021-03-31 14:41:32 +02:00 |
|
Son NK
|
1cac625a90
|
restore /v2/alias/custom/new as used by browser extension
|
2021-03-25 19:18:50 +01:00 |
|
Son NK
|
acc285abf0
|
remove /alias/custom/new, /v2/alias/custom/new, refactor test
|
2021-03-24 16:39:49 +01:00 |
|
Son NK
|
0c62ac4b1f
|
set rate limit for creating alias endpoint
|
2021-03-24 16:26:42 +01:00 |
|
Son NK
|
8b234b63a5
|
add custom domain to AliasInfo
|
2021-03-18 14:44:51 +01:00 |
|
Son NK
|
c87fe55898
|
POST /api/aliases/:alias_id/contacts: return 200 and existed=true if contact is already added.
|
2021-03-17 20:29:34 +01:00 |
|
Son Nguyen Kim
|
ca4d097f14
|
Merge pull request #381 from TheLastProject/feature/importExportTests
Feature/import export tests
|
2021-03-15 15:17:58 +01:00 |
|
Sylvia van Os
|
cfe889f7b9
|
Format with black
|
2021-03-13 15:37:28 +01:00 |
|
Son
|
cf6442cec2
|
Add PATCH /api/custom_domains/:custom_domain_id
|
2021-03-10 22:56:12 +01:00 |
|
Son
|
eb22a6302e
|
rename creation -> deletion for GET /api/custom_domains/:custom_domain_id/trash
|
2021-03-10 22:39:33 +01:00 |
|
Son
|
6c2daf1bb6
|
add mailboxes to GET /api/custom_domains
|
2021-03-10 22:37:26 +01:00 |
|
Sylvia van Os
|
c6646d5971
|
Add export test
|
2021-03-10 22:35:04 +01:00 |
|
Sylvia van Os
|
1915c8d09d
|
Export and import mailbox info with alias
|
2021-03-09 21:09:58 +01:00 |
|
Son NK
|
3512cc087e
|
remove unused import
|
2021-03-08 14:53:14 +01:00 |
|
Son Nguyen Kim
|
095e2ae0de
|
Merge pull request #377 from TheLastProject/feature/api_export
Add export endpoints
|
2021-03-08 12:18:28 +01:00 |
|
Sylvia van Os
|
3932ed2eb8
|
Add export endpoints
|
2021-03-06 21:56:42 +01:00 |
|
Son NK
|
39c92110cb
|
add more fields into /api/custom_domains
|
2021-03-06 20:43:50 +01:00 |
|
Son NK
|
38790fdc84
|
get_alias_infos_with_pagination_v3: handle the case where an alias has 2 contacts that have no activity
|
2021-03-01 18:45:15 +01:00 |
|
Son NK
|
36a117d790
|
rename
|
2021-03-01 18:22:39 +01:00 |
|
Son NK
|
5bb0ae0234
|
Set user.sender_format_updated_at when user updates sender_format
|
2021-01-26 20:14:13 +01:00 |
|
Son NK
|
013a94d1e9
|
fix user delete profile pic
|
2021-01-19 10:47:48 +01:00 |
|
Son NK
|
7b9136d951
|
take into account user.profile_picture can be None
|
2021-01-19 09:15:43 +01:00 |
|
Son NK
|
0ee0167b8e
|
fix test
|
2021-01-11 12:31:05 +01:00 |
|
Son NK
|
e9adb3270d
|
use sanitize_email instead of .lower().strip().replace(" ", "")
|
2021-01-11 12:29:40 +01:00 |
|
Son NK
|
01858ac452
|
sanitize contact email
|
2021-01-11 12:27:02 +01:00 |
|
Son NK
|
ef7fae32b1
|
remove the "Hi {name}" from email template
|
2021-01-11 10:23:34 +01:00 |
|
Son NK
|
33dd6083c7
|
rename available_suffixes_more_info -> get_available_suffixes
|
2020-12-31 14:27:04 +01:00 |
|
Son NK
|
5a3b79b4cf
|
replace available_suffixes by available_suffixes_more_info
|
2020-12-31 14:25:44 +01:00 |
|
Son NK
|
75d1b090cd
|
rename default_random_alias_public_domain_id -> default_alias_public_domain_id
|
2020-12-31 14:14:56 +01:00 |
|
Son NK
|
e0a414212e
|
rename default_random_alias_domain_id -> default_alias_custom_domain_id
|
2020-12-31 14:06:32 +01:00 |
|
Son Nguyen Kim
|
bf139f83b3
|
Merge pull request #342 from herrboyer/linting
Linting
|
2020-12-07 17:45:50 +01:00 |
|
Renaud Boyer
|
f2f13958c7
|
linting
|
2020-12-06 22:11:22 +01:00 |
|
Renaud Boyer
|
a2f3aeeece
|
linting
|
2020-12-06 22:10:42 +01:00 |
|
Renaud Boyer
|
2b9cb44cdb
|
linting
|
2020-12-06 22:10:16 +01:00 |
|
Son NK
|
ce2d68a64d
|
take into account include_sender_in_reverse_alias when creating reverse-alias
|
2020-12-06 19:37:20 +01:00 |
|
Son NK
|
66abbf2614
|
make sure to remove \n from alias name
|
2020-12-02 12:25:23 +01:00 |
|
Son NK
|
86636b2eb7
|
fix delete user profile picture
|
2020-11-27 16:36:21 +01:00 |
|
Son NK
|
836b602316
|
fix
|
2020-11-22 13:50:57 +01:00 |
|
Son NK
|
a1d5b01143
|
make sure mailbox email is valid
|
2020-11-22 12:18:31 +01:00 |
|
Son NK
|
fbf242f6c6
|
handle new name can be null
|
2020-11-22 12:10:19 +01:00 |
|
Son NK
|
78ddf16c87
|
make sure alias name does not contain a linebreak
|
2020-11-20 18:39:23 +01:00 |
|
Son NK
|
ed22701cbe
|
fix duplicate pinned alias in get_alias_infos_with_pagination_v3
|
2020-11-18 12:08:36 +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
|
319078fceb
|
use contact email when generating reply-email
|
2020-11-18 10:24:39 +01:00 |
|
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 |
|