Adrià Casajús
5fa41d6ccf
Add state management to job ( #1113 )
...
* Add state management to job
* Add migration
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-28 09:22:48 +02:00
Adrià Casajús
de31e6d072
Allow to set sudo mode for api requests ( #1108 )
...
* Allow to set sudo mode for api requests
* Rebase migration on top of master
* PR comments
* Added missing migration
* Removed unused import
* Apply suggestions from code review
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-23 14:26:36 +02:00
Son Nguyen Kim
09cec0cdec
allow to hide some public domains and set their order ( #1107 )
2022-06-22 18:21:19 +02:00
Adrià Casajús
efa534fd3e
Store transfer tokens hashed in the db and only allow them to be valid for 24 hours ( #1080 )
...
* Store transfer tokens hashed in the db and only allow them to be valid for 30 mins
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-06-13 12:41:47 +02:00
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
Carlos Quintana
dba56f0dae
Store hmaced partner api tokens ( #1028 )
...
* Store hmaced partner api tokens
* MR comments
2022-06-02 11:24:04 +02:00
Adrià Casajús
19e30eaf0a
New migration
2022-05-12 13:42:53 +02:00
Adrià Casajús
5dde39eb37
Prevent free users from creating reverse-alias
2022-05-12 13:20:05 +02:00
Carlos Quintana
8d4683e59e
Add login with proton
2022-05-05 12:20:55 +02:00
Adrià Casajús
66c6db773f
Align db with models for the audit_log
2022-05-03 16:48:54 +02:00
Adrià Casajús
6936d99779
Set default state for provider complaint
2022-05-03 14:16:04 +02:00
Adrià Casajús
5208c549fa
Rename TransactionalComplaint to ProviderComplaint
2022-04-25 14:40:42 +02:00
Adrià Casajús
c573ef655e
Store bounces in the reply phase to prevent abuse
2022-04-21 11:23:58 +02:00
Adrià Casajús
b44904bc15
Update parent migration
2022-03-14 11:06:30 +01:00
Adrià Casajús
d0860cd54d
Merge remote-tracking branch 'origin/master' into new/admin-audit-trail
...
* origin/master: (35 commits)
reduce nb of commit
show "more" only when a notification has a title. Show either title or message. Use bold font when a notification isn't read
create a notification when an alias is disabled
mark a notification as read when user arrives on the notification page
Use plausible outbound link tracking
add more log
fix discover page
fix
fix "local variable 'alias_id' referenced before assignment"
make sure to close session in monitoring
use Date instead of date for header value
lessen alias automatic disable check
refactor
return the block reason in should_disable()
add adhoc upgrade on admin
add extend subscription for 1 month to admin
disable edition on admin
comment out some admin pages
fix migration
fix duplicated stats
...
2022-03-10 18:10:13 +01:00
Adrià Casajús
733efc387c
Updated admin view
2022-03-10 17:49:30 +01:00
Adrià Casajús
98c942d84a
Added admin log view
2022-03-10 17:32:35 +01:00
Adrià Casajús
bc82bab1eb
Added alembic migration
2022-03-10 16:37:21 +01:00
Adrià Casajús
1d15af53b7
Add an audit log for the admin panel
2022-03-10 16:13:31 +01:00
Son
8502e1666b
fix migration
2022-02-28 11:14:59 +01:00
Son Nguyen Kim
6a520e110c
Merge pull request #816 from simple-login/feature/include-sender-in-header
...
Feature/include sender in header
2022-02-28 09:24:18 +01:00
Son
205d8d7d3f
add index for Alias custom_domain_id and directory_id columns
2022-02-26 17:51:50 +01:00
Son
51598ada02
add User.include_header_email_header column
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
3422f038eb
add Notification title
2022-01-24 15:18:56 +01:00
Son
84d1f22a7b
add Contact.automatic_created column to know which contact is created during the forward phase
2022-01-07 10:21:31 +01:00
Son
bc2f9ad45f
add PhoneNumber.comment column
2022-01-04 14:54:55 +01:00
Son
4332fd3244
Create InvalidMailboxDomain model
2022-01-03 10:31:33 +01:00
Son
e1d82b7e0d
Add AppleSubscription.product_id col
2021-12-30 16:20:18 +01:00
Son
7109dc7120
add models for phone: Country, Number, Reservation, Message
2021-12-02 16:50:26 +01:00
Son
06d459ba99
Add coupon.expires_date column
2021-11-26 18:10:23 +01:00
Son
e4f2e1f5a8
add Fido.user_id column
2021-11-22 15:57:38 +01:00
Son
6f4c9f6c5a
add User.disable_import column
2021-11-18 10:51:13 +01:00
Son
85c6e791bc
add _directory_quota, _subdomain_quota column to User
2021-11-18 10:30:46 +01:00
Son
bccfcee780
add subdomain and directory stats to Metric
2021-11-17 17:43:59 +01:00
Son
5a81c08e32
add DeletedSubdomain model
2021-11-17 17:20:00 +01:00
Son
482aa8614c
Create DeletedDirectory model
2021-11-17 17:01:39 +01:00
Son
2ce7f3d445
add coupon.comment column
2021-11-17 11:52:46 +01:00
Son
eaff8b7ff3
remove User.can_use_subdomain column, make subdomain available to all users
2021-11-15 11:16:03 +01:00
Son
293cc74c53
add User.include_website_in_one_click_alias column
2021-11-12 09:44:40 +01:00
Son
a1fdbc0caa
use bigint for Fido.sign_count
2021-11-06 12:40:16 +01:00
Son
ef734d7045
add User.can_use_subdomain column
2021-11-05 11:44:04 +01:00
Son
3f1020d5d7
Add CustomDomain.is_sl_subdomain and SLDomain.can_use_subdomain columns
2021-11-05 11:29:10 +01:00
Son
368a2f1b47
Add User.one_click_unsubscribe_block_sender column
2021-11-02 15:41:49 +01:00
Son
7fef62f67a
Add MessageIDMatching.email_log_id column
2021-11-01 18:41:36 +01:00
Son
9620f97449
add Contact.block_forward column
2021-10-28 10:12:56 +02:00
Son
02a005d076
increase message_id length to 1024
2021-10-27 16:06:56 +02:00
Son
8aa7b1b773
set client.referral_id=None when a referral is deleted
2021-10-26 12:06:49 +02:00
Son
f19655fc93
add client.referral_id column
2021-10-26 11:55:27 +02:00