Commit graph

4678 commits

Author SHA1 Message Date
Son
58b332b7bc add new parameter disabled in /GET /api/v2/aliases 2022-04-25 09:22:29 +02:00
Adrià Casajús
fcd2ab6fed
Set data to non-nullable 2022-04-22 14:53:04 +02:00
Adrià Casajús
89d94963d7
PR comments 2022-04-22 14:49:03 +02:00
Son Nguyen Kim
5053d9f1f5
Merge pull request #918 from simple-login/handle-error-as-bytes
handle the AttributeError that can also be raised by as_bytes()
2022-04-22 10:51:55 +02:00
Son
8cf58d7e24 add B001 to flake8 2022-04-22 10:39:01 +02:00
Son
af1c2e5556 allow bare except in flake8 2022-04-22 10:36:19 +02:00
Son
68ec159d91 catch all exception in to_bytes 2022-04-22 10:20:43 +02:00
Son Nguyen Kim
2bcc22c391
Merge pull request #906 from simple-login/ac-hash-change
Support python>3.8 for verp emails and reduce size by truncating hmac and storing time in minutes since 2022-01-01
2022-04-22 10:11:31 +02:00
Son Nguyen Kim
e5943dcdc6
Merge pull request #919 from simple-login/codeowners
create  CODEOWNERS file for auto PR reviewers
2022-04-22 10:07:34 +02:00
Son Nguyen Kim
a886fb70f2
Merge pull request #923 from cquintana92/feature/allow-simplelogin-to-be-used-as-dependency
Allow SimpleLogin to be used as a dependency
2022-04-22 08:34:06 +02:00
Carlos Quintana
d0dcf1f148
Allow SimpleLogin to be used as a dependency 2022-04-22 08:26:37 +02:00
Adrià Casajús
0f14c3e74e
Move some comments as docstrings 2022-04-21 15:25:06 +02:00
Son
db8359fca6 create CODEOWNERS file for auto PR reviewers 2022-04-21 11:33:30 +02:00
Adrià Casajús
112b2c77c3
Add backwards compat with shake128 signed verp emails 2022-04-21 11:30:39 +02:00
Son
0f7ccec51a handle the AttributeError that can also be raised by as_bytes() 2022-04-21 11:28:11 +02:00
Adrià Casajús
c573ef655e
Store bounces in the reply phase to prevent abuse 2022-04-21 11:23:58 +02:00
Son Nguyen Kim
99d31698e7
Merge pull request #917 from simple-login/noreplies
able to handle several noreply addresses
2022-04-21 10:58:21 +02:00
Son
b61670fbc0 remove unused import 2022-04-21 09:26:44 +02:00
Son
b3bb0cf250 black 2022-04-21 09:17:09 +02:00
Son
bddb5e500a able to handle several noreply addresses
This prepares the change of noreply@simplelogin.co to noreply@simplelogin.io
2022-04-21 08:59:46 +02:00
Adrià Casajús
af24876c71
Use sha3 and truncate to 8 bytes and store time in minutes starting at 2022-01-01 2022-04-20 20:46:35 +02:00
Son Nguyen Kim
0dae9091ab
Merge pull request #907 from simple-login/contribution-change
move the contact us section on top of the contributing
2022-04-20 09:11:17 +02:00
Son Nguyen Kim
a26927f96e
Update CONTRIBUTING.md
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2022-04-20 09:10:40 +02:00
Son Nguyen Kim
c14e01839e
Merge pull request #899 from simple-login/add-alias-to-to-header
add alias to To: header if it isn't included in To and Cc header
2022-04-20 09:10:11 +02:00
Son
b545ebaeb1 remove unnecessary test 2022-04-19 19:40:50 +02:00
Son
01fd880902 add more test. Make sure to delete To header before changing. 2022-04-19 18:45:59 +02:00
Son
0f1e290461 move the contact us section on top of the contributing 2022-04-19 18:38:15 +02:00
Son Nguyen Kim
9b624edf11
Merge pull request #901 from simple-login/no-dot-in-reverse-alias
use _ instead of . in reverse alias
2022-04-19 18:24:37 +02:00
Son
e136fc8c92 add test 2022-04-19 13:33:31 +02:00
Son Nguyen Kim
6eb6283c78
Merge pull request #905 from simple-login/ac-fix-incorrect-padding
Calculate proper padding when decoding base32
2022-04-19 10:59:09 +02:00
Adrià Casajús
bad9202cf8
Calculate proper padding when decoding base32 2022-04-19 10:50:25 +02:00
Son Nguyen Kim
259851a04e
Merge pull request #860 from acasajus/remove-softfail
Generate secure transactional emails from address
2022-04-19 09:28:47 +02:00
Son
becde6458b fix test 2022-04-18 11:55:14 +02:00
Son
9a994ec98b fix test 2022-04-18 11:17:10 +02:00
Son
aaccfc6f9d fix test 2022-04-18 10:18:51 +02:00
Son
199ec09554 update bounce warning email to avoid having sender address in the email subject 2022-04-18 09:30:29 +02:00
Son
cb8b20fc9a fix test 2022-04-15 17:37:19 +02:00
Son
8dfdac79bf use _ instead of . in reverse alias
to avoid AC_FROM_MANY_DOTS SpamAssassin rule
2022-04-15 17:34:29 +02:00
Son Nguyen Kim
6f7ab01487
Merge pull request #900 from simple-login/refactor-test
refactor test: no hardcode a@b.c, make sure each test has a different user
2022-04-15 17:07:53 +02:00
Son
06874ea97c fix test 2022-04-15 17:06:00 +02:00
Son
0565ca4d5e add alias to To: header if it isn't included in To and Cc header 2022-04-15 17:01:27 +02:00
Son
a966665478 refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
Son Nguyen Kim
72464bd959
Merge pull request #897 from simple-login/alias-option-endpoint
return whether a domain is custom or primary in GET /api/v5/alias/options
2022-04-14 19:10:07 +02:00
Son
7edbc3a5d5 black 2022-04-14 18:53:27 +02:00
Son
217518c00e refactor 2022-04-14 18:37:55 +02:00
Adrià Casajús
d28980a810
Format 2022-04-14 18:27:20 +02:00
Adrià Casajús
4bcc728222
Merge remote-tracking branch 'origin/master' into remove-softfail
* origin/master: (34 commits)
  fix flake8
  add link to the anti phishing page
  improve email wording
  Move tests
  Only send enum names
  Only send enum name for events intead of the full class.enum
  Also track login and register events from the api routes
  typo
  revert changes
  Added fix for parts that are not messages
  Add missing formatting place
  Revert unwanted changes
  Do not show an error if we receive an unsubscribe from a different address
  Revert changes to pgp_utils
  fix import
  Send newrelic events on login and register
  PR changes
  format
  Move dmarc management to its own file
  ignore VERPTransactional
  ...
2022-04-14 18:25:03 +02:00
Son
debed67c68 return whether a domain is custom or primary in GET /api/v5/alias/options 2022-04-14 17:28:40 +02:00
Son
a957cbb3c0 fix flake8 2022-04-14 09:47:58 +02:00
Son
1709de93ef add link to the anti phishing page 2022-04-14 09:28:26 +02:00