app-MAIL-temp/migrations/versions
Son Nguyen Kim d5df91aab6
Premium user can enable data breach monitoring (#2084)
* add User.enable_data_breach_check column

* user can turn on/off the data breach check

* only run data breach check for user who enables it

* add tips to run tests using a local DB (without docker)

* refactor True check

* trim trailing space

* fix test

* Apply suggestions from code review

Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>

* format

---------

Co-authored-by: Son NK <son@simplelogin.io>
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2024-04-12 10:39:23 +02:00
..
0a89c670fc7a_.py remove unique constraint on user on deleted_alias table 2019-12-15 18:55:15 +02:00
0b28518684ae_.py remove stripe columns in User model 2019-12-15 18:55:16 +02:00
0c7f1a48aac9_.py remove users.can_use_custom_domain flag 2019-12-15 21:52:24 +02:00
1b7d161d1012_.py remove User.is_developer column 2019-12-15 18:55:10 +02:00
2d2fc3e826af_.py add ForwardEmail.website_from field 2019-12-15 18:55:17 +02:00
2e2b53afd819_.py remove partner table 2019-12-15 18:55:14 +02:00
2fe19381f386_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
3a87573bf8a8_.py remove user.can_use_api_key 2019-12-15 18:55:16 +02:00
3cd10cfce8c3_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
3ebfbaeb76c0_.py add EmailChange model 2019-12-15 18:55:15 +02:00
4a640c170d02_.py fix migration 2019-12-15 18:55:13 +02:00
4fac8c8a704c_.py add expired column to AuthCode and OAuthToken 2019-12-15 18:55:12 +02:00
5e549314e1e2_.py Update pre-commit (#1138) 2022-07-04 16:01:04 +02:00
5e868298fee7_.py add gen_email.custom_domain_id foreign key 2019-12-15 18:55:16 +02:00
5fa68bafae72_.py add forward_email table 2019-12-15 18:55:13 +02:00
6bbda4685999_.py add ForwardEmailLog model 2019-12-15 18:55:14 +02:00
9e1b06b9df13_.py add custom_domain.dkim_verified column 2019-12-25 17:23:04 +00:00
18e934d58f55_.py remove GenEmail.custom column 2019-12-22 16:32:55 +00:00
83f4dbe125c4_.py remove user.trial_expiration 2019-12-15 18:55:16 +02:00
213fcca48483_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
507afb2632cc_.py add response_type to AuthCode and OauthToken model 2019-12-15 18:55:11 +02:00
551c4e6d4a8b_.py fix migration: drop client_scope first 2019-12-15 18:55:08 +02:00
590d89f981c0_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
2019_122910_696e17c13b8b_.py fix migration 2019-12-29 10:46:00 +01:00
2019_122910_e409f6214b2b_.py fix migration 2019-12-29 10:30:25 +01:00
2019_123000_a8b996f0be40_.py update migration file 2019-12-30 00:35:06 +01:00
2019_123018_01f808f15b2e_.py add gen_email.automatic_creation column 2019-12-30 18:48:07 +01:00
2019_123018_10ad2dbaeccf_.py Fix migration 2019-12-30 22:27:45 +01:00
2020_010120_d29cca963221_.py Add LifetimeCoupon model and User.lifetime column 2020-01-01 20:02:30 +01:00
2020_010821_ba6f13ccbabb_.py Add Directory model and add directory_id column to GenEmail 2020-01-08 21:23:41 +01:00
2020_013010_7c39ba4ec38d_.py add User.trial_end column 2020-01-30 10:10:28 +07:00
2020_020313_9c976df9b9c4_.py add Job model 2020-02-03 13:09:48 +07:00
2020_020515_b9f849432543_.py add GenEmail.note column 2020-02-05 15:45:29 +07:00
2020_021023_6664d75ce3d4_.py Add Mailbox model, GenEmail.mailbox_id column 2020-02-10 23:11:09 +07:00
2020_021122_3c9542fc54e9_.py add User.can_use_multiple_mailbox column 2020-02-11 22:42:51 +07:00
2020_022212_3fa3a648c8e7_.py Add necessary migration 2020-02-22 20:57:39 +07:00
2020_022314_903ec5f566e8_.py add migration script 2020-02-23 14:14:14 +07:00
2020_022316_e3cb44b953f2_.py Add necessary migration script 2020-02-23 17:02:59 +07:00
2020_022316_f580030d9beb_.py add necessary migration 2020-02-23 16:04:23 +07:00
2020_022722_75093e7ded27_.py add db migration script 2020-02-27 22:26:35 +07:00
2020_022819_5f191273d067_.py add migration script 2020-02-28 19:09:01 +07:00
2020_022900_7eef64ffb398_.py All users use full-mailbox 2020-02-29 00:03:35 +07:00
2020_030521_235355381f53_.py add migration to set GenEmail.mailbox_id non-nullable 2020-03-05 21:39:49 +01:00
2020_030813_628a5438295c_.py Add migration script 2020-03-08 23:12:49 +01:00
2020_031416_11a35b448f83_.py Add sql migration 2020-03-14 16:36:18 +01:00
2020_031510_9081f1a90939_.py Add refused_email.deleted column 2020-03-15 11:10:37 +01:00
2020_031621_91b69dfad2f1_.py Open PGP to everyone 2020-03-17 09:22:29 +01:00
2020_031709_7744c5c16159_.py fix migration 2020-03-19 10:54:37 +01:00
2020_031711_6e061eb84167_.py rename ForwardEmailLog to EmailLog 2020-03-17 11:10:50 +01:00
2020_031711_0809266d08ca_.py rename gen_email_id -> alias_id 2020-03-17 12:01:18 +01:00
2020_031711_14167121af69_.py rename forward_id to contact_id 2020-03-17 11:05:53 +01:00
2020_031711_e9395fe234a4_.py rename table gen_email -> alias 2020-03-17 11:52:47 +01:00
2020_032009_f4b8232fa17e_.py fix migration 2020-03-20 10:17:52 +01:00
2020_032010_dbd80d290f04_.py make user_id non nullable on contact, email_log and file 2020-03-20 10:17:52 +01:00
2020_032012_4e4a759ac4b5_.py Add AliasUsedOn.user_id col 2020-03-20 12:13:00 +01:00
2020_032012_30c13ca016e4_.py make aliasUsedOn.user_id non nullable 2020-03-20 12:29:37 +01:00
2020_032216_541ce53ab6e9_.py RefusedEmail.path can be null 2020-03-22 16:51:21 +01:00
2020_032223_67c61eead8d2_.py add contact.is_cc column 2020-03-28 19:05:27 +01:00
2020_032822_224fd8963462_.py add User.use_via_format_for_sender column 2020-03-28 22:35:29 +01:00
2020_033017_92baf66b268b_.py Add EmailLog is_spam, spam_status column 2020-03-30 21:42:25 +02:00
2020_040512_497cfd2a02e2_.py Add contact.name column 2020-04-05 12:18:18 +02:00
2020_040922_ea30c0b5b2e3_.py Add Referral model 2020-04-09 22:20:06 +02:00
2020_041313_bfd7b2302903_.py Add User.intro_shown column 2020-04-13 13:22:52 +02:00
2020_041320_57ef03f3ac34_.py Add migration script 2020-04-13 20:51:00 +02:00
2020_041911_dd911f880b75_.py fix planenum enum already used 2020-04-19 11:47:25 +02:00
2020_041923_bd05eac83f5f_.py make sure original_transaction_id is unique 2020-04-19 23:13:07 +02:00
2020_042610_b4146f7d5277_.py add alias.name column 2020-04-26 10:37:40 +02:00
2020_050218_f939d67374e4_.py sql migration 2020-05-02 18:14:17 +02:00
2020_050312_de1b457472e0_.py sql migration 2020-05-03 12:02:34 +02:00
2020_050315_ae94fe5c4e9f_.py Add default alias name to custom domain 2020-05-03 19:35:02 +02:00
2020_050717_026e7a782ed6_.py sql migration for fido 2020-05-07 17:59:29 +02:00
2020_050721_925b93d92809_.py replace Mailbox.email unique constraint by (email, user_id) 2020-05-07 21:46:16 +02:00
2020_050914_bdf76f4b65a2_.py fix migration script 2020-05-09 14:50:53 +02:00
2020_050918_a3a7c518ea70_.py Fix migration 2020-05-09 18:34:34 +02:00
2020_050920_a5e3c6693dc6_.py migration script 2020-05-09 20:45:23 +02:00
2020_051016_bf11ab2f0a7a_.py add necessary migration 2020-05-10 20:09:54 +02:00
2020_051018_1759f73274ee_.py add necessary migration 2020-05-10 20:09:54 +02:00
2020_051515_5cad8fa84386_.py fix migration 2020-05-16 20:44:06 +02:00
2020_051516_552d735a2f1f_.py remove AliasMailbox.user_id column 2020-05-15 16:35:57 +02:00
2020_051710_c31cdf879ee3_.py migration script 2020-05-17 10:34:55 +02:00
2020_051712_659d979b64ce_.py generate new migration script 2020-05-17 12:51:07 +02:00
2020_051719_ce15cf3467b4_.py Create user setting for replacing reverse alias (default: false) 2020-05-17 19:40:46 +02:00
2020_052312_0e08145f0499_.py migration script 2020-05-23 12:06:45 +02:00
2020_052319_00532ac6d4bc_.py migration script 2020-05-23 19:54:39 +02:00
2020_052419_10a7947fda6b_.py regenerate migration 2020-05-24 19:54:12 +02:00
2020_052419_f680032cc361_.py add migration script 2020-05-24 19:04:01 +02:00
2020_052700_4a7d35941602_.py migration script 2020-05-27 00:20:33 +02:00
2020_052714_cfc013b6461a_.py migration script 2020-05-27 14:12:44 +02:00
2020_052820_b2d51e4d94c8_.py migration script 2020-05-28 20:38:38 +02:00
2020_060523_749c2b85d20f_.py missing migration 2020-06-05 23:10:34 +02:00
2020_060700_a5b4dc311a89_.py migration script 2020-06-07 13:41:59 +02:00
2020_062513_a3c9a43e41f4_.py add sql migration 2020-06-25 13:05:37 +02:00
2020_062811_7128f87af701_.py sql migration 2020-06-28 11:18:44 +02:00
2020_070423_270d598c51e3_.py sql migration 2020-07-04 23:32:55 +02:00
2020_072311_b77ab8c47cc7_.py migration file 2020-07-23 11:11:54 +02:00
2020_080112_a2b95b04d1f7_.py migration script 2020-08-01 12:48:03 +02:00
2020_081419_63fd3b240583_.py add sql migration 2020-08-15 13:17:08 +02:00
2020_081611_95938a93ea14_.py add EmailLog.spam_score column 2020-08-16 11:59:53 +02:00
2020_082614_b82bcad9accf_.py Add Alias.disable_email_spoofing_check column 2020-08-26 14:39:03 +02:00
2020_091020_84471852b610_.py sql migration 2020-09-10 20:15:21 +02:00
2020_091211_b0e9a389939a_.py migration script 2020-09-12 14:34:38 +02:00
2020_091417_198c3aca9d8d_.py sql migration 2020-09-14 18:22:35 +02:00
2020_092817_58ad4df8583e_.py migration file 2020-09-28 17:43:16 +02:00
2020_100412_1abfc9e14d7e_.py add User.disabled field 2020-10-04 12:49:43 +02:00
2020_101120_32b00d06d892_.py regenerate migration file 2020-10-11 20:37:52 +02:00
2020_101213_b17afc77ba83_.py add mailbox.disabled column. Disable a mailbox if it fails tests for 10 days consecutive. 2020-10-12 13:28:21 +02:00
2020_101516_54ca2dbf89c0_.py Add PublicDomain.premium_only column 2020-10-15 16:08:06 +02:00
2020_102016_eef0c404b531_.py Add CustomDomain.nb_failed_checks column 2020-10-20 16:50:01 +02:00
2020_102119_84dec6c29c48_.py Add LifetimeCoupon.paid column 2020-10-21 19:31:07 +02:00
2020_110712_d0f197979bd9_.py Add Mailbox.generic_subject column 2020-11-07 12:48:44 +01:00
2020_111415_9dc16e591f88_.py Add Contact.invalid_email column 2020-11-14 15:54:06 +01:00
2020_111518_ac41029fb329_.py Add Alias.pinned column 2020-11-15 18:38:07 +01:00
2020_112411_d1edb3cadec8_.py add Mailbox.disable_pgp column 2020-11-24 11:22:41 +01:00
2020_112416_623662ea0e7e_.py add email_log.mailbox_id column 2020-11-24 16:35:16 +01:00
2020_120217_56c790ec8ab4_.py add index on user_id, mailbox_id, ... if possible 2020-12-02 17:33:03 +01:00
2020_120619_c0d91ff18f77_.py Add User.include_sender_in_reverse_alias column. Null for existing user, False for new user. 2020-12-06 19:36:39 +01:00
2020_120710_780a8344914b_.py Add directory.disabled column 2020-12-07 10:48:43 +01:00
2020_121319_0af2c2e286a7_.py Add User.can_use_coinbase column 2020-12-13 19:28:13 +01:00
2020_121319_a20aeb9b0eac_.py Create CoinbaseSubscription model 2020-12-13 19:05:43 +01:00
2020_121916_1919f1859215_.py remove can_use_coinbase column 2020-12-19 16:31:16 +01:00
2020_123114_7c0dbd378cdb_.py fix migration name too long 2020-12-31 14:46:38 +01:00
2020_123114_f66ca777f409_.py rename default_random_alias_domain_id -> default_alias_custom_domain_id 2020-12-31 14:06:32 +01:00
2021_010414_e99989e6ad56_.py Add EmailLog.spam_report column 2021-01-04 14:38:32 +01:00
2021_011110_1b54995bc086_.py make User.name nullable 2021-01-11 10:24:00 +01:00
2021_012518_2779eb90c6c4_.py create Metric model 2021-01-25 18:47:02 +01:00
2021_012609_74906d31d994_.py Create Bounce, TransactionalEmail models 2021-01-26 09:59:22 +01:00
2021_012620_85d0655d42c0_.py Add User.sender_format_updated_at column 2021-01-26 20:13:51 +01:00
2021_021712_de7aa5280210_.py Add Alias.original_owner_id column 2021-02-17 12:49:47 +01:00
2021_022415_e831a883153a_.py fix migration: set include_sender_in_reverse_alias to false if null 2021-02-24 15:54:57 +01:00
2021_030617_d1236c4dff71_.py Add EmailLog.auto_replied col 2021-03-06 17:44:46 +01:00
2021_030618_94f14eb0fe5b_.py recreate migration file 2021-03-06 18:10:34 +01:00
2021_032310_9d6adad83936_.py create Metric2 model 2021-03-23 10:23:40 +01:00
2021_032310_f398b261d9c6_.py remove Metric2.name column 2021-03-23 10:30:57 +01:00
2021_040110_517b79c56088_.py Add Client approved, description columns 2021-04-01 10:50:11 +02:00
2021_040112_48b991e9de06_.py add ClientUser.nonce 2021-04-01 12:31:37 +02:00
2021_040112_4912f3bd5ba2_.py Remove ClientUser.nonce 2021-04-01 12:49:32 +02:00
2021_040112_e11c3dd48a6f_.py missing migration 2021-04-01 12:35:43 +02:00
2021_040619_f5133dc851ee_.py remove Client.published 2021-04-06 19:46:21 +02:00
2021_051013_5c77d685df87_.py Add Payout model 2021-05-10 13:03:19 +02:00
2021_051721_6cc7f073b358_.py Don't override id 2021-05-17 21:29:29 +02:00
2021_052518_68e2f38e33f4_.py make sure AliasHibp has cascade ondelete 2021-05-25 18:14:44 +02:00
2021_052819_fc2eb1d7e4fc_.py Add index for AliasHibp 2021-05-28 19:59:26 +02:00
2021_060218_a5e643d562c9_.py fix migration 2021-06-02 18:51:04 +02:00
2021_062217_29ea13ed76f9_.py Discard ignored email 2021-06-22 17:52:24 +02:00
2021_062717_8e70205a5308_.py add sql migration 2021-06-27 17:51:28 +02:00
2021_071112_f3f19998b755_.py Add EmailLog.alias_id column 2021-07-11 12:27:30 +02:00
2021_071219_c31a081eab74_.py Create coupon model 2021-07-12 19:26:28 +02:00
2021_071310_78403c7b8089_.py add index for contact.reply_email col 2021-07-13 10:17:10 +02:00
2021_072210_5662122eac21_.py Add User.expand_alias_info column 2021-07-22 10:17:23 +02:00
2021_072818_20c738810b1b_.py remove Metric 2021-07-28 18:20:18 +02:00
2021_072818_dfee471558bd_.py Add nb_block_last_24h, nb_bounced_last_24h, nb_forward_last_24h, nb_reply_last_24h 2021-07-28 18:31:59 +02:00
2021_072908_05e3af59929a_.py Add description, date column to Hibp model 2021-07-29 08:51:21 +02:00
2021_072909_c3470e2d3224_.py Create HibpNotifiedAlias to store all notified aliases 2021-07-29 09:41:46 +02:00
2021_080211_ffa75d04e6ef_.py Add IgnoreBounceSender model 2021-08-02 11:30:29 +02:00
2021_080409_9014cca7097c_.py Update pre-commit (#1138) 2022-07-04 16:01:04 +02:00
2021_081718_d4392342465f_.py add CustomDomain ownership_verified, ownership_txt_token column. Set ownership_verified=True for domain that has verified=True 2021-08-17 19:02:35 +02:00
2021_082012_424808e1fe49_.py handle the case pg_trgm is already loaded 2021-09-16 18:02:45 +02:00
2021_090715_916a5257d18c_.py add Coupon.is_giveaway column 2021-09-07 15:35:55 +02:00
2021_091018_4d3f91ddf3e9_.py Add User.ignore_loop_email column 2021-09-10 18:14:51 +02:00
2021_091716_d8c55e79da54_.py add CustomDomain.auto_create_regex column 2021-09-17 17:35:36 +02:00
2021_092018_7a105bfc0cd0_.py remove CustomDomain.auto_create_regex 2021-09-21 09:48:07 +02:00
2021_092018_cf1e8c1bc737_.py Create AutoCreateRule, AutoCreateRuleMailbox model 2021-09-20 18:23:19 +02:00
2021_092111_b8b4f9598240_.py Allow ApiKey.name to be null 2021-09-21 11:25:52 +02:00
2021_092111_bc75acacc98e_.py remove unique constraint on TransactionalEmail.email 2021-09-21 11:15:40 +02:00
2021_092712_5ee767807344_.py remove Contact.from_header column 2021-09-27 12:19:33 +02:00
2021_100416_4913cb3f5a05_.py add LifetimeCoupon.comment column 2021-10-04 16:48:33 +02:00
2021_100417_0b1c9ea11aef_.py add User.lifetime_coupon_id column 2021-10-04 17:14:34 +02:00
2021_101111_2fbcad5527d7_.py add User.alternative_id column 2021-10-11 11:30:10 +02:00
2021_101415_d750d578b068_.py add Bounce.info column 2021-10-14 15:45:29 +02:00
2021_101510_2f1b3c759773_.py Add Metric2.nb_total_bounced_last_24h column 2021-10-15 10:46:22 +02:00
2021_101817_99d9e329b27f_.py Add EmailLog.message_id, sl_message_id and MessageIDMatching table 2021-10-18 17:25:59 +02:00
2021_102317_a06066e3fbeb_.py Add User.disable_automatic_alias_note column 2021-10-23 17:40:57 +02:00
2021_102611_d67eab226ecd_.py add client.referral_id column 2021-10-26 11:55:27 +02:00
2021_102612_bbedc353f90c_.py set client.referral_id=None when a referral is deleted 2021-10-26 12:06:49 +02:00
2021_102715_0b9150eb309d_.py increase message_id length to 1024 2021-10-27 16:06:56 +02:00
2021_102810_6204e57b4bc4_.py add Contact.block_forward column 2021-10-28 10:12:56 +02:00
2021_110118_37feaba7c45d_.py Add MessageIDMatching.email_log_id column 2021-11-01 18:41:36 +01:00
2021_110215_ff6c04869029_.py Add User.one_click_unsubscribe_block_sender column 2021-11-02 15:41:49 +01:00
2021_110510_fdb02bd105a8_.py Add CustomDomain.is_sl_subdomain and SLDomain.can_use_subdomain columns 2021-11-05 11:29:10 +01:00
2021_110511_dd278f96ca83_.py add User.can_use_subdomain column 2021-11-05 11:44:04 +01:00
2021_110612_1076b5795b08_.py use bigint for Fido.sign_count 2021-11-06 12:40:16 +01:00
2021_111209_5639ad89ee50_.py add User.include_website_in_one_click_alias column 2021-11-12 09:44:40 +01:00
2021_111511_11ba83e2dd71_.py remove User.can_use_subdomain column, make subdomain available to all users 2021-11-15 11:16:03 +01:00
2021_111711_ccbfb61eda0d_.py add coupon.comment column 2021-11-17 11:52:46 +01:00
2021_111716_a5013ff0a00a_.py Create DeletedDirectory model 2021-11-17 17:01:39 +01:00
2021_111717_9031c9e28510_.py add subdomain and directory stats to Metric 2021-11-17 17:43:59 +01:00
2021_111717_e6e8e12f5a13_.py add DeletedSubdomain model 2021-11-17 17:20:00 +01:00
2021_111810_b8fd175c084a_.py add _directory_quota, _subdomain_quota column to User 2021-11-18 10:30:46 +01:00
2021_111810_e7d7ebcea26c_.py add User.disable_import column 2021-11-18 10:51:13 +01:00
2021_112212_d0ccd9d7ac0c_.py add Fido.user_id column 2021-11-22 15:57:38 +01:00
2021_112618_4b483a762fed_.py Add coupon.expires_date column 2021-11-26 18:10:23 +01:00
2021_120216_ad467baf7ec8_.py add models for phone: Country, Number, Reservation, Message 2021-12-02 16:50:26 +01:00
2021_123016_d8a3dfe674f2_.py Add AppleSubscription.product_id col 2021-12-30 16:20:18 +01:00
2022_010310_3d05479d0d11_.py Create InvalidMailboxDomain model 2022-01-03 10:31:33 +01:00
2022_010414_753d2ed92d41_.py add PhoneNumber.comment column 2022-01-04 14:54:55 +01:00
2022_010710_698424c429e9_.py add Contact.automatic_created column to know which contact is created during the forward phase 2022-01-07 10:21:31 +01:00
2022_012415_07b870d7cc86_.py add Notification title 2022-01-24 15:18:56 +01:00
2022_021812_9282e982bc05_.py Allow to configure ignore or reject response for blocked contacts 2022-02-21 12:52:21 +01:00
2022_022512_4729b7096d12_.py fix migration 2022-02-28 11:14:59 +01:00
2022_022617_5047fcbd57c7_.py add index for Alias custom_domain_id and directory_id columns 2022-02-26 17:51:50 +01:00
2022_031015_b500363567e3_create_admin_audit_log.py Update parent migration 2022-03-14 11:06:30 +01:00
2022_050314_28b9b14c9664_store_provider_complaints.py Set default state for provider complaint 2022-05-03 14:16:04 +02:00
2022_050316_0aaad1740797_store_provider_complaints.py Align db with models for the audit_log 2022-05-03 16:48:54 +02:00
2022_050512_e866ad0e78e1_add_partner_tables.py Add login with proton 2022-05-05 12:20:55 +02:00
2022_051213_088f23324464_add_flags_to_the_user_model.py New migration 2022-05-12 13:42:53 +02:00
2022_052516_2b1d3cd93e4b_update_partner_api_token_token_length.py Store hmaced partner api tokens (#1028) 2022-06-02 11:24:04 +02:00
2022_060908_82d3c7109ffb_partner_user_and_partner_subscription.py Separate code for proton callback handler (#1040) 2022-06-09 10:19:49 +02:00
2022_061016_36646e5dc6d9_make_external_user_id_non_nullable.py Fix proton integration issues (#1071) 2022-06-10 16:21:56 +02:00
2022_061310_a7bcb872c12a_add_alias_transfer_token_expiration.py Store transfer tokens hashed in the db and only allow them to be valid for 24 hours (#1080) 2022-06-13 12:41:47 +02:00
2022_062217_673a074e4215_.py allow to hide some public domains and set their order (#1107) 2022-06-22 18:21:19 +02:00
2022_062218_d1fb679f7eec_add_sudo_expiration_for_apikeys.py Allow to set sudo mode for api requests (#1108) 2022-06-23 14:26:36 +02:00
2022_062714_bfebc2d5c719_add_state_to_job.py Add state management to job (#1113) 2022-06-28 09:22:48 +02:00
2022_070218_516c21ea7d87_.py Compute Proton metrics (#1135) 2022-07-04 11:40:29 +02:00
2022_070218_bd7d032087b2_.py Compute Proton metrics (#1135) 2022-07-04 11:40:29 +02:00
2022_070619_b0101a66bb77_add_unsubscribe_behaviour.py Allow users to keep the original unsub behaviour (#1148) 2022-07-19 17:25:21 +02:00
2022_072011_89081a00fc7d_default_unsub_behaviour.py Change default unsub behaviour to disable alias by default (#1174) 2022-07-20 11:57:34 +02:00
2022_072119_c66f2c5b6cb1_.py admin can manage newsletter and test sending it (#1177) 2022-07-22 11:24:53 +02:00
2022_081016_9cc0f0712b29_add_api_to_cookie_token.py Generate a web session from an api key (#1224) 2022-08-10 18:48:32 +02:00
2022_092716_bd95b2b4217f_updated_recovery_code_string_length.py Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +02:00
2022_101416_2c2093c82bc0_.py Init daily metric (#1351) 2022-10-14 17:35:34 +02:00
2023_040318_5f4a5625da66_.py Fix sever typo (#1701) 2023-04-20 11:06:59 +02:00
2023_041418_893c0d18475f_.py Add pgp_fingerprint as index for contacts (#1692) 2023-04-14 18:29:06 +02:00
2023_041419_bc496c0a0279_.py Add migrations to create indexes (#1694) 2023-04-14 19:10:21 +02:00
2023_041520_2d89315ac650_.py Add end_at index to PartnerSubscription (#1696) 2023-04-15 20:49:59 +02:00
2023_041916_01e2997e90d3_.py Alias domain as contact domain (#1689) 2023-04-20 12:14:53 +02:00
2023_042011_2634b41f54db_.py Alias domain as contact domain (#1689) 2023-04-20 12:14:53 +02:00
2023_072819_01827104004b_.py Add missing indexes (#1824) 2023-07-29 10:03:31 +02:00
2023_090715_0a5701a4f5e4_.py Schedule deletion of users (#1872) 2023-09-10 22:11:50 +02:00
2023_092818_ec7fdde8da9f_.py Add index on created_at for EmailLog (#1898) 2023-09-28 18:26:40 +02:00
2023_100510_46ecb648a47e_.py Add index on message_id for foreign key (#1906) 2023-10-05 10:55:29 +02:00
2023_110714_4bc54632d9aa_.py admin can clone newsletter (#1938) 2023-11-07 14:16:03 +01:00
2024_020110_818b0a956205_.py Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00
2024_031212_52510a633d6f_.py Add missing indexes and mark aliases as created by partner (#2058) 2024-03-13 14:30:17 +01:00
2024_040913_fa2f19bb4e5a_.py Premium user can enable data breach monitoring (#2084) 2024-04-12 10:39:23 +02:00
0256244cd7c8_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
a8d8aa307b8b_.py add CustomDomain model 2019-12-15 18:55:16 +02:00
b20ee72fd9a4_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
c6e7fc37ad42_.py add ClientUser.name,default_avatar, GenEmail.custom column 2019-12-15 18:55:10 +02:00
c79c702a1f23_.py add missing migration 2019-12-15 18:55:12 +02:00
d03e433dc248_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
d4e4488a0032_.py add User.otp_secret, enable_otp column 2019-12-27 16:53:07 +00:00
d68a2d971b70_.py add DeletedAlias model 2019-12-15 18:55:15 +02:00
e505cb517589_.py create AliasUsedOn and ApiKey model 2019-12-15 18:55:16 +02:00
e83298198ca5_.py fix migration 2019-12-15 18:55:16 +02:00
f234688f5ebd_.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00