Commit Graph
2534 Commits
Author SHA1 Message Date
Brandon Thomas 3efe1afa48 Migrations to change/rename some columns 2022-11-01 23:33:59 -04:00
Brandon Thomas d4a7c06f72 Merge pull request #18 from storytold/premium-plans-sessions
Premium plans sessions
2022-11-01 06:56:19 -04:00
Brandon Thomas 6b4d0b3ad1 Adding premium info to sessions 2022-11-01 06:39:59 -04:00
Brandon Thomas 23f6e74fd8 ugh, a gross refactor commit 2022-11-01 03:19:08 -04:00
Brandon Thomas 778d7eba7e Premium plans + session changes 2022-11-01 01:54:07 -04:00
Brandon Thomas e5db702289 SSL local dev instructions 2022-10-31 01:46:31 -04:00
Brandon Thomas 4eb400867a Merge pull request #17 from storytold/url-configs
Url configs
2022-10-31 01:32:38 -04:00
Brandon Thomas 4584e9dbcf Cors and local nginx configs for dev.fakeyou.com etc. 2022-10-31 01:31:46 -04:00
Brandon Thomas 2ca477fd8c Better environment-based URL configuration 2022-10-31 00:07:34 -04:00
Brandon Thomas 13487a9046 Fix bug with upsert not changing the product key 2022-10-30 05:25:22 -04:00
Brandon Thomas aff94446ac Merge pull request #16 from storytold/stripe-customer-portal
Stripe customer portal (subscription cancellation / modification)
2022-10-30 05:04:36 -04:00
Brandon Thomas 15c9c1256b Stripe customer portal (subscription cancellation / modification) 2022-10-30 04:57:10 -04:00
Brandon Thomas 009d0eab87 CLI crates
(was building a stripe tool, but need to remember to make DB tools)
2022-10-29 22:20:26 -04:00
Brandon Thomas 0d9a882f3f Refactor stripe component modules 2022-10-27 04:36:43 -04:00
Brandon Thomas 4c878e332e upgrade breaking transitive dependency? 2022-10-25 05:13:24 -04:00
Brandon Thomas d22242ab69 Merge pull request #15 from storytold/product-integration-2
Continued work on product integration
2022-10-25 05:03:19 -04:00
Brandon Thomas 5ee51ed8e2 Continued work on product integration 2022-10-25 05:02:52 -04:00
Brandon Thomas 560448f1ad Merge pull request #14 from storytold/product-integration
Integrate stripe / product crate
2022-10-24 23:03:27 -04:00
Brandon Thomas 1b40495ef3 Integrate stripe / product crate
Associates internal metadata with stripe subscription and better
composes both systems
2022-10-24 23:02:16 -04:00
Brandon Thomas e8d376a3eb Merge pull request #13 from storytold/premium-plans
Premium plan definitions
2022-10-23 00:44:34 -04:00
Brandon Thomas 8e6c02d1b1 Premium plan definitions 2022-10-23 00:43:53 -04:00
Brandon Thomas 4e4dbf0688 Premium plans config (just getting started on this) 2022-10-21 19:18:37 -04:00
Brandon Thomas 1ca54927d7 fix compile errors 2022-10-21 03:19:28 -04:00
Brandon Thomas ddd29ada80 This appears to fix openssl!? Transitive dep update. 2022-10-21 03:17:00 -04:00
Brandon Thomas 5ef27bb86f Merge pull request #12 from storytold/tts-failure-slowdown
Slow down jobs on repeated failures
2022-10-21 00:46:34 -04:00
Brandon Thomas c03bdba0a6 Slow down jobs on repeated failures 2022-10-21 00:46:00 -04:00
Brandon Thomas 14432e9808 Fix build errors (couldn't run build on Linux due to SSL breaks) 2022-10-09 06:06:56 -04:00
Brandon Thomas 1204ac5399 Merge pull request #11 from storytold/desktop-app-api-stubs
Stub API for the desktop app
2022-10-09 05:47:39 -04:00
Brandon Thomas 468d2d1d75 stupid time bomb 2022-10-09 05:46:49 -04:00
Brandon Thomas aac2af635b Stub API for the desktop app 2022-10-09 05:45:11 -04:00
Brandon Thomas 90c96b5f50 codegen from mac (broken on Ubuntu?) 2022-10-09 04:47:32 -04:00
Brandon Thomas 207e63a5aa Merge pull request #10 from storytold/echelon-stripe
merge incomplete arc of work
2022-10-09 03:50:06 -04:00
Brandon Thomas 399ed6cb2e fscking sqlx and ubuntu 22.04 ssl - wtf
I can't link against Ubuntu 22.04 native tls

I can't get rustls to work

wtf
2022-10-09 03:48:23 -04:00
Brandon Thomas d51d6720e6 Setup on a more modern Ubuntu 2022-10-09 02:58:16 -04:00
Brandon Thomas 8f807a7719 wip 2022-09-22 05:36:16 -04:00
Brandon Thomas c8ba2d1863 include price, make adjustments to subscription product/price 2022-09-19 06:30:49 -04:00
Brandon Thomas 2f3cbd4523 handle terminated subscriptions 2022-09-19 05:16:56 -04:00
Brandon Thomas cf7cd9945d Handle grace period days 2022-09-19 04:39:51 -04:00
Brandon Thomas 6a2a99741e cancel_at_period_end and new test 2022-09-19 04:35:59 -04:00
Brandon Thomas dc115a7aa1 begin handling deleted subscriptions 2022-09-19 04:18:08 -04:00
Brandon Thomas 6ea1bf3226 handle events with idempotency by ignoring replays 2022-09-19 04:11:35 -04:00
Brandon Thomas 334fc3022e record whether webhook events had actions taken, idempotency flag 2022-09-19 03:54:32 -04:00
Brandon Thomas 3fb26771de subscription interval tracked 2022-09-19 03:35:30 -04:00
Brandon Thomas ba448ccc50 record subscription billing periods, start date 2022-09-19 02:09:35 -04:00
Brandon Thomas fd3081e440 Track status as an enum, don't update at terminal state 2022-09-19 01:36:01 -04:00
Brandon Thomas 66981c4d2c Track subscription status 2022-09-19 00:26:16 -04:00
Brandon Thomas c6a1fc18d6 coalesce nulls 2022-09-19 00:12:21 -04:00
Brandon Thomas afb77393c0 Don't update on create if already existing, make user token optional 2022-09-19 00:02:52 -04:00
Brandon Thomas a2e71d8944 Handle subscription update and create 2022-09-18 23:26:39 -04:00
Brandon Thomas ca63e00905 user subscriptions 2022-09-18 19:52:11 -04:00