48 Commits

Author SHA1 Message Date
Jon Staab 9d9192f681 Remove redundant relay.schema field
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 0s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Failing after 0s
2026-05-25 16:15:00 -07:00
Jon Staab 34d5e732f4 Add endpoint for paying an invoice so that users don't get expired qr codes
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 1s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Failing after 0s
2026-05-25 11:09:24 -07:00
Jon Staab 384ddbd439 Sync frontend and backend 2026-05-22 11:03:55 -07:00
Jon Staab b4af2f3866 Update spec and readme
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 0s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Failing after 0s
2026-05-22 10:15:52 -07:00
Jon Staab f8a0860045 Refactor billing/invoices a bit 2026-05-22 09:41:40 -07:00
Jon Staab a998c9b833 Collapse multiple invoice tables into one
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 1s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Failing after 0s
2026-05-21 16:23:20 -07:00
Jon Staab 6d267ed339 Remove relay subscription item column 2026-05-20 11:16:02 -07:00
Jon Staab a654096f25 Refactor stripe module
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 0s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Failing after 1s
2026-05-19 18:19:58 -07:00
Jon Staab dde4b981b2 refactor query
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 0s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Failing after 1s
2026-05-19 17:04:10 -07:00
Jon Staab 066c91a4d1 Refactor bitcoin exchange rate fetching and wallet 2026-05-14 12:47:32 -07:00
userAdityaa 3ed021214a feat(infra): pass Blossom S3 config to Zooid with schema key prefix (#69)
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 4m47s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Successful in 2m41s
Reviewed-on: #69
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-05-13 15:47:08 +00:00
Jon Staab c0aff5f7cf Refactor billing module
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 5m48s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Successful in 2m53s
2026-05-12 16:32:05 -07:00
Jon Staab c9c1dd2c4c Group subscription items by price
Docker / build-and-push-image (backend, backend, coracle/caravel-backend) (push) Failing after 4m45s
Docker / build-and-push-image (frontend, frontend, coracle/caravel-frontend) (push) Successful in 2m45s
2026-05-12 15:53:17 -07:00
Jon Staab dbe25c372f Conflate id and schema 2026-05-05 17:47:13 -07:00
userAdityaa 80a86452d0 chore: encrypt tenant NWC URL at rest and stop secret exposure in tenant APIs (#58)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-05-05 20:42:12 +00:00
userAdityaa 48f20dc1a5 fix: relay sync failures with delayed bounded retries (#45)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-23 15:32:09 +00:00
userAdityaa c261d8a146 fix: enforce relay member capacity limits from plan definitions (#43)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-22 20:56:03 +00:00
userAdityaa bc79da34cf feat: encourage payment setup for paid relays without making it required (#40)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-21 13:07:27 +00:00
userAdityaa d209353abd docs: document delinquent relay status across spec (#35)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-20 18:14:14 +00:00
Jon Staab 0705da8b09 Add tenant create endpoint 2026-04-20 15:55:56 +00:00
userAdityaa ca26d41eef fix: relay secret rotation on infra sync updates (#26)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-18 13:24:08 +00:00
userAdityaa 44f9928070 fix: make stripe webhooks explicitly toggleable with mandatory secret validation (#23)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-17 22:57:37 +00:00
userAdityaa 334f05783f chore: harden relay plan validation to prevent billing bypass and plan-state drift (#20)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-16 21:35:43 +00:00
userAdityaa 145b511f9d docs(auth): document intentional session-style NIP-98 model (#16)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-16 15:40:50 +00:00
userAdityaa 85d37f53ce fix: respect activity_type in set_relay_status and include activate_relay (#14)
Co-authored-by: userAdityaa <aditya.chaudhary1558@gmail.com>
Co-committed-by: userAdityaa <aditya.chaudhary1558@gmail.com>
2026-04-15 20:39:06 +00:00
Jon Staab 0980523a50 Rework billing 2026-04-09 14:11:30 -07:00
Jon Staab 05e4eac025 Add Stripe subscription sync 2026-04-01 16:42:14 -07:00
Jon Staab 7e0bd14ef3 Tweak relay status 2026-04-01 16:05:15 -07:00
Jon Staab 3e131b6a1b Allow infra to listen to activity actively 2026-04-01 16:01:10 -07:00
Jon Staab 07dfe86210 Separate command and query 2026-04-01 15:47:56 -07:00
Jon Staab baae65b8b2 Clear billing logic, do some cleanup 2026-04-01 15:23:02 -07:00
Jon Staab d1209c635b Fix zooid sync 2026-03-31 14:42:30 -07:00
Jon Staab 95c971af1a Avoid duplicate syncs 2026-03-31 06:51:53 -07:00
Jon Staab e6eda81920 Fix relay syncing 2026-03-27 15:32:48 -07:00
Jon Staab 77365f74ee Add relay activity 2026-03-27 15:24:08 -07:00
Jon Staab 72b7a8db45 Make tenant creation implicit 2026-03-27 11:24:11 -07:00
Jon Staab a2f9ca9688 Add identity endpoint 2026-03-26 16:50:27 -07:00
Jon Staab 9f737a25cd refactor auth 2026-03-26 13:35:11 -07:00
Jon Staab 6d651e2722 Split api routes up 2026-03-26 13:20:23 -07:00
Jon Staab 619fd0c2ce Split repo methods into tenant and non-tenant versions 2026-03-26 12:59:04 -07:00
Jon Staab 1b3fe346f5 Add plan model 2026-03-26 12:44:41 -07:00
Jon Staab 05437ef113 Fix relay selection 2026-03-26 12:30:15 -07:00
Jon Staab c4a63b18af Update env template 2026-03-26 12:21:51 -07:00
Jon Staab b796665e31 Add tenant to activity table, include resource type 2026-03-26 08:24:49 -07:00
Jon Staab 28e564e795 Review pass 2026-03-25 17:11:35 -07:00
Jon Staab 6f407fd681 Switch to plural table names 2026-03-25 16:54:30 -07:00
Jon Staab cb2e37c74a Update backend implementation to fit spec 2026-03-25 16:50:44 -07:00
Jon Staab 2e0740910c Create backend spec 2026-03-25 11:21:48 -07:00