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 Nguyen Kim
4b9b3f18a2
add index for contact.reply_email col
2021-07-13 10:17:10 +02:00
Son Nguyen Kim
edab5dfac3
fix
2021-07-13 09:59:51 +02:00
Son Nguyen Kim
19c067fa17
add coupon admin
2021-07-13 08:55:04 +02:00
Son Nguyen Kim
601385a0c1
add coupon
2021-07-13 08:54:37 +02:00
Son Nguyen Kim
7a8b5d80ed
Create coupon model
2021-07-12 19:26:28 +02:00
Son Nguyen Kim
cc650f9fae
remove unused import
2021-07-12 18:56:43 +02:00
Son Nguyen Kim
99599bb09f
make sure user needs to go through MFA when resetting password
2021-07-12 18:56:09 +02:00
Son Nguyen Kim
0b063cb409
Add EmailLog.alias_id column
2021-07-11 12:27:30 +02:00
Son Nguyen Kim
fe1f8e9eb8
make the reverse-alias replacement visible
2021-07-11 09:07:25 +02:00
Son NK
f59651045d
use data-bouncer-message instead of title to display error message
2021-07-03 17:50:54 +02:00
Son NK
95d6fa3478
make sure user can create new alias to receive an alias transfer
2021-07-03 17:12:03 +02:00
Son NK
01815b9153
replace get_suffix() by User.get_random_alias_suffix()
2021-06-27 17:51:13 +02:00
Son NK
09d00df363
reformat imports
2021-06-27 17:50:36 +02:00
Raymond Nook
4469a64de6
Merge branch 'simple-login:master' into master
2021-06-24 02:57:17 -07:00
Son NK
6532e0de93
Return 550 instead of 421 when rate limited. Rename greylisting to rate limit
2021-06-24 09:47:01 +02:00
Son NK
e8cee6de80
increase greylisting threshold
2021-06-23 19:55:41 +02:00
Son NK
70b51b5002
return 550 instead of 421 in case of SMTPRecipientsRefused
2021-06-23 19:50:42 +02:00
Son NK
6fa267e92b
refactor: put all SMTP statuses into status.py
2021-06-23 19:47:06 +02:00
Son NK
b84eb13ab5
Discard ignored email
...
Create IgnoredEmail model
2021-06-22 17:52:24 +02:00
Raymond Nook
101c6c85ef
Merge branch 'simple-login:master' into master
2021-06-17 20:19:01 -07:00
Son
93991816c9
fix "Received" header is not str
2021-06-17 23:02:25 +02:00
Raymond Nook
e40c276a68
Merge branch 'master' into master
2021-06-05 22:57:27 -07:00
devStorm
e79959c330
🐛 imported but unused
2021-06-05 22:53:16 -07: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
a2ffc53c62
user can have manual subscription applied if their current subscription is canceled
2021-06-05 17:28:04 +02:00
Son NK
78df95395b
improve upgrade_channel
2021-06-05 17:20:42 +02:00
Son NK
79d0ef8906
Use Postfix queue-id as log message-id
2021-06-04 17:15:59 +02:00
Son NK
10414a6b96
flake8
2021-06-02 19:04:58 +02:00
Son NK
62683a221a
black
2021-06-02 18:48:35 +02:00
Son Nguyen Kim
b14d79c8f7
Merge pull request #496 from nbraud/pw_hash/refactor
...
Fix minor issues with password-handling, refactor
2021-06-02 18:33:56 +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
3897f6b633
refactor handle_bounce()
2021-06-02 11:38:52 +02:00
Son NK
ed938dd86a
Add query2str
2021-05-30 19:58:46 +02:00
nicoo
586654e08e
app.pw_models: Refactor, use constant-time equality
2021-05-29 17:42:46 +02:00
Son NK
28285f28ac
Add index for AliasHibp
2021-05-28 19:59:26 +02:00
Son NK
aa667851e9
log user-agent in deprecated endpoint
2021-05-28 17:46:34 +02:00
nicoo
ecd74b801b
app.pw_models: Use unicode normalization
...
Per NIST [SP800-63B, §5.1.1.2] Memorized Secret Verifiers :
> the verifier SHOULD apply the Normalization Process for
> Stabilized Strings using either the NFKC or NFKD normalization
This is necessary for Unicode passwords to work reliably.
ASCII-only passwords aren't affected.
[SP800-63B, §5.1.1.2]: https://pages.nist.gov/800-63-3/sp800-63b.html#-5112-memorized-secret-verifiers
2021-05-27 22:16:07 +02:00
devStorm
e6192ece01
style
2021-05-26 22:34:50 -07:00
Raymond Nook
258d505cbf
Merge branch 'master' into master
2021-05-26 22:33:20 -07:00
devStorm
f7bef3941a
replace random_word with get_suffix(user)
2021-05-26 22:30:12 -07:00
nicoo
52d4d2abdb
app.models: minor refactor (extract pw auth)
2021-05-26 18:18:47 +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
99d26a01cb
UI tweak
2021-05-25 18:30:14 +02:00
Son NK
388a425cac
Only show pagination control if there are previous/next page
2021-05-25 18:27:06 +02:00
Son NK
b23e3d94fd
make sure AliasHibp has cascade ondelete
2021-05-25 18:14:44 +02:00
Son NK
fb97f384e4
small UI tweak
2021-05-25 17:59:40 +02:00
Son NK
2f96322977
make sure BOUNCE_PREFIX_FOR_REPLY_PHASE can't be used as directory name or for creating aliases on-the-fly
2021-05-25 17:59:40 +02:00