Commit Graph
623 Commits
Author SHA1 Message Date
JLUpengjiaji f6703d3d6d refactor(data): 重构 JSON 扁平化函数并添加测试
- 将 flattenJSON 重构为更简洁的递归实现
- 提取 KeyValueData 接口并导出 createKeyValue 函数
- 添加完整的单元测试覆盖所有功能
2026-04-29 15:04:08 +08:00
Mike Cao 3ebd5a44e8 Fix 500 on /api/send when client IP is malformed. 2026-04-28 19:47:38 -07:00
Mike Cao a6b13b71db Add click heatmaps report
Extracts click events from rrweb session-replay buffers at write time
into a new heatmap_event table (Prisma + ClickHouse). New /heatmaps
report shows a page picker plus an overlay of click density on the
dominant viewport, with an optional iframe of the live page behind.
2026-04-27 22:20:38 -07:00
Francis Cao 9da332c489 Add Property filters for booleans, dates, arrays 2026-04-27 13:31:47 -07:00
Francis Cao 5a1ef5e674 add event-data support and charts for arrays, booleans, dates 2026-04-24 15:04:59 -07:00
Francis Cao 43fb351ac7 add logic for booleans, dates, arrays 2026-04-24 13:48:28 -07:00
Francis Cao 77dda7268e add event-data property filtering 2026-04-24 11:39:40 -07:00
Mike Cao cc829c8f6f Replace react-spring with motion, fix breaking changes in react-window/date-fns-tz/pure-rand. 2026-04-18 15:41:25 -07:00
Francis Cao 137fd6fd5c fix ambiguoius session_id errors 2026-04-15 15:12:02 -07:00
Francis Cao 9d477b25b4 Fix share page permissions 2026-04-15 14:55:28 -07:00
Mike Cao f41c0221c4 fix docker prisma migrate and remove stray query log 2026-04-15 14:22:04 -07:00
Francis Cao 04eb4b675e 3.1 relational bug fixes 2026-04-15 10:31:21 -07:00
Francis Cao a87d899e17 fix sharetoken permissions on mixed boards 2026-04-13 11:32:47 -07:00
seojcarlos 2cd9657ae1 fix: prevent NaN timestamps from breaking event charts in Firefox
When date-fns-tz zonedTimeToUtc returns Invalid Date in Firefox,
the unary + operator produces NaN, which gets sent as "NaN" in
query parameters. Routes using z.coerce.number().int() validation
(events/series, event-data/properties) reject NaN as non-integer,
returning 400 errors and showing "Something went wrong".

This fix:
- Falls back to raw date timestamps when timezone conversion
  produces NaN in useDateParameters
- Filters out NaN values in getQueryString to prevent invalid
  parameters from reaching the server

Fixes #4121
2026-04-07 21:24:11 +02:00
Ben 3a5e3549d7 fix: include empty or null values
fixes #4123
2026-04-01 09:40:11 +00:00
Mike Cao fb785180d5 Merge branch 'dev' into feat-funnel-per-step-filters 2026-03-25 13:40:12 -07:00
Mike Cao 7582aed67b Update session replay payload to use { type, payload } format 2026-03-23 16:30:53 -07:00
Francis Cao cd2b303e89 use team redis keys to resolve team gated features 2026-03-21 11:21:07 -07:00
Rudy B. 96ae1de7fd feat(funnels): add per-step event property filters to schema and SQL queries 2026-03-16 21:51:15 +01:00
Francis Cao a58dadb428 remove old goals schema 2026-03-12 09:31:15 -07:00
Mike Cao 6b8159e535 Refine edit layouts and share states 2026-03-10 02:52:13 -07:00
Mike Cao 54023e3796 Prevent events chart on pixel and link boards 2026-03-10 00:23:19 -07:00
Mike Cao 8d2b9f8e49 Merge branch 'dev' into codex/fix-umami-4062 2026-03-09 23:31:52 -07:00
Mike Cao a1e7a8332a Merge branch 'dev' into codex/fix-umami-4044 2026-03-09 23:28:33 -07:00
cryst 25081d690e Fix tracker script name route matching 2026-03-09 19:56:41 +00:00
cryst 1c0ad6e42b Fix metadata base URL generation 2026-03-09 19:51:20 +00:00
Mike Cao 64bf4c378c Add sharing to pixel and link detail pages 2026-03-09 01:26:02 -07:00
Mike Cao c4226bc63d Add board share management UI 2026-03-08 22:24:24 -07:00
Mike Cao f76b22b303 Add board type binding support 2026-03-06 23:54:46 -08:00
Francis Cao f6a6d2cc31 performance updates checkpoint 2026-03-05 10:12:30 -08:00
Francis Cao 6002ff56bf update white label property names to match cloud 2026-02-27 21:41:53 -08:00
Mike Cao e2ab4af493 Merge branch 'performance' into dev 2026-02-25 02:27:46 -08:00
Mike Cao 580008cd09 Merge branch 'dev' of https://github.com/umami-software/umami into dev
# Conflicts:
#	src/lib/redis.ts
2026-02-22 23:28:12 -08:00
Francis Cao f4f67dd3ca remove console.log 2026-02-21 23:24:51 -08:00
Francis Cao cc1e4438d0 implement OR logic to filters, segments, cohorts 2026-02-21 20:00:43 -08:00
Francis Cao 79c06787cd enable using same filters 2026-02-21 14:56:29 -08:00
Francis Cao 5144aff9cd revenue report enhancements. 2026-02-21 10:57:52 -08:00
Mike Cao 6a2692b521 Add dashboard filter controls and improve Redis reconnect handling 2026-02-20 23:47:10 -08:00
Francis Cao bbf569e8bc fix cohort queries with new multiselect 2026-02-20 15:03:24 -08:00
Francis Cao f2cf071523 add regex operators 2026-02-20 13:43:16 -08:00
Francis Cao 67626652f9 fix mobile view for admin screens and nav. update equals and not equals filter to be multiselect. 2026-02-20 12:32:02 -08:00
Francis Cao 8530329e14 deprecate @umami/redis-client, add redis lib 2026-02-18 09:23:27 -08:00
Kissablecho 350618471d feat: hasBlockedIp func - replace find with some to check blocked IP 2026-02-17 22:01:49 +08:00
Kissablecho 9a66a2a461 fix: Optimize IP detection logic and add error handling
- #4038
- Check existence of clientIp and ignoreIps in advance
- Add error handling for CIDR parsing
2026-02-17 21:46:30 +08:00
Francis Cao 2260520ae5 Revert "Fix TypeScript type errors across multiple files"
This reverts commit a3733b0424.
2026-02-16 16:20:04 -08:00
Mike Cao 631cc46f7f Add personal dashboard flow and per-component website selection
This introduces a user-scoped dashboard with board-style view/edit pages while keeping it unavailable in team context, and moves website targeting to component config so dashboard components can each select their own website.
2026-02-13 11:48:15 -08:00
Mike Cao db637864f6 Move board component metadata editing into modal 2026-02-13 00:18:51 -08:00
Francis Cao 02d28a9c53 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2026-02-09 17:52:00 -08:00
Mike CaoandClaude Opus 4.6 87bde9da1f Add board component selector with live preview
Allows users to select and inject analytics components into board cells.
Includes component registry, renderer, selector modal with category
menu, config fields for MetricsTable, and live preview. Also scopes
website select to team websites when editing a team board.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 00:52:46 -08:00
Mike Cao fb6fd293fb Updated zod validation on date range. 2026-02-08 22:58:25 -08:00