Commit graph

1750 commits

Author SHA1 Message Date
Son NK
0f71eff531 handle the case some email providers might strip off the = suffix 2020-04-24 09:09:11 +02:00
Son NK
618d308c22 improve cron stats job 2020-04-23 22:11:43 +02:00
Son NK
734b104c27 remove text on registration waiting page 2020-04-23 22:10:14 +02:00
Son NK
7fff8f84d8 add more debug log 2020-04-21 20:17:43 +02:00
Son NK
318b47af36 Handle the case invalid input for /api/apple/update_notification 2020-04-21 15:54:43 +02:00
Son NK
e50b0d5da5 implement apple_update_notification 2020-04-21 09:34:16 +02:00
Son NK
15219f7021 Support Apple grace period 2020-04-20 23:31:25 +02:00
Son NK
04e7cc448e fix blocked -> block 2020-04-20 19:58:10 +02:00
Son NK
840f827b45 Handle the case "Restore Purchase" on another account 2020-04-19 23:13:43 +02:00
Son NK
b5b4fe2773 make sure original_transaction_id is unique 2020-04-19 23:13:07 +02:00
Son NK
d5e868e629 Fix apple payment 2020-04-19 22:54:21 +02:00
Son NK
34635bf854 use Log.error to know when /api/apple/update_notification is called 2020-04-19 16:06:37 +02:00
Son NK
bca1e227c7 Add /apple/update_notification to test Apple notif 2020-04-19 11:50:29 +02:00
Son NK
1805980cb3 fix planenum enum already used 2020-04-19 11:47:25 +02:00
Son Nguyen Kim
18e5dffcd7
Merge pull request #132 from simple-login/apple
Apple Subscription
2020-04-19 11:22:28 +02:00
Son NK
bf55ba0521 Add output doc for POST /apple/process_payment 2020-04-19 11:22:05 +02:00
Son NK
b33ec7d025 fix reformatting 2020-04-19 11:20:44 +02:00
Son NK
11772d35e1 Add sql migration 2020-04-19 11:18:42 +02:00
Son NK
71d53d16da add poll_apple_subscription(), call it everyday 2020-04-19 11:18:27 +02:00
Son NK
1bba38edb6 Add POST /apple/process_payment 2020-04-19 11:13:38 +02:00
Son NK
85fd4412ba take into account AppleSubscription in premium formula 2020-04-19 10:58:32 +02:00
Son NK
2a837f9213 remove user.is_cancel() 2020-04-19 10:54:15 +02:00
Son NK
f7f1e7f358 replace user.next_bill_date() by sub.next_bill_date.strftime("%Y-%m-%d") 2020-04-19 10:54:05 +02:00
Son NK
b0118e615a Add AppleSubscription model 2020-04-18 20:47:33 +02:00
Son NK
7b965e4121 Add APPLE_API_SECRET param 2020-04-18 20:47:11 +02:00
Son NK
88bf608cf4 no need to bind 7777 port for init_app 2020-04-18 11:56:27 +02:00
Son NK
cf016caa91 Refuse disposable emails in can_be_used_as_personal_email() 2020-04-16 09:43:14 +02:00
Son NK
6fa46042dc Add DISPOSABLE_FILE_PATH param 2020-04-16 09:42:34 +02:00
Son NK
746cd2eb66 Use FIRST_ALIAS_DOMAIN in directory and custom alias 2020-04-15 22:52:30 +02:00
Son NK
28101612db Use FIRST_ALIAS_DOMAIN to create first alias 2020-04-15 22:51:18 +02:00
Son NK
8ebc26f4e7 add FIRST_ALIAS_DOMAIN param 2020-04-15 22:36:50 +02:00
Son NK
a434413304 Add terms and condition mention in register page 2020-04-15 22:32:12 +02:00
Son NK
c17ecba202 add more logging 2020-04-15 21:34:22 +02:00
Son Nguyen Kim
b4211dba78
Merge pull request #131 from simple-login/fix-email
make sure to strip and lower email in input
2020-04-15 21:14:48 +02:00
Son NK
3c9e6fc991 make sure to strip and lower email in input 2020-04-15 21:12:45 +02:00
Son NK
5f784d683a Prettify 2020-04-15 09:16:42 +02:00
Son NK
6c283bc08e Improve doc 2020-04-15 09:01:52 +02:00
Son NK
29c9295e01 set File.user_id to nullable to correspond to existing installation 2020-04-15 09:00:23 +02:00
Son NK
63484c34ca Add migration script to run when upgrading to 3x version 2020-04-15 08:59:37 +02:00
Son NK
298b632c61 Use 3.0.1 instead of 3.0.0 in doc 2020-04-14 22:54:57 +02:00
Son NK
db23867d93 To upgrade to 3x from 2x, user needs to upgrade to 2.1.2 first 2020-04-14 22:54:42 +02:00
Son NK
598f028238 v3.0.1 2020-04-14 22:43:12 +02:00
Son NK
1410d5617f Fix code compatibility with 2x version 2020-04-14 22:42:20 +02:00
Son NK
75f43eefdc replace 2.1.0 by 3.0.0 in upgrade.md 2020-04-14 21:51:58 +02:00
Son NK
703d9385b5 Fix "Content-Transfer-Encoding" issue when encrypting emails 2020-04-14 20:49:48 +02:00
Son NK
6cfd534192 Add LOAD_PGP_EMAIL_HANDLER param. Load PGP keys if LOAD_PGP_EMAIL_HANDLER is set 2020-04-14 12:46:12 +02:00
Son NK
decda875db Add sleep() when sending batch email 2020-04-13 21:42:55 +02:00
Son NK
ed76a8ae8d reformat 2020-04-13 20:51:29 +02:00
Son NK
47f8e6f8e8 Add migration script 2020-04-13 20:51:00 +02:00
Son NK
b838157ad5 User who has lifetime licence or giveaway manual subscriptions can decide to upgrade to a paid plan 2020-04-13 20:50:48 +02:00