Commit Graph
204 Commits
Author SHA1 Message Date
Mike CaoandClaude Opus 4.6 e1ee5eba27 Translate all 51 locale files, reducing untranslated keys from 6,017 to 862.
12 batch translation scripts covering all language families: East Asian, Romance,
Germanic, Nordic, Slavic, Other European, South/Southeast Asian, Tamil, Sinhala,
Urdu, and Burmese. Remaining untranslated keys are intentional loanwords (URL, UTM,
SMS, etc.) and en-GB which is intentionally identical to en-US.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:04:45 -08:00
Mike CaoandClaude Opus 4.6 a1890e9261 Replace react-intl with next-intl and consolidate lang files.
Migrate i18n from react-intl to next-intl, eliminating the formatjs
compilation pipeline. Translation files now live as nested JSON in
public/intl/messages/ (single source of truth), removing the duplicated
src/lang/ directory and the copy/compile build steps. The useMessages()
hook API is preserved so all 195+ consumer components are unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 01:51:29 -08:00
Mike Cao c3e0290e65 Merge branch 'dev' into boards
# Conflicts:
#	.gitignore
#	package.json
#	pnpm-lock.yaml
#	prisma/migrations/16_boards/migration.sql
#	prisma/schema.prisma
#	src/app/(main)/MobileNav.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteHeader.tsx
#	src/app/(main)/websites/[websiteId]/settings/WebsiteShareForm.tsx
#	src/components/common/SideMenu.tsx
#	src/lib/types.ts
2026-02-05 20:05:25 -08:00
Francis Cao c88425332b fix tar import tar.t() to list() in build-geo 2026-01-22 18:24:43 -08:00
Mike Cao d9f698ca42 Board editing. 2026-01-18 04:20:36 -08:00
Mike Cao 5ce1b40330 Merge branch 'dev' into boards
# Conflicts:
#	pnpm-lock.yaml
2025-12-04 00:53:54 -08:00
Mike CaoandGitHub 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
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
Mike CaoandGitHub 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
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. 2025-11-10 21:08:55 -08:00
Mike Cao 067567cbf6 Force geo build with BUILD_GEO env var. 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. 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. 2025-09-04 20:27:42 -07:00
Mike Cao 0d19e9a247 Fixed outputs. 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