mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
- Add branchId filter to analyticsByProject query (was missing, inflating counts) - Exclude internal project from all ClickHouse aggregates via customerUserScope/customerEventScope - Add branch_id filter to all event-based analytics queries for consistency - Fix MRR quantity coercion: validate quantity instead of || 1 (zero quantity was inflating MRR) - Use Map for usersByCountry to prevent prototype pollution from ClickHouse keys - Remove misleading 'half' variable, inline Math.max(1, WINDOW_DAYS) - Fix feature adoption denominator: use data.projects.length and clamp progress bar to 0-100% - Add unit tests for ensurePlatformAdmin / isPlatformAdmin guard Co-Authored-By: mantra <mantra@stack-auth.com> |
||
|---|---|---|
| .. | ||
| prisma | ||
| scripts | ||
| src | ||
| .env | ||
| .env.development | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| instrumentation-client.ts | ||
| LICENSE | ||
| next.config.mjs | ||
| package.json | ||
| prisma.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||