Commit Graph

119 Commits

Author SHA1 Message Date
Son NK
1beb7c004b improve fake_data 2020-05-22 14:13:17 +02:00
Son NK
516485d4d6 warning log for "cancel subscription" 2020-05-21 20:07:41 +02:00
Son Nguyen Kim
1997c207ed
Merge pull request #196 from SibrenVasse/error_handling
Move api error handling to global error handler
2020-05-17 18:02:23 +02:00
Sibren Vasse
2d7bd225e9 Move api error handling to global error handler 2020-05-17 15:27:24 +02:00
Son NK
13bb9810b6 use can disable PGP on an alias 2020-05-16 20:51:07 +02:00
Son NK
083a857f1b disable intro_shown in fake data 2020-05-16 20:50:57 +02:00
Son NK
362d101bab Merge branch 'master' into multiple-mailboxes
# Conflicts:
#	app/dashboard/templates/dashboard/custom_alias.html
#	email_handler.py
#	templates/emails/com/newsletter/mobile-darkmode.html
2020-05-16 11:28:25 +02:00
Son NK
6fb85c81fc fix format 2020-05-15 16:50:14 +02:00
Son NK
f04caa3c35 move SQLALCHEMY_ECHO option to create_app(): useful when profiling 2020-05-15 16:48:42 +02:00
Son NK
0b652cf3f8 remove AliasMailbox.user_id column 2020-05-15 16:35:57 +02:00
Son NK
5c8c741a6a API Error handling for 404 and 500 2020-05-13 22:02:38 +02:00
Son NK
dafa23c5bf Add fake aliases with multiple mailboxes 2020-05-10 20:09:54 +02:00
Son NK
8fa0927826 Set SESSION_COOKIE_SAMESITE to Lax 2020-05-10 11:34:23 +02:00
Son Nguyen Kim
b95d815e5c
Merge pull request #168 from simple-login/global-trash
Global trash
2020-05-09 18:08:51 +02:00
Sibren Vasse
e7c3a127b8 Set samesite and secure attributes of session cookie. Enable strong session protection. 2020-05-09 14:13:37 +02:00
Son NK
0441e5e2a9 Remove DeletedAlias.user_id column 2020-05-07 22:40:30 +02:00
Son NK
3ce3a05c7b Add referral name 2020-05-02 18:08:05 +02:00
Son NK
fd90811e85 Prettify alias contact manager 2020-04-27 19:58:55 +02:00
Son NK
12714ae601 Add Only enabled alias sorting option 2020-04-26 12:31:10 +02:00
Son NK
182f01f775 More diverse fake data 2020-04-25 23:42:56 +02:00
Son NK
97544ac760 Update mailbox using ajax
refactor: return Mailbox in User.mailboxes()
2020-04-25 13:49:40 +02:00
Son NK
8ee34d9132 add more alias in fake_data 2020-04-25 13:42:53 +02:00
Son NK
746cd2eb66 Use FIRST_ALIAS_DOMAIN in directory and custom alias 2020-04-15 22:52:30 +02:00
Son NK
70ce48cd79 Disable trial on fake data 2020-04-12 19:43:55 +02:00
Son NK
b845e2a8eb Handle case where subscription_payment_succeeded arrives BEFORE subscription_created 2020-04-12 19:43:35 +02:00
Son NK
9b91f4a4a4 support changing plan 2020-04-12 19:43:07 +02:00
Son NK
3f84b9e901 no need to set X-Frame-Options header
as already set by Nginx
2020-04-06 22:36:35 +02:00
Son NK
e9208810af Return user to login page in case of 401 2020-04-01 20:32:08 +02:00
Son Nguyen Kim
44e2e175ef
Merge pull request #115 from simple-login/rename
Rename
2020-03-19 10:39:05 +01:00
Son NK
4f281bdbbb rename GenEmail -> Alias, gen_email to alias whenever possible 2020-03-17 11:51:40 +01:00
Son NK
ea43b8f685 Open PGP to everyone 2020-03-17 09:22:29 +01:00
Son NK
69198ff08a delete all unnecessary headers in PGP 2020-03-14 22:24:02 +01:00
Son NK
a240b4af33 fix formatting 2020-03-09 13:38:55 +01:00
Son NK
3be593ed09 prettify mailbox detail page 2020-03-09 13:35:32 +01:00
Son NK
32910b4d77 reformat 2020-03-08 11:40:35 +01:00
Son NK
bada186962 Log more info on cancel event 2020-03-08 11:38:45 +01:00
Son NK
b86937c5c7 Fix next_bill_update update: the event is subscription_payment_succeeded and not subscription_updated 2020-03-08 11:34:39 +01:00
Son NK
3b454b9a80 fix test 2020-03-05 20:32:08 +01:00
Son NK
3492935f95 Canceled user can upgrade again: the payment method is changed immediately though 2020-03-05 09:13:28 +01:00
Son NK
1ebe6558a0 fix paddle logging 2020-03-05 08:11:07 +01:00
Son NK
8099d9841c log next_bill_date 2020-03-04 21:35:39 +01:00
Son NK
930b4cadb9 Fix the case where user cancels and re-subscribes 2020-03-02 23:04:47 +01:00
Son NK
7e4eb9e0db use MAILBOX_SECRET instead of FLASK_SECRET 2020-02-29 18:18:52 +07:00
Son NK
aeed62e95b All users use full-mailbox
- remove can_use_multiple_mailbox col
- remove full_mailbox col
2020-02-29 00:03:35 +07:00
Son NK
2eae0ba4fd set user default mailbox in convert_user_full_mailbox 2020-02-23 15:41:08 +07:00
Son NK
e4bb85ac87 Full-mailbox User can change alias mailbox 2020-02-23 13:58:09 +07:00
Son NK
af8ac99248 use warning for subscription cancel message 2020-02-22 21:50:13 +07:00
Son NK
a9a5f145aa fix showing unverified mailbox when creating new alias 2020-02-21 21:59:13 +07:00
Son NK
9727473b45 Add more fake data 2020-02-19 23:45:48 +07:00
Son NK
8f8857704a Add deleted alias page 2020-02-15 21:47:27 +07:00