Carlos Quintana
56ec95bc93
Fix proton integration issues ( #1071 )
...
* Fix proton integration issues
* Make external_user_id non nullable
* Fix tests
2022-06-10 16:21:56 +02:00
Carlos Quintana
c0a4c44e94
Separate code for proton callback handler ( #1040 )
...
* Separate code for proton callback handler
* Upgrade migration
* Use simple_login endpoint from Proton API
* Remove unused classes
* Rename Dto class to Data
* Push rename
* Moved link to PartnerUser to allow subscriptions to depend only on it
* Fix test
* PR comments
* Add unique user_id constraint to PartnerUser
* Added more logs
* Added more logs
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-09 10:19:49 +02:00
Adrià Casajús
e688f04d6b
Send full user report asynchronously on request ( #1029 )
...
* Send full user report asynchronously
* Fix test
* Filter some fields before exporting
* Fix: Domain -> CustomDomain
* format settings html
* not include RefusedEmail as they are not usable by user and are automatically deleted
* send the export to the user email
* change email and setting wording
* fix user can only export data once
* remove alias export section
* remove unused import
* fix flake8
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Son <nguyenkims@users.noreply.github.com>
2022-06-07 10:45:04 +02:00
Carlos Quintana
5ab943e12c
Remove get_proton_partner_id function
2022-05-23 16:43:06 +02:00
Son
b720dfc381
allow the code to run without proton partner
2022-05-05 15:05:39 +02:00
Carlos Quintana
8d4683e59e
Add login with proton
2022-05-05 12:20:55 +02:00
Son
007aa56551
user can turn on/off the including sender in header option
2022-02-25 12:24:54 +01:00
Carlos Quintana
ee9170bb17
Allow to configure ignore or reject response for blocked contacts
2022-02-21 12:52:21 +01:00
Son
4cea47cc27
add setting for include_website_in_one_click_alias
2022-01-12 11:50:49 +01:00
Son
85fb859dcb
show error when a domain can't be used as random alias default domain
2022-01-03 10:05:06 +01:00
Son
c6f49821c7
remove unused import
2021-12-01 10:39:08 +01:00
Son
34509cbbb3
delete account is protected by password
2021-12-01 10:11:18 +01:00
Son
accbf882c4
user can set one_click_unsubscribe_block_sender setting
2021-11-03 10:11:47 +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 Nguyen Kim
9528bdcb2e
user can enable the ignore_loop_email
2021-09-27 15:58:04 +02:00
Son Nguyen Kim
5ac78f2694
reformat
2021-09-08 11:29:55 +02:00
Son Nguyen Kim
9968cbfa8e
make sure user cancels the Paddle subscription before deleting their account
2021-07-29 12:09:40 +02:00
Son Nguyen Kim
c0fe72ccd0
user can change the expand_alias setting
2021-07-22 10:30:17 +02:00
devStorm
4a0fc8380f
variable naming
2021-05-14 11:03:16 -07:00
devStorm
30183ac8c3
🐛 fix style
2021-05-13 19:34:54 -07:00
devStorm
178ce34399
Enum, setting
2021-05-13 16:53:01 -07:00
Son NK
c5697fbf3c
remove unused import
2021-04-23 12:07:49 +02:00
Son NK
7946879308
schedule account deletion
2021-04-23 11:50:26 +02:00
Son NK
3512cc087e
remove unused import
2021-03-08 14:53:14 +01:00
Sylvia van Os
3932ed2eb8
Add export endpoints
2021-03-06 21:56:42 +01:00
Son NK
a2dad50d20
take into account apple sub
2021-02-23 19:40:40 +01:00
Son NK
5bb0ae0234
Set user.sender_format_updated_at when user updates sender_format
2021-01-26 20:14:13 +01:00
Son NK
e9adb3270d
use sanitize_email instead of .lower().strip().replace(" ", "")
2021-01-11 12:29:40 +01:00
Son NK
ef7fae32b1
remove the "Hi {name}" from email template
2021-01-11 10:23:34 +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
fbe48b7b3e
add extend subscription link on settings page
2020-12-13 19:14:54 +01:00
Son Nguyen Kim
bf139f83b3
Merge pull request #342 from herrboyer/linting
...
Linting
2020-12-07 17:45:50 +01:00
Renaud Boyer
b7e6270a18
linting
2020-12-06 22:03:47 +01:00
Son NK
fec281b84f
Add include_sender_in_reverse_alias on Setting page
2020-12-06 19:38:37 +01:00
Son NK
1524bb4e4b
black
2020-10-15 16:52:55 +02:00
Son NK
dbf0404aa9
rename public_domain -> sl_domain if applicable
2020-10-15 16:52:38 +02:00
Son NK
4a32db5b5d
rename PublicDomain -> SLDomain
2020-10-15 16:51:07 +02:00
Son NK
0a4fc76b61
optimize import
2020-10-15 16:45:28 +02:00
Son NK
e79522b638
take into account Premium domains
2020-10-15 16:21:31 +02:00
Son NK
90163220cf
rename email_domain_can_be_used_as_mailbox -> email_can_be_used_as_mailbox
2020-10-15 16:05:47 +02:00
Son NK
772a2e7355
add "export alias" button
2020-09-30 12:20:18 +02:00
Son NK
4434ad62dd
handle the case 2 users want to use the same email address
2020-08-13 11:00:48 +02:00
Son NK
6437ee46e0
use LOG.exception instead of LOG.error to provide stacktrace
2020-07-17 12:59:07 +02:00
Son NK
1bbc416ec1
fix the case public domain is also a custom domain for a specific user: check for public domain first.
2020-07-05 11:45:00 +02:00
Son NK
f9cb40aa5b
user can choose a random alias domain in a list of public domains
2020-07-04 23:29:06 +02:00
Son NK
abe9768db4
user can update the random alias domain
2020-06-25 13:04:27 +02:00
Son NK
4ee38823b8
make sure to strip and lower email
2020-06-11 23:35:24 +02:00
Son NK
9bb17533c1
no need to check for deletedAlias when changing mailbox or user email
2020-05-23 19:50:04 +02:00
Sibren Vasse
e905e151ca
Create user setting for replacing reverse alias (default: false)
2020-05-17 19:40:46 +02:00