conorbranagan
80987f8548
Merge upstream umami v3.0.3 into master
...
Sync fork with latest upstream changes from umami-software/umami.
Resolves conflicts while preserving niteshift customizations:
- Dials SDK integration for runtime design prototyping
- Typography context for website metrics
- Overview Alt page with Sparkles icon
- Login redirect to /websites
- React Query cache seeding on login
- Node.js 20 LTS recommendation in README
2025-12-19 15:30:39 -05:00
Mike Cao
b08413ebea
Merge branch 'dev' into seed-sample-data
2025-12-02 23:30:47 -08:00
Arthur Sepiol
b7807ed466
feat(dev): add sample data generator script
...
Adds a CLI tool to generate realistic analytics data for local development and testing.
Creates two demo websites with varying traffic patterns and realistic user behavior distributions.
2025-12-02 13:43:59 +03:00
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
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Mike Cao
b9d52af215
Updated prisma.
2025-11-21 21:35:11 -08:00
Sajid Mehmood
9d1b4e3665
Make test data generation more current
2025-11-14 13:16:37 -05:00
Mike Cao
d98cc35208
Merge pull request #3743 from Mintimate/master
...
feat(geo): add redirect support for direct .mmdb downloads
2025-11-12 21:33:19 -08: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
Mintimate
e13362bfec
feat(geo): add redirect support for direct .mmdb downloads
2025-11-12 19:18:44 +08:00
Mintimate
371ff47325
feat(geo): add support for direct .mmdb URL and custom GEO_DATABASE_URL
...
- Support GEO_DATABASE_URL environment variable for custom database URL
- Auto-detect .mmdb files and skip decompression
- Maintain backward compatibility with tar.gz archives
2025-11-12 17:51:19 +08:00
Mike Cao
592f7c0ae7
Added check for REDIS_URL. Closes #3677 .
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-10 21:08:55 -08:00
Mike Cao
067567cbf6
Force geo build with BUILD_GEO env var.
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.
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.
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
0d19e9a247
Fixed outputs.
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