Commit graph

194 commits

Author SHA1 Message Date
conorbranagan
d7642aec11
Extend test data to 60 days for realistic comparisons
When viewing "Last 30 days", the previous 30 days now also has data,
resulting in realistic percentage changes instead of 174233%.
2025-11-28 23:12:16 -05:00
conorbranagan
34373f6aae
Update test data generator for Hulu demo
- Change organization from Niteshift to Hulu (hulu.com domain)
- Update pages to streaming service structure (browse, watch, plans, etc.)
- Add realistic Hulu shows: The Bear, Shogun, Abbott Elementary, etc.
- Update custom events for streaming: play_video, complete_episode, etc.
- Add realistic referrers: review sites, entertainment news, deal sites
- Update revenue tiers to Hulu subscription plans ($7.99-$76.99)
- Convert script to TypeScript and use tsx for execution
- Update funnels, segments, and cohorts for streaming analytics
2025-11-27 23:03:38 -05:00
Sajid Mehmood
9d1b4e3665 Make test data generation more current 2025-11-14 13:16:37 -05:00
Sajid Mehmood
dc8db69a6f Add test data generation script for Umami analytics
- Create generate-test-data.js script for generating realistic demo data
- Support for small (3 days), medium (14 days), and full (30 days) scales
- Generates realistic user sessions, pageviews, custom events, and revenue
- Includes geographic diversity, device variety, and traffic source distributions
- Implements proper UTM campaign tracking and conversion funnels
- Uses direct Prisma writes for performance (~10k sessions in 5 minutes)
- Add npm script: 'generate-test-data' for easy execution

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 14:51:50 -05:00
Mike Cao
067567cbf6 Force geo build with BUILD_GEO env var.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-31 00:13:02 -07:00
Mike Cao
3e163940da Updated lang files. 2025-10-06 12:11:26 -07:00
Mike Cao
dbc9525c9c Fixed docker build.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-06 02:12:57 -07:00
Francis Cao
f86c21b25b kafka no longer needed 2025-10-01 10:21:20 -07:00
Mike Cao
f40e1b44f3 Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
0d19e9a247 Fixed outputs.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-01 16:17:55 -07:00
Mike Cao
56af91950a Updated components build. 2025-09-01 15:59:06 -07:00
Mike Cao
eabdd18604 Updated Prisma build. 2025-08-15 12:29:33 -07:00
Mike Cao
88639dfe83 New schema for pixels and links. 2025-08-13 20:27:54 -07:00
Mike Cao
45c9ea9c22 Merge branch 'dev' into jajaja
# Conflicts:
#	db/mysql/schema.prisma
#	package.json
#	pnpm-lock.yaml
#	src/app/(main)/reports/[reportId]/ReportBody.tsx
#	src/app/(main)/reports/[reportId]/ReportPage.tsx
#	src/app/(main)/reports/utm/UTMView.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteMetricsBar.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteTableView.tsx
#	src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
#	src/app/api/reports/[reportId]/route.ts
#	src/app/api/websites/[websiteId]/metrics/route.ts
#	src/components/hooks/queries/useReport.ts
#	src/components/icons.ts
#	src/components/messages.ts
#	src/components/metrics/MetricsTable.module.css
#	src/components/metrics/MetricsTable.tsx
#	src/queries/sql/events/getEventMetrics.ts
#	src/queries/sql/reports/getUTM.ts
2025-07-23 23:39:28 -07:00
Francis Cao
da7f4cb2d0 create and apply mysql migrations 2025-07-18 10:26:24 -07:00
Mike Cao
bf6c9395c6 Revert Prisma build. 2025-07-12 15:18:01 -07:00
Mike Cao
2a8c707519 Updated db build again. 2025-07-12 14:08:15 -07:00
Mike Cao
2dbe80b7ca Updated db build. 2025-07-12 13:56:45 -07:00
Mike Cao
3650204519 Styling for all forms. 2025-07-12 13:20:32 -07:00
Mike Cao
543674c7f2 Updated hooks. Changed url, host to path, hostname. 2025-06-20 22:35:02 -07:00
Mike Cao
25a9c011b3 Removed check-lang script. 2025-06-20 09:42:37 -07:00
Mike Cao
fd7dddb43a Fixed check-db for new Prisma adapter. 2025-06-07 00:27:22 -07:00
Mike Cao
0cfee43814 Merge branch 'master' into jajaja 2025-05-12 20:55:46 -07:00
Mike Cao
907a6850db Update migration script. 2025-05-12 00:01:24 -07:00
Mike Cao
94b4b66a3d Merge branch 'dev' into jajaja
# Conflicts:
#	package.json
#	pnpm-lock.yaml
2025-05-09 21:56:07 -07:00
Mike Cao
b93bcecd7b Fixed data migration script. 2025-05-09 21:47:44 -07:00
Maxime-J
ed8cac4a3b Consider base path in set-routes-manifest 2025-05-09 14:48:45 +02:00
Mike Cao
1a794a8520 Updated language build. 2025-05-07 13:40:21 -07:00
Mike Cao
6594c31a70 Use esbuild to build prisma client. 2025-05-01 04:38:43 -07:00
Mike Cao
63e0873b5d Use generated prisma client. 2025-05-01 04:24:56 -07:00
Mike Cao
c0ccffeab4 Merge branch 'dev' into jajaja
# Conflicts:
#	pnpm-lock.yaml
#	postcss.config.js
#	src/app/(main)/websites/[websiteId]/sessions/SessionsDataTable.tsx
#	src/app/(main)/websites/[websiteId]/sessions/[sessionId]/SessionInfo.tsx
2025-05-01 03:31:51 -07:00
Mike Cao
211e1826da Fixed import again. 2025-04-30 21:36:31 -07:00
Mike Cao
4e37e10b6d Switched to type: module. 2025-04-29 14:36:52 -07:00
Mike Cao
615a6d444f Updated script requires. 2025-04-29 14:16:20 -07:00
Mike Cao
ec7d5bdfe2 Fixed build. 2025-04-29 14:04:55 -07:00
Mike Cao
510503045b Prisma stuff. 2025-04-29 10:39:48 -07:00
Mike Cao
73b45a9f5e Replaced __dirname usage. 2025-04-29 09:53:11 -07:00
Mike Cao
6a29f2ef6f Prisma generation. 2025-04-28 23:37:45 -07:00
Mike Cao
c969603001 Converted global to globalThis. 2025-04-28 23:05:18 -07:00
Mike Cao
886b7e9e56 Revert check-db. 2025-04-28 21:27:26 -07:00
Mike Cao
21367e166e Updated check-db. 2025-04-28 21:21:04 -07:00
Mike Cao
be1b2fc272 Merge dev. 2025-04-28 20:09:58 -07:00
Francis Cao
901a6c558a add data migration scripts 2025-04-28 16:56:49 -07:00
Mike Cao
340cdce1dc Dockerfile tweaks. 2025-04-24 19:23:10 -07:00
Maxime-J
b88432fcf4 Change Docker handling of custom rewrites 2025-04-21 12:42:36 +02:00
Mike Cao
9a87442870 Added SKIP_DB_MIGRATION var. 2025-02-28 21:04:53 -08:00
Mike Cao
113022ed17 Imported libraries, removed next-basics. 2025-02-05 13:30:28 -08:00
Francis Cao
702be4e9fb update kafka client config 2024-12-17 20:44:41 -08:00
Francis Cao
8f692a150c update kafka client to take in environement variables to declare SASL/SSL options 2024-12-14 11:49:15 -08:00
Mike Cao
9c2bfe8956 Revert to script.js. 2024-11-20 21:20:46 -08:00