Commit Graph

29 Commits

Author SHA1 Message Date
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