Commit graph

1630 commits

Author SHA1 Message Date
Son NK
c431abd917 take into account alias.cannot_be_disabled in should_disable 2021-01-13 11:03:30 +01:00
Son NK
79f22857b5 add mailbox admin page 2021-01-12 18:14:35 +01:00
Son NK
67de0e3c5b set user as default admin page 2021-01-12 18:14:21 +01:00
Son NK
d6cc2a4bf3 Add AWS_REGION env var 2021-01-12 09:54:46 +01:00
Son NK
361945f3f8 add cash and monero upgrade in admin 2021-01-11 20:24:33 +01:00
Son NK
0e94c329d1 handle alias too long error 2021-01-11 15:45:41 +01:00
Son NK
13f3deb671 fix 2021-01-11 15:06:56 +01:00
Son NK
c83b146f14 Add BOUNCE_PREFIX, BOUNCE_SUFFIX config 2021-01-11 14:51:29 +01:00
Son NK
45ac548e2b reserve bounce, bounces as directory name 2021-01-11 14:32:48 +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
2293c6d2e3 improve admin 2021-01-11 12:04:37 +01:00
Son NK
cce08adb87 set "" as default name when creating new user 2021-01-11 10:25:37 +01:00
Son NK
435ced66bc make User.name nullable 2021-01-11 10:24:00 +01:00
Son NK
ef7fae32b1 remove the "Hi {name}" from email template 2021-01-11 10:23:34 +01:00
Son NK
4293bba5ab add edu upgrade to User admin page 2021-01-08 18:53:01 +01:00
Son NK
3ac159d073 use text/plain for text email instead of text/text 2021-01-04 15:11:12 +01:00
Son NK
8dbaf3cf56 Add EmailLog.spam_report column 2021-01-04 14:38:32 +01:00
Son NK
b942b44ec8 display bounce during reply phase on alias log page 2021-01-04 14:25:51 +01:00
Son NK
2b4dc3cdcc when a custom domain is default and has random_prefix_generation enabled, use the random_prefix as the first choice 2021-01-02 18:17:53 +01:00
Son NK
3179d70df1 ignore text/csv in replace() 2020-12-31 18:03:42 +01:00
Son NK
a34af98de8 handle "multipart/signed" in add_header() 2020-12-31 15:50:03 +01:00
Son NK
ef2624ccea handle multipart/mixed in add_header 2020-12-31 15:11:46 +01:00
Son NK
33dd6083c7 rename available_suffixes_more_info -> get_available_suffixes 2020-12-31 14:27:04 +01:00
Son NK
95f3db6aa5 remove available_suffixes() 2020-12-31 14:26:07 +01:00
Son NK
5a3b79b4cf replace available_suffixes by available_suffixes_more_info 2020-12-31 14:25:44 +01:00
Son NK
7915a2abb9 Fix available_suffixes_more_info 2020-12-31 14:18:49 +01:00
Son NK
abb3ec1f05 rename 2020-12-31 14:16:32 +01:00
Son NK
4e20ffcc60 update wording: use custom alias to be opposed to random alias 2020-12-31 14:15:25 +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 NK
1647a7a628 update settings wording 2020-12-31 14:00:21 +01:00
Son NK
b9d8f11f2d put the default domain to top 2020-12-31 13:59:03 +01:00
Son NK
66e7aa7242 refactor 2020-12-31 12:50:04 +01:00
Son NK
0585ba97ee use warning level for "Cannot encrypt using the imported key" error 2020-12-31 11:05:11 +01:00
Son NK
74a63db835 ignore "text/directory" in replace() 2020-12-30 09:48:58 +01:00
Son NK
0df4d1a93d add more logging 2020-12-29 12:17:24 +01:00
Son NK
31774f9ea7 set include_sender_in_reverse_alias to False by default 2020-12-28 10:28:05 +01:00
Son NK
be57add431 add list of cryptocurrency that are supported 2020-12-19 17:22:04 +01:00
Son NK
9f9d292754 remove can_use_coinbase column 2020-12-19 16:31:16 +01:00
Son NK
3015cd1dc0 ignore "text/calendar" content type 2020-12-18 16:07:32 +01:00
Son NK
6cec373b6d ignore UnicodeDecodeError in decode_text() 2020-12-18 13:10:33 +01:00
Son NK
fb8a43fd5d use decode_text() in add_header() 2020-12-18 10:44:42 +01:00
Son NK
091ff3ad2c Add decode_text() 2020-12-18 10:43:06 +01:00
Son NK
3a8cdce650 Create should_disable 2020-12-16 18:50:09 +01:00
Son NK
830331d9b3 improve wording 2020-12-14 11:52:35 +01:00
Son NK
b9dba9c2c3 improve wording 2020-12-14 11:48:08 +01:00
Son NK
3dd8ed7840 Create /dashboard/coinbase_checkout, remove extend_subscription route 2020-12-14 11:34:59 +01:00
Son NK
f19a7e1bca Add COINBASE_API_KEY and COINBASE_YEARLY_PRICE config 2020-12-14 11:33:39 +01:00
Son NK
369c9dafce remove duplicated 2020-12-13 19:56:17 +01:00
Son NK
530160567b fix coinbase button not displayed on pricing page 2020-12-13 19:51:00 +01:00
Son NK
1348b58672 only show coinbase option for user who has can_use_coinbase=True 2020-12-13 19:28:46 +01:00
Son NK
1961d2f18e Add User.can_use_coinbase column 2020-12-13 19:28:13 +01:00
Son NK
fbe48b7b3e add extend subscription link on settings page 2020-12-13 19:14:54 +01:00
Son NK
6c21b83975 add coinbase option on pricing page 2020-12-13 19:14:11 +01:00
Son NK
436e31229f Create extend_subscription page 2020-12-13 19:13:26 +01:00
Son NK
0542adb761 Add COINBASE_WEBHOOK_SECRET, COINBASE_CHECKOUT_ID config 2020-12-13 19:11:49 +01:00
Son NK
02c74e6a5a take into account Coinbase in can_upgrade(), is_paid(), _lifetime_or_active_subscription() 2020-12-13 19:08:06 +01:00
Son NK
9329cf04ad Create CoinbaseSubscription model 2020-12-13 19:05:43 +01:00
Son NK
8527fed69e pricing page: improve wording 2020-12-13 17:04:05 +01:00
Son Nguyen Kim
bf139f83b3
Merge pull request #342 from herrboyer/linting
Linting
2020-12-07 17:45:50 +01:00
Son NK
ce3dae2a07 inform user when an alias can't be created when a directory is disabled 2020-12-07 10:55:13 +01:00
Son NK
37a74bc093 refactor: rename 2020-12-07 10:50:42 +01:00
Son NK
4fb7b7bd2c user can change directory disabled 2020-12-07 10:49:40 +01:00
Son NK
05d4ec1c2f Add directory.disabled column 2020-12-07 10:48:43 +01:00
Son NK
a40bbe74fe show include_sender_in_reverse_alias as checked if user hasn't set any value 2020-12-07 10:23:36 +01:00
Renaud Boyer
5d948faf56 black 2020-12-06 22:11:58 +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
Renaud Boyer
c09b6ef675 linting 2020-12-06 22:08:35 +01:00
Renaud Boyer
1c73f07d18 linting 2020-12-06 22:08:05 +01:00
Renaud Boyer
a8d67f94e2 linting 2020-12-06 22:07:18 +01:00
Renaud Boyer
f3303ee6bb linting 2020-12-06 22:06:03 +01:00
Renaud Boyer
4e93e511ec linting 2020-12-06 22:05:13 +01:00
Renaud Boyer
f1fb0ebe1f linting 2020-12-06 22:04:21 +01:00
Renaud Boyer
b7e6270a18 linting 2020-12-06 22:03:47 +01:00
Renaud Boyer
a45b6df78c linting 2020-12-06 22:03:06 +01:00
Renaud Boyer
479a9d1a35 linting 2020-12-06 22:02:18 +01:00
Renaud Boyer
47b1398cad linting 2020-12-06 22:01:43 +01:00
Renaud Boyer
4bf22771af linting 2020-12-06 22:01:38 +01:00
Renaud Boyer
43d9dbc1fc linting 2020-12-06 22:00:01 +01:00
Son NK
b0e39949cb fix embed video on mobile view 2020-12-06 19:39:12 +01:00
Son NK
fec281b84f Add include_sender_in_reverse_alias on Setting page 2020-12-06 19:38:37 +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
eab09d8c32 Add User.include_sender_in_reverse_alias column. Null for existing user, False for new user. 2020-12-06 19:36:39 +01:00
Renaud Boyer
7bac9e82b9 linting 2020-12-06 18:04:29 +01:00
Renaud Boyer
7e1a474875 linting 2020-12-06 18:02:47 +01:00
Renaud Boyer
1ced8f76b7 linting 2020-12-06 18:02:23 +01:00
Renaud Boyer
4bcc0d107f linting 2020-12-06 18:01:55 +01:00
Renaud Boyer
fad64ff064 linting 2020-12-06 18:00:41 +01:00
Renaud Boyer
fefbaeb143 linting 2020-12-06 18:00:06 +01:00
Renaud Boyer
1e5185b328 linting 2020-12-06 17:59:07 +01:00
Renaud Boyer
bcdb4c08d9 linting 2020-12-06 17:58:56 +01:00
Renaud Boyer
a46a03be85 linting 2020-12-06 17:57:10 +01:00
Son NK
83df119178 do not replace for "application/*" 2020-12-04 11:33:49 +01:00
Son NK
59daaa3164 ignore multipart/signed when replacing message 2020-12-03 17:52:11 +01:00
Son NK
255a7e085a add index on user_id, mailbox_id, ... if possible 2020-12-02 17:33:03 +01:00
Son NK
81f9f9f41b optimize get_stats(): use session.query instead of EmailLog.query 2020-12-02 17:30:56 +01:00