Commit Graph

3377 Commits

Author SHA1 Message Date
Son NK 945496f67d use warning for ignore email 2021-06-23 19:47:51 +02:00
Son NK 6fa267e92b refactor: put all SMTP statuses into status.py 2021-06-23 19:47:06 +02:00
Son NK 58a1d6e783 add warning for when postfix queue id can't be retrieved 2021-06-23 18:19:13 +02:00
snyk-bot 57655fad8a
fix: upgrade vue from 2.6.12 to 2.6.13
Snyk has created this PR to upgrade vue from 2.6.12 to 2.6.13.

See this package in npm:
https://www.npmjs.com/package/vue

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2021-06-23 03:33:26 +00:00
Son NK b84eb13ab5 Discard ignored email
Create IgnoredEmail model
2021-06-22 17:52:24 +02:00
Son NK 3ed9c3d6fe remove uptimerobot from README 2021-06-22 11:40:35 +02:00
Son ec763544f1 handle 429 returned by HIBP 2021-06-19 19:56:18 +02:00
Son 38de6118ee remove the restart trial option 2021-06-18 09:32:46 +02:00
Raymond Nook 101c6c85ef
Merge branch 'simple-login:master' into master 2021-06-17 20:19:01 -07:00
Son 6bc093df3f fix test 2021-06-17 23:54:14 +02:00
Son e14e697207 fix flake8 2021-06-17 23:24:07 +02:00
Son 2bed79095c ignore 5** error from HIBP 2021-06-17 23:04:25 +02: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 3e1f098c79 fix test 2021-06-05 17:48:41 +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 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 00e0b69c76 accept email sent to an alias from its mailbox 2021-06-04 17:45:51 +02:00
Son NK 79d0ef8906 Use Postfix queue-id as log message-id 2021-06-04 17:15:59 +02:00
Son NK d53796c8d9 use warning level for icloud bounce handling 2021-06-04 15:23:48 +02:00
Son NK 10414a6b96 flake8 2021-06-02 19:04:58 +02:00
Son NK da0424666a fix migration 2021-06-02 18:51:04 +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 dd591c7437 fix 2021-06-02 16:27:48 +02:00
Son NK 54f806fc4d handle icloud bounce 2021-06-02 11:46:00 +02:00
Son NK 3897f6b633 refactor handle_bounce() 2021-06-02 11:38:52 +02:00
Son NK 22096cae66 remove ProductHunt banner 2021-05-31 18:09:21 +02:00
Son NK 09abdffda3 remove msg logging for auto reply case 2021-05-30 20:02:41 +02:00
Son NK ed938dd86a Add query2str 2021-05-30 19:58:46 +02:00
Son NK 809a50f7d1 Handle out-of-office email during forward phase 2021-05-30 19:58:08 +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 c890bfb073 increase HIBP sleep time to have some marges 2021-05-28 17:47:54 +02:00
Son NK 1750ad45d5 fix message logging 2021-05-28 17:46:52 +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
nicoo d216812f14 tests/api/auth: Use a pw showing Unicode issues 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 f5f4d46aa4 tests/api/test_auth_login: Refactor
Have a single “login success” test, for both MFA and no-MFA cases.
No functional change to the test.
2021-05-26 19:05:26 +02: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 12f3901330 use same footer as landing page 2021-05-25 18:29:55 +02:00