Commit Graph

477 Commits

Author SHA1 Message Date
Son 584772f798 fix upgrade_channel 2021-12-23 19:28:57 +01:00
Son 7109dc7120 add models for phone: Country, Number, Reservation, Message 2021-12-02 16:50:26 +01:00
Son 4d388a202c allow user with manual or coinbase subscription to switch to paddle 2021-12-01 17:16:01 +01:00
Son 4ffa5c9345 display expires date 2021-11-30 10:33:31 +01:00
Son 94a90665ea black format 2021-11-29 16:46:03 +01:00
Son 21bd4ed97e display all user payment channels on admin 2021-11-29 16:26:41 +01:00
Son c29b5100fb delete User.subscription_cancelled 2021-11-29 16:17:24 +01:00
Son 325a1a9524 remove unused User.premium_end 2021-11-29 11:35:28 +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 63f4d15329 do not decrease directory or subdomain quota when user deletes a subdomain/directory 2021-11-20 20:00:35 +01:00
Son a072fdcd96 do not send emails to disabled user 2021-11-20 19:42:49 +01:00
Son 6f4c9f6c5a add User.disable_import column 2021-11-18 10:51:13 +01:00
Son 38ecb227b0 reduce subdomain/directory quota when user create/delete subdomain/directory 2021-11-18 10:33:15 +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 a8c86785d1 make sure a deleted subdomain can't be recreated 2021-11-17 17:21:13 +01:00
Son 5a81c08e32 add DeletedSubdomain model 2021-11-17 17:20:00 +01:00
Son 417f7b92b0 make sure a deleted directory can't be recreated 2021-11-17 17:02:31 +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 bfab753e76 do not show subdomain if no SLDomain support it 2021-11-05 18:10:56 +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 4369137e25 block the sender via one click unsubscribe 2021-11-02 15:44:43 +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
Son 0fbd351bed handle the referral url that has ?slref=code part 2021-10-25 15:02:02 +02:00
Son 8cb413d5fd remove unused import 2021-10-25 14:47:07 +02:00
Son 7e0609c39a do not display nb_paid_user for client 2021-10-25 14:36:23 +02:00
Son 8680c0a739 do do not use the ra+ prefix for reverse alias 2021-10-25 14:33:42 +02:00
Son befec56a86 display nb paid user on SIWSL app 2021-10-25 11:10:23 +02:00
Son 50b0dc3767 Add User.disable_automatic_alias_note column 2021-10-23 17:40:57 +02:00
Son 1483f2e103 Add EmailLog.message_id, sl_message_id and MessageIDMatching table 2021-10-18 17:25:59 +02:00
Son 34564f6fa4 Add Metric2.nb_total_bounced_last_24h column 2021-10-15 10:46:22 +02:00
Son fcb94f0331 add Bounce.info column 2021-10-14 15:45:29 +02:00
Son 3a0b125323 fix table name 2021-10-13 10:52:41 +02: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 a7f82b2110 fix test 2021-10-11 11:47:07 +02:00
Son fdc23b3107 add User.alternative_id column 2021-10-11 11:30:10 +02:00
Son cef6579946 add User.lifetime_coupon_id column 2021-10-04 17:14:34 +02:00
Son 9c528b913c add LifetimeCoupon.comment column 2021-10-04 16:48:33 +02:00
Son Nguyen Kim 339d611e63 remove Contact.from_header column 2021-09-27 12:19:33 +02:00