Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
11fbd30
feat(database): add developer platform schema tables
richiemcilroy Mar 2, 2026
f9eeaf4
feat(utils): add Stripe developer credits product ID
richiemcilroy Mar 2, 2026
c4e43d4
feat(web): add developer API key hashing utility
richiemcilroy Mar 2, 2026
1a94478
feat(web): add developer platform server actions
richiemcilroy Mar 2, 2026
d459fc6
feat(web): add developer API auth middleware and CORS
richiemcilroy Mar 2, 2026
ae7de39
feat(web): add developer SDK API routes
richiemcilroy Mar 2, 2026
e24876d
feat(web): add developer management API routes
richiemcilroy Mar 2, 2026
fa56faf
feat(web): add developer credits checkout API
richiemcilroy Mar 2, 2026
599e2dc
feat(web): add developer storage billing cron job
richiemcilroy Mar 2, 2026
539ed94
feat(web): handle developer credits in Stripe webhook
richiemcilroy Mar 2, 2026
5cfd616
feat(web): add developer dashboard components and pages
richiemcilroy Mar 2, 2026
7e0e387
feat(web): add developer section to dashboard navigation
richiemcilroy Mar 2, 2026
5209411
feat(web): add docs route group with sidebar layout
richiemcilroy Mar 2, 2026
4b9c175
feat(web): add docs content utility for MDX loading
richiemcilroy Mar 2, 2026
a19b18b
feat(web): enhance MDX with syntax highlighting and CapEmbed
richiemcilroy Mar 2, 2026
c85d15a
docs(web): add documentation content pages
richiemcilroy Mar 2, 2026
f8b63f8
docs(web): update self-hosting guide with notes and CapEmbed
richiemcilroy Mar 2, 2026
cc26fad
refactor(web): remove old docs pages from site layout
richiemcilroy Mar 2, 2026
b79b223
style(web): fix not-prose anchor color inheritance
richiemcilroy Mar 2, 2026
b7d0ce6
feat(sdk): add @cap/sdk-embed package
richiemcilroy Mar 2, 2026
76ab10d
feat(sdk): add @cap/sdk-recorder package
richiemcilroy Mar 2, 2026
933075b
test(web): add developer platform unit tests
richiemcilroy Mar 2, 2026
f3f8848
chore(web): remove obsolete blog post SEO tests
richiemcilroy Mar 2, 2026
7af1d74
fix(media-server): add audio/convert to endpoint test
richiemcilroy Mar 2, 2026
6dd3c1f
chore: simplify Docker and dev scripts
richiemcilroy Mar 2, 2026
d0e4d65
Potential fix for code scanning alert no. 112: Incomplete multi-chara…
richiemcilroy Mar 2, 2026
b48a29b
fmt
richiemcilroy Mar 2, 2026
b83eac9
Merge branch 'developer-platform-and-docs' of https://github.com/CapS…
richiemcilroy Mar 2, 2026
ad623a6
fix(developers): add missing "use server" directive to purchase-credits
richiemcilroy Mar 2, 2026
da67c25
refactor(developers): wrap app creation in database transaction
richiemcilroy Mar 2, 2026
6b2e782
fix(developers): decrypt public keys before returning to dashboard
richiemcilroy Mar 2, 2026
7cb6712
feat(api): add OPTIONS handler for developer API CORS
richiemcilroy Mar 2, 2026
9ce6eec
fix(api): sanitize limit and offset query params in videos endpoint
richiemcilroy Mar 2, 2026
84f1b2b
perf(webhooks): reduce Stripe user lookup retry count and delay
richiemcilroy Mar 2, 2026
8e5ae25
perf(docs): cache getAllDocs with React cache and optimize getDocBySlug
richiemcilroy Mar 2, 2026
4cf9121
fix(api): validate auth header format before setting session cookie
richiemcilroy Mar 2, 2026
252982b
perf(api): make developer API key lastUsedAt update non-blocking
richiemcilroy Mar 2, 2026
d3dde45
fix(api): validate CRON_SECRET env var in developer-storage cron
richiemcilroy Mar 2, 2026
ab30590
fix(api): validate upload content-type against allowlist
richiemcilroy Mar 2, 2026
16d36c3
fix(api): add balance pre-check before credit deductions
richiemcilroy Mar 2, 2026
dd1e727
refactor(api): remove unnecessary type cast on multipart abort
richiemcilroy Mar 2, 2026
afa5012
refactor(developer): move addCreditsToAccount from server action to l…
richiemcilroy Mar 2, 2026
0e20029
feat(database): add dedup index on developer credit transactions
richiemcilroy Mar 2, 2026
2a60b85
fix(developer): revoke API keys when deleting app
richiemcilroy Mar 2, 2026
250fd8c
refactor(developer): wrap key regeneration in database transaction
richiemcilroy Mar 2, 2026
e0cac14
fix(developer): add upper bound to auto top-up amount
richiemcilroy Mar 2, 2026
bcf3ffe
perf(api): combine auth key+app lookups into single JOIN query
richiemcilroy Mar 2, 2026
792827a
fix(api): tighten validation and enforce credit deduction on upload
richiemcilroy Mar 2, 2026
a677488
fix(api): add input size limits on video create endpoint
richiemcilroy Mar 2, 2026
e5e493b
fix(api): handle invalid JSON in credits checkout route
richiemcilroy Mar 2, 2026
26f8741
perf(api): batch developer storage cron with Promise.allSettled
richiemcilroy Mar 2, 2026
d7989a3
fix(docs): prevent path traversal in doc slug lookup
richiemcilroy Mar 2, 2026
680470c
fix(docs): prevent layout shift when search modal opens
richiemcilroy Mar 2, 2026
efcc586
fix(docs): append path separator in traversal guard
richiemcilroy Mar 2, 2026
c7012ad
fix(api): validate empty app name in developer update action
richiemcilroy Mar 2, 2026
87ad44d
perf(api): use Map lookups for developer app data aggregation
richiemcilroy Mar 2, 2026
12b94ac
fix(api): remove unsafe session cookie injection from auth
richiemcilroy Mar 2, 2026
3949ec3
fix(api): log errors on developer key lastUsedAt update failure
richiemcilroy Mar 2, 2026
f5cc39e
fix(api): use integer arithmetic and fix credit deduction race in sto…
richiemcilroy Mar 2, 2026
20c26c6
feat(api): add in-memory rate limiter to developer SDK routes
richiemcilroy Mar 2, 2026
4dde6e3
fix(api): clamp duration and fix credit race in upload complete
richiemcilroy Mar 2, 2026
47af742
fix(api): use atomic credit debit on video create
richiemcilroy Mar 2, 2026
163b426
feat(utils): make stripe credits product ID environment-aware
richiemcilroy Mar 2, 2026
a97d7f9
refactor(api): migrate credits checkout route to Hono
richiemcilroy Mar 2, 2026
d505f69
fix(api): increase retry count and delay for stripe user lookup
richiemcilroy Mar 2, 2026
c6760a2
build(sdk-embed): add tsup build config and dist exports
richiemcilroy Mar 2, 2026
8940108
build(sdk-recorder): add tsup build config and dist exports
richiemcilroy Mar 2, 2026
0085a46
fix(sdk-recorder): log event handler errors instead of swallowing
richiemcilroy Mar 2, 2026
a6a614b
feat(sdk-recorder): pass recording duration in upload complete request
richiemcilroy Mar 2, 2026
ae2f060
feat(sdk-recorder): add max duration limit with auto-stop
richiemcilroy Mar 2, 2026
144cb6d
feat(api): add shared rate limiter and debounce lastUsedAt updates
richiemcilroy Mar 3, 2026
5497781
refactor(api): move SDK rate limiter to shared utils
richiemcilroy Mar 3, 2026
bee311a
feat(api): add CORS and rate limiter to developer v1 routes
richiemcilroy Mar 3, 2026
394e47a
fix(api): return proper values from storage cron allSettled callbacks
richiemcilroy Mar 3, 2026
01cf7e0
perf(api): select only needed columns in upload route queries
richiemcilroy Mar 3, 2026
3776d50
feat(api): add size-based billing duration and restructure credit tra…
richiemcilroy Mar 3, 2026
3d65d8b
refactor(api): revert video create to simple balance check
richiemcilroy Mar 3, 2026
91b260d
chore(utils): add placeholder for production credits product ID
richiemcilroy Mar 3, 2026
23635b3
feat(web): add dev video redirect page
richiemcilroy Mar 3, 2026
72fa86d
feat(credits): replace auto top-up with coming soon placeholder
richiemcilroy Mar 3, 2026
3dd3b1f
perf(sdk-recorder): upload chunks concurrently in batches of 3
richiemcilroy Mar 3, 2026
66390b8
Restrict developer dashboard
richiemcilroy Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/discord-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"deploy": "wrangler deploy",
"bot-dev": "wrangler dev",
"start": "wrangler dev",
"test": "vitest",
"test": "vitest run",
"cf-typegen": "wrangler types"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions apps/media-server/src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ describe("GET /", () => {
"/audio/status",
"/audio/check",
"/audio/extract",
"/audio/convert",
"/video/status",
"/video/probe",
"/video/thumbnail",
Expand Down
Loading
Loading