Mike Cao
9fb7bacee6
Rename package scripts to colon-based conventions and update build, seed, and API client references
2026-09-07 17:47:36 -07:00
Mike Cao
8b9ba7cce9
Merge pull request #4519 from umami-software/testing
...
Add API integration test suite with Postgres and ClickHouse coverage
2026-09-06 20:49:39 -07:00
Mike Cao
7627c36642
Guard API tests against destructive non-loopback targets
2026-09-06 20:41:22 -07:00
Mike Cao
4e47e350bf
Run API tests serially and support external targets without stale coverage logs
2026-09-06 20:11:15 -07:00
Mike Cao
e18769e8cf
Add API integration test suite with Postgres and ClickHouse coverage
2026-09-06 16:42:53 -07:00
Mike Cao
65bf19e067
Add OAuth-protected MCP server with generated API client packages
2026-09-03 16:58:47 -07:00
Mike Cao
8d0229b598
Remove autogenerated operation descriptions from OpenAPI contracts
2026-09-01 16:07:08 -07:00
Mike Cao
e1a4934038
Generate explicit OpenAPI contracts for API routes
2026-09-01 15:09:10 -07:00
Mike Cao
cc5d71d39f
Generate OpenAPI from App Router handlers with inferred contracts and source analysis
2026-09-01 13:09:40 -07:00
Mike Cao
5ce5664b29
Add OpenAPI schema generation and validation for API routes
2026-08-31 19:37:37 -07:00
Mike Cao
25d6c14f5a
Enable Next.js TypeScript CLI and prune unused dependencies
2026-07-28 21:56:58 -07:00
Francis Cao
0dcba7d388
sync translations for 2FA and misc messages/labels
2026-07-24 14:25:31 -07:00
Francis Cao
11e57d726a
fix missing extension. Closes #4400
2026-07-22 12:35:38 -07:00
Mike Cao
0e598fb040
Merge pull request #4343 from anvme/fix/docker-exec-server-single-process
...
Run server as PID 1 in Docker to drop idle launcher processes. -30% RAM Usage
2026-06-26 20:28:39 -04:00
Francis Cao
3b792720af
fix semver error
2026-06-23 11:50:19 -07:00
Stanislaw
d13085fdd6
Run server as PID 1 in Docker to drop idle launcher processes
...
The container CMD ran `npm run start-docker`, i.e. `npm-run-all check-db
update-tracker start-server`. After the one-shot tasks exit, three Node VMs
stay resident for the container lifetime (npm -> npm-run-all -> npm ->
node server.js), each holding tens of MiB of anonymous memory for nothing.
Replace it with a small start script that runs the one-shot steps and then
`exec node server.js`, so the server becomes PID 1 and no launcher wrappers
remain. On a dev 3.2.0 build under realistic load the container RSS dropped
~28% (memory.stat anon 255 MiB -> 183 MiB); migrations still apply and
/api/heartbeat serves normally.
2026-06-20 13:13:39 +02:00
Mike Cao
306ca4a435
Lint format files. Updated rng function.
2026-06-02 22:35:07 -07:00
Aitor Alonso
3070189537
fix: fixes 4186
...
Some database providers, like supabase, provides two URLs to access the database. A main URL behind pgBouncer's for load balancing, and a direct separated URL to perform migrations (running DDL operations), as does not support
advisory locks or multi-statement DDL required by migrations.
Before v3.1.0, adding `directUrl` along with `url` to `prisma/schema.prisma` was enought. Now, I'm making a commit to use direct url when set
2026-04-20 21:58:54 +02:00
Mike Cao
c4e52e7dcd
Remove fs-extra dependency in favor of native node:fs
2026-03-29 23:12:45 -04:00
Francis Cao
a6c909f3df
Fix IDOR for segment
2026-03-05 22:06:54 -08:00
Francis Cao
7a3f6d1c00
language updates for new labels/messages
2026-03-05 22:04:00 -08:00
Francis Cao
38577a9c0c
fix toggle behavior and reorder replays table with play at beginning. Add missing messages script
2026-03-05 13:31:00 -08:00
Mike Cao
9672969c23
Add components package version bump step to build
2026-02-15 19:28:25 -08:00
Francis Cao
9e94addada
Merge pull request #4006 from diogotcorreia/env-skip-build-geo
...
feat: add SKIP_BUILD_GEO env variable
2026-02-09 12:49:19 -08:00
Mike Cao
cee391f024
Removed translations scripts.
2026-02-07 19:36:08 -08:00
Mike Cao and Claude 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 Cao and Claude 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
Diogo Correia
61c392cdd4
feat: add SKIP_BUILD_GEO env variable
...
Closes #4004
2026-02-06 01:50:37 +01: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 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
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 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
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