Commit Graph

49 Commits

Author SHA1 Message Date
m5r
197c2286c3 prevent making a call if on free plan 2021-10-15 22:06:05 +02:00
m5r
24f1e953f6 append messages from free users with "sent from shellphone" 2021-10-03 21:31:26 +02:00
m5r
188c028667 cancel subscription on account deletion 2021-10-01 20:07:00 +02:00
m5r
5e08863078 fresh settings layout 2021-09-30 00:10:42 +02:00
m5r
0f2c3daf77 integrate backend with paddle 2021-09-27 06:10:48 +08:00
m5r
0abac20c6c empty state for calls 2021-09-25 07:40:11 +08:00
m5r
9dea1ed499 fix type errors 2021-09-25 07:12:16 +08:00
m5r
2f45e1d9a8 add import messages/calls ui feedback 2021-09-25 07:08:11 +08:00
m5r
f8a2ef3b97 import heroicons icons from react-icons/hi 2021-09-08 05:01:03 +08:00
m5r
9ec73d6cf4 replace fontawesome icons with ionicons 5 2021-09-08 04:59:38 +08:00
m5r
3433a90258 memoize hook functions and wrap up outgoing calls 2021-09-05 00:29:25 +08:00
m5r
55a705d3d7 graciously handle call errors 2021-09-04 00:19:32 +08:00
m5r
a4c99b7e28 refresh device token before it expires every hour 2021-09-02 06:13:41 +08:00
m5r
98778c7a7b refresh device token before it expires every hour 2021-09-02 05:54:49 +08:00
m5r
c81d8e7937 set state call_in_progress 2021-09-01 07:12:47 +08:00
m5r
24e9d20fe2 fix unending updateCallDuration queue 2021-09-01 06:42:59 +08:00
m5r
98485bd034 allow typing phone number with desktop keyboard 2021-09-01 06:42:39 +08:00
m5r
b4f06e5471 improve calling experience 2021-09-01 06:42:15 +08:00
m5r
d71e4de033 style call list page 2021-08-31 04:25:56 +08:00
m5r
ab004235f6 update outgoing call duration every 30 seconds until the call is over 2021-08-30 20:53:21 +08:00
m5r
6a2e76857b clean setTwilioWebhooks and twilio webhook verification 2021-08-30 19:24:05 +08:00
m5r
e77e7d17e0 tap phone button in keypad to "paste" latest recipient 2021-08-30 08:43:39 +08:00
m5r
3d1c545892 fix hook order error 2021-08-30 08:34:37 +08:00
m5r
74f903cc9f keypad QoL changes 2021-08-30 07:53:22 +08:00
m5r
87e3fc77d8 fix most lint warnings 2021-08-30 07:13:06 +08:00
m5r
e9fb2602ae Merge branch 'master' into outgoing-calls 2021-08-30 07:05:22 +08:00
m5r
a289e9a4ef validate call webhook and translate call status 2021-08-20 08:20:03 +08:00
m5r
30d186d37d insert call to db when making a call 2021-08-14 01:16:27 +08:00
m5r
f628addd80 skip duplicates when inserting calls and messages 2021-08-14 01:15:35 +08:00
m5r
306febe4d1 rename webhook route for calls 2021-08-13 23:56:07 +08:00
m5r
5d5195fd9f replace ascending with descending 2021-08-13 23:54:13 +08:00
m5r
800ff5ab99 cleanup call making 2021-08-13 23:52:38 +08:00
m5r
a26babc792 small qol changes 2021-08-13 19:55:05 +08:00
m5r
de4d4e63d5 useMakeCall() hook 2021-08-13 12:43:57 +08:00
m5r
0e280ceb27 wire up some stuff in outgoing call page 2021-08-08 19:46:32 +08:00
m5r
423a9cea00 reset keypad page phoneNumber state when calling 2021-08-08 19:46:04 +08:00
m5r
97fce0f33f extract keypad component 2021-08-08 19:22:34 +08:00
m5r
e4672597dd get access token and use it to make a call 2021-08-08 14:37:53 +08:00
m5r
6f672bfeb2 use twilio api key/secret instead of authToken 2021-08-08 12:28:19 +08:00
m5r
d20eeb0617 multi tenancy stuff 2021-08-06 01:14:19 +08:00
m5r
2cf53533a3 replace early returns with NotFoundError
test /api/webhook/incoming-message
2021-08-02 21:44:04 +08:00
m5r
827ed9f1c0 return early when data is not available as expected 2021-08-02 18:02:49 +08:00
m5r
1489f97c14 prettier 2021-08-01 22:03:49 +08:00
m5r
7acbca65ce update prettier config 2021-08-01 20:04:04 +08:00
m5r
23e7616416 move queues 2021-08-01 18:46:10 +08:00
m5r
56e8880715 send message to new recipient 2021-08-01 15:40:33 +08:00
m5r
a65d6e2bcc boring stuff 2021-08-01 11:05:40 +08:00
m5r
079241ddb0 reformat with prettier with semicolons and tabs 2021-07-31 23:57:43 +08:00
m5r
fc4278ca7b migrate to blitzjs 2021-07-31 22:33:18 +08:00