Adrià Casajús
5e48d86efa
Canonicalize emails from google and proton before registering users ( #1493 )
...
* Revert "Revert "Use canonical email when registering users (#1458 )" (#1474 )"
This reverts commit c8ab1c747e
.
* Only canonicalize gmail and proton
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-12-14 11:50:36 +01:00
Adrià Casajús
c8ab1c747e
Revert "Use canonical email when registering users ( #1458 )" ( #1474 )
...
* Revert "Use canonical email when registering users (#1458 )"
This reverts commit f728b0175a
.
* missing chang
* typo
2022-12-08 10:57:46 +01:00
Adrià Casajús
f728b0175a
Use canonical email when registering users ( #1458 )
...
* Use canonical email for registration, check both when checking if user exists
* Fix test
* Set pagesize to 100
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-30 17:19:55 +01: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
4638155bbc
allow import aliases for domains that have ownership_verified
2021-10-02 19:18:38 +02:00
Son Nguyen Kim
5ac78f2694
reformat
2021-09-08 11:29:55 +02:00
Son NK
09d00df363
reformat imports
2021-06-27 17:50:36 +02:00
Son NK
aad1270e0d
free trial account can't create more than MAX_NB_EMAIL_FREE_PLAN aliases
2021-04-09 12:40:55 +02:00
Son NK
57b2e2d4ab
fix handle_batch_import
2021-03-16 10:54:00 +01:00
Sylvia van Os
cfe889f7b9
Format with black
2021-03-13 15:37:28 +01:00
Sylvia van Os
8800c29526
Complete import tests
2021-03-13 15:36:25 +01:00
Sylvia van Os
dcfd63eb0f
Working import tests
2021-03-13 00:13:33 +01:00
Sylvia van Os
44ae20816a
WIP: Import test
2021-03-10 23:08:33 +01:00