Commit Graph

274 Commits

Author SHA1 Message Date
m5r
8ad21ae9e1 make a phone call ~ not really working 2022-05-24 23:13:08 +02:00
m5r
a94d3b5e05 extract phone settings loader 2022-05-22 13:09:42 +02:00
m5r
1b9de34387 extract keypad loader 2022-05-22 13:06:43 +02:00
m5r
331d53a8a8 extract conversation loader 2022-05-22 13:04:26 +02:00
m5r
3afc1d27cf keypad page 2022-05-22 12:59:53 +02:00
m5r
90e3d2fb20 missing twilio credentials in a modal 2022-05-22 12:40:07 +02:00
m5r
787b0ef4ac simplify calls loader 2022-05-22 12:39:54 +02:00
m5r
e8703a41f8 forgotten encryption stuff 2022-05-22 02:00:12 +02:00
m5r
a05d8cc413 fetching calls state 2022-05-22 01:59:38 +02:00
m5r
c824302347 fetching messages state 2022-05-22 01:45:13 +02:00
m5r
e407e37a9a incoming message webhook 2022-05-22 01:34:04 +02:00
m5r
1df959fd8b set twilio webhooks queue 2022-05-22 01:18:32 +02:00
m5r
c1c3fa06a3 fix /twilio/authorize 2022-05-22 01:18:06 +02:00
m5r
1f37eb45d5 add recipient field to messages and phone calls 2022-05-22 01:17:43 +02:00
m5r
6684dcc0e5 store twilio stuff in TwilioAccount table and remodel session data 2022-05-21 21:33:23 +02:00
m5r
19a35bac92 send new message 2022-05-20 02:45:07 +02:00
m5r
306572d947 prefetch stuff 2022-05-20 01:16:38 +02:00
m5r
8607e70007 hide footer in conversation page 2022-05-20 01:05:06 +02:00
m5r
5bf885c060 send message to recipient 2022-05-20 00:55:02 +02:00
m5r
29f405290c fix redirect on requireLoggedIn() 2022-05-20 00:29:12 +02:00
m5r
9c9b4a5af4 got {messages,phone calls} {fetching,display} working 2022-05-18 01:54:06 +02:00
m5r
7dc9c403d8 fix redirect on requireLoggedIn() 2022-05-18 01:49:31 +02:00
m5r
cdaafec4e6 redirect on requireLoggedIn() 2022-05-15 18:33:19 +02:00
m5r
022670543f list twilio phone numbers 2022-05-15 01:29:51 +02:00
m5r
a435cb5b75 twilio connect 2022-05-15 00:35:51 +02:00
m5r
218aeb31da got account deletion working 2022-05-14 19:54:04 +02:00
m5r
315ffb61ac clean 2022-05-14 19:53:04 +02:00
m5r
48b3604116 account settings actions, account deletion left 2022-05-14 14:43:45 +02:00
m5r
98b89ae0f7 remixed v0 2022-05-14 12:22:06 +02:00
m5r
9275d4499b call recipient from phone calls history 2021-12-06 22:58:18 +01:00
m5r
d3035ad268 fallback to unformatted recipient phone number (i.e. with TINDER sender) 2021-12-04 00:48:22 +01:00
m5r
c0016a55f7 use error boundary in phone number form 2021-12-04 00:46:03 +01:00
m5r
d9938fc361 subscribe thank you email 2021-11-02 00:13:30 +01:00
m5r
c398484cf8 welcome email 2021-10-30 14:31:22 +02:00
m5r
8e860a1ea3 move tailwind.css to templates directory 2021-10-30 13:04:54 +02:00
m5r
514dae3ebb use maizzle for email templating, starting with reset password email 2021-10-26 23:36:20 +02:00
m5r
52732847fc fix response sent to twilio for incoming messages on free plan 2021-10-25 01:24:13 +02:00
m5r
101f33720f disable keypad when no ongoing subscription 2021-10-25 01:00:59 +02:00
m5r
37d9bd37f4 confirm plan switch with a modal 2021-10-25 00:32:33 +02:00
m5r
4facb32e74 use authenticated layout 2021-10-24 22:25:01 +02:00
m5r
1d59a74002 replace useRouter().params with useParam() 2021-10-24 17:42:48 +02:00
m5r
3edf0cb471 respond 200 to valid but unsupported paddle webhooks 2021-10-24 16:55:07 +02:00
m5r
a4ac0384c2 always pick the most recent subscription 2021-10-21 01:03:32 +02:00
m5r
c0554f321c hide phone init loader if user is on free plan 2021-10-21 00:41:44 +02:00
m5r
e00f0bde64 immediately show the appended "sent from shellphone" signature 2021-10-21 00:41:15 +02:00
m5r
950a7e1bd0 fetch dismissed messages and phone calls that might have happened while on free plan 2021-10-21 00:39:09 +02:00
m5r
a4859137fe return early when receiving a message for a user on free plan 2021-10-21 00:38:37 +02:00
m5r
730030f6f1 add some metrics 2021-10-21 00:24:29 +02:00
m5r
5f6100b0bb prepare multiple phone numbers in one account 2021-10-21 00:24:18 +02:00
m5r
cea47251dd remove occasional scrolling bar on loader in settings 2021-10-21 00:12:33 +02:00
m5r
1dd1c2bafe rename hasActiveSubscription from useCurrentUser() to hasOngoingSubscription 2021-10-21 00:01:03 +02:00
m5r
6dbdeac4d3 little clean up 2021-10-20 23:57:55 +02:00
m5r
7a4c583ea5 fetch phone number data even if user is not on a paid plan 2021-10-20 23:57:32 +02:00
m5r
5df0634060 remove free plan and features from /settings/billing 2021-10-20 20:29:21 +02:00
m5r
4ce3c2503a smol fixes to subscription webhooks 2021-10-20 19:25:07 +02:00
m5r
4096cfaa6c clean up auth forms 2021-10-20 00:39:07 +02:00
m5r
59b13bd0ea blur phone call history if on free plan 2021-10-19 23:56:16 +02:00
m5r
fd003f461b allow switching phone numbers but delete previous phone number 2021-10-19 23:49:28 +02:00
m5r
29d24f9fb4 * avoid creating multiple api keys when not necessary
* fetch messages and calls if user switches phone number while on an active sub
2021-10-19 23:12:16 +02:00
m5r
f11c7d3723 extract useSubscription to core/hooks 2021-10-19 20:03:09 +02:00
m5r
20df3dc3ac inbound and missed call icons in phone calls list 2021-10-19 19:59:55 +02:00
m5r
b17e135cf6 reflect when user has cancelled his sub 2021-10-19 19:59:20 +02:00
m5r
931384b468 improve loading states:
* app loader
 * specific loaders with spinner
2021-10-18 00:06:45 +02:00
m5r
5703b991ee fix github ci 2021-10-16 01:33:39 +02:00
m5r
2afd3554b3 set your twilio things from settings 2021-10-16 01:26:59 +02:00
m5r
3cc6f35071 get rid of onboarding requirements 2021-10-16 00:31:01 +02:00
m5r
c8f707af9c better empty states for phone calls and messages 2021-10-15 22:41:41 +02:00
m5r
c3bdef4800 allow logging out from settings 2021-10-15 22:30:57 +02:00
m5r
5b9eef73ae reject incoming calls if on free plan 2021-10-15 22:06:54 +02:00
m5r
197c2286c3 prevent making a call if on free plan 2021-10-15 22:06:05 +02:00
m5r
dad61ae77e fetch messages when switching to free plan 2021-10-15 21:57:56 +02:00
m5r
526ab4e451 ignore incoming messages if on free plan 2021-10-15 21:57:28 +02:00
m5r
17eba67fca public area update 2021-10-15 21:57:00 +02:00
m5r
545ee225aa extract s3 to integrations 2021-10-13 21:42:23 +02:00
m5r
24f1e953f6 append messages from free users with "sent from shellphone" 2021-10-03 21:31:26 +02:00
m5r
a28d89a8c2 let user know when his cancelled sub is going to expire 2021-10-03 20:56:31 +02:00
m5r
5f3060c591 paginate payments history 2021-10-03 20:24:46 +02:00
m5r
38c2edb8e4 replace got http calls by @devoxa/paddle-sdk where possible 2021-10-03 18:40:59 +02:00
m5r
4ce6ccc142 update billing to do list 2021-10-03 18:23:06 +02:00
m5r
3830e91af6 update roadmap 2021-10-03 18:21:51 +02:00
m5r
bca848bdb8 poll for subscription change instead of fully reloading the page 2021-10-03 18:20:59 +02:00
m5r
3a3d526e77 allow organizations to have multiple subscriptions. although only 1 can be active at a time 2021-10-03 18:19:45 +02:00
m5r
22e2b21b14 sur Intl.NumberFormat to format currency in billing history 2021-10-03 18:18:34 +02:00
m5r
dd9d15d042 always create new subscription 2021-10-02 00:19:06 +02:00
m5r
300bfa8e65 smol changes 2021-10-01 23:05:07 +02:00
m5r
771fea4d7b * return 200 asap to paddle and queue webhook received
* paddle ids to int
2021-10-01 23:04:12 +02:00
m5r
188c028667 cancel subscription on account deletion 2021-10-01 20:07:00 +02:00
m5r
c5f135fdcc list payments 2021-10-01 00:59:35 +02:00
m5r
5172ab11e7 pricing plans in settings 2021-10-01 00:18:03 +02:00
m5r
13ac4a5580 better looking SettingsSection 2021-09-30 23:37:54 +02:00
m5r
49f11a16e2 pricing in billing 2021-09-30 01:01:20 +02:00
m5r
daec5c0170 fix settings layout paddings 2021-09-30 00:35:05 +02:00
m5r
45a9d863ca s/primary/rebeccapurple/ for public areas
new primary is #007AFF
2021-09-30 00:21:38 +02:00
m5r
5e08863078 fresh settings layout 2021-09-30 00:10:42 +02:00
m5r
d1b88078fb bases de la billing page 2021-09-27 06:44:26 +08:00
m5r
0f2c3daf77 integrate backend with paddle 2021-09-27 06:10:48 +08:00
m5r
9cec49f255 make user full name mandatory 2021-09-25 22:16:31 +08:00
m5r
9d30930f96 style reset password form 2021-09-25 22:05:39 +08:00
m5r
d8acd6c37c style forgot password form 2021-09-25 21:52:31 +08:00
m5r
767c2e3966 style registration form 2021-09-25 21:15:16 +08:00