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> |
||
|---|---|---|
| .. | ||
| backend | ||
| dashboard | ||
| dev-launchpad | ||
| e2e | ||
| hosted-components | ||
| internal-tool | ||
| mcp | ||
| mock-oauth-server | ||
| oauth-mock-server | ||
| skills | ||